[INFO] fetching crate cortexm-threads 0.1.1...
[INFO] testing cortexm-threads-0.1.1 against 1.76.0 for beta-1.77-1
[INFO] extracting crate cortexm-threads 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate cortexm-threads 0.1.1 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config
[INFO] started tweaking crates.io crate cortexm-threads 0.1.1
[INFO] finished tweaking crates.io crate cortexm-threads 0.1.1
[INFO] tweaked toml for crates.io crate cortexm-threads 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 44626bb503fdb3e1d17a7f08d3a6c9fa1bc107dab49e0684c43946be2b334d01
[INFO] running `Command { std: "docker" "start" "-a" "44626bb503fdb3e1d17a7f08d3a6c9fa1bc107dab49e0684c43946be2b334d01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "44626bb503fdb3e1d17a7f08d3a6c9fa1bc107dab49e0684c43946be2b334d01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44626bb503fdb3e1d17a7f08d3a6c9fa1bc107dab49e0684c43946be2b334d01", kill_on_drop: false }`
[INFO] [stdout] 44626bb503fdb3e1d17a7f08d3a6c9fa1bc107dab49e0684c43946be2b334d01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31d8eaa6cfe84fe9874fa78600a3db628adebfbf0ba713f256b973612f639e77
[INFO] running `Command { std: "docker" "start" "-a" "31d8eaa6cfe84fe9874fa78600a3db628adebfbf0ba713f256b973612f639e77", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.69s
[INFO] running `Command { std: "docker" "inspect" "31d8eaa6cfe84fe9874fa78600a3db628adebfbf0ba713f256b973612f639e77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d8eaa6cfe84fe9874fa78600a3db628adebfbf0ba713f256b973612f639e77", kill_on_drop: false }`
[INFO] [stdout] 31d8eaa6cfe84fe9874fa78600a3db628adebfbf0ba713f256b973612f639e77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4654c7f94351fb23007c94ac060f1a9342c3557434e7d6b5401e9e05df995509
[INFO] running `Command { std: "docker" "start" "-a" "4654c7f94351fb23007c94ac060f1a9342c3557434e7d6b5401e9e05df995509", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "4654c7f94351fb23007c94ac060f1a9342c3557434e7d6b5401e9e05df995509", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4654c7f94351fb23007c94ac060f1a9342c3557434e7d6b5401e9e05df995509", kill_on_drop: false }`
[INFO] [stdout] 4654c7f94351fb23007c94ac060f1a9342c3557434e7d6b5401e9e05df995509
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e74eed9935e1325b42e13b4d79082f1ec81a8d4c1dcf92194e1276edd2f93501
[INFO] running `Command { std: "docker" "start" "-a" "e74eed9935e1325b42e13b4d79082f1ec81a8d4c1dcf92194e1276edd2f93501", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cortexm_threads-e076902dc0e3e7ed)
[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 cortexm-threads
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - create_thread (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - sleep (line 289) ... FAILED
[INFO] [stdout] test src/lib.rs - create_thread_with_config (line 204) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - create_thread (line 181) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:187:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread` in this scope
[INFO] [stdout]  --> src/lib.rs:183:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread(
[INFO] [stdout]   |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:188:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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] ---- src/lib.rs - sleep (line 289) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:295:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread` in this scope
[INFO] [stdout]  --> src/lib.rs:291:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread(
[INFO] [stdout]   |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:296:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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] ---- src/lib.rs - create_thread_with_config (line 204) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:210:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread_with_config` in this scope
[INFO] [stdout]  --> src/lib.rs:206:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread_with_config(
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread_with_config;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:211:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `panic_semihosting`
[INFO] [stdout]  --> src/lib.rs:15:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate panic_semihosting;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m`
[INFO] [stdout]  --> src/lib.rs:18:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cortex_m::peripheral::syst::SystClkSource;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_m`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt`
[INFO] [stdout]  --> src/lib.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cortex_m_rt::{entry, exception};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use cortex_m_semihosting::{hprintln};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting`
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `entry`
[INFO] [stdout]   --> src/lib.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[entry]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `hprintln`
[INFO] [stdout]   --> src/lib.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 let _ = hprintln!("in task 1 !!");
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `hprintln`
[INFO] [stdout]   --> src/lib.rs:46:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 let _ = hprintln!("in task 2 !!");
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let cp = cortex_m::Peripherals::take().unwrap();
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared crate or module `cortex_m`
[INFO] [stdout] 
[INFO] [stdout] error: `#[panic_handler]` function required, but not found
[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] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 12)
[INFO] [stdout]     src/lib.rs - create_thread (line 181)
[INFO] [stdout]     src/lib.rs - create_thread_with_config (line 204)
[INFO] [stdout]     src/lib.rs - sleep (line 289)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 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" "e74eed9935e1325b42e13b4d79082f1ec81a8d4c1dcf92194e1276edd2f93501", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e74eed9935e1325b42e13b4d79082f1ec81a8d4c1dcf92194e1276edd2f93501", kill_on_drop: false }`
[INFO] [stdout] e74eed9935e1325b42e13b4d79082f1ec81a8d4c1dcf92194e1276edd2f93501
[INFO] testing cortexm-threads-0.1.1 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate cortexm-threads 0.1.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate cortexm-threads 0.1.1 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate cortexm-threads 0.1.1
[INFO] finished tweaking crates.io crate cortexm-threads 0.1.1
[INFO] tweaked toml for crates.io crate cortexm-threads 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 810f960c113c78d4bb72e69fed29f090107a20431c81e7263ca1b8f5733c6479
[INFO] running `Command { std: "docker" "start" "-a" "810f960c113c78d4bb72e69fed29f090107a20431c81e7263ca1b8f5733c6479", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "810f960c113c78d4bb72e69fed29f090107a20431c81e7263ca1b8f5733c6479", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "810f960c113c78d4bb72e69fed29f090107a20431c81e7263ca1b8f5733c6479", kill_on_drop: false }`
[INFO] [stdout] 810f960c113c78d4bb72e69fed29f090107a20431c81e7263ca1b8f5733c6479
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f64006d7637b1ea1f5514a5bb30376dab247afae950e9704afed76dbb09a8d4
[INFO] running `Command { std: "docker" "start" "-a" "2f64006d7637b1ea1f5514a5bb30376dab247afae950e9704afed76dbb09a8d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.85
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:149:54
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(addr_of!(__CORTEXM_THREADS_GLOBAL));
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.74s
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2f64006d7637b1ea1f5514a5bb30376dab247afae950e9704afed76dbb09a8d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f64006d7637b1ea1f5514a5bb30376dab247afae950e9704afed76dbb09a8d4", kill_on_drop: false }`
[INFO] [stdout] 2f64006d7637b1ea1f5514a5bb30376dab247afae950e9704afed76dbb09a8d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b70273200decefc0ba35e724de35634eac124f6d43361c799501b20679b4a5d4
[INFO] running `Command { std: "docker" "start" "-a" "b70273200decefc0ba35e724de35634eac124f6d43361c799501b20679b4a5d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:149:54
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(addr_of!(__CORTEXM_THREADS_GLOBAL));
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:149:54
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(addr_of!(__CORTEXM_THREADS_GLOBAL));
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stdout]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "b70273200decefc0ba35e724de35634eac124f6d43361c799501b20679b4a5d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b70273200decefc0ba35e724de35634eac124f6d43361c799501b20679b4a5d4", kill_on_drop: false }`
[INFO] [stdout] b70273200decefc0ba35e724de35634eac124f6d43361c799501b20679b4a5d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5cf4de047f14abb56945b09e32e3458f2e53f5ce157b0e71293b8e2ffd1fa8f7
[INFO] running `Command { std: "docker" "start" "-a" "5cf4de047f14abb56945b09e32e3458f2e53f5ce157b0e71293b8e2ffd1fa8f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: shared reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:149:54
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stderr] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let ptr: usize = core::intrinsics::transmute(addr_of!(__CORTEXM_THREADS_GLOBAL));
[INFO] [stderr]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:227:23
[INFO] [stderr]     |
[INFO] [stderr] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 227 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stderr]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:259:28
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stderr]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:280:28
[INFO] [stderr]     |
[INFO] [stderr] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 280 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stderr]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:301:28
[INFO] [stderr]     |
[INFO] [stderr] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 301 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stderr]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:311:28
[INFO] [stderr]     |
[INFO] [stderr] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 311 |     let handler = unsafe { addr_of_mut!(__CORTEXM_THREADS_GLOBAL) };
[INFO] [stderr]     |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: mutable reference of mutable static is discouraged
[INFO] [stderr]    --> src/lib.rs:382:23
[INFO] [stderr]     |
[INFO] [stderr] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stderr]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stderr]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stderr] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 382 |         let handler = addr_of_mut!(__CORTEXM_THREADS_GLOBAL);
[INFO] [stderr]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `cortexm-threads` (lib) generated 7 warnings
[INFO] [stderr] warning: `cortexm-threads` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.58s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cortexm_threads-bcde1bae19e3e98a)
[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 cortexm-threads
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - create_thread_with_config (line 204) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] test src/lib.rs - create_thread (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - sleep (line 289) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - create_thread_with_config (line 204) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:210:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread_with_config` in this scope
[INFO] [stdout]  --> src/lib.rs:206:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread_with_config(
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread_with_config;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:211:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `panic_semihosting`
[INFO] [stdout]  --> src/lib.rs:15:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate panic_semihosting;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m`
[INFO] [stdout]  --> src/lib.rs:18:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use cortex_m::peripheral::syst::SystClkSource;
[INFO] [stdout]   |     ^^^^^^^^ use of undeclared crate or module `cortex_m`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt`
[INFO] [stdout]  --> src/lib.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cortex_m_rt::{entry, exception};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `cortex_m_rt`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use cortex_m_semihosting::{hprintln};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cortex_m_semihosting`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_m`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let cp = cortex_m::Peripherals::take().unwrap();
[INFO] [stdout]    |              ^^^^^^^^ use of undeclared crate or module `cortex_m`
[INFO] [stdout] 
[INFO] [stdout] error: `#[panic_handler]` function required, but not found
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - create_thread (line 181) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:187:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread` in this scope
[INFO] [stdout]  --> src/lib.rs:183:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread(
[INFO] [stdout]   |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:188:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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] ---- src/lib.rs - sleep (line 289) stdout ----
[INFO] [stdout] error: cannot find macro `hprintln` in this scope
[INFO] [stdout]  --> src/lib.rs:295:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |             let _ = hprintln!("in task 1 !!");
[INFO] [stdout]   |                     ^^^^^^^^ help: a macro with a similar name exists: `eprintln`
[INFO] [stdout]  --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/macros.rs:216:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named macro `eprintln` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_thread` in this scope
[INFO] [stdout]  --> src/lib.rs:291:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | let _ = create_thread(
[INFO] [stdout]   |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::create_thread;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:296:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             sleep(50);
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[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 12)
[INFO] [stdout]     src/lib.rs - create_thread (line 181)
[INFO] [stdout]     src/lib.rs - create_thread_with_config (line 204)
[INFO] [stdout]     src/lib.rs - sleep (line 289)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5cf4de047f14abb56945b09e32e3458f2e53f5ce157b0e71293b8e2ffd1fa8f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cf4de047f14abb56945b09e32e3458f2e53f5ce157b0e71293b8e2ffd1fa8f7", kill_on_drop: false }`
[INFO] [stdout] 5cf4de047f14abb56945b09e32e3458f2e53f5ce157b0e71293b8e2ffd1fa8f7
