[INFO] cloning repository https://github.com/Gallium70/lrv-rust-bl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gallium70/lrv-rust-bl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGallium70%2Flrv-rust-bl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGallium70%2Flrv-rust-bl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c03b2e2374bcf7e94ed17b930abea6f2a672b107 [INFO] checking Gallium70/lrv-rust-bl/c03b2e2374bcf7e94ed17b930abea6f2a672b107 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGallium70%2Flrv-rust-bl" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Gallium70/lrv-rust-bl 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-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Gallium70/lrv-rust-bl [INFO] finished tweaking git repo https://github.com/Gallium70/lrv-rust-bl [INFO] tweaked toml for git repo https://github.com/Gallium70/lrv-rust-bl written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Gallium70/lrv-rust-bl 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] Updating git repository `https://github.com/rcore-os/device_tree-rs/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rust-embedded/riscv` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded rustsbi v0.2.1 [INFO] [stderr] Downloaded linked_list_allocator v0.9.1 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded spin v0.9.2 [INFO] [stderr] Downloaded r0 v1.0.0 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded riscv v0.7.0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6be653ee2a22cc1465238258e014ce7c1f9b98ceae430fb4233dacf8fe6e6f4 [INFO] running `Command { std: "docker" "start" "-a" "b6be653ee2a22cc1465238258e014ce7c1f9b98ceae430fb4233dacf8fe6e6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6be653ee2a22cc1465238258e014ce7c1f9b98ceae430fb4233dacf8fe6e6f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6be653ee2a22cc1465238258e014ce7c1f9b98ceae430fb4233dacf8fe6e6f4", kill_on_drop: false }` [INFO] [stdout] b6be653ee2a22cc1465238258e014ce7c1f9b98ceae430fb4233dacf8fe6e6f4 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf6d1ad3ee508dee58993f49b66b6b695add52d67ec5e74d674edfeb8c4a59c [INFO] running `Command { std: "docker" "start" "-a" "abf6d1ad3ee508dee58993f49b66b6b695add52d67ec5e74d674edfeb8c4a59c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Compiling lrv-rust-bl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Checking device_tree v1.0.3 (https://github.com/rcore-os/device_tree-rs/#2f2e55fb) [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking linked_list_allocator v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.7.0 [INFO] [stderr] Compiling riscv v0.7.0 (https://github.com/rust-embedded/riscv#cd31989b) [INFO] [stderr] Checking rustsbi v0.2.1 [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] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | let sheap = unsafe { &mut _sheap } as *mut _ as usize; [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] 114 | let sheap = unsafe { addr_of_mut!(_sheap) } as *mut _ as usize; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | let eheap = unsafe { &mut _eheap } as *mut _ as usize; [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] 115 | let eheap = unsafe { addr_of_mut!(_eheap) } as *mut _ as usize; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | let sheap = unsafe { &mut _sheap } as *mut _ as usize; [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] 114 | let sheap = unsafe { addr_of_mut!(_sheap) } as *mut _ as usize; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | let eheap = unsafe { &mut _eheap } as *mut _ as usize; [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] 115 | let eheap = unsafe { addr_of_mut!(_eheap) } as *mut _ as usize; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/main.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | 1: auipc ra, %pcrel_hi(1f) [INFO] [stdout] | ^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] = note: `#[deny(binary_asm_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 51 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 52 | | fence iorw, iorw [INFO] [stdout] 53 | | lhu {ans}, 0({vaddr}) [INFO] [stdout] ... | [INFO] [stdout] 58 | | or {ans}, {ans}, {vaddr} # concat [INFO] [stdout] 59 | | 1: csrw mstatus, {mprv} [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 71 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 72 | | fence iorw, iorw [INFO] [stdout] 73 | | lwu {ans}, 0({vaddr}) [INFO] [stdout] ... | [INFO] [stdout] 78 | | or {ans}, {ans}, {vaddr} # concat [INFO] [stdout] 79 | | 1: csrw mstatus, {mprv} [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 91 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 92 | | fence iorw, iorw [INFO] [stdout] 93 | | ld {ans}, 0({vaddr}) [INFO] [stdout] ... | [INFO] [stdout] 98 | | or {ans}, {ans}, {vaddr} # concat [INFO] [stdout] 99 | | 1: csrw mstatus, {mprv} [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 141 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 142 | | beqz {bit_off}, 1f # vaddr naturally aligned [INFO] [stdout] 143 | | fence iorw, iorw [INFO] [stdout] ... | [INFO] [stdout] 156 | | or {value}, {store_lo}, {value} # concat vaddr[0] [INFO] [stdout] 157 | | 1: sh {value}, 0({vaddr}) [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 173 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 174 | | beqz {bit_off}, 1f # vaddr naturally aligned [INFO] [stdout] 175 | | fence iorw, iorw [INFO] [stdout] ... | [INFO] [stdout] 188 | | or {value}, {store_lo}, {value} # concat vaddr[0] [INFO] [stdout] 189 | | 1: sw {value}, 0({vaddr}) [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: avoid using labels containing only the digits `0` and `1` in inline assembly [INFO] [stdout] --> src/misaligned.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | li {mprv}, (1 << 17) [INFO] [stdout] | ______________________________^ [INFO] [stdout] 205 | | csrrs {mprv}, mstatus, {mprv} [INFO] [stdout] 206 | | beqz {bit_off}, 1f # vaddr naturally aligned [INFO] [stdout] 207 | | fence iorw, iorw [INFO] [stdout] ... | [INFO] [stdout] 218 | | or {value}, {store_lo}, {value} # concat vaddr[0] [INFO] [stdout] 219 | | 1: sd {value}, 0({vaddr}) [INFO] [stdout] | |_________^ use a different label that doesn't start with `0` or `1` [INFO] [stdout] | [INFO] [stdout] = help: start numbering with `2` instead [INFO] [stdout] = note: an LLVM bug makes these labels ambiguous with a binary literal number on x86 [INFO] [stdout] = note: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lrv-rust-bl` (bin "lrv-rust-bl") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lrv-rust-bl` (bin "lrv-rust-bl" test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abf6d1ad3ee508dee58993f49b66b6b695add52d67ec5e74d674edfeb8c4a59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf6d1ad3ee508dee58993f49b66b6b695add52d67ec5e74d674edfeb8c4a59c", kill_on_drop: false }` [INFO] [stdout] abf6d1ad3ee508dee58993f49b66b6b695add52d67ec5e74d674edfeb8c4a59c