[INFO] cloning repository https://github.com/AirborneEngineering/blethrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AirborneEngineering/blethrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3851267ecea56179aeaf4ec485609b7fcbcf1a5c [INFO] checking AirborneEngineering/blethrs/3851267ecea56179aeaf4ec485609b7fcbcf1a5c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAirborneEngineering%2Fblethrs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AirborneEngineering/blethrs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/AirborneEngineering/blethrs [INFO] finished tweaking git repo https://github.com/AirborneEngineering/blethrs [INFO] tweaked toml for git repo https://github.com/AirborneEngineering/blethrs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AirborneEngineering/blethrs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ufmt-macros v0.1.1 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded matches v0.1.8 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded vcell v0.1.2 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded cortex-m-semihosting v0.3.5 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded cargo-lock v4.0.1 [INFO] [stderr] Downloaded url v2.1.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.12 [INFO] [stderr] Downloaded cortex-m-rt v0.6.12 [INFO] [stderr] Downloaded chrono v0.4.11 [INFO] [stderr] Downloaded git2 v0.11.0 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded serde v1.0.106 [INFO] [stderr] Downloaded smoltcp v0.6.0 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded serde_derive v1.0.106 [INFO] [stderr] Downloaded idna v0.2.0 [INFO] [stderr] Downloaded ufmt v0.1.0 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded cortex-m v0.6.2 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded vcpkg v0.2.8 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded unicode-bidi v0.3.4 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded aligned v0.3.2 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded built v0.4.0 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded volatile-register v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded cortex-m-rt-macros v0.1.8 [INFO] [stderr] Downloaded as-slice v0.1.3 [INFO] [stderr] Downloaded managed v0.7.1 [INFO] [stderr] Downloaded stable_deref_trait v1.1.1 [INFO] [stderr] Downloaded r0 v0.2.2 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded libz-sys v1.0.25 [INFO] [stderr] Downloaded libgit2-sys v0.10.0 [INFO] [stderr] Downloaded stm32f4 v0.10.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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 614dc0643fd73ae154e5131c461ebc48896a8974809dafa933fcf3184d972e84 [INFO] running `Command { std: "docker" "start" "-a" "614dc0643fd73ae154e5131c461ebc48896a8974809dafa933fcf3184d972e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "614dc0643fd73ae154e5131c461ebc48896a8974809dafa933fcf3184d972e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "614dc0643fd73ae154e5131c461ebc48896a8974809dafa933fcf3184d972e84", kill_on_drop: false }` [INFO] [stdout] 614dc0643fd73ae154e5131c461ebc48896a8974809dafa933fcf3184d972e84 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7efd61deba23316e21f21cb4f9f93f1c51d92532087a8a9a399a2ed99a9220 [INFO] running `Command { std: "docker" "start" "-a" "af7efd61deba23316e21f21cb4f9f93f1c51d92532087a8a9a399a2ed99a9220", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.12 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling stm32f4 v0.10.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.5 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Checking managed v0.7.1 [INFO] [stderr] Checking ufmt-write v0.1.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking smoltcp v0.6.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling ufmt-macros v0.1.1 [INFO] [stderr] Checking ufmt v0.1.0 [INFO] [stderr] Compiling git2 v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.0 [INFO] [stderr] Compiling blethrs v0.1.3 (/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[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `blethrs` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-d4b2984cf0ecee47.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f609b7e0586f81fefb3523e3e17adf779ac416be/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e0ee872a6f64065a.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blethrs` (bin "blethrs" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ethernet.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: &mut TDESRING, eth_mac, eth_dma } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: addr_of_mut!(RDESRING), tdring: &mut TDESRING, eth_mac, eth_dma } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ethernet.rs:236:61 [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: &mut TDESRING, eth_mac, eth_dma } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 236 | EthernetDevice { rdring: &mut RDESRING, tdring: addr_of_mut!(TDESRING), eth_mac, eth_dma } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/bootload.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | USER_RESET = Some(core::mem::transmute(rv)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `u32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn()` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | let ticks = unsafe { core::ptr::read_volatile(&SYSTICK_TICKS) + 1 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 224 | let ticks = unsafe { core::ptr::read_volatile(addr_of!(SYSTICK_TICKS)) + 1 }; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { core::ptr::write_volatile(&mut SYSTICK_TICKS, ticks) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { core::ptr::write_volatile(addr_of_mut!(SYSTICK_TICKS), ticks) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:227:45 [INFO] [stdout] | [INFO] [stdout] 227 | match unsafe { core::ptr::read_volatile(&SYSTICK_RESET_AT) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 227 | match unsafe { core::ptr::read_volatile(addr_of!(SYSTICK_RESET_AT)) } { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | let ticks = core::ptr::read_volatile(&SYSTICK_TICKS) + delay; [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 239 | let ticks = core::ptr::read_volatile(addr_of!(SYSTICK_TICKS)) + delay; [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:240:35 [INFO] [stdout] | [INFO] [stdout] 240 | core::ptr::write_volatile(&mut SYSTICK_RESET_AT, Some(ticks)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 240 | core::ptr::write_volatile(addr_of_mut!(SYSTICK_RESET_AT), Some(ticks)); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blethrs` (bin "blethrs") due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "af7efd61deba23316e21f21cb4f9f93f1c51d92532087a8a9a399a2ed99a9220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7efd61deba23316e21f21cb4f9f93f1c51d92532087a8a9a399a2ed99a9220", kill_on_drop: false }` [INFO] [stdout] af7efd61deba23316e21f21cb4f9f93f1c51d92532087a8a9a399a2ed99a9220