[INFO] fetching crate mwatch-sdk 0.5.0... [INFO] testing mwatch-sdk-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mwatch-sdk 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking crates.io crate mwatch-sdk 0.5.0 [INFO] finished tweaking crates.io crate mwatch-sdk 0.5.0 [INFO] tweaked toml for crates.io crate mwatch-sdk 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mwatch-sdk 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mwatch-sdk 0.5.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 simple-hex v0.1.0 [INFO] [stderr] Downloaded mwatch_kernel v2.0.0 [INFO] [stderr] Downloaded ssd1351 v0.3.0 [INFO] [stderr] Downloaded heapless v0.4.4 [INFO] [stderr] Downloaded embedded-graphics v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a33e86d7c3b58e80a122fb3d5842ca9ba23a783e4ebc6f14171fbcb8494e97e [INFO] running `Command { std: "docker" "start" "-a" "3a33e86d7c3b58e80a122fb3d5842ca9ba23a783e4ebc6f14171fbcb8494e97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a33e86d7c3b58e80a122fb3d5842ca9ba23a783e4ebc6f14171fbcb8494e97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a33e86d7c3b58e80a122fb3d5842ca9ba23a783e4ebc6f14171fbcb8494e97e", kill_on_drop: false }` [INFO] [stdout] 3a33e86d7c3b58e80a122fb3d5842ca9ba23a783e4ebc6f14171fbcb8494e97e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be0114104f1d96d023bcf083761e13777ff708aa715a2cd9fd4f8fcae82bb956 [INFO] running `Command { std: "docker" "start" "-a" "be0114104f1d96d023bcf083761e13777ff708aa715a2cd9fd4f8fcae82bb956", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling simple-hex v0.1.0 [INFO] [stderr] Compiling mwatch-sdk v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling embedded-graphics v0.6.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling ssd1351 v0.3.0 [INFO] [stderr] Compiling embedded-graphics-core v0.3.3 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling generic-array v0.11.2 [INFO] [stderr] Compiling embedded-graphics v0.7.1 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling mwatch_kernel v2.0.0 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | MWABI.set_table(table); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | MWABI.set_context(raw_ctx); [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:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | MWABI.set_context(raw_ctx); [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "be0114104f1d96d023bcf083761e13777ff708aa715a2cd9fd4f8fcae82bb956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be0114104f1d96d023bcf083761e13777ff708aa715a2cd9fd4f8fcae82bb956", kill_on_drop: false }` [INFO] [stdout] be0114104f1d96d023bcf083761e13777ff708aa715a2cd9fd4f8fcae82bb956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 390cb4fb6f79068897170fdfb33575a9cdabf6368108674a87a945aae481ac3a [INFO] running `Command { std: "docker" "start" "-a" "390cb4fb6f79068897170fdfb33575a9cdabf6368108674a87a945aae481ac3a", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | MWABI.set_table(table); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | MWABI.set_context(raw_ctx); [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:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | MWABI.set_context(raw_ctx); [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 mwatch-sdk v0.5.0 (/opt/rustwide/workdir) [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: 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[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 147 | | UserSpace { [INFO] [stdout] 148 | | logger: Logger::new(), [INFO] [stdout] ... | [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.so, /opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-689ca45c0c8af91f.rlib [INFO] [stdout] = note: second definition in the local crate (`mwatch_sdk`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwatch-sdk` (example "hello") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mwatch-sdk` (example "panic") due to 1 previous error [INFO] [stderr] error: could not compile `mwatch-sdk` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "390cb4fb6f79068897170fdfb33575a9cdabf6368108674a87a945aae481ac3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390cb4fb6f79068897170fdfb33575a9cdabf6368108674a87a945aae481ac3a", kill_on_drop: false }` [INFO] [stdout] 390cb4fb6f79068897170fdfb33575a9cdabf6368108674a87a945aae481ac3a