[INFO] fetching crate itm_logger 0.1.2... [INFO] testing itm_logger-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate itm_logger 0.1.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate itm_logger 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c8b88f67117a43309fdc272091176ab0ac83b38432c3f05af4c79bc167f9ac6 [INFO] running `Command { std: "docker" "start" "-a" "7c8b88f67117a43309fdc272091176ab0ac83b38432c3f05af4c79bc167f9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c8b88f67117a43309fdc272091176ab0ac83b38432c3f05af4c79bc167f9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8b88f67117a43309fdc272091176ab0ac83b38432c3f05af4c79bc167f9ac6", kill_on_drop: false }` [INFO] [stdout] 7c8b88f67117a43309fdc272091176ab0ac83b38432c3f05af4c79bc167f9ac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ff6f7867c048e8804c8a5ac5516d8c296fbebcf2c57a1811fc5034c3897a6f [INFO] running `Command { std: "docker" "start" "-a" "62ff6f7867c048e8804c8a5ac5516d8c296fbebcf2c57a1811fc5034c3897a6f", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [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: 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: for more information, see [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 3.72s [INFO] running `Command { std: "docker" "inspect" "62ff6f7867c048e8804c8a5ac5516d8c296fbebcf2c57a1811fc5034c3897a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ff6f7867c048e8804c8a5ac5516d8c296fbebcf2c57a1811fc5034c3897a6f", kill_on_drop: false }` [INFO] [stdout] 62ff6f7867c048e8804c8a5ac5516d8c296fbebcf2c57a1811fc5034c3897a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd5a4ed157c8ff48e911e88c01bf943715d4c3e1598e590484197fe9360d01e8 [INFO] running `Command { std: "docker" "start" "-a" "cd5a4ed157c8ff48e911e88c01bf943715d4c3e1598e590484197fe9360d01e8", 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] [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: 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: for more information, see [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] 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: 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: for more information, see [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.35s [INFO] running `Command { std: "docker" "inspect" "cd5a4ed157c8ff48e911e88c01bf943715d4c3e1598e590484197fe9360d01e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5a4ed157c8ff48e911e88c01bf943715d4c3e1598e590484197fe9360d01e8", kill_on_drop: false }` [INFO] [stdout] cd5a4ed157c8ff48e911e88c01bf943715d4c3e1598e590484197fe9360d01e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f88e1a9dfe45f307c985ba69470cbc8c3676aa6cc43249ec898bd3eb4e60635 [INFO] running `Command { std: "docker" "start" "-a" "2f88e1a9dfe45f307c985ba69470cbc8c3676aa6cc43249ec898bd3eb4e60635", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `cortex_m::peripheral::TPIU::ptr`: Use the associated constant `PTR` instead [INFO] [stdout] [INFO] [stderr] --> src/logger.rs:35:21 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 35 | (*TPIU::ptr()).acpr.write(prescaler); [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^ [INFO] [stdout] [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: 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: for more information, see [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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/itm_logger-c0a592a26273074e) [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[E0425]: cannot find type `Hertz` in this scope [INFO] [stdout] --> src/lib.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 21 | 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] 22 | 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] For more information about this error, try `rustc --explain E0425`. [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.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2f88e1a9dfe45f307c985ba69470cbc8c3676aa6cc43249ec898bd3eb4e60635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f88e1a9dfe45f307c985ba69470cbc8c3676aa6cc43249ec898bd3eb4e60635", kill_on_drop: false }` [INFO] [stdout] 2f88e1a9dfe45f307c985ba69470cbc8c3676aa6cc43249ec898bd3eb4e60635