[INFO] fetching crate betrusted-rt 0.0.1... [INFO] testing betrusted-rt-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate betrusted-rt 0.0.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate betrusted-rt 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-rt-macros v0.1.6 [INFO] [stderr] Downloaded bare-metal v0.2.4 [INFO] [stderr] Downloaded vexriscv v0.0.2 [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59ffa60d1dfbbf041eb7dc3b20c2f75f0c2131981ed1f17350bbcaabf483af46 [INFO] running `Command { std: "docker" "start" "-a" "59ffa60d1dfbbf041eb7dc3b20c2f75f0c2131981ed1f17350bbcaabf483af46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59ffa60d1dfbbf041eb7dc3b20c2f75f0c2131981ed1f17350bbcaabf483af46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ffa60d1dfbbf041eb7dc3b20c2f75f0c2131981ed1f17350bbcaabf483af46", kill_on_drop: false }` [INFO] [stdout] 59ffa60d1dfbbf041eb7dc3b20c2f75f0c2131981ed1f17350bbcaabf483af46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8be75cec4f0af2965ffaf1e357402f53b114c37be6a37ce82fcece4c3bc5dcb0 [INFO] running `Command { std: "docker" "start" "-a" "8be75cec4f0af2965ffaf1e357402f53b114c37be6a37ce82fcece4c3bc5dcb0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling vexriscv v0.0.2 [INFO] [stderr] Compiling bit_field v0.9.0 [INFO] [stderr] Compiling betrusted-rt v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.4 [INFO] [stderr] Compiling quote v0.6.13 [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" "8be75cec4f0af2965ffaf1e357402f53b114c37be6a37ce82fcece4c3bc5dcb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be75cec4f0af2965ffaf1e357402f53b114c37be6a37ce82fcece4c3bc5dcb0", kill_on_drop: false }` [INFO] [stdout] 8be75cec4f0af2965ffaf1e357402f53b114c37be6a37ce82fcece4c3bc5dcb0