[INFO] fetching crate can2040 0.1.5...
[INFO] testing can2040-0.1.5 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate can2040 0.1.5 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate can2040 0.1.5 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rp2040-hal-macros v0.1.0
[INFO] [stderr]   Downloaded usb-device v0.3.2
[INFO] [stderr]   Downloaded debug-helper v0.3.13
[INFO] [stderr]   Downloaded frunk_proc_macro_helpers v0.1.2
[INFO] [stderr]   Downloaded frunk_derives v0.4.2
[INFO] [stderr]   Downloaded defmt-rtt v0.4.0
[INFO] [stderr]   Downloaded fugit v0.3.7
[INFO] [stderr]   Downloaded linked_list_allocator v0.10.5
[INFO] [stderr]   Downloaded embedded-io v0.6.1
[INFO] [stderr]   Downloaded embedded-can v0.4.1
[INFO] [stderr]   Downloaded defmt-parser v0.3.4
[INFO] [stderr]   Downloaded alloc-cortex-m v0.4.4
[INFO] [stderr]   Downloaded prettyplease v0.2.17
[INFO] [stderr]   Downloaded crc-any v2.4.4
[INFO] [stderr]   Downloaded rp2040-boot2 v0.3.0
[INFO] [stderr]   Downloaded rp-pico v0.9.0
[INFO] [stderr]   Downloaded frunk v0.4.2
[INFO] [stderr]   Downloaded embedded-hal v1.0.0
[INFO] [stderr]   Downloaded frunk_core v0.4.2
[INFO] [stderr]   Downloaded gcd v2.3.0
[INFO] [stderr]   Downloaded rp2040-hal v0.10.1
[INFO] [stderr]   Downloaded portable-atomic v1.6.0
[INFO] [stderr]   Downloaded syn v2.0.57
[INFO] [stderr]   Downloaded defmt-macros v0.3.7
[INFO] [stderr]   Downloaded defmt v0.3.6
[INFO] [stderr]   Downloaded embedded-hal-async v1.0.0
[INFO] [stderr]   Downloaded pio v0.2.1
[INFO] [stderr]   Downloaded bitfield v0.14.0
[INFO] [stderr]   Downloaded embedded-dma v0.2.0
[INFO] [stderr]   Downloaded embedded-hal-nb v1.0.0
[INFO] [stderr]   Downloaded critical-section v1.1.2
[INFO] [stderr]   Downloaded panic-probe v0.3.1
[INFO] [stderr]   Downloaded rp2040-pac v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf191ed71cbb278123a010d674d36772f8ed09b38d7f5065760a6ff763202170
[INFO] running `Command { std: "docker" "start" "-a" "cf191ed71cbb278123a010d674d36772f8ed09b38d7f5065760a6ff763202170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf191ed71cbb278123a010d674d36772f8ed09b38d7f5065760a6ff763202170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf191ed71cbb278123a010d674d36772f8ed09b38d7f5065760a6ff763202170", kill_on_drop: false }`
[INFO] [stdout] cf191ed71cbb278123a010d674d36772f8ed09b38d7f5065760a6ff763202170
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30f10a4bfa71e41f27422702fe5b20ac74b4e142022c0594271a8060abb02faf
[INFO] running `Command { std: "docker" "start" "-a" "30f10a4bfa71e41f27422702fe5b20ac74b4e142022c0594271a8060abb02faf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cortex-m v0.7.7
[INFO] [stderr]    Compiling cortex-m-rt v0.7.3
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling vcell v0.1.3
[INFO] [stderr]    Compiling prettyplease v0.2.17
[INFO] [stderr]    Compiling bitfield v0.13.2
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling defmt v0.3.6
[INFO] [stderr]    Compiling volatile-register v0.2.2
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling frunk_core v0.4.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling debug-helper v0.3.13
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling hash32 v0.3.1
[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 rp2040-pac v0.6.0
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling critical-section v1.1.2
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling defmt-macros v0.3.7
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling rp2040-boot2 v0.3.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling fugit v0.3.7
[INFO] [stderr]    Compiling usb-device v0.3.2
[INFO] [stderr]    Compiling embedded-hal-nb v1.0.0
[INFO] [stderr]    Compiling embedded-dma v0.2.0
[INFO] [stderr]    Compiling bitfield v0.14.0
[INFO] [stderr]    Compiling defmt-rtt v0.4.0
[INFO] [stderr]    Compiling panic-probe v0.3.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rp-pico v0.9.0
[INFO] [stderr]    Compiling embedded-io v0.6.1
[INFO] [stderr]    Compiling linked_list_allocator v0.10.5
[INFO] [stderr]    Compiling embedded-can v0.4.1
[INFO] [stderr]    Compiling alloc-cortex-m v0.4.4
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling frunk_proc_macro_helpers v0.1.2
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.7.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[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]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling pio v0.2.1
[INFO] [stderr]    Compiling frunk v0.4.2
[INFO] [stderr]    Compiling defmt-parser v0.3.4
[INFO] [stderr]    Compiling 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 is discouraged
[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 <https://doc.rust-lang.org/nightly/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]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.19s
[INFO] running `Command { std: "docker" "inspect" "30f10a4bfa71e41f27422702fe5b20ac74b4e142022c0594271a8060abb02faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f10a4bfa71e41f27422702fe5b20ac74b4e142022c0594271a8060abb02faf", kill_on_drop: false }`
[INFO] [stdout] 30f10a4bfa71e41f27422702fe5b20ac74b4e142022c0594271a8060abb02faf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 552bd5fb12b787b8af0cd83e66236bd66f19aec10101edb434d7976329e62f16
[INFO] running `Command { std: "docker" "start" "-a" "552bd5fb12b787b8af0cd83e66236bd66f19aec10101edb434d7976329e62f16", kill_on_drop: false }`
[INFO] [stderr]    Compiling can2040 v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[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 <https://doc.rust-lang.org/nightly/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] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcZNko0K/symbols.o" "/opt/rustwide/target/debug/deps/can2040-568273d131cb16fb.can2040.751a0e5b53c592ec-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/can2040-568273d131cb16fb.1r6cemmiq9npjatpwljn51xuy.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "-lcan2040" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-a09fad3b5321e7d6.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-f9c3dff41ad42661.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-ad2aef31af6addd3.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-e3f907dc03deb913.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fb8c387236db3c10.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b251837809b2f64b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-cbef83eaa4e01f04.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-12a772286de2fca7.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-023bbe5ada7abfc3.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de2bcdf10ec69c2b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8e1754df350800fd.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-06c2ab7b9c32e037.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51d2621fc57a281b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-54a930408793772f.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0c7d01cba400dcb2.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b9f84d69e331b75b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-eec95493246aae39.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f6676c475e08ab0.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/opt/rustwide/target/debug/deps/librp2040_hal-036df729a7646685.rlib" "/opt/rustwide/target/debug/deps/libitertools-3e1703cb12178a61.rlib" "/opt/rustwide/target/debug/deps/libeither-0f0afe4d04745942.rlib" "/opt/rustwide/target/debug/deps/libembedded_io-c985afe815c99ae7.rlib" "/opt/rustwide/target/debug/deps/librand_core-d4a2280c4547a8d5.rlib" "/opt/rustwide/target/debug/deps/libbitfield-9178430e2310cc72.rlib" "/opt/rustwide/target/debug/deps/libusb_device-f89d9e4de1c802b7.rlib" "/opt/rustwide/target/debug/deps/libheapless-f27a5c27af1fb1f5.rlib" "/opt/rustwide/target/debug/deps/libhash32-68394fd7af9e4f13.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-7817d47eb31dfb0c.rlib" "/opt/rustwide/target/debug/deps/libportable_atomic-3e5a265b79b4ff0c.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal_nb-3ca7e6923a7e3e5b.rlib" "/opt/rustwide/target/debug/deps/libpio-a62c6c1ea1f29b53.rlib" "/opt/rustwide/target/debug/deps/libnum_enum-0592d774bb1808d0.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-8ddae3ce25bac3b3.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal_async-7252684b34ce5680.rlib" "/opt/rustwide/target/debug/deps/libfrunk-3d3fbc7ec593f304.rlib" "/opt/rustwide/target/debug/deps/libfrunk_core-48daba775d16351b.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-bffe77d998c1330a.rlib" "/opt/rustwide/target/debug/deps/libembedded_dma-10eeec202f106d8b.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-99ae74af448b958c.rlib" "/opt/rustwide/target/debug/deps/librp2040_pac-7b200f8c58c82cfa.rlib" "/opt/rustwide/target/debug/deps/libcritical_section-faf16460c3c89217.rlib" "/opt/rustwide/target/debug/deps/libcortex_m_rt-1be63f8491e8703a.rlib" "/opt/rustwide/target/debug/deps/libfugit-1c327ce14a6a5606.rlib" "/opt/rustwide/target/debug/deps/libgcd-320062eed67b70b5.rlib" "/opt/rustwide/target/debug/deps/libembedded_can-d95b7957688bae16.rlib" "/opt/rustwide/target/debug/deps/libdefmt-da087821dc18c59c.rlib" "/opt/rustwide/target/debug/deps/libbitflags-560efdb99b117eef.rlib" "/opt/rustwide/target/debug/deps/libcortex_m-ba17b7ffcbd6494b.rlib" "/opt/rustwide/target/debug/deps/libembedded_hal-3f2f425bf0d941af.rlib" "/opt/rustwide/target/debug/deps/libvoid-9e681b028a877516.rlib" "/opt/rustwide/target/debug/deps/libnb-ab8678e4b2ed3327.rlib" "/opt/rustwide/target/debug/deps/libnb-fd0c4fcaea1d2fa5.rlib" "/opt/rustwide/target/debug/deps/libvolatile_register-951d9752e772fcca.rlib" "/opt/rustwide/target/debug/deps/libvcell-fe7c59c2dcd19afe.rlib" "/opt/rustwide/target/debug/deps/libbare_metal-4508ba911d5024ec.rlib" "/opt/rustwide/target/debug/deps/liblibc-6d8946442dcf11ac.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-fcf93d4842acd9a9.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0e6386368b0a24e8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/workdir/c_lib" "-L" "/opt/rustwide/target/debug/build/cortex-m-rt-4c681184c57dee49/out" "-L" "/opt/rustwide/target/debug/build/defmt-d8bcd226b7ba5327/out" "-L" "/opt/rustwide/target/debug/build/rp2040-pac-32b8fb65057ca45b/out" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/can2040-568273d131cb16fb" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(can2040.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(system_RP2040.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(clocks.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(platform.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(claim.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(sync.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(gpio.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(irq.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(irq_handler_chain.S.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(sem.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(lock_core.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(mutex.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(critical_section.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(time.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(timeout_helper.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(timer.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(datetime.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(pheap.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(queue.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: /opt/rustwide/workdir/c_lib/libcan2040.a(pll.c.obj) is incompatible with elf64-x86-64
[INFO] [stdout]           rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[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` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `can2040` (example "can2040_demo") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "552bd5fb12b787b8af0cd83e66236bd66f19aec10101edb434d7976329e62f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "552bd5fb12b787b8af0cd83e66236bd66f19aec10101edb434d7976329e62f16", kill_on_drop: false }`
[INFO] [stdout] 552bd5fb12b787b8af0cd83e66236bd66f19aec10101edb434d7976329e62f16
