[INFO] cloning repository https://github.com/tomaszbawor/rust_arduino_dht11_lcd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomaszbawor/rust_arduino_dht11_lcd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomaszbawor%2Frust_arduino_dht11_lcd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomaszbawor%2Frust_arduino_dht11_lcd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddae6d39a44a275592ce3db235ad3007afb17a0e [INFO] testing tomaszbawor/rust_arduino_dht11_lcd against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomaszbawor%2Frust_arduino_dht11_lcd" "/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/tomaszbawor/rust_arduino_dht11_lcd [INFO] finished tweaking git repo https://github.com/tomaszbawor/rust_arduino_dht11_lcd [INFO] tweaked toml for git repo https://github.com/tomaszbawor/rust_arduino_dht11_lcd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomaszbawor/rust_arduino_dht11_lcd 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/tomaszbawor/rust_arduino_dht11_lcd 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lcd-lcm1602-i2c v0.3.0 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded avr-device-macros v0.7.0 [INFO] [stderr] Downloaded dht-sensor v0.2.1 [INFO] [stderr] Downloaded avr-device v0.7.0 [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] 53cd684c5fa6dbb0cdbea5bfe78477adcfa24ff396ad0f77a5f3dcd1bb5c5a07 [INFO] running `Command { std: "docker" "start" "-a" "53cd684c5fa6dbb0cdbea5bfe78477adcfa24ff396ad0f77a5f3dcd1bb5c5a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53cd684c5fa6dbb0cdbea5bfe78477adcfa24ff396ad0f77a5f3dcd1bb5c5a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53cd684c5fa6dbb0cdbea5bfe78477adcfa24ff396ad0f77a5f3dcd1bb5c5a07", kill_on_drop: false }` [INFO] [stdout] 53cd684c5fa6dbb0cdbea5bfe78477adcfa24ff396ad0f77a5f3dcd1bb5c5a07 [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] ee97a0c647b5b4310ebc85ce0350d91757f246a87a1755956971956b72cef493 [INFO] running `Command { std: "docker" "start" "-a" "ee97a0c647b5b4310ebc85ce0350d91757f246a87a1755956971956b72cef493", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling embedded-hal-bus v0.1.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling bare-metal v1.0.0 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling unwrap-infallible v0.1.5 [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling dht-sensor v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ufmt-macros v0.3.0 [INFO] [stderr] Compiling avr-device-macros v0.7.0 [INFO] [stderr] Compiling ufmt v0.2.0 [INFO] [stderr] Compiling avr-device v0.7.0 [INFO] [stderr] Compiling lcd-lcm1602-i2c v0.3.0 [INFO] [stderr] Compiling avr-hal-generic v0.1.0 (https://github.com/rahix/avr-hal?rev=fafaf587a32a4500239fd073f89d1b9c36b48092#fafaf587) [INFO] [stderr] Compiling atmega-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=fafaf587a32a4500239fd073f89d1b9c36b48092#fafaf587) [INFO] [stderr] Compiling arduino-hal v0.1.0 (https://github.com/rahix/avr-hal?rev=fafaf587a32a4500239fd073f89d1b9c36b48092#fafaf587) [INFO] [stderr] Compiling rust_arduino_dht11_lcd 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] warning: unused import: `clock::MHz16` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use arduino_hal::{clock::MHz16, Delay, I2c}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::delay::DelayNs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use embedded_hal::delay::DelayNs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | let mut dht_pin = pins.d4; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_arduino_dht11_lcd` (bin "rust_arduino_dht11_lcd") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee97a0c647b5b4310ebc85ce0350d91757f246a87a1755956971956b72cef493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee97a0c647b5b4310ebc85ce0350d91757f246a87a1755956971956b72cef493", kill_on_drop: false }` [INFO] [stdout] ee97a0c647b5b4310ebc85ce0350d91757f246a87a1755956971956b72cef493