[INFO] cloning repository https://github.com/AmberCrafter/Rust-embedded_ina266 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmberCrafter/Rust-embedded_ina266" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-embedded_ina266", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-embedded_ina266'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28d5f568c576334b22d57ab84a25baaf088dafb7 [INFO] checking AmberCrafter/Rust-embedded_ina266 against try#8df314f433990f5163039edae8245e89581f72ca for pr-108221 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-embedded_ina266" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AmberCrafter/Rust-embedded_ina266 on toolchain 8df314f433990f5163039edae8245e89581f72ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/AmberCrafter/Rust-embedded_ina266 [INFO] finished tweaking git repo https://github.com/AmberCrafter/Rust-embedded_ina266 [INFO] tweaked toml for git repo https://github.com/AmberCrafter/Rust-embedded_ina266 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AmberCrafter/Rust-embedded_ina266 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" "+8df314f433990f5163039edae8245e89581f72ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 795c7d0d2ec6191b09bdc222c1697f13ec68ccb147229549ac6b4d8851c78256 [INFO] running `Command { std: "docker" "start" "-a" "795c7d0d2ec6191b09bdc222c1697f13ec68ccb147229549ac6b4d8851c78256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "795c7d0d2ec6191b09bdc222c1697f13ec68ccb147229549ac6b4d8851c78256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795c7d0d2ec6191b09bdc222c1697f13ec68ccb147229549ac6b4d8851c78256", kill_on_drop: false }` [INFO] [stdout] 795c7d0d2ec6191b09bdc222c1697f13ec68ccb147229549ac6b4d8851c78256 [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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+8df314f433990f5163039edae8245e89581f72ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6890450f3a0a103242d13a29a9b9efc6b156fcb46ce41869446a3f761642689a [INFO] running `Command { std: "docker" "start" "-a" "6890450f3a0a103242d13a29a9b9efc6b156fcb46ce41869446a3f761642689a", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cortex-m v0.7.3 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-rt v0.6.15 [INFO] [stderr] Compiling stm32f1 v0.11.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking volatile-register v0.2.1 [INFO] [stderr] Compiling stm32f1 v0.12.1 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking panic-semihosting v0.5.6 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking aligned v0.3.5 [INFO] [stderr] Compiling cortex-m-rt-macros v0.6.15 [INFO] [stderr] Checking stm32f1xx-hal v0.6.1 [INFO] [stderr] Checking stm32_ina226 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] | [INFO] [stdout] = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library [INFO] [stdout] = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stm32_ina226` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut delay = Delay::new(cp.SYST, clocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let mut iic1: TypeI2C1 = BlockingI2c::i2c1( [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let counter = unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6890450f3a0a103242d13a29a9b9efc6b156fcb46ce41869446a3f761642689a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6890450f3a0a103242d13a29a9b9efc6b156fcb46ce41869446a3f761642689a", kill_on_drop: false }` [INFO] [stdout] 6890450f3a0a103242d13a29a9b9efc6b156fcb46ce41869446a3f761642689a