[INFO] cloning repository https://github.com/heuristic-industries/single_switch_firmware [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heuristic-industries/single_switch_firmware" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheuristic-industries%2Fsingle_switch_firmware", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheuristic-industries%2Fsingle_switch_firmware'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a96a6199c3f0e92d74e8fb11ace9d7be5847710a [INFO] checking heuristic-industries/single_switch_firmware against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheuristic-industries%2Fsingle_switch_firmware" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heuristic-industries/single_switch_firmware on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/heuristic-industries/single_switch_firmware [INFO] finished tweaking git repo https://github.com/heuristic-industries/single_switch_firmware [INFO] tweaked toml for git repo https://github.com/heuristic-industries/single_switch_firmware written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/heuristic-industries/single_switch_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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rahix/avr-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded avr-device-macros v0.5.1 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded ufmt-macros v0.1.1 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded syn v1.0.63 [INFO] [stderr] Downloaded avr-device v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d606b5738b91bdc045d435c98a4c3167b8b8f6f04a9b2c0ff44876c10c06055 [INFO] running `Command { std: "docker" "start" "-a" "9d606b5738b91bdc045d435c98a4c3167b8b8f6f04a9b2c0ff44876c10c06055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d606b5738b91bdc045d435c98a4c3167b8b8f6f04a9b2c0ff44876c10c06055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d606b5738b91bdc045d435c98a4c3167b8b8f6f04a9b2c0ff44876c10c06055", kill_on_drop: false }` [INFO] [stdout] 9d606b5738b91bdc045d435c98a4c3167b8b8f6f04a9b2c0ff44876c10c06055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f077c5d661159f81e964c87d1209dfb4d64d4fdfdf8fcd84a3c7f5d8e8ea11bd [INFO] running `Command { std: "docker" "start" "-a" "f077c5d661159f81e964c87d1209dfb4d64d4fdfdf8fcd84a3c7f5d8e8ea11bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Compiling avr-device-macros v0.5.1 [INFO] [stderr] Checking avr-device v0.5.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Checking attiny-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=7dfa6d322b9df98b2d98afe0e14a97afe0187ac1#7dfa6d32) [INFO] [stderr] Checking single_switch_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:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[attiny_hal::entry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `attiny_hal::entry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `single_switch_firmware` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-afc709e1b5c9cf1d.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `single_switch_firmware` (bin "single_switch_firmware" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f077c5d661159f81e964c87d1209dfb4d64d4fdfdf8fcd84a3c7f5d8e8ea11bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f077c5d661159f81e964c87d1209dfb4d64d4fdfdf8fcd84a3c7f5d8e8ea11bd", kill_on_drop: false }` [INFO] [stdout] f077c5d661159f81e964c87d1209dfb4d64d4fdfdf8fcd84a3c7f5d8e8ea11bd