[INFO] fetching crate kos-kbot 0.1.1... [INFO] checking kos-kbot-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kos-kbot 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kos-kbot 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 233 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded krec v0.2.9 [INFO] [stderr] Downloaded kos_core v0.1.2 [INFO] [stderr] Downloaded hexmove v0.1.6 [INFO] [stderr] Downloaded imu v0.1.7 [INFO] [stderr] Downloaded hiwonder v0.1.0 [INFO] [stderr] Downloaded socketcan v3.5.0 [INFO] [stderr] Downloaded robstride v0.2.31 [INFO] [stderr] Downloaded rumqttc v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f53d429ac3c82edb344d6c224dca44f636e93e83b75bda2c0c8c9c70edc3c28c [INFO] running `Command { std: "docker" "start" "-a" "f53d429ac3c82edb344d6c224dca44f636e93e83b75bda2c0c8c9c70edc3c28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f53d429ac3c82edb344d6c224dca44f636e93e83b75bda2c0c8c9c70edc3c28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53d429ac3c82edb344d6c224dca44f636e93e83b75bda2c0c8c9c70edc3c28c", kill_on_drop: false }` [INFO] [stdout] f53d429ac3c82edb344d6c224dca44f636e93e83b75bda2c0c8c9c70edc3c28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd6e6811f72b7b0765aec4621638a4a13be26ea6ac3c44337f62e8d853ac12f3 [INFO] running `Command { std: "docker" "start" "-a" "fd6e6811f72b7b0765aec4621638a4a13be26ea6ac3c44337f62e8d853ac12f3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling socketcan v3.5.0 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking indenter v0.3.4 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking embedded-can v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking spin_sleep v1.3.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking yaml-rust2 v0.9.0 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking prost-types v0.13.5 [INFO] [stderr] Checking hiwonder v0.1.0 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling krec v0.2.9 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking color-eyre v0.6.5 [INFO] [stderr] Compiling kos_core v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking rumqttc v0.24.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking robstride v0.2.31 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Checking neli v0.6.5 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hexmove v0.1.6 [INFO] [stderr] Checking imu v0.1.7 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking 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[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: 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)]` 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[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[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[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)]` 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] 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)]` on by default [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)]` 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: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[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[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/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/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/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[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[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: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[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[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]: 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]: 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]: 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/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] | |_____________^ the trait `kos_core::hal::IMU` is not implemented for `hexmove::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] 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] 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] [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] | |_____________^ the trait `kos_core::hal::IMU` is not implemented for `hexmove::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] [stderr] error: could not compile `kos-kbot` (lib) due to 34 previous errors; 6 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0061, E0107, E0195, E0277, E0308, E0412, E0423... [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kos-kbot` (lib test) due to 34 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd6e6811f72b7b0765aec4621638a4a13be26ea6ac3c44337f62e8d853ac12f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd6e6811f72b7b0765aec4621638a4a13be26ea6ac3c44337f62e8d853ac12f3", kill_on_drop: false }` [INFO] [stdout] fd6e6811f72b7b0765aec4621638a4a13be26ea6ac3c44337f62e8d853ac12f3