[INFO] fetching crate dynamixel 0.1.1... [INFO] testing dynamixel-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate dynamixel 0.1.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate dynamixel 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 622b85a33907b0440b712c1606e4b7f3326b2e4455b8f8cd45550c7d74bc6cb6 [INFO] running `Command { std: "docker" "start" "-a" "622b85a33907b0440b712c1606e4b7f3326b2e4455b8f8cd45550c7d74bc6cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "622b85a33907b0440b712c1606e4b7f3326b2e4455b8f8cd45550c7d74bc6cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622b85a33907b0440b712c1606e4b7f3326b2e4455b8f8cd45550c7d74bc6cb6", kill_on_drop: false }` [INFO] [stdout] 622b85a33907b0440b712c1606e4b7f3326b2e4455b8f8cd45550c7d74bc6cb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c7b2770eb31b03f5868b79d8c2700abc27f05cddd0b3871172b33f0febc618d [INFO] running `Command { std: "docker" "start" "-a" "8c7b2770eb31b03f5868b79d8c2700abc27f05cddd0b3871172b33f0febc618d", 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] Compiling bit_field v0.9.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: 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] Finished dev [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "8c7b2770eb31b03f5868b79d8c2700abc27f05cddd0b3871172b33f0febc618d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7b2770eb31b03f5868b79d8c2700abc27f05cddd0b3871172b33f0febc618d", kill_on_drop: false }` [INFO] [stdout] 8c7b2770eb31b03f5868b79d8c2700abc27f05cddd0b3871172b33f0febc618d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a68cf899dcaf161b7adb26ced182f738e5def9164de4744e18b9e1ce05ec731 [INFO] running `Command { std: "docker" "start" "-a" "4a68cf899dcaf161b7adb26ced182f738e5def9164de4744e18b9e1ce05ec731", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.44 [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] [stderr] Compiling regex v1.5.5 [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 bytes v0.4.12 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling badlog v1.1.1 [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 4.45s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dynamixel-e9faa5e9a588df10) [INFO] running `Command { std: "docker" "inspect" "4a68cf899dcaf161b7adb26ced182f738e5def9164de4744e18b9e1ce05ec731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a68cf899dcaf161b7adb26ced182f738e5def9164de4744e18b9e1ce05ec731", kill_on_drop: false }` [INFO] [stdout] 4a68cf899dcaf161b7adb26ced182f738e5def9164de4744e18b9e1ce05ec731 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6f7d288d63800e163727797d7d608e485bd68c03b85af2ed83b8183edfc0dca [INFO] running `Command { std: "docker" "start" "-a" "d6f7d288d63800e163727797d7d608e485bd68c03b85af2ed83b8183edfc0dca", 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dynamixel-e9faa5e9a588df10) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test protocol1::instruction::tests::test_ping ... ok [INFO] [stdout] test protocol1::instruction::tests::test_read ... ok [INFO] [stdout] test protocol1::instruction::tests::test_pong ... ok [INFO] [stdout] test protocol1::instruction::tests::test_write ... ok [INFO] [stdout] test protocol2::crc::tests::calculate_checksum_raw ... ok [INFO] [stdout] test protocol2::instruction::tests::test_ping ... ok [INFO] [stdout] test protocol2::instruction::tests::test_pong ... ok [INFO] [stdout] test protocol2::instruction::tests::test_pong_mixed ... ok [INFO] [stdout] test protocol2::instruction::tests::test_read ... ok [INFO] [stdout] test protocol2::instruction::tests::test_read_response_byte ... ok [INFO] [stdout] test protocol2::instruction::tests::test_read_response_slice ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write_response_byte ... ok [INFO] [stdout] test protocol2::instruction::tests::test_write_response_mixed ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dynamixel [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" "d6f7d288d63800e163727797d7d608e485bd68c03b85af2ed83b8183edfc0dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f7d288d63800e163727797d7d608e485bd68c03b85af2ed83b8183edfc0dca", kill_on_drop: false }` [INFO] [stdout] d6f7d288d63800e163727797d7d608e485bd68c03b85af2ed83b8183edfc0dca