[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] testing AmberCrafter/Rust-embedded_ina266 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmberCrafter%2FRust-embedded_ina266" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmberCrafter/Rust-embedded_ina266 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82064cc229f1a914745e90917f669a46349e3333fc9b8ed466aa2aab687c53e0
[INFO] running `Command { std: "docker" "start" "-a" "82064cc229f1a914745e90917f669a46349e3333fc9b8ed466aa2aab687c53e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82064cc229f1a914745e90917f669a46349e3333fc9b8ed466aa2aab687c53e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82064cc229f1a914745e90917f669a46349e3333fc9b8ed466aa2aab687c53e0", kill_on_drop: false }`
[INFO] [stdout] 82064cc229f1a914745e90917f669a46349e3333fc9b8ed466aa2aab687c53e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc38558055dfc74aa09cf6971a64ade0dae0b3078250901f02ff51b502bae97a
[INFO] running `Command { std: "docker" "start" "-a" "cc38558055dfc74aa09cf6971a64ade0dae0b3078250901f02ff51b502bae97a", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling cortex-m v0.7.3
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling 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 stm32f1 v0.11.0
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling cortex-m-semihosting v0.3.7
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling stm32f1 v0.12.1
[INFO] [stderr]    Compiling volatile-register v0.2.1
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling embedded-hal v0.2.6
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling panic-semihosting v0.5.6
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling generic-array v0.13.3
[INFO] [stderr]    Compiling as-slice v0.1.5
[INFO] [stderr]    Compiling aligned v0.3.5
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]    Compiling stm32f1xx-hal v0.6.1
[INFO] [stderr]    Compiling stm32_ina226 v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) on by default
[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)]` (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: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)]` (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: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/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)]` (part of `#[warn(rust_2024_compatibility)]`) 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/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/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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcXGJNEJ/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libpanic_semihosting-97f24a6cc423d6c3.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*}.rlib" "/opt/rustwide/target/debug/deps/{libstm32f1xx_hal-a232ab9a1b51e802,libcast-c3999f3bc023eeda,libstm32f1-9a8007cd335ec2f2,libcortex_m_rt-312e6898fa9fc560,libr0-98c2ece3e96462d7,libcortex_m-f859aedcb563975e,libcortex_m-109adee57e225f2c,libvolatile_register-4c1e65ca58a23d3b,libvcell-d64dabacbc42077e,libaligned-669fbe107f6ff728,libas_slice-2df7df97a70e02a1,libstable_deref_trait-5f51a5ca749ede17,libgeneric_array-4d1cb532810ff089,libgeneric_array-4e1b129b25b4856a,libgeneric_array-954326ee92bf2330,libtypenum-20563b2cdddbc123,libbare_metal-f581e6a1989c1687,libembedded_hal-f1cf1b83cf0b71b8,libvoid-9163cd71c286a90e,libnb-84c23787cc8af287,libnb-50c6ba2667b3d02b}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXGJNEJ/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-56feb146c8bb2b48/out" "-L" "/opt/rustwide/target/debug/build/stm32f1-ab16504436b1526e/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/stm32_ina226-7c4bdb010784f1d7" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: __cpsie
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.3/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32_ina226-7c4bdb010784f1d7.stm32_ina226.ed17fa73477cb87d-cgu.0.rcgu.o:(cortex_m::interrupt::enable::h79baf27678a9c022)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __cpsid
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.3/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32_ina226-7c4bdb010784f1d7.stm32_ina226.ed17fa73477cb87d-cgu.0.rcgu.o:(cortex_m::interrupt::disable::h0796c94397dbc797)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __wfi
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.3/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32_ina226-7c4bdb010784f1d7.stm32_ina226.ed17fa73477cb87d-cgu.1.rcgu.o:(cortex_m::asm::wfi::h460fad65f97ce668)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: __primask_r
[INFO] [stdout]           >>> referenced by call_asm.rs:19 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cortex-m-0.7.3/src/call_asm.rs:19)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/stm32_ina226-7c4bdb010784f1d7.stm32_ina226.ed17fa73477cb87d-cgu.1.rcgu.o:(cortex_m::register::primask::read::h972f8026f1c393cc)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stm32_ina226` (bin "stm32_ina226") due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cc38558055dfc74aa09cf6971a64ade0dae0b3078250901f02ff51b502bae97a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc38558055dfc74aa09cf6971a64ade0dae0b3078250901f02ff51b502bae97a", kill_on_drop: false }`
[INFO] [stdout] cc38558055dfc74aa09cf6971a64ade0dae0b3078250901f02ff51b502bae97a
