[INFO] fetching crate can2040 0.1.5... [INFO] checking can2040-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate can2040 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate can2040 0.1.5 [INFO] finished tweaking crates.io crate can2040 0.1.5 [INFO] tweaked toml for crates.io crate can2040 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate can2040 0.1.5 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 can2040 0.1.5 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 panic-probe v0.3.1 [INFO] [stderr] Downloaded defmt-rtt v0.4.0 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded linked_list_allocator v0.10.5 [INFO] [stderr] Downloaded crc-any v2.4.4 [INFO] [stderr] Downloaded prettyplease v0.2.17 [INFO] [stderr] Downloaded rp-pico v0.9.0 [INFO] [stderr] Downloaded alloc-cortex-m v0.4.4 [INFO] [stderr] Downloaded defmt-parser v0.3.4 [INFO] [stderr] Downloaded defmt-macros v0.3.7 [INFO] [stderr] Downloaded rp2040-hal v0.10.1 [INFO] [stderr] Downloaded syn v2.0.57 [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] 261b31b2aad8b0aefbf96340186e236f86f6a09bf2ec569d654d4902d06147d6 [INFO] running `Command { std: "docker" "start" "-a" "261b31b2aad8b0aefbf96340186e236f86f6a09bf2ec569d654d4902d06147d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "261b31b2aad8b0aefbf96340186e236f86f6a09bf2ec569d654d4902d06147d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "261b31b2aad8b0aefbf96340186e236f86f6a09bf2ec569d654d4902d06147d6", kill_on_drop: false }` [INFO] [stdout] 261b31b2aad8b0aefbf96340186e236f86f6a09bf2ec569d654d4902d06147d6 [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] 98ab979a4e43672c37aa1954c7888d40fa0b6ec18ef2bb411827b7d1bb84e397 [INFO] running `Command { std: "docker" "start" "-a" "98ab979a4e43672c37aa1954c7888d40fa0b6ec18ef2bb411827b7d1bb84e397", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling defmt v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc-any v2.4.4 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling defmt-macros v0.3.7 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling panic-probe v0.3.1 [INFO] [stderr] Compiling rp-pico v0.9.0 [INFO] [stderr] Compiling defmt-rtt v0.4.0 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking linked_list_allocator v0.10.5 [INFO] [stderr] Checking embedded-can v0.4.1 [INFO] [stderr] Checking alloc-cortex-m v0.4.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pio v0.2.1 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Checking rp2040-hal v0.10.1 [INFO] [stderr] Compiling can2040 v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/core.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(cbus) = CBUS.as_mut() { [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/core.rs:224:33 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(cbus) = CBUS.as_mut() { [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/core.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | if let Some(cbus) = CBUS.as_mut() { [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 shared reference to mutable static [INFO] [stdout] --> src/core.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | assert!(CBUS.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/core.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | let cbus = CBUS.as_mut().unwrap(); [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/core.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(cbus) = CBUS.as_mut() { [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/core.rs:224:33 [INFO] [stdout] | [INFO] [stdout] 224 | if let Some(cbus) = CBUS.as_mut() { [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/core.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | if let Some(cbus) = CBUS.as_mut() { [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 shared reference to mutable static [INFO] [stdout] --> src/core.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | assert!(CBUS.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/core.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | let cbus = CBUS.as_mut().unwrap(); [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] 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] [stderr] error: could not compile `can2040` (example "can2040_demo") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "98ab979a4e43672c37aa1954c7888d40fa0b6ec18ef2bb411827b7d1bb84e397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ab979a4e43672c37aa1954c7888d40fa0b6ec18ef2bb411827b7d1bb84e397", kill_on_drop: false }` [INFO] [stdout] 98ab979a4e43672c37aa1954c7888d40fa0b6ec18ef2bb411827b7d1bb84e397