This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
feat: controller update rate constant #795
Annotations
6 errors and 13 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Check:
packages/pros/src/lib.rs#L94
unresolved imports `vex_devices::adi::encoder`, `vex_devices::adi::gyro`, `vex_devices::adi::motor`, `vex_devices::adi::potentiometer`, `vex_devices::adi::solenoid`, `vex_devices::adi::ultrasonic`, `vex_devices::smart::link::Link`, `vex_devices::smart::link::RxLink`, `vex_devices::smart::link::TxLink`
|
Check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
Lint:
packages/vex-devices/src/smart/motor.rs#L424
[clippy] reported by reviewdog 🐶
error[E0277]: the trait bound `*mut vex_sdk::V5_DeviceMotorPid: core::convert::From<smart::motor::MotorTuningConstants>` is not satisfied
--> packages/vex-devices/src/smart/motor.rs:424:79
|
424 | unsafe { vexDeviceMotorVelocityPidSet(self.device_handle(), constants.into()) }
| ^^^^ the trait `core::convert::From<smart::motor::MotorTuningConstants>` is not implemented for `*mut vex_sdk::V5_DeviceMotorPid`, which is required by `smart::motor::MotorTuningConstants: core::convert::Into<_>`
|
= help: the trait `core::convert::From<smart::motor::MotorTuningConstants>` is implemented for `vex_sdk::V5_DeviceMotorPid`
= help: for that trait implementation, expected `vex_sdk::V5_DeviceMotorPid`, found `*mut vex_sdk::V5_DeviceMotorPid`
= note: required for `smart::motor::MotorTuningConstants` to implement `core::convert::Into<*mut vex_sdk::V5_DeviceMotorPid>`
Raw Output:
packages/vex-devices/src/smart/motor.rs:424:79:e:error[E0277]: the trait bound `*mut vex_sdk::V5_DeviceMotorPid: core::convert::From<smart::motor::MotorTuningConstants>` is not satisfied
--> packages/vex-devices/src/smart/motor.rs:424:79
|
424 | unsafe { vexDeviceMotorVelocityPidSet(self.device_handle(), constants.into()) }
| ^^^^ the trait `core::convert::From<smart::motor::MotorTuningConstants>` is not implemented for `*mut vex_sdk::V5_DeviceMotorPid`, which is required by `smart::motor::MotorTuningConstants: core::convert::Into<_>`
|
= help: the trait `core::convert::From<smart::motor::MotorTuningConstants>` is implemented for `vex_sdk::V5_DeviceMotorPid`
= help: for that trait implementation, expected `vex_sdk::V5_DeviceMotorPid`, found `*mut vex_sdk::V5_DeviceMotorPid`
= note: required for `smart::motor::MotorTuningConstants` to implement `core::convert::Into<*mut vex_sdk::V5_DeviceMotorPid>`
__END__
|
Lint:
packages/vex-devices/src/smart/motor.rs#L447
[clippy] reported by reviewdog 🐶
error[E0277]: the trait bound `*mut vex_sdk::V5_DeviceMotorPid: core::convert::From<smart::motor::MotorTuningConstants>` is not satisfied
--> packages/vex-devices/src/smart/motor.rs:447:79
|
447 | unsafe { vexDeviceMotorPositionPidSet(self.device_handle(), constants.into()) }
| ^^^^ the trait `core::convert::From<smart::motor::MotorTuningConstants>` is not implemented for `*mut vex_sdk::V5_DeviceMotorPid`, which is required by `smart::motor::MotorTuningConstants: core::convert::Into<_>`
|
= help: the trait `core::convert::From<smart::motor::MotorTuningConstants>` is implemented for `vex_sdk::V5_DeviceMotorPid`
= help: for that trait implementation, expected `vex_sdk::V5_DeviceMotorPid`, found `*mut vex_sdk::V5_DeviceMotorPid`
= note: required for `smart::motor::MotorTuningConstants` to implement `core::convert::Into<*mut vex_sdk::V5_DeviceMotorPid>`
Raw Output:
packages/vex-devices/src/smart/motor.rs:447:79:e:error[E0277]: the trait bound `*mut vex_sdk::V5_DeviceMotorPid: core::convert::From<smart::motor::MotorTuningConstants>` is not satisfied
--> packages/vex-devices/src/smart/motor.rs:447:79
|
447 | unsafe { vexDeviceMotorPositionPidSet(self.device_handle(), constants.into()) }
| ^^^^ the trait `core::convert::From<smart::motor::MotorTuningConstants>` is not implemented for `*mut vex_sdk::V5_DeviceMotorPid`, which is required by `smart::motor::MotorTuningConstants: core::convert::Into<_>`
|
= help: the trait `core::convert::From<smart::motor::MotorTuningConstants>` is implemented for `vex_sdk::V5_DeviceMotorPid`
= help: for that trait implementation, expected `vex_sdk::V5_DeviceMotorPid`, found `*mut vex_sdk::V5_DeviceMotorPid`
= note: required for `smart::motor::MotorTuningConstants` to implement `core::convert::Into<*mut vex_sdk::V5_DeviceMotorPid>`
__END__
|
Lint
reviewdog exited with status code: 1
|
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|