[INFO] fetching crate cortexm-threads 0.1.1...
[INFO] testing cortexm-threads-0.1.1 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate cortexm-threads 0.1.1 into /workspace/builds/worker-2-tc2/source
[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] validating manifest of crates.io crate cortexm-threads 0.1.1 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 3 packages to latest compatible versions
[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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fc182059c0dec607e209676fa033205dd2fdb4e1cdedc5e4128f293076f4ee2
[INFO] running `Command { std: "docker" "start" "-a" "2fc182059c0dec607e209676fa033205dd2fdb4e1cdedc5e4128f293076f4ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fc182059c0dec607e209676fa033205dd2fdb4e1cdedc5e4128f293076f4ee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fc182059c0dec607e209676fa033205dd2fdb4e1cdedc5e4128f293076f4ee2", kill_on_drop: false }`
[INFO] [stdout] 2fc182059c0dec607e209676fa033205dd2fdb4e1cdedc5e4128f293076f4ee2
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 049630383ebf010f8600c15e1ce1d25ca3bac60a63bd16239115a786cfa76e97
[INFO] running `Command { std: "docker" "start" "-a" "049630383ebf010f8600c15e1ce1d25ca3bac60a63bd16239115a786cfa76e97", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:265:50
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 handler.next = core::intrinsics::transmute(&handler.threads[handler.idx]);
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:350:48
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let pc: usize = unsafe { core::intrinsics::transmute(handler as *const fn()) };
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:368:43
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let sp: usize = core::intrinsics::transmute(&stack[stack.len() - 16]);
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: 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] 149 |         let ptr: usize = core::intrinsics::transmute(&raw const __CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] running `Command { std: "docker" "inspect" "049630383ebf010f8600c15e1ce1d25ca3bac60a63bd16239115a786cfa76e97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "049630383ebf010f8600c15e1ce1d25ca3bac60a63bd16239115a786cfa76e97", kill_on_drop: false }`
[INFO] [stdout] 049630383ebf010f8600c15e1ce1d25ca3bac60a63bd16239115a786cfa76e97
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a9190439badad2dd975d59a0ad3bdd19a323aa841102c3cdd0c82f5983d7183
[INFO] running `Command { std: "docker" "start" "-a" "1a9190439badad2dd975d59a0ad3bdd19a323aa841102c3cdd0c82f5983d7183", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:265:50
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 handler.next = core::intrinsics::transmute(&handler.threads[handler.idx]);
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:350:48
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let pc: usize = unsafe { core::intrinsics::transmute(handler as *const fn()) };
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:368:43
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let sp: usize = core::intrinsics::transmute(&stack[stack.len() - 16]);
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: 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] 149 |         let ptr: usize = core::intrinsics::transmute(&raw const __CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                            ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:265:50
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 handler.next = core::intrinsics::transmute(&handler.threads[handler.idx]);
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:350:48
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let pc: usize = unsafe { core::intrinsics::transmute(handler as *const fn()) };
[INFO] [stdout]     |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]    --> src/lib.rs:368:43
[INFO] [stdout]     |
[INFO] [stdout] 368 |         let sp: usize = core::intrinsics::transmute(&stack[stack.len() - 16]);
[INFO] [stdout]     |                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[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 to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: 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] 149 |         let ptr: usize = core::intrinsics::transmute(&raw const __CORTEXM_THREADS_GLOBAL);
[INFO] [stdout]     |                                                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:227:23
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:259:28
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:280:28
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 301 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:311:28
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/lib.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 382 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "1a9190439badad2dd975d59a0ad3bdd19a323aa841102c3cdd0c82f5983d7183", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a9190439badad2dd975d59a0ad3bdd19a323aa841102c3cdd0c82f5983d7183", kill_on_drop: false }`
[INFO] [stdout] 1a9190439badad2dd975d59a0ad3bdd19a323aa841102c3cdd0c82f5983d7183
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ca2fea4117aad6ee0312a21b7e181e8b06cac3f9f3d88303512ab9d5c93f26fb
[INFO] running `Command { std: "docker" "start" "-a" "ca2fea4117aad6ee0312a21b7e181e8b06cac3f9f3d88303512ab9d5c93f26fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling cortexm-threads v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stderr]    --> src/lib.rs:149:44
[INFO] [stderr]     |
[INFO] [stderr] 149 |         let ptr: usize = core::intrinsics::transmute(&__CORTEXM_THREADS_GLOBAL);
[INFO] [stderr]     |                                            ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stderr]    --> src/lib.rs:265:50
[INFO] [stderr]     |
[INFO] [stderr] 265 |                 handler.next = core::intrinsics::transmute(&handler.threads[handler.idx]);
[INFO] [stderr]     |                                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stderr]    --> src/lib.rs:350:48
[INFO] [stderr]     |
[INFO] [stderr] 350 |     let pc: usize = unsafe { core::intrinsics::transmute(handler as *const fn()) };
[INFO] [stderr]     |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead
[INFO] [stderr]    --> src/lib.rs:368:43
[INFO] [stderr]     |
[INFO] [stderr] 368 |         let sp: usize = core::intrinsics::transmute(&stack[stack.len() - 16]);
[INFO] [stderr]     |                                           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[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 to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 149 |         let ptr: usize = core::intrinsics::transmute(&raw const __CORTEXM_THREADS_GLOBAL);
[INFO] [stderr]     |                                                       +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:227:23
[INFO] [stderr]     |
[INFO] [stderr] 227 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 227 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:259:28
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:280:28
[INFO] [stderr]     |
[INFO] [stderr] 280 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 280 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:301:28
[INFO] [stderr]     |
[INFO] [stderr] 301 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 301 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:311:28
[INFO] [stderr]     |
[INFO] [stderr] 311 |     let handler = unsafe { &mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 311 |     let handler = unsafe { &raw mut __CORTEXM_THREADS_GLOBAL };
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/lib.rs:382:23
[INFO] [stderr]     |
[INFO] [stderr] 382 |         let handler = &mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 382 |         let handler = &raw mut __CORTEXM_THREADS_GLOBAL;
[INFO] [stderr]     |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: `cortexm-threads` (lib) generated 11 warnings
[INFO] [stderr] warning: `cortexm-threads` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cortexm_threads-718a064f4b56b163)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests cortexm_threads
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[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 - create_thread_with_config (line 204) ... FAILED
[INFO] [stdout] test src/lib.rs - sleep (line 289) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error[E0463]: can't find crate for `panic_semihosting`
[INFO] [stdout]  --> src/lib.rs:16:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern crate panic_semihosting;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m`
[INFO] [stdout]  --> src/lib.rs:19:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cortex_m::peripheral::syst::SystClkSource;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_rt`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use cortex_m_rt::{entry, exception};
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_rt`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cortex_m_rt`, use `cargo add cortex_m_rt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cortex_m_semihosting`
[INFO] [stdout]   --> src/lib.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cortex_m_semihosting::{hprintln};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cortex_m_semihosting`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cortex_m_semihosting`, use `cargo add cortex_m_semihosting` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cortex_m`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let cp = cortex_m::Peripherals::take().unwrap();
[INFO] [stdout]    |              ^^^^^^^^ use of unresolved module or unlinked crate `cortex_m`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `cortex_m`, use `cargo add cortex_m` to add it to your `Cargo.toml`
[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]   |
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/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 functions
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::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]   |
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/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 functions
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::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]   |
[INFO] [stdout]  --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/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 functions
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use cortexm_threads::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.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ca2fea4117aad6ee0312a21b7e181e8b06cac3f9f3d88303512ab9d5c93f26fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca2fea4117aad6ee0312a21b7e181e8b06cac3f9f3d88303512ab9d5c93f26fb", kill_on_drop: false }`
[INFO] [stdout] ca2fea4117aad6ee0312a21b7e181e8b06cac3f9f3d88303512ab9d5c93f26fb
