[INFO] cloning repository https://github.com/tjf801/nerf-firmware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjf801/nerf-firmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjf801%2Fnerf-firmware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjf801%2Fnerf-firmware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ce7f731f4072a7d5782ad934c0d292318f60b52 [INFO] checking tjf801/nerf-firmware against master#d255c6a57c393db6221b1ff700daea478436f1cd for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjf801%2Fnerf-firmware" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tjf801/nerf-firmware on toolchain d255c6a57c393db6221b1ff700daea478436f1cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tjf801/nerf-firmware [INFO] finished tweaking git repo https://github.com/tjf801/nerf-firmware [INFO] tweaked toml for git repo https://github.com/tjf801/nerf-firmware written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tjf801/nerf-firmware 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" "+d255c6a57c393db6221b1ff700daea478436f1cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tjf801/nerf-firmware against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjf801%2Fnerf-firmware" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tjf801/nerf-firmware on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tjf801/nerf-firmware [INFO] finished tweaking git repo https://github.com/tjf801/nerf-firmware [INFO] tweaked toml for git repo https://github.com/tjf801/nerf-firmware written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tjf801/nerf-firmware 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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea32e2daed1b979e2cc39f962030263d3d5c93a868742d2e9c0d1b135d245dcc [INFO] running `Command { std: "docker" "start" "-a" "ea32e2daed1b979e2cc39f962030263d3d5c93a868742d2e9c0d1b135d245dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea32e2daed1b979e2cc39f962030263d3d5c93a868742d2e9c0d1b135d245dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea32e2daed1b979e2cc39f962030263d3d5c93a868742d2e9c0d1b135d245dcc", kill_on_drop: false }` [INFO] [stdout] ea32e2daed1b979e2cc39f962030263d3d5c93a868742d2e9c0d1b135d245dcc [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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35779faa7fdb193186f07177ad16e04362784ce57988aec68b345a576886632f [INFO] running `Command { std: "docker" "start" "-a" "35779faa7fdb193186f07177ad16e04362784ce57988aec68b345a576886632f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Compiling avr-device-macros v0.5.1 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking avr-device v0.5.1 [INFO] [stderr] Checking atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Checking arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Checking nerf-gun-firmware v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Ensure that you are using an AVR target! You may need to change directories or pass a --target flag to cargo. See [INFO] [stdout] https://github.com/Rahix/avr-device/pull/41 for more details. [INFO] [stdout] --> src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[arduino_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `arduino_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `u8` is bound more than once in the same pattern [INFO] [stdout] --> src/ssd1306/ssd1306.rs:104:63 [INFO] [stdout] | [INFO] [stdout] 104 | Command::SetColumnAddress{start_col: u8, end_col: u8} => cmd![0x21, start_col, end_col], [INFO] [stdout] | ^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `start_col` in this scope [INFO] [stdout] --> src/ssd1306/ssd1306.rs:104:81 [INFO] [stdout] | [INFO] [stdout] 104 | Command::SetColumnAddress{start_col: u8, end_col: u8} => cmd![0x21, start_col, end_col], [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `end_col` in this scope [INFO] [stdout] --> src/ssd1306/ssd1306.rs:104:92 [INFO] [stdout] | [INFO] [stdout] 104 | Command::SetColumnAddress{start_col: u8, end_col: u8} => cmd![0x21, start_col, end_col], [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target [INFO] [stdout] --> src/rev_motors.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[avr_device::interrupt(atmega328p)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `avr_device::interrupt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/ssd1306/ssd1306.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 72 | [$($x:expr),+ $(,)?] => { self.i2c.write(self.address, &[0x00, $($x),+]) } [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this is found to be of type `Result<(), ::Error>` [INFO] [stdout] | this is found to be of type `Result<(), ::Error>` [INFO] [stdout] | this is found to be of type `Result<(), ::Error>` [INFO] [stdout] | this is found to be of type `Result<(), ::Error>` [INFO] [stdout] ... [INFO] [stdout] 75 | / match command { [INFO] [stdout] 76 | | // Fundamental commands [INFO] [stdout] 77 | | Command::SetContrast{contrast} => cmd![0x81, contrast], [INFO] [stdout] 78 | | Command::AllPixelsOn(enable) => cmd![0xA4 | (enable as u8)], [INFO] [stdout] ... | [INFO] [stdout] 88 | | } => [0x26 | dir as u8, 0x00, start as u8, interval as u8, end as u8, 0x00, 0xFF], [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), ...>`, found `[u8; 7]` [INFO] [stdout] ... | [INFO] [stdout] 124 | | _ => todo!() [INFO] [stdout] 125 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ::Error>` [INFO] [stdout] found array `[u8; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0416, E0425, E0570. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nerf-gun-firmware` (bin "nerf-gun-firmware") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "35779faa7fdb193186f07177ad16e04362784ce57988aec68b345a576886632f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35779faa7fdb193186f07177ad16e04362784ce57988aec68b345a576886632f", kill_on_drop: false }` [INFO] [stdout] 35779faa7fdb193186f07177ad16e04362784ce57988aec68b345a576886632f