[INFO] fetching crate dynamixel 0.1.1... [INFO] checking dynamixel-0.1.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [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 ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] [stderr] Downloaded libudev v0.2.0 [INFO] [stderr] Downloaded serialport v2.3.0 [INFO] [stderr] Downloaded mach v0.0.5 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] [stderr] Downloaded badlog v1.1.1 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17cc4c65f5d947ac8ea6f6e8872fd8cdfa265f8e19e6e7d906cc9445fbf9352d [INFO] running `Command { std: "docker" "start" "-a" "17cc4c65f5d947ac8ea6f6e8872fd8cdfa265f8e19e6e7d906cc9445fbf9352d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17cc4c65f5d947ac8ea6f6e8872fd8cdfa265f8e19e6e7d906cc9445fbf9352d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17cc4c65f5d947ac8ea6f6e8872fd8cdfa265f8e19e6e7d906cc9445fbf9352d", kill_on_drop: false }` [INFO] [stdout] 17cc4c65f5d947ac8ea6f6e8872fd8cdfa265f8e19e6e7d906cc9445fbf9352d [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eac9a40a9bd5d0e413cf58e0808dae185e63c8cdabb718e550fb1781ceeb4512 [INFO] running `Command { std: "docker" "start" "-a" "eac9a40a9bd5d0e413cf58e0808dae185e63c8cdabb718e550fb1781ceeb4512", 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 bitflags v0.9.1 [INFO] [stderr] Checking bit_field v0.9.0 [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 1.80s [INFO] running `Command { std: "docker" "inspect" "eac9a40a9bd5d0e413cf58e0808dae185e63c8cdabb718e550fb1781ceeb4512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac9a40a9bd5d0e413cf58e0808dae185e63c8cdabb718e550fb1781ceeb4512", kill_on_drop: false }` [INFO] [stdout] eac9a40a9bd5d0e413cf58e0808dae185e63c8cdabb718e550fb1781ceeb4512 [INFO] checking dynamixel-0.1.1 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [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 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a162162b8f90adc91e8da19d0a405517a88bbdd34913bda876176d8dcca7760f [INFO] running `Command { std: "docker" "start" "-a" "a162162b8f90adc91e8da19d0a405517a88bbdd34913bda876176d8dcca7760f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a162162b8f90adc91e8da19d0a405517a88bbdd34913bda876176d8dcca7760f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a162162b8f90adc91e8da19d0a405517a88bbdd34913bda876176d8dcca7760f", kill_on_drop: false }` [INFO] [stdout] a162162b8f90adc91e8da19d0a405517a88bbdd34913bda876176d8dcca7760f [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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab35d4a3a67f95b7c720f7daa4d3203bfd239e9e3e4b47e5e05049212e44b480 [INFO] running `Command { std: "docker" "start" "-a" "ab35d4a3a67f95b7c720f7daa4d3203bfd239e9e3e4b47e5e05049212e44b480", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking iovec v0.1.4 [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] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 335 | buf_get_impl!(self, 2, BigEndian::read_u16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 356 | buf_get_impl!(self, 2, LittleEndian::read_u16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 385 | buf_get_impl!(self, 2, BigEndian::read_i16); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 406 | buf_get_impl!(self, 2, LittleEndian::read_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 435 | buf_get_impl!(self, 4, BigEndian::read_u32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 456 | buf_get_impl!(self, 4, LittleEndian::read_u32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 485 | buf_get_impl!(self, 4, BigEndian::read_i32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 506 | buf_get_impl!(self, 4, LittleEndian::read_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 535 | buf_get_impl!(self, 8, BigEndian::read_u64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 556 | buf_get_impl!(self, 8, LittleEndian::read_u64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 585 | buf_get_impl!(self, 8, BigEndian::read_i64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 606 | buf_get_impl!(self, 8, LittleEndian::read_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 828 | buf_get_impl!(self, 4, BigEndian::read_f32); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 850 | buf_get_impl!(self, 4, LittleEndian::read_f32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 880 | buf_get_impl!(self, 8, BigEndian::read_f64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / if let Some(ret) = ret { [INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return [INFO] [stdout] 21 | | $this.advance($size); [INFO] [stdout] 22 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 27 | | return $conv(&buf); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 902 | buf_get_impl!(self, 8, LittleEndian::read_f64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "ab35d4a3a67f95b7c720f7daa4d3203bfd239e9e3e4b47e5e05049212e44b480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab35d4a3a67f95b7c720f7daa4d3203bfd239e9e3e4b47e5e05049212e44b480", kill_on_drop: false }` [INFO] [stdout] ab35d4a3a67f95b7c720f7daa4d3203bfd239e9e3e4b47e5e05049212e44b480