[INFO] cloning repository https://github.com/jamil4321/Stm32_DHT11_Esp01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamil4321/Stm32_DHT11_Esp01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamil4321%2FStm32_DHT11_Esp01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamil4321%2FStm32_DHT11_Esp01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb052eab5baf73dee55a9d7c17694c9f26e2e032 [INFO] checking jamil4321/Stm32_DHT11_Esp01 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamil4321%2FStm32_DHT11_Esp01" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamil4321/Stm32_DHT11_Esp01 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] started tweaking git repo https://github.com/jamil4321/Stm32_DHT11_Esp01 [INFO] finished tweaking git repo https://github.com/jamil4321/Stm32_DHT11_Esp01 [INFO] tweaked toml for git repo https://github.com/jamil4321/Stm32_DHT11_Esp01 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jamil4321/Stm32_DHT11_Esp01 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ba697ad189a4729313fd5438e082294a4afd99b1833a5164d32123389977483 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ba697ad189a4729313fd5438e082294a4afd99b1833a5164d32123389977483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ba697ad189a4729313fd5438e082294a4afd99b1833a5164d32123389977483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba697ad189a4729313fd5438e082294a4afd99b1833a5164d32123389977483", kill_on_drop: false }` [INFO] [stdout] 2ba697ad189a4729313fd5438e082294a4afd99b1833a5164d32123389977483 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cc6d465c11946cb58b6f68abf4553d38a10082cb97bf78a855fc0f4cc76361d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5cc6d465c11946cb58b6f68abf4553d38a10082cb97bf78a855fc0f4cc76361d", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Compiling stm32f1 v0.6.0 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Compiling cortex-m v0.7.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling cortex-m v0.5.11 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking stm32f1xx-hal v0.2.1 [INFO] [stderr] Checking stm32f1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `hal::stm32` [INFO] [stdout] --> src/dht11.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExceptionFrame`, `exception` [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use rt::{entry, exception, ExceptionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn set_bit(pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn clear_bit(pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | fn response(delay:&mut Delay,pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->[u8;8]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pa3.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pa3.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pa3.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_InputPin::is_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pin.is_high() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pin.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32f1` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `hal::stm32` [INFO] [stdout] --> src/dht11.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hal::stm32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExceptionFrame`, `exception` [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use rt::{entry, exception, ExceptionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 `stm32f1` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-736d556224107bc3.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/9fa580b1175018b0a276b0bc68f9827a106f7260/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | fn set_bit(pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn clear_bit(pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `hal::prelude::_embedded_hal_digital_InputPin`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | fn response(delay:&mut Delay,pin:& dyn hal::prelude::_embedded_hal_digital_InputPin)->[u8;8]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pa3.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pa3.set_low(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_OutputPin::set_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pa3.set_high(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_InputPin::is_high`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pin.is_high() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hal::prelude::_embedded_hal_digital_InputPin::is_low`: Deprecated because the methods cannot return errors. Users should use the traits in digital::v2. [INFO] [stdout] --> src/dht11.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pin.is_low() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5cc6d465c11946cb58b6f68abf4553d38a10082cb97bf78a855fc0f4cc76361d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc6d465c11946cb58b6f68abf4553d38a10082cb97bf78a855fc0f4cc76361d", kill_on_drop: false }` [INFO] [stdout] 5cc6d465c11946cb58b6f68abf4553d38a10082cb97bf78a855fc0f4cc76361d