[INFO] fetching crate rfid-rs 0.2.1... [INFO] testing rfid-rs-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rfid-rs 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rfid-rs 0.2.1 [INFO] finished tweaking crates.io crate rfid-rs 0.2.1 [INFO] tweaked toml for crates.io crate rfid-rs 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rfid-rs 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rfid-rs 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded sysfs_gpio v0.6.1 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded i2cdev v0.5.1 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded spidev v0.5.1 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.2 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded gpio-cdev v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2af9f5a74d137c1af18bd314f029831f9afeead19c0c8b39497fc86e74d1ee39 [INFO] running `Command { std: "docker" "start" "-a" "2af9f5a74d137c1af18bd314f029831f9afeead19c0c8b39497fc86e74d1ee39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af9f5a74d137c1af18bd314f029831f9afeead19c0c8b39497fc86e74d1ee39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af9f5a74d137c1af18bd314f029831f9afeead19c0c8b39497fc86e74d1ee39", kill_on_drop: false }` [INFO] [stdout] 2af9f5a74d137c1af18bd314f029831f9afeead19c0c8b39497fc86e74d1ee39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 526f883193e1e68428dc75b6b2e37ba27d8c87eecc017b2ee94a3e9e71427bc3 [INFO] running `Command { std: "docker" "start" "-a" "526f883193e1e68428dc75b6b2e37ba27d8c87eecc017b2ee94a3e9e71427bc3", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rfid-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIFARE_ACK` is never used [INFO] [stdout] --> src/lib.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | const MIFARE_ACK: u8 = 0xA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_type` is never used [INFO] [stdout] --> src/picc.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl Sak { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 98 | pub fn get_type(&self) -> Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | self.nss.set_low(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 716 | let _ = self.nss.set_low(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 718 | self.nss.set_high(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 718 | let _ = self.nss.set_high(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "526f883193e1e68428dc75b6b2e37ba27d8c87eecc017b2ee94a3e9e71427bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526f883193e1e68428dc75b6b2e37ba27d8c87eecc017b2ee94a3e9e71427bc3", kill_on_drop: false }` [INFO] [stdout] 526f883193e1e68428dc75b6b2e37ba27d8c87eecc017b2ee94a3e9e71427bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 211887560d15467fc1da082da7d6bf4d8ee3984867fe09a3da90a84ecb7e4789 [INFO] running `Command { std: "docker" "start" "-a" "211887560d15467fc1da082da7d6bf4d8ee3984867fe09a3da90a84ecb7e4789", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling rfid-rs v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stdout] warning: constant `MIFARE_ACK` is never used [INFO] [stdout] --> src/lib.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | const MIFARE_ACK: u8 = 0xA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_type` is never used [INFO] [stdout] --> src/picc.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl Sak { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 98 | pub fn get_type(&self) -> Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | self.nss.set_low(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 716 | let _ = self.nss.set_low(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 718 | self.nss.set_high(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 718 | let _ = self.nss.set_high(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling sysfs_gpio v0.6.1 [INFO] [stderr] Compiling i2cdev v0.5.1 [INFO] [stderr] Compiling spidev v0.5.1 [INFO] [stderr] Compiling gpio-cdev v0.5.1 [INFO] [stderr] Compiling linux-embedded-hal v0.3.2 [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPI_MODE_0` in crate `hal::spidev` [INFO] [stdout] --> examples/rpi.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | .mode(hal::spidev::SPI_MODE_0) [INFO] [stdout] | ^^^^^^^^^^ not found in `hal::spidev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Uid` doesn't implement `Debug` [INFO] [stdout] --> examples/rpi.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 82 | println!("UID: {:?}", uid); [INFO] [stdout] | ---- ^^^ `Uid` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Uid` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for enum `Uid` in the current scope [INFO] [stdout] --> examples/rpi.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | if uid.bytes() == &CARD_UID { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 84 | if uid.as_bytes() == &CARD_UID { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for enum `Uid` in the current scope [INFO] [stdout] --> examples/rpi.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | } else if uid.bytes() == &TAG_UID { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 87 | } else if uid.as_bytes() == &TAG_UID { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rfid-rs` (example "rpi") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `MIFARE_ACK` is never used [INFO] [stdout] --> src/lib.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | const MIFARE_ACK: u8 = 0xA; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_type` is never used [INFO] [stdout] --> src/picc.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl Sak { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 98 | pub fn get_type(&self) -> Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | self.nss.set_low(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 716 | let _ = self.nss.set_low(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 718 | self.nss.set_high(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 718 | let _ = self.nss.set_high(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "211887560d15467fc1da082da7d6bf4d8ee3984867fe09a3da90a84ecb7e4789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "211887560d15467fc1da082da7d6bf4d8ee3984867fe09a3da90a84ecb7e4789", kill_on_drop: false }` [INFO] [stdout] 211887560d15467fc1da082da7d6bf4d8ee3984867fe09a3da90a84ecb7e4789