[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 c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpishere%2Fspibuttonlib" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kpishere/spibuttonlib on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--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] [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-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a
[INFO] running `Command { std: "docker" "start" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking rounded-div v0.1.4
[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" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a", kill_on_drop: false }`
[INFO] [stdout] 295acead23473e91759e77442affb08a344dbf7666068c099b8e06a0a8debf8a
