[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 master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-embedded_ina266" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmberCrafter/Rust-embedded_ina266 on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 79ad7e135612159b3f977bf42afb4c0dbd69513f7a6761f3622b39ab48c87689
[INFO] running `Command { std: "docker" "start" "-a" "79ad7e135612159b3f977bf42afb4c0dbd69513f7a6761f3622b39ab48c87689", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79ad7e135612159b3f977bf42afb4c0dbd69513f7a6761f3622b39ab48c87689", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79ad7e135612159b3f977bf42afb4c0dbd69513f7a6761f3622b39ab48c87689", kill_on_drop: false }`
[INFO] [stdout] 79ad7e135612159b3f977bf42afb4c0dbd69513f7a6761f3622b39ab48c87689
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 798fb3e16dbd8c44afc1dd6883a9a9af6a291e3184a4a96e8a8b8d4d14b26612
[INFO] running `Command { std: "docker" "start" "-a" "798fb3e16dbd8c44afc1dd6883a9a9af6a291e3184a4a96e8a8b8d4d14b26612", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.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]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]    Compiling cortex-m v0.6.7
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]    Compiling stm32f1 v0.11.0
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]    Compiling stm32f1 v0.12.1
[INFO] [stderr]     Checking embedded-hal v0.2.6
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking panic-semihosting v0.5.6
[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] 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: 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: 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: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |     static mut BUF: Option<[u8; 16]> = None;
[INFO] [stdout]    |                ^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     static mut COUNT: Option<usize> = None;
[INFO] [stdout]    |                ^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |     static mut TIM: Option<CountDownTimer<TIM2>> = None;
[INFO] [stdout]     |                ^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[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: 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: 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: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |     static mut BUF: Option<[u8; 16]> = None;
[INFO] [stdout]    |                ^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/main.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |     static mut COUNT: Option<usize> = None;
[INFO] [stdout]    |                ^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:138:16
[INFO] [stdout]     |
[INFO] [stdout] 138 |     static mut TIM: Option<CountDownTimer<TIM2>> = None;
[INFO] [stdout]     |                ^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: stm32f1xx-hal v0.6.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "798fb3e16dbd8c44afc1dd6883a9a9af6a291e3184a4a96e8a8b8d4d14b26612", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "798fb3e16dbd8c44afc1dd6883a9a9af6a291e3184a4a96e8a8b8d4d14b26612", kill_on_drop: false }`
[INFO] [stdout] 798fb3e16dbd8c44afc1dd6883a9a9af6a291e3184a4a96e8a8b8d4d14b26612
