[INFO] fetching crate mwatch-sdk 0.5.0... [INFO] checking mwatch-sdk-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mwatch-sdk 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mwatch-sdk 0.5.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 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ssd1351 v0.3.0 [INFO] [stderr] Downloaded mwatch_kernel v2.0.0 [INFO] [stderr] Downloaded generic-array v0.11.2 [INFO] [stderr] Downloaded micromath v1.1.1 [INFO] [stderr] Downloaded embedded-graphics v0.7.1 [INFO] [stderr] Downloaded simple-hex v0.1.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6069fe6a8fe30ab02abea251ae58dcdda657c6cf139a6ca9405a9c31f2081e67 [INFO] running `Command { std: "docker" "start" "-a" "6069fe6a8fe30ab02abea251ae58dcdda657c6cf139a6ca9405a9c31f2081e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6069fe6a8fe30ab02abea251ae58dcdda657c6cf139a6ca9405a9c31f2081e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6069fe6a8fe30ab02abea251ae58dcdda657c6cf139a6ca9405a9c31f2081e67", kill_on_drop: false }` [INFO] [stdout] 6069fe6a8fe30ab02abea251ae58dcdda657c6cf139a6ca9405a9c31f2081e67 [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=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] 670f2e14b8aaed014a8757caa178549a8775549625fa6e37013fcc76cf69a51b [INFO] running `Command { std: "docker" "start" "-a" "670f2e14b8aaed014a8757caa178549a8775549625fa6e37013fcc76cf69a51b", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling heapless v0.4.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking embedded-graphics v0.6.2 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking micromath v1.1.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling mwatch-sdk v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking simple-hex v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking ssd1351 v0.3.0 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking embedded-graphics-core v0.3.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking embedded-graphics v0.7.1 [INFO] [stderr] Checking mwatch_kernel v2.0.0 [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.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] [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)]` 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] error: could not compile `mwatch-sdk` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `mwatch-sdk` (example "panic") due to 1 previous error [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] [stderr] error: could not compile `mwatch-sdk` (example "hello") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "670f2e14b8aaed014a8757caa178549a8775549625fa6e37013fcc76cf69a51b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "670f2e14b8aaed014a8757caa178549a8775549625fa6e37013fcc76cf69a51b", kill_on_drop: false }` [INFO] [stdout] 670f2e14b8aaed014a8757caa178549a8775549625fa6e37013fcc76cf69a51b