[INFO] cloning repository https://github.com/kpishere/spibuttonlib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpishere/spibuttonlib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpishere%2Fspibuttonlib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpishere%2Fspibuttonlib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ffd1c4f046295c0c6cff54da686fa58dab75e3dc
[INFO] checking kpishere/spibuttonlib against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpishere%2Fspibuttonlib" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kpishere/spibuttonlib
[INFO] finished tweaking git repo https://github.com/kpishere/spibuttonlib
[INFO] tweaked toml for git repo https://github.com/kpishere/spibuttonlib written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kpishere/spibuttonlib on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kpishere/spibuttonlib 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spidev v0.7.1
[INFO] [stderr]   Downloaded rounded-div v0.1.4
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81f31a7294808d83f267c71e3e42ab7811828e5803169810e8384ea34344254a
[INFO] running `Command { std: "docker" "start" "-a" "81f31a7294808d83f267c71e3e42ab7811828e5803169810e8384ea34344254a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81f31a7294808d83f267c71e3e42ab7811828e5803169810e8384ea34344254a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81f31a7294808d83f267c71e3e42ab7811828e5803169810e8384ea34344254a", kill_on_drop: false }`
[INFO] [stdout] 81f31a7294808d83f267c71e3e42ab7811828e5803169810e8384ea34344254a
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6c62d0036f870c9fa75204285b24161894684d19deea55e6d72d7750cc2a377e
[INFO] running `Command { std: "docker" "start" "-a" "6c62d0036f870c9fa75204285b24161894684d19deea55e6d72d7750cc2a377e", kill_on_drop: false }`
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking rounded-div v0.1.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking spidev v0.7.1
[INFO] [stderr]     Checking 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" "6c62d0036f870c9fa75204285b24161894684d19deea55e6d72d7750cc2a377e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c62d0036f870c9fa75204285b24161894684d19deea55e6d72d7750cc2a377e", kill_on_drop: false }`
[INFO] [stdout] 6c62d0036f870c9fa75204285b24161894684d19deea55e6d72d7750cc2a377e
