[INFO] fetching crate spibuttonlib 0.1.0... [INFO] testing spibuttonlib-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate spibuttonlib 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate spibuttonlib 0.1.0 [INFO] finished tweaking crates.io crate spibuttonlib 0.1.0 [INFO] tweaked toml for crates.io crate spibuttonlib 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spibuttonlib 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spibuttonlib 0.1.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rounded-div v0.1.4 [INFO] [stderr] Downloaded spidev v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7af1c5495d40641af9314f5e0a5e7300f534f221b8ebff4e610ffe41f75f4a [INFO] running `Command { std: "docker" "start" "-a" "0e7af1c5495d40641af9314f5e0a5e7300f534f221b8ebff4e610ffe41f75f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7af1c5495d40641af9314f5e0a5e7300f534f221b8ebff4e610ffe41f75f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7af1c5495d40641af9314f5e0a5e7300f534f221b8ebff4e610ffe41f75f4a", kill_on_drop: false }` [INFO] [stdout] 0e7af1c5495d40641af9314f5e0a5e7300f534f221b8ebff4e610ffe41f75f4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9ce7500966840221ed3b16e42b7833824e28e935e9a3f96df11634ff6c534c2 [INFO] running `Command { std: "docker" "start" "-a" "e9ce7500966840221ed3b16e42b7833824e28e935e9a3f96df11634ff6c534c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rounded-div v0.1.4 [INFO] [stderr] Compiling spidev v0.7.1 [INFO] [stderr] Compiling spibuttonlib v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "e9ce7500966840221ed3b16e42b7833824e28e935e9a3f96df11634ff6c534c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ce7500966840221ed3b16e42b7833824e28e935e9a3f96df11634ff6c534c2", kill_on_drop: false }` [INFO] [stdout] e9ce7500966840221ed3b16e42b7833824e28e935e9a3f96df11634ff6c534c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7faa398f323d178118d1f41fd4a7953ed7350be5c0513393d335f07c412f4662 [INFO] running `Command { std: "docker" "start" "-a" "7faa398f323d178118d1f41fd4a7953ed7350be5c0513393d335f07c412f4662", kill_on_drop: false }` [INFO] [stderr] Compiling spibuttonlib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | let btn = SPIButton::new(SPIButtonState::On); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^ expected `u8`, found `SPIButtonState` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(state: u8) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:292:38 [INFO] [stdout] | [INFO] [stdout] 292 | let mut btn = SPIButton::new(SPIButtonState::Off); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ expected `u8`, found `SPIButtonState` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(state: u8) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 299 | let mut btn = SPIButton::new(SPIButtonState::Off); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ expected `u8`, found `SPIButtonState` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(state: u8) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | let mut btn = SPIButton::new(SPIButtonState::Off); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^ expected `u8`, found `SPIButtonState` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(state: u8) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spibuttonlib` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "7faa398f323d178118d1f41fd4a7953ed7350be5c0513393d335f07c412f4662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7faa398f323d178118d1f41fd4a7953ed7350be5c0513393d335f07c412f4662", kill_on_drop: false }` [INFO] [stdout] 7faa398f323d178118d1f41fd4a7953ed7350be5c0513393d335f07c412f4662