[INFO] fetching crate dynamixel 0.1.1... [INFO] testing dynamixel-0.1.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate dynamixel 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate dynamixel 0.1.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dynamixel 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate dynamixel 0.1.1 [INFO] tweaked toml for crates.io crate dynamixel 0.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded badlog v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1743135b9a8ce3a4d0fceb3e98d39ead8cbfee27b2065884de42d41587989df0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1743135b9a8ce3a4d0fceb3e98d39ead8cbfee27b2065884de42d41587989df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1743135b9a8ce3a4d0fceb3e98d39ead8cbfee27b2065884de42d41587989df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1743135b9a8ce3a4d0fceb3e98d39ead8cbfee27b2065884de42d41587989df0", kill_on_drop: false }` [INFO] [stdout] 1743135b9a8ce3a4d0fceb3e98d39ead8cbfee27b2065884de42d41587989df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd2131e44df1d0cc32ed4ab5fe467c6c28600bab978828b50f00e6642be68010 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd2131e44df1d0cc32ed4ab5fe467c6c28600bab978828b50f00e6642be68010", kill_on_drop: false }` [INFO] [stderr] Compiling dynamixel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketID` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | #[derive(Debug, PartialEq, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unicast` [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd2131e44df1d0cc32ed4ab5fe467c6c28600bab978828b50f00e6642be68010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd2131e44df1d0cc32ed4ab5fe467c6c28600bab978828b50f00e6642be68010", kill_on_drop: false }` [INFO] [stdout] dd2131e44df1d0cc32ed4ab5fe467c6c28600bab978828b50f00e6642be68010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13f6269ecc63c60b00b1ec986784c7c40763cda11b3639ec6db5e52e6afc1ed1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13f6269ecc63c60b00b1ec986784c7c40763cda11b3639ec6db5e52e6afc1ed1", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | Broadcast, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PacketID` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | #[derive(Debug, PartialEq, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unicast` [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `broadcast` [INFO] [stdout] --> src/protocol1/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calc` [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling badlog v1.1.1 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling serialport v2.3.0 [INFO] [stderr] Compiling dynamixel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol1/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommunicationError` [INFO] [stdout] --> src/protocol1/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use CommunicationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol1/mod.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BaudRate` [INFO] [stdout] --> src/protocol2/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use BaudRate; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/protocol2/mod.rs:169:20 [INFO] [stdout] | [INFO] [stdout] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Interface` [INFO] [stdout] --> src/protocol2/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `variants` [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn variants() -> &'static [Self] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `baud_rate` [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `model_number` [INFO] [stdout] --> src/protocol1/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | model_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol1/mod.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/protocol1/instruction.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.62s [INFO] running `Command { std: "docker" "inspect" "13f6269ecc63c60b00b1ec986784c7c40763cda11b3639ec6db5e52e6afc1ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f6269ecc63c60b00b1ec986784c7c40763cda11b3639ec6db5e52e6afc1ed1", kill_on_drop: false }` [INFO] [stdout] 13f6269ecc63c60b00b1ec986784c7c40763cda11b3639ec6db5e52e6afc1ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b25a8c41152a30d12ee6ff7cf2be617dbea734e7d4c515397c4374ab4617f453 [INFO] running `Command { std: "docker" "start" "-a" "b25a8c41152a30d12ee6ff7cf2be617dbea734e7d4c515397c4374ab4617f453", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BaudRate` [INFO] [stderr] --> src/protocol1/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use BaudRate; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CommunicationError` [INFO] [stderr] --> src/protocol1/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use CommunicationError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/protocol1/mod.rs:168:20 [INFO] [stderr] | [INFO] [stderr] 168 | fn deserialize(&[u8]) -> Self; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `BaudRate` [INFO] [stderr] --> src/protocol2/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use BaudRate; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/protocol2/mod.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | fn deserialize(&[u8]) -> Self; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `Interface` [INFO] [stderr] --> src/protocol2/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use Interface; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `variants` [INFO] [stderr] --> src/lib.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 137 | fn variants() -> &'static [Self] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `baud_rate` [INFO] [stderr] --> src/protocol1/mod.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | baud_rate: ::BaudRate, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol1/mod.rs:214:10 [INFO] [stderr] | [INFO] [stderr] 214 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `model_number` [INFO] [stderr] --> src/protocol1/mod.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | model_number: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol1/mod.rs:214:10 [INFO] [stderr] | [INFO] [stderr] 214 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/mod.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ServoInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol1/mod.rs:214:10 [INFO] [stderr] | [INFO] [stderr] 214 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Broadcast` [INFO] [stderr] --> src/protocol1/mod.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | Broadcast, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PacketID` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol1/mod.rs:327:10 [INFO] [stderr] | [INFO] [stderr] 327 | #[derive(Debug, PartialEq, Eq, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `unicast` [INFO] [stderr] --> src/protocol1/mod.rs:334:12 [INFO] [stderr] | [INFO] [stderr] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `broadcast` [INFO] [stderr] --> src/protocol1/mod.rs:339:12 [INFO] [stderr] | [INFO] [stderr] 339 | pub fn broadcast() -> PacketID { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/protocol1/mod.rs:369:8 [INFO] [stderr] | [INFO] [stderr] 369 | fn value(&self) -> u16 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/instruction.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/protocol1/instruction.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub id: ServoID, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `calc` [INFO] [stderr] --> src/protocol2/crc.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dynamixel` (lib) generated 18 warnings [INFO] [stderr] warning: `dynamixel` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dynamixel-58911bccd8aa98fc) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test protocol1::instruction::tests::test_write ... ok [INFO] [stdout] test protocol1::instruction::tests::test_pong ... ok [INFO] [stdout] test protocol2::instruction::tests::test_ping ... ok [INFO] [stdout] test protocol2::instruction::tests::test_read ... ok [INFO] [stderr] Doc-tests dynamixel [INFO] [stdout] test protocol2::instruction::tests::test_read_response_byte ... ok [INFO] [stdout] test protocol2::instruction::tests::test_pong_mixed ... ok [INFO] [stdout] test protocol2::instruction::tests::test_read_response_slice ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test protocol1::instruction::tests::test_ping ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write_response_mixed ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write_response_byte ... ok [INFO] [stdout] test protocol1::instruction::tests::test_read ... ok [INFO] [stdout] test protocol2::crc::tests::calculate_checksum_raw ... ok [INFO] [stdout] test protocol2::instruction::tests::test_pong ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b25a8c41152a30d12ee6ff7cf2be617dbea734e7d4c515397c4374ab4617f453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b25a8c41152a30d12ee6ff7cf2be617dbea734e7d4c515397c4374ab4617f453", kill_on_drop: false }` [INFO] [stdout] b25a8c41152a30d12ee6ff7cf2be617dbea734e7d4c515397c4374ab4617f453