[INFO] fetching crate dynamixel 0.1.1... [INFO] checking dynamixel-0.1.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate dynamixel 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate dynamixel 0.1.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bit_field v0.9.0 (latest: v0.10.2) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding libudev v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding mach v0.0.5 (latest: v0.3.2) [INFO] [stderr] Adding mach v0.1.2 (latest: v0.3.2) [INFO] [stderr] Adding nix v0.10.0 (latest: v0.28.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding serialport v2.3.0 (latest: v4.3.0) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libudev-sys v0.1.4 [INFO] [stderr] Downloaded serialport v2.3.0 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded badlog v1.1.1 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] [stderr] Downloaded mach v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80262dc74afa5c3aac6708b159fcc1e2be61eddc7e3a08500378f0d8026091eb [INFO] running `Command { std: "docker" "start" "-a" "80262dc74afa5c3aac6708b159fcc1e2be61eddc7e3a08500378f0d8026091eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80262dc74afa5c3aac6708b159fcc1e2be61eddc7e3a08500378f0d8026091eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80262dc74afa5c3aac6708b159fcc1e2be61eddc7e3a08500378f0d8026091eb", kill_on_drop: false }` [INFO] [stdout] 80262dc74afa5c3aac6708b159fcc1e2be61eddc7e3a08500378f0d8026091eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b65640fe787ae9cc52736d078220fa907c6f91d38418c2fb0ab8c1bfd3d12e7e [INFO] running `Command { std: "docker" "start" "-a" "b65640fe787ae9cc52736d078220fa907c6f91d38418c2fb0ab8c1bfd3d12e7e", kill_on_drop: false }` [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking 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: the item `ServoID` is imported redundantly [INFO] [stdout] --> src/protocol1/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol1::*; [INFO] [stdout] | ------------ the item `ServoID` is already imported here [INFO] [stdout] 2 | use protocol1::ServoID; [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [stderr] Checking badlog v1.1.1 [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 `variants` is never used [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl BaudRate { [INFO] [stdout] | ------------- associated function in this implementation [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: fields `baud_rate`, `model_number`, and `id` are never read [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct ServoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | model_number: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: variant `Broadcast` is never constructed [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 328 | pub(crate) enum PacketID { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 329 | Unicast(ServoID), [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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `unicast` and `broadcast` are never used [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl PacketID { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol1/mod.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(u16); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 368 | impl GenericModelNumber { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) struct WriteDataResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ReadDataResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calc` is never used [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl CRC { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking serialport v2.3.0 [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: the item `ServoID` is imported redundantly [INFO] [stdout] --> src/protocol1/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol1::*; [INFO] [stdout] | ------------ the item `ServoID` is already imported here [INFO] [stdout] 2 | use protocol1::ServoID; [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 `variants` is never used [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl BaudRate { [INFO] [stdout] | ------------- associated function in this implementation [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: fields `baud_rate`, `model_number`, and `id` are never read [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct ServoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | model_number: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol1/mod.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(u16); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 368 | impl GenericModelNumber { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) struct WriteDataResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ReadDataResponse { [INFO] [stdout] | ---------------- field in this struct [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 `dev` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] running `Command { std: "docker" "inspect" "b65640fe787ae9cc52736d078220fa907c6f91d38418c2fb0ab8c1bfd3d12e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65640fe787ae9cc52736d078220fa907c6f91d38418c2fb0ab8c1bfd3d12e7e", kill_on_drop: false }` [INFO] [stdout] b65640fe787ae9cc52736d078220fa907c6f91d38418c2fb0ab8c1bfd3d12e7e [INFO] checking dynamixel-0.1.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate dynamixel 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate dynamixel 0.1.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b906aa9cbb8427b8c54fadd8dc1dd1a494abace2bcea4b15aff024fec47e73 [INFO] running `Command { std: "docker" "start" "-a" "84b906aa9cbb8427b8c54fadd8dc1dd1a494abace2bcea4b15aff024fec47e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b906aa9cbb8427b8c54fadd8dc1dd1a494abace2bcea4b15aff024fec47e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b906aa9cbb8427b8c54fadd8dc1dd1a494abace2bcea4b15aff024fec47e73", kill_on_drop: false }` [INFO] [stdout] 84b906aa9cbb8427b8c54fadd8dc1dd1a494abace2bcea4b15aff024fec47e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 733753a443841a8208ba5140f2491ee81283369cfe87eba0609e28ae78686254 [INFO] running `Command { std: "docker" "start" "-a" "733753a443841a8208ba5140f2491ee81283369cfe87eba0609e28ae78686254", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking 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: the item `ServoID` is imported redundantly [INFO] [stdout] --> src/protocol1/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol1::*; [INFO] [stdout] | ------------ the item `ServoID` is already imported here [INFO] [stdout] 2 | use protocol1::ServoID; [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 `variants` is never used [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl BaudRate { [INFO] [stdout] | ------------- associated function in this implementation [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: fields `baud_rate`, `model_number`, and `id` are never read [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct ServoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | model_number: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: variant `Broadcast` is never constructed [INFO] [stdout] --> src/protocol1/mod.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 328 | pub(crate) enum PacketID { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 329 | Unicast(ServoID), [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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `unicast` and `broadcast` are never used [INFO] [stdout] --> src/protocol1/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl PacketID { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 334 | pub fn unicast(id: u8) -> PacketID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn broadcast() -> PacketID { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol1/mod.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(u16); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 368 | impl GenericModelNumber { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) struct WriteDataResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ReadDataResponse { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 110 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calc` is never used [INFO] [stdout] --> src/protocol2/crc.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl CRC { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn calc(data: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking badlog v1.1.1 [INFO] [stderr] Checking serialport v2.3.0 [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: the item `ServoID` is imported redundantly [INFO] [stdout] --> src/protocol1/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol1::*; [INFO] [stdout] | ------------ the item `ServoID` is already imported here [INFO] [stdout] 2 | use protocol1::ServoID; [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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 `variants` is never used [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl BaudRate { [INFO] [stdout] | ------------- associated function in this implementation [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: fields `baud_rate`, `model_number`, and `id` are never read [INFO] [stdout] --> src/protocol1/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 215 | pub struct ServoInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 216 | baud_rate: ::BaudRate, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | model_number: u16, [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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol1/mod.rs:366:27 [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(u16); [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 366 | struct GenericModelNumber(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/protocol1/mod.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 368 | impl GenericModelNumber { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 369 | fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub(crate) struct WriteDataResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 70 | pub id: ServoID, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/protocol1/instruction.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) struct ReadDataResponse { [INFO] [stdout] | ---------------- field in this struct [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 `dev` profile [unoptimized + debuginfo] target(s) in 4.94s [INFO] running `Command { std: "docker" "inspect" "733753a443841a8208ba5140f2491ee81283369cfe87eba0609e28ae78686254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733753a443841a8208ba5140f2491ee81283369cfe87eba0609e28ae78686254", kill_on_drop: false }` [INFO] [stdout] 733753a443841a8208ba5140f2491ee81283369cfe87eba0609e28ae78686254