[INFO] cloning repository https://github.com/jeroenvlek/rust-arduino-projects-book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeroenvlek/rust-arduino-projects-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81ddb89ea7a10a706da1f01d99f258f76a16a3ea [INFO] checking jeroenvlek/rust-arduino-projects-book against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeroenvlek%2Frust-arduino-projects-book" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jeroenvlek/rust-arduino-projects-book [INFO] finished tweaking git repo https://github.com/jeroenvlek/rust-arduino-projects-book [INFO] tweaked toml for git repo https://github.com/jeroenvlek/rust-arduino-projects-book written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeroenvlek/rust-arduino-projects-book on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeroenvlek/rust-arduino-projects-book 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" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rahix/avr-hal` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded ufmt_float v0.2.0 [INFO] [stderr] Downloaded ufmt-macros v0.3.0 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded ufmt-macros v0.2.0 [INFO] [stderr] Downloaded avr-device-macros v0.5.4 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded embedded-storage v0.2.0 [INFO] [stderr] Downloaded ufmt v0.2.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded ufmt v0.1.2 [INFO] [stderr] Downloaded avr-device v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8394dda53dc397b67b2263bf52bd3c355532e1a75616606837401b72ecd0c4ae [INFO] running `Command { std: "docker" "start" "-a" "8394dda53dc397b67b2263bf52bd3c355532e1a75616606837401b72ecd0c4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8394dda53dc397b67b2263bf52bd3c355532e1a75616606837401b72ecd0c4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8394dda53dc397b67b2263bf52bd3c355532e1a75616606837401b72ecd0c4ae", kill_on_drop: false }` [INFO] [stdout] 8394dda53dc397b67b2263bf52bd3c355532e1a75616606837401b72ecd0c4ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044604ab6db158c33963723c4e9b13ccd6734cc759a8a96671351f0640c210a2 [INFO] running `Command { std: "docker" "start" "-a" "044604ab6db158c33963723c4e9b13ccd6734cc759a8a96671351f0640c210a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=190f2c3cb8d29e10f71119352b912369dc5a1fb7#190f2c3c) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling avr-device-macros v0.5.4 [INFO] [stderr] Compiling ufmt-macros v0.2.0 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Checking avr-device v0.5.4 [INFO] [stderr] Checking ufmt v0.1.2 [INFO] [stderr] Checking ufmt v0.2.0 [INFO] [stderr] Checking ufmt_float v0.2.0 [INFO] [stderr] Checking atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=190f2c3cb8d29e10f71119352b912369dc5a1fb7#190f2c3c) [INFO] [stderr] Checking arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=190f2c3cb8d29e10f71119352b912369dc5a1fb7#190f2c3c) [INFO] [stderr] Checking rust-arduino-projects-book 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/bin/rotate-servo-pwm.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[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: 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/bin/pulse-width-modulation.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | #[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: 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/bin/read-temperature.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[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: 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/bin/mood-cue.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[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] [stderr] error: could not compile `rust-arduino-projects-book` (bin "rotate-servo-pwm") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/bin/external-interrupt.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | #[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[E0570]: "avr-interrupt" is not a supported ABI for the current target [INFO] [stdout] --> src/bin/external-interrupt.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[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] [stderr] error: could not compile `rust-arduino-projects-book` (bin "mood-cue") due to 1 previous error [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/bin/blink.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] [stderr] error: could not compile `rust-arduino-projects-book` (bin "pulse-width-modulation") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0570`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-arduino-projects-book` (bin "blink") due to 1 previous error [INFO] [stderr] error: could not compile `rust-arduino-projects-book` (bin "external-interrupt") due to 2 previous errors [INFO] [stderr] error: could not compile `rust-arduino-projects-book` (bin "read-temperature") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "044604ab6db158c33963723c4e9b13ccd6734cc759a8a96671351f0640c210a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044604ab6db158c33963723c4e9b13ccd6734cc759a8a96671351f0640c210a2", kill_on_drop: false }` [INFO] [stdout] 044604ab6db158c33963723c4e9b13ccd6734cc759a8a96671351f0640c210a2