[INFO] fetching crate itm_logger 0.1.2... [INFO] testing itm_logger-0.1.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate itm_logger 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate itm_logger 0.1.2 [INFO] finished tweaking crates.io crate itm_logger 0.1.2 [INFO] tweaked toml for crates.io crate itm_logger 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate itm_logger 0.1.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding cortex-m v0.6.7 (available: v0.7.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e13788ae2e6c5d6a8ee40304c75501a4ca2a9a87e358a446f24f0f2d83e0557 [INFO] running `Command { std: "docker" "start" "-a" "6e13788ae2e6c5d6a8ee40304c75501a4ca2a9a87e358a446f24f0f2d83e0557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e13788ae2e6c5d6a8ee40304c75501a4ca2a9a87e358a446f24f0f2d83e0557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e13788ae2e6c5d6a8ee40304c75501a4ca2a9a87e358a446f24f0f2d83e0557", kill_on_drop: false }` [INFO] [stdout] 6e13788ae2e6c5d6a8ee40304c75501a4ca2a9a87e358a446f24f0f2d83e0557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a97adb01a5d15daa1771f75800432cd1034280ee34c3be28b9fd40883de696c3 [INFO] running `Command { std: "docker" "start" "-a" "a97adb01a5d15daa1771f75800432cd1034280ee34c3be28b9fd40883de696c3", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling aligned v0.3.5 [INFO] [stderr] Compiling itm_logger v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::TPIU::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | (*TPIU::ptr()).acpr.write(prescaler); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::ITM::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | let itm = &mut (*ITM::ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logger.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&LOGGER) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&raw const LOGGER) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "a97adb01a5d15daa1771f75800432cd1034280ee34c3be28b9fd40883de696c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97adb01a5d15daa1771f75800432cd1034280ee34c3be28b9fd40883de696c3", kill_on_drop: false }` [INFO] [stdout] a97adb01a5d15daa1771f75800432cd1034280ee34c3be28b9fd40883de696c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322057a395233fc84702985ea3ae168efe6d0ac7e89ea4061211918a62b65866 [INFO] running `Command { std: "docker" "start" "-a" "322057a395233fc84702985ea3ae168efe6d0ac7e89ea4061211918a62b65866", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::TPIU::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | (*TPIU::ptr()).acpr.write(prescaler); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::ITM::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | let itm = &mut (*ITM::ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itm_logger v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logger.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&LOGGER) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&raw const LOGGER) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::TPIU::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | (*TPIU::ptr()).acpr.write(prescaler); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cortex_m::peripheral::ITM::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] --> src/logger.rs:83:39 [INFO] [stdout] | [INFO] [stdout] 83 | let itm = &mut (*ITM::ptr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/logger.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&LOGGER) [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 107 | log::set_logger(&raw const LOGGER) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "322057a395233fc84702985ea3ae168efe6d0ac7e89ea4061211918a62b65866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322057a395233fc84702985ea3ae168efe6d0ac7e89ea4061211918a62b65866", kill_on_drop: false }` [INFO] [stdout] 322057a395233fc84702985ea3ae168efe6d0ac7e89ea4061211918a62b65866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f1e12dfb0222d74fa456eee90b22f400188f054af4e42dbda58b70bd91635422 [INFO] running `Command { std: "docker" "start" "-a" "f1e12dfb0222d74fa456eee90b22f400188f054af4e42dbda58b70bd91635422", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `cortex_m::peripheral::TPIU::ptr`: Use the associated constant `PTR` instead [INFO] [stderr] --> src/logger.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | (*TPIU::ptr()).acpr.write(prescaler); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `cortex_m::peripheral::ITM::ptr`: Use the associated constant `PTR` instead [INFO] [stderr] --> src/logger.rs:83:39 [INFO] [stderr] | [INFO] [stderr] 83 | let itm = &mut (*ITM::ptr()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/logger.rs:107:25 [INFO] [stderr] | [INFO] [stderr] 107 | log::set_logger(&LOGGER) [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 107 | log::set_logger(&raw const LOGGER) [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `itm_logger` (lib) generated 3 warnings [INFO] [stderr] warning: `itm_logger` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/itm_logger-0dc8da2dff97cebd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests itm_logger [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Hertz` in this scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 16 | let sysclk: Hertz = clocks.sysclk().into(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clocks` in this scope [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 16 | let sysclk: Hertz = clocks.sysclk().into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ITM_BAUD_RATE` in this scope [INFO] [stdout] --> src/lib.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 17 | update_tpiu_baudrate(sysclk.0, ITM_BAUD_RATE).expect("Failed to reset TPIU baudrate"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f1e12dfb0222d74fa456eee90b22f400188f054af4e42dbda58b70bd91635422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e12dfb0222d74fa456eee90b22f400188f054af4e42dbda58b70bd91635422", kill_on_drop: false }` [INFO] [stdout] f1e12dfb0222d74fa456eee90b22f400188f054af4e42dbda58b70bd91635422