[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] testing tjf801/nerf-firmware against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjf801%2Fnerf-firmware" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tjf801/nerf-firmware on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rahix/avr-hal` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded avr-device-macros v0.5.1 [INFO] [stderr] Downloaded avr-device v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea67bf7236b2d2276315e1ae674da806a3f36d80a22f2c202ebaff7b50089cf9 [INFO] running `Command { std: "docker" "start" "-a" "ea67bf7236b2d2276315e1ae674da806a3f36d80a22f2c202ebaff7b50089cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea67bf7236b2d2276315e1ae674da806a3f36d80a22f2c202ebaff7b50089cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea67bf7236b2d2276315e1ae674da806a3f36d80a22f2c202ebaff7b50089cf9", kill_on_drop: false }` [INFO] [stdout] ea67bf7236b2d2276315e1ae674da806a3f36d80a22f2c202ebaff7b50089cf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bda31818314dc9372621730f95ae12ac70c96132d902aafaf7198e1b7d79f985 [INFO] running `Command { std: "docker" "start" "-a" "bda31818314dc9372621730f95ae12ac70c96132d902aafaf7198e1b7d79f985", 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] Compiling nb v1.0.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [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] Compiling ufmt v0.1.0 [INFO] [stderr] Compiling avr-device v0.5.1 [INFO] [stderr] Compiling atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Compiling arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Compiling 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] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `PanicMessage<'_>` is not an iterator [INFO] [stdout] --> src/utils/panic.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(args) = info.message().cloned() { [INFO] [stdout] | ^^^^^^ `PanicMessage<'_>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PanicMessage<'_>: Iterator` [INFO] [stdout] which is required by `&mut PanicMessage<'_>: Iterator` [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] Some errors have detailed explanations: E0308, E0416, E0425, E0570, E0599. [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; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bda31818314dc9372621730f95ae12ac70c96132d902aafaf7198e1b7d79f985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda31818314dc9372621730f95ae12ac70c96132d902aafaf7198e1b7d79f985", kill_on_drop: false }` [INFO] [stdout] bda31818314dc9372621730f95ae12ac70c96132d902aafaf7198e1b7d79f985