[INFO] fetching crate kos-kbot 0.1.1... [INFO] testing kos-kbot-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kos-kbot 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate kos-kbot 0.1.1 [INFO] finished tweaking crates.io crate kos-kbot 0.1.1 [INFO] tweaked toml for crates.io crate kos-kbot 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kos-kbot 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 230 packages to latest compatible versions [INFO] [stderr] Adding imu v0.1.7 (available: v0.7.5) [INFO] [stderr] Adding robstride v0.2.31 (available: v0.3.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d17ba156c0f6eafc5a8f5329dd25060ee4c1f868cde176cdb188668d3d84e77 [INFO] running `Command { std: "docker" "start" "-a" "3d17ba156c0f6eafc5a8f5329dd25060ee4c1f868cde176cdb188668d3d84e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d17ba156c0f6eafc5a8f5329dd25060ee4c1f868cde176cdb188668d3d84e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d17ba156c0f6eafc5a8f5329dd25060ee4c1f868cde176cdb188668d3d84e77", kill_on_drop: false }` [INFO] [stdout] 3d17ba156c0f6eafc5a8f5329dd25060ee4c1f868cde176cdb188668d3d84e77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 589bdb623de6bc613d37a56c34dd6b25c957f7a9ed99c5cc2aa49ca5a286d150 [INFO] running `Command { std: "docker" "start" "-a" "589bdb623de6bc613d37a56c34dd6b25c957f7a9ed99c5cc2aa49ca5a286d150", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling embedded-can v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling spin_sleep v1.3.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling serialport v4.7.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hiwonder v0.1.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling krec v0.2.9 [INFO] [stderr] Compiling kos_core v0.1.2 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling robstride v0.2.31 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hexmove v0.1.6 [INFO] [stderr] Compiling imu v0.1.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling kos-kbot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/actuator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_trait`, use `cargo add async_trait` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/hexmove.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `MotorMode` [INFO] [stdout] --> src/actuator.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | online: state.mode==MotorMode.Motor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to a variant [INFO] [stdout] | [INFO] [stdout] 74 - online: state.mode==MotorMode.Motor, [INFO] [stdout] 74 + online: state.mode==MotorMode::Motor, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/hexmove.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | operations_service: Arc, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Arc; [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OperationsServiceImpl` in this scope [INFO] [stdout] --> src/hexmove.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | operations_service: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use crate::OperationsServiceImpl; [INFO] [stdout] | [INFO] [stdout] 2 + use kos_core::services::OperationsServiceImpl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `operations_service` in this scope [INFO] [stdout] --> src/hexmove.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 13 | operations_service: Arc, [INFO] [stdout] | ------------------ a field by that name exists in `Self` [INFO] [stdout] ... [INFO] [stdout] 20 | operations_service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StubIMU` in this scope [INFO] [stdout] --> src/hexmove.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl IMU for StubIMU { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/hexmove.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | async fn zero(&self, _duration: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | HashMap::new() [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kos_core::services::OperationsServiceImpl` [INFO] [stdout] --> src/actuator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kos_core::services::OperationsServiceImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/actuator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Motors` [INFO] [stdout] --> src/actuator.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use robstride::{MotorMode, MotorType, Motors, MotorsSupervisor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CalibrateImuMetadata` and `CalibrationStatus` [INFO] [stdout] --> src/hexmove.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | CalibrateImuMetadata, CalibrationStatus, EulerAnglesResponse, ImuValuesResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kos_core::hal::Operation` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use kos_core::hal::Operation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `command_actuators` do not match the trait declaration [INFO] [stdout] --> src/actuator.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | async fn command_actuators( [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `configure_actuator` do not match the trait declaration [INFO] [stdout] --> src/actuator.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | async fn configure_actuator( [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `calibrate_actuator` do not match the trait declaration [INFO] [stdout] --> src/actuator.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | async fn calibrate_actuator(&self, request: CalibrateActuatorRequest) -> Result { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `get_actuators_state` do not match the trait declaration [INFO] [stdout] --> src/actuator.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | async fn get_actuators_state( [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `create_services` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:40:82 [INFO] [stdout] | [INFO] [stdout] 40 | fn create_services(&self, operations_service: Arc) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `Pin>`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'a KscaleProPlatform, Arc<_>) -> Pin, ErrReport>> + Send + 'a)>>` [INFO] [stdout] found signature `fn(&KscaleProPlatform, Arc<_>) -> Vec` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 40 - fn create_services(&self, operations_service: Arc) -> Vec { [INFO] [stdout] 40 + fn create_services(&self, operations_service: Arc) -> Pin, ErrReport>> + Send + 'a)>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `serial` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | impl Platform for KscaleProPlatform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `serial` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn serial(&self) -> String { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/actuator.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | async fn calibrate_actuator(&self, request: CalibrateActuatorRequest) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/actuator.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | actuator_id: *id, [INFO] [stdout] | ^^^ expected `u32`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/actuator.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | position: state.position, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `f32` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/actuator.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | velocity: state.velocity, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Option`, found `f32` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/actuator.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | torque: state.torque, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Option`, found `f32` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found type `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/hexmove.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | async fn get_values(&self) -> Result { [INFO] [stdout] | ^^^^^^ ----------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 34 | async fn get_values(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | accel_x: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | accel_y: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | accel_z: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | gyro_x: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | gyro_y: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hexmove.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | gyro_z: None, [INFO] [stdout] | ^^^^ expected `f64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/hexmove.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | async fn calibrate(&self) -> Result { [INFO] [stdout] | ^^^^^^ --------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 50 | async fn calibrate(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/hexmove.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | async fn zero(&self, _duration: Duration) -> Result { [INFO] [stdout] | ^^^^^^ -------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 54 | async fn zero(&self, _duration: Duration) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/hexmove.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | async fn get_euler(&self) -> Result { [INFO] [stdout] | ^^^^^^ ------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 61 | async fn get_euler(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/hexmove.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | async fn get_quaternion(&self) -> Result { [INFO] [stdout] | ^^^^^^ ------------------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | async fn get_quaternion(&self) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/actuator.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let motors_supervisor = MotorsSupervisor::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | max_update_rate.unwrap_or(100000), [INFO] [stdout] | --------------------------------- expected `f64`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: expected `&HashMap`, found `&HashMap` [INFO] [stdout] --> src/actuator.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | &motor_infos, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&HashMap` [INFO] [stdout] found reference `&HashMap` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/robstride-0.2.31/src/supervisor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u32` to an `f64`, producing the floating point representation of the integer [INFO] [stdout] | [INFO] [stdout] 31 | max_update_rate.unwrap_or(100000).into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/hexmove.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | imu: ImuReader::new(interface, can_id, model).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^ ------ ----- expected `u8`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected `u8`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hexmove-0.1.6/src/lib.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 21 | imu: ImuReader::new(interface, can_id.try_into().unwrap(), model).unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `u32` to a `u8` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 21 | imu: ImuReader::new(interface, can_id, model.try_into().unwrap()).unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `hexmove::KscaleProIMU: kos_core::hal::IMU` is not satisfied [INFO] [stdout] --> src/lib.rs:43:72 [INFO] [stdout] | [INFO] [stdout] 43 | ServiceEnum::Imu(ImuServiceServer::new(IMUServiceImpl::new(Arc::new( [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 44 | | KscaleProIMU::new("can0", 1, 1), [INFO] [stdout] 45 | | )))), [INFO] [stdout] | |_____________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `kos_core::hal::IMU` is not implemented for `hexmove::KscaleProIMU` [INFO] [stdout] --> src/hexmove.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct KscaleProIMU { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `Arc` to `Arc<(dyn kos_core::hal::IMU + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | Arc::new(KscaleProActuator::new( [INFO] [stdout] | __________________________^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 48 | | "/dev/ttyCH341USB0", [INFO] [stdout] 49 | | HashMap::new() [INFO] [stdout] 50 | | )), [INFO] [stdout] | |_________________- three arguments of type `Option`, `Option`, and `Option` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/actuator.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | verbose: Option, [INFO] [stdout] | --------------------- [INFO] [stdout] 23 | max_update_rate: Option, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 24 | zero_on_init: Option, [INFO] [stdout] | -------------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 49 | Arc::new(KscaleProActuator::new( [INFO] [stdout] 50 | "/dev/ttyCH341USB0", [INFO] [stdout] 51 ~ HashMap::new(), [INFO] [stdout] 52 + /* Option */, [INFO] [stdout] 53 + /* Option */, [INFO] [stdout] 54 + /* Option */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0061, E0107, E0195, E0277, E0308, E0412, E0423... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kos-kbot` (lib) due to 34 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "589bdb623de6bc613d37a56c34dd6b25c957f7a9ed99c5cc2aa49ca5a286d150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589bdb623de6bc613d37a56c34dd6b25c957f7a9ed99c5cc2aa49ca5a286d150", kill_on_drop: false }` [INFO] [stdout] 589bdb623de6bc613d37a56c34dd6b25c957f7a9ed99c5cc2aa49ca5a286d150