[INFO] fetching crate mecha10-drivers-motor 0.1.47... [INFO] testing mecha10-drivers-motor-0.1.47 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate mecha10-drivers-motor 0.1.47 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mecha10-drivers-motor 0.1.47 [INFO] finished tweaking crates.io crate mecha10-drivers-motor 0.1.47 [INFO] tweaked toml for crates.io crate mecha10-drivers-motor 0.1.47 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mecha10-drivers-motor 0.1.47 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mecha10-drivers-motor 0.1.47 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.13 [INFO] [stderr] Downloaded mecha10-macros v0.1.25 [INFO] [stderr] Downloaded tokio-serial v5.4.5 [INFO] [stderr] Downloaded gpio-cdev v0.6.0 [INFO] [stderr] Downloaded mecha10-messaging v0.1.25 [INFO] [stderr] Downloaded mio-serial v5.0.6 [INFO] [stderr] Downloaded serialport v4.8.1 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded jsonschema v0.18.3 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded fraction v0.15.3 [INFO] [stderr] Downloaded redis v0.27.6 [INFO] [stderr] Downloaded mecha10-core v0.1.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8821e6e4b9a42cd34b6a6c6351ed1bc3c6ab5ef9d128f56354a665631f37ae3 [INFO] running `Command { std: "docker" "start" "-a" "e8821e6e4b9a42cd34b6a6c6351ed1bc3c6ab5ef9d128f56354a665631f37ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8821e6e4b9a42cd34b6a6c6351ed1bc3c6ab5ef9d128f56354a665631f37ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8821e6e4b9a42cd34b6a6c6351ed1bc3c6ab5ef9d128f56354a665631f37ae3", kill_on_drop: false }` [INFO] [stdout] e8821e6e4b9a42cd34b6a6c6351ed1bc3c6ab5ef9d128f56354a665631f37ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0ea08d42e5c02b062a3e730760a7fd156fbf1d44986007ccde42f7ea8204833 [INFO] running `Command { std: "docker" "start" "-a" "b0ea08d42e5c02b062a3e730760a7fd156fbf1d44986007ccde42f7ea8204833", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling zmij v1.0.13 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling backon v1.6.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling arc-swap v1.8.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling unescaper v0.1.8 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serialport v4.8.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling mecha10-macros v0.1.25 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-serial v5.4.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling jsonschema v0.18.3 [INFO] [stderr] Compiling redis v0.27.6 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling mecha10-messaging v0.1.25 [INFO] [stderr] Compiling mecha10-core v0.1.40 [INFO] [stderr] Compiling mecha10-drivers-motor v0.1.47 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/dynamixel.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing::{debug, info, warn}; [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: `warn` [INFO] [stdout] --> src/odrive.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/stepper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/stepper.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::time::{sleep, Instant}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/odrive.rs:379:32 [INFO] [stdout] | [INFO] [stdout] 379 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/stepper.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExtendedPositionControl` is never constructed [INFO] [stdout] --> src/dynamixel.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum OperatingMode { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | ExtendedPositionControl = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_PING` is never used [INFO] [stdout] --> src/dynamixel.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const INST_PING: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const INST_READ: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_SYNC_WRITE` is never used [INFO] [stdout] --> src/dynamixel.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | const INST_SYNC_WRITE: u8 = 0x83; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_BULK_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | const INST_BULK_READ: u8 = 0x92; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODEL_NUMBER` is never used [INFO] [stdout] --> src/dynamixel.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const MODEL_NUMBER: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRMWARE_VERSION` is never used [INFO] [stdout] --> src/dynamixel.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FIRMWARE_VERSION: u16 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID` is never used [INFO] [stdout] --> src/dynamixel.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ID: u16 = 7; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAUD_RATE` is never used [INFO] [stdout] --> src/dynamixel.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub const BAUD_RATE: u16 = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED` is never used [INFO] [stdout] --> src/dynamixel.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const LED: u16 = 65; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const POSITION_P_GAIN: u16 = 84; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const POSITION_I_GAIN: u16 = 82; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const VELOCITY_P_GAIN: u16 = 78; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub const VELOCITY_I_GAIN: u16 = 76; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_POSITION` is never used [INFO] [stdout] --> src/dynamixel.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const PRESENT_POSITION: u16 = 132; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_VELOCITY` is never used [INFO] [stdout] --> src/dynamixel.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub const PRESENT_VELOCITY: u16 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_CURRENT` is never used [INFO] [stdout] --> src/dynamixel.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub const PRESENT_CURRENT: u16 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_TEMPERATURE` is never used [INFO] [stdout] --> src/dynamixel.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PRESENT_TEMPERATURE: u16 = 146; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_VOLTAGE` is never used [INFO] [stdout] --> src/dynamixel.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PRESENT_VOLTAGE: u16 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HARDWARE_ERROR` is never used [INFO] [stdout] --> src/dynamixel.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub const HARDWARE_ERROR: u16 = 70; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Brake` is never constructed [INFO] [stdout] --> src/l298n.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 259 | enum MotorDirection { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 263 | Brake, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_enable_pin` and `is_active_low` are never used [INFO] [stdout] --> src/l298n.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl L298NDriver { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 541 | fn has_enable_pin(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | fn is_active_low(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "b0ea08d42e5c02b062a3e730760a7fd156fbf1d44986007ccde42f7ea8204833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0ea08d42e5c02b062a3e730760a7fd156fbf1d44986007ccde42f7ea8204833", kill_on_drop: false }` [INFO] [stdout] b0ea08d42e5c02b062a3e730760a7fd156fbf1d44986007ccde42f7ea8204833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1a35e7e91bf5216b3d6dff38ef20fe8c8d755dcd5f28bd2649d0860b7ee75d [INFO] running `Command { std: "docker" "start" "-a" "8b1a35e7e91bf5216b3d6dff38ef20fe8c8d755dcd5f28bd2649d0860b7ee75d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/dynamixel.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing::{debug, info, warn}; [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: `warn` [INFO] [stdout] --> src/odrive.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/stepper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/stepper.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::time::{sleep, Instant}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/odrive.rs:379:32 [INFO] [stdout] | [INFO] [stdout] 379 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/stepper.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExtendedPositionControl` is never constructed [INFO] [stdout] --> src/dynamixel.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum OperatingMode { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | ExtendedPositionControl = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_PING` is never used [INFO] [stdout] --> src/dynamixel.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const INST_PING: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const INST_READ: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_SYNC_WRITE` is never used [INFO] [stdout] --> src/dynamixel.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | const INST_SYNC_WRITE: u8 = 0x83; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_BULK_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | const INST_BULK_READ: u8 = 0x92; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODEL_NUMBER` is never used [INFO] [stdout] --> src/dynamixel.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const MODEL_NUMBER: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRMWARE_VERSION` is never used [INFO] [stdout] --> src/dynamixel.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FIRMWARE_VERSION: u16 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID` is never used [INFO] [stdout] --> src/dynamixel.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ID: u16 = 7; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAUD_RATE` is never used [INFO] [stdout] --> src/dynamixel.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub const BAUD_RATE: u16 = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED` is never used [INFO] [stdout] --> src/dynamixel.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const LED: u16 = 65; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const POSITION_P_GAIN: u16 = 84; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const POSITION_I_GAIN: u16 = 82; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const VELOCITY_P_GAIN: u16 = 78; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub const VELOCITY_I_GAIN: u16 = 76; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_POSITION` is never used [INFO] [stdout] --> src/dynamixel.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const PRESENT_POSITION: u16 = 132; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_VELOCITY` is never used [INFO] [stdout] --> src/dynamixel.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub const PRESENT_VELOCITY: u16 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_CURRENT` is never used [INFO] [stdout] --> src/dynamixel.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub const PRESENT_CURRENT: u16 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_TEMPERATURE` is never used [INFO] [stdout] --> src/dynamixel.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PRESENT_TEMPERATURE: u16 = 146; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mecha10-drivers-motor v0.1.47 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `PRESENT_VOLTAGE` is never used [INFO] [stdout] --> src/dynamixel.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PRESENT_VOLTAGE: u16 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HARDWARE_ERROR` is never used [INFO] [stdout] --> src/dynamixel.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub const HARDWARE_ERROR: u16 = 70; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Brake` is never constructed [INFO] [stdout] --> src/l298n.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 259 | enum MotorDirection { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 263 | Brake, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_enable_pin` and `is_active_low` are never used [INFO] [stdout] --> src/l298n.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl L298NDriver { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 541 | fn has_enable_pin(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | fn is_active_low(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/dynamixel.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing::{debug, info, warn}; [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: `warn` [INFO] [stdout] --> src/odrive.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/stepper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/stepper.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::time::{sleep, Instant}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/odrive.rs:379:32 [INFO] [stdout] | [INFO] [stdout] 379 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `motor_id` [INFO] [stdout] --> src/stepper.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExtendedPositionControl` is never constructed [INFO] [stdout] --> src/dynamixel.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | enum OperatingMode { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | ExtendedPositionControl = 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatingMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_PING` is never used [INFO] [stdout] --> src/dynamixel.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | const INST_PING: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const INST_READ: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_SYNC_WRITE` is never used [INFO] [stdout] --> src/dynamixel.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | const INST_SYNC_WRITE: u8 = 0x83; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INST_BULK_READ` is never used [INFO] [stdout] --> src/dynamixel.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | const INST_BULK_READ: u8 = 0x92; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODEL_NUMBER` is never used [INFO] [stdout] --> src/dynamixel.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const MODEL_NUMBER: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRMWARE_VERSION` is never used [INFO] [stdout] --> src/dynamixel.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FIRMWARE_VERSION: u16 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ID` is never used [INFO] [stdout] --> src/dynamixel.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ID: u16 = 7; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BAUD_RATE` is never used [INFO] [stdout] --> src/dynamixel.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub const BAUD_RATE: u16 = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED` is never used [INFO] [stdout] --> src/dynamixel.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const LED: u16 = 65; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const POSITION_P_GAIN: u16 = 84; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITION_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const POSITION_I_GAIN: u16 = 82; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_P_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const VELOCITY_P_GAIN: u16 = 78; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VELOCITY_I_GAIN` is never used [INFO] [stdout] --> src/dynamixel.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | pub const VELOCITY_I_GAIN: u16 = 76; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_POSITION` is never used [INFO] [stdout] --> src/dynamixel.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const PRESENT_POSITION: u16 = 132; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_VELOCITY` is never used [INFO] [stdout] --> src/dynamixel.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub const PRESENT_VELOCITY: u16 = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_CURRENT` is never used [INFO] [stdout] --> src/dynamixel.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub const PRESENT_CURRENT: u16 = 126; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_TEMPERATURE` is never used [INFO] [stdout] --> src/dynamixel.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PRESENT_TEMPERATURE: u16 = 146; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRESENT_VOLTAGE` is never used [INFO] [stdout] --> src/dynamixel.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub const PRESENT_VOLTAGE: u16 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HARDWARE_ERROR` is never used [INFO] [stdout] --> src/dynamixel.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | pub const HARDWARE_ERROR: u16 = 70; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Brake` is never constructed [INFO] [stdout] --> src/l298n.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 259 | enum MotorDirection { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 263 | Brake, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_enable_pin` and `is_active_low` are never used [INFO] [stdout] --> src/l298n.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 327 | impl L298NDriver { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 541 | fn has_enable_pin(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | fn is_active_low(&self, motor_id: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "8b1a35e7e91bf5216b3d6dff38ef20fe8c8d755dcd5f28bd2649d0860b7ee75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1a35e7e91bf5216b3d6dff38ef20fe8c8d755dcd5f28bd2649d0860b7ee75d", kill_on_drop: false }` [INFO] [stdout] 8b1a35e7e91bf5216b3d6dff38ef20fe8c8d755dcd5f28bd2649d0860b7ee75d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3c313595c782875dec1d39564d3aa6b4007d05f4f9b786c31452de34b84e139 [INFO] running `Command { std: "docker" "start" "-a" "f3c313595c782875dec1d39564d3aa6b4007d05f4f9b786c31452de34b84e139", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/dynamixel.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | use tracing::{debug, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/odrive.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | use tracing::{debug, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/stepper.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sleep` [INFO] [stderr] --> src/stepper.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | use tokio::time::{sleep, Instant}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `motor_id` [INFO] [stderr] --> src/odrive.rs:379:32 [INFO] [stderr] | [INFO] [stderr] 379 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `motor_id` [INFO] [stderr] --> src/stepper.rs:366:32 [INFO] [stderr] | [INFO] [stderr] 366 | async fn reboot(&mut self, motor_id: u8) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_motor_id` [INFO] [stderr] [INFO] [stderr] warning: variant `ExtendedPositionControl` is never constructed [INFO] [stderr] --> src/dynamixel.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 76 | enum OperatingMode { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 80 | ExtendedPositionControl = 4, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OperatingMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `INST_PING` is never used [INFO] [stderr] --> src/dynamixel.rs:96:7 [INFO] [stderr] | [INFO] [stderr] 96 | const INST_PING: u8 = 0x01; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INST_READ` is never used [INFO] [stderr] --> src/dynamixel.rs:97:7 [INFO] [stderr] | [INFO] [stderr] 97 | const INST_READ: u8 = 0x02; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INST_SYNC_WRITE` is never used [INFO] [stderr] --> src/dynamixel.rs:99:7 [INFO] [stderr] | [INFO] [stderr] 99 | const INST_SYNC_WRITE: u8 = 0x83; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INST_BULK_READ` is never used [INFO] [stderr] --> src/dynamixel.rs:100:7 [INFO] [stderr] | [INFO] [stderr] 100 | const INST_BULK_READ: u8 = 0x92; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MODEL_NUMBER` is never used [INFO] [stderr] --> src/dynamixel.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | pub const MODEL_NUMBER: u16 = 0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FIRMWARE_VERSION` is never used [INFO] [stderr] --> src/dynamixel.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | pub const FIRMWARE_VERSION: u16 = 6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ID` is never used [INFO] [stderr] --> src/dynamixel.rs:51:15 [INFO] [stderr] | [INFO] [stderr] 51 | pub const ID: u16 = 7; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BAUD_RATE` is never used [INFO] [stderr] --> src/dynamixel.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | pub const BAUD_RATE: u16 = 8; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LED` is never used [INFO] [stderr] --> src/dynamixel.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | pub const LED: u16 = 65; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `POSITION_P_GAIN` is never used [INFO] [stderr] --> src/dynamixel.rs:55:15 [INFO] [stderr] | [INFO] [stderr] 55 | pub const POSITION_P_GAIN: u16 = 84; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `POSITION_I_GAIN` is never used [INFO] [stderr] --> src/dynamixel.rs:56:15 [INFO] [stderr] | [INFO] [stderr] 56 | pub const POSITION_I_GAIN: u16 = 82; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VELOCITY_P_GAIN` is never used [INFO] [stderr] --> src/dynamixel.rs:58:15 [INFO] [stderr] | [INFO] [stderr] 58 | pub const VELOCITY_P_GAIN: u16 = 78; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VELOCITY_I_GAIN` is never used [INFO] [stderr] --> src/dynamixel.rs:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | pub const VELOCITY_I_GAIN: u16 = 76; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PRESENT_POSITION` is never used [INFO] [stderr] --> src/dynamixel.rs:64:15 [INFO] [stderr] | [INFO] [stderr] 64 | pub const PRESENT_POSITION: u16 = 132; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PRESENT_VELOCITY` is never used [INFO] [stderr] --> src/dynamixel.rs:65:15 [INFO] [stderr] | [INFO] [stderr] 65 | pub const PRESENT_VELOCITY: u16 = 128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PRESENT_CURRENT` is never used [INFO] [stderr] --> src/dynamixel.rs:66:15 [INFO] [stderr] | [INFO] [stderr] 66 | pub const PRESENT_CURRENT: u16 = 126; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PRESENT_TEMPERATURE` is never used [INFO] [stderr] --> src/dynamixel.rs:67:15 [INFO] [stderr] | [INFO] [stderr] 67 | pub const PRESENT_TEMPERATURE: u16 = 146; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PRESENT_VOLTAGE` is never used [INFO] [stderr] --> src/dynamixel.rs:68:15 [INFO] [stderr] | [INFO] [stderr] 68 | pub const PRESENT_VOLTAGE: u16 = 144; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HARDWARE_ERROR` is never used [INFO] [stderr] --> src/dynamixel.rs:69:15 [INFO] [stderr] | [INFO] [stderr] 69 | pub const HARDWARE_ERROR: u16 = 70; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Brake` is never constructed [INFO] [stderr] --> src/l298n.rs:263:5 [INFO] [stderr] | [INFO] [stderr] 259 | enum MotorDirection { [INFO] [stderr] | -------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 263 | Brake, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MotorDirection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `has_enable_pin` and `is_active_low` are never used [INFO] [stderr] --> src/l298n.rs:541:8 [INFO] [stderr] | [INFO] [stderr] 327 | impl L298NDriver { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 541 | fn has_enable_pin(&self, motor_id: u8) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 550 | fn is_active_low(&self, motor_id: u8) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mecha10-drivers-motor` (lib) generated 28 warnings (run `cargo fix --lib -p mecha10-drivers-motor` to apply 6 suggestions) [INFO] [stderr] warning: `mecha10-drivers-motor` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mecha10_drivers_motor-fc7eeee0edef9ed8) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test l298n::tests::test_driver_init ... ok [INFO] [stdout] test l298n::tests::test_invalid_motor_id ... ok [INFO] [stdout] test l298n::tests::test_enable_disable ... ok [INFO] [stdout] test l298n::tests::test_reverse_command ... ok [INFO] [stdout] test l298n::tests::test_max_duty_cycle_clamping ... ok [INFO] [stdout] test l298n::tests::test_send_command ... ok [INFO] [stdout] test l298n::tests::test_driver_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mecha10_drivers_motor [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 20) - compile ... ok [INFO] [stdout] test src/l298n.rs - l298n (line 96) - compile ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/l298n.rs - l298n (line 43) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/l298n.rs - l298n (line 96) stdout ---- [INFO] [stdout] error[E0063]: missing field `active_low` in initializer of `L298NMotorPins` [INFO] [stdout] --> src/l298n.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | motor_a: L298NMotorPins { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `active_low` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `active_low` in initializer of `L298NMotorPins` [INFO] [stdout] --> src/l298n.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | motor_b: L298NMotorPins { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `active_low` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `init_high_pins` in initializer of `L298NConfig` [INFO] [stdout] --> src/l298n.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let config = L298NConfig { [INFO] [stdout] | ^^^^^^^^^^^ missing `init_high_pins` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/l298n.rs - l298n (line 43) stdout ---- [INFO] [stdout] error[E0063]: missing field `active_low` in initializer of `L298NMotorPins` [INFO] [stdout] --> src/l298n.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | motor_a: L298NMotorPins { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `active_low` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `active_low` in initializer of `L298NMotorPins` [INFO] [stdout] --> src/l298n.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | motor_b: L298NMotorPins { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `active_low` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `init_high_pins` in initializer of `L298NConfig` [INFO] [stdout] --> src/l298n.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let config = L298NConfig { [INFO] [stdout] | ^^^^^^^^^^^ missing `init_high_pins` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/l298n.rs - l298n (line 43) [INFO] [stdout] src/l298n.rs - l298n (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3c313595c782875dec1d39564d3aa6b4007d05f4f9b786c31452de34b84e139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c313595c782875dec1d39564d3aa6b4007d05f4f9b786c31452de34b84e139", kill_on_drop: false }` [INFO] [stdout] f3c313595c782875dec1d39564d3aa6b4007d05f4f9b786c31452de34b84e139