[INFO] fetching crate rucos-cortex-m 0.2.0... [INFO] checking rucos-cortex-m-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rucos-cortex-m 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rucos-cortex-m 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rucos-cortex-m 0.2.0 [INFO] tweaked toml for crates.io crate rucos-cortex-m 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rucos-cortex-m 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rucos-cortex-m 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded deranged v0.4.0 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded time-core v0.1.4 [INFO] [stderr] Downloaded cortex-m-rt v0.7.5 [INFO] [stderr] Downloaded stm32f7xx-hal v0.8.0 [INFO] [stderr] Downloaded defmt-rtt v1.0.0 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded defmt-macros v1.0.1 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded cfg-if v1.0.1 [INFO] [stderr] Downloaded cortex-m-semihosting v0.5.0 [INFO] [stderr] Downloaded defmt-test-macros v0.3.2 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded rand_core v0.6.4 [INFO] [stderr] Downloaded stm32-fmc v0.3.2 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded cortex-m v0.7.7 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded thiserror-impl v2.0.12 [INFO] [stderr] Downloaded proc-macro-error2 v2.0.1 [INFO] [stderr] Downloaded lock_api v0.4.13 [INFO] [stderr] Downloaded bxcan v0.7.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded naked-function-macro v0.1.5 [INFO] [stderr] Downloaded thiserror v2.0.12 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Downloaded micromath v2.1.0 [INFO] [stderr] Downloaded defmt v1.0.1 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded defmt-test v0.4.0 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.7.5 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] [stderr] Downloaded bare-metal v1.0.0 [INFO] [stderr] Downloaded time v0.3.41 [INFO] [stderr] Downloaded naked-function v0.1.5 [INFO] [stderr] Downloaded panic-probe v1.0.0 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded semver v1.0.26 [INFO] [stderr] Downloaded rustc_version v0.4.1 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded stm32f7 v0.15.1 [INFO] [stderr] Downloaded rucos v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cabb266802ffba06154f9f654d5fbd4ac641c9e5648a1b5303a4fb2a6c5c759 [INFO] running `Command { std: "docker" "start" "-a" "9cabb266802ffba06154f9f654d5fbd4ac641c9e5648a1b5303a4fb2a6c5c759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cabb266802ffba06154f9f654d5fbd4ac641c9e5648a1b5303a4fb2a6c5c759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cabb266802ffba06154f9f654d5fbd4ac641c9e5648a1b5303a4fb2a6c5c759", kill_on_drop: false }` [INFO] [stdout] 9cabb266802ffba06154f9f654d5fbd4ac641c9e5648a1b5303a4fb2a6c5c759 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c12c74ff6a1fc53cc53fe315d6b9755cea70347eb80760ca6be368b7be3746e [INFO] running `Command { std: "docker" "start" "-a" "9c12c74ff6a1fc53cc53fe315d6b9755cea70347eb80760ca6be368b7be3746e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling naked-function v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling stm32f7 v0.15.1 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Compiling panic-probe v1.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling stm32f7xx-hal v0.8.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling defmt-rtt v1.0.0 [INFO] [stderr] Checking bxcan v0.7.0 [INFO] [stderr] Checking stm32-fmc v0.3.2 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking fugit-timer v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking rucos v0.2.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling naked-function-macro v0.1.5 [INFO] [stderr] Compiling defmt-test-macros v0.3.2 [INFO] [stderr] Checking rucos-cortex-m v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | "mov r0, {tmp}", // Get first task stack pointer [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | tmp = in(reg) first_task_stack_ptr, [INFO] [stdout] | -------------------- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 237 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:251:37 [INFO] [stdout] | [INFO] [stdout] 251 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Checking defmt-test v0.4.0 [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [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] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [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] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [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] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/lib.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | "mov r0, {tmp}", // Get first task stack pointer [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | tmp = in(reg) first_task_stack_ptr, [INFO] [stdout] | -------------------- for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rucos-cortex-m` (test "template") due to 2 previous errors [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:201:37 [INFO] [stdout] | [INFO] [stdout] 201 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:219:37 [INFO] [stdout] | [INFO] [stdout] 219 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:237:37 [INFO] [stdout] | [INFO] [stdout] 237 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:251:37 [INFO] [stdout] | [INFO] [stdout] 251 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | let kernel = unsafe { &mut *KERNEL.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rucos-cortex-m` (example "task_basic") due to 2 previous errors [INFO] [stderr] error: could not compile `rucos-cortex-m` (example "task_advanced") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9c12c74ff6a1fc53cc53fe315d6b9755cea70347eb80760ca6be368b7be3746e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c12c74ff6a1fc53cc53fe315d6b9755cea70347eb80760ca6be368b7be3746e", kill_on_drop: false }` [INFO] [stdout] 9c12c74ff6a1fc53cc53fe315d6b9755cea70347eb80760ca6be368b7be3746e