[INFO] fetching crate betrusted-rt 0.0.1... [INFO] testing betrusted-rt-0.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate betrusted-rt 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate betrusted-rt 0.0.1 [INFO] finished tweaking crates.io crate betrusted-rt 0.0.1 [INFO] tweaked toml for crates.io crate betrusted-rt 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate betrusted-rt 0.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate betrusted-rt 0.0.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded vexriscv v0.0.2 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d32066e4bafa63c28c4a9fc11b845c0026bce60c4044683a469105af89eae8 [INFO] running `Command { std: "docker" "start" "-a" "47d32066e4bafa63c28c4a9fc11b845c0026bce60c4044683a469105af89eae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d32066e4bafa63c28c4a9fc11b845c0026bce60c4044683a469105af89eae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d32066e4bafa63c28c4a9fc11b845c0026bce60c4044683a469105af89eae8", kill_on_drop: false }` [INFO] [stdout] 47d32066e4bafa63c28c4a9fc11b845c0026bce60c4044683a469105af89eae8 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c77cc70ddcd6ff1744f0dc892b73271f9a044476757f7ec40d6d26c06a8a266d [INFO] running `Command { std: "docker" "start" "-a" "c77cc70ddcd6ff1744f0dc892b73271f9a044476757f7ec40d6d26c06a8a266d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling vexriscv v0.0.2 [INFO] [stderr] Compiling betrusted-rt v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | r0::zero_bss(&mut _sbss, &mut _ebss); [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: the lint level is defined here [INFO] [stdout] --> src/lib.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(static_mut_refs)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 304 | r0::zero_bss(&raw mut _sbss, &mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:304:34 [INFO] [stdout] | [INFO] [stdout] 304 | r0::zero_bss(&mut _sbss, &mut _ebss); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 304 | r0::zero_bss(&mut _sbss, &raw mut _ebss); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:305:23 [INFO] [stdout] | [INFO] [stdout] 305 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 305 | r0::init_data(&raw mut _sdata, &mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | r0::init_data(&mut _sdata, &mut _edata, &_sidata); [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 305 | r0::init_data(&mut _sdata, &raw mut _edata, &_sidata); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `betrusted-rt` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c77cc70ddcd6ff1744f0dc892b73271f9a044476757f7ec40d6d26c06a8a266d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77cc70ddcd6ff1744f0dc892b73271f9a044476757f7ec40d6d26c06a8a266d", kill_on_drop: false }` [INFO] [stdout] c77cc70ddcd6ff1744f0dc892b73271f9a044476757f7ec40d6d26c06a8a266d