[INFO] fetching crate panic-persist 0.3.0... [INFO] testing panic-persist-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate panic-persist 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate panic-persist 0.3.0 [INFO] finished tweaking crates.io crate panic-persist 0.3.0 [INFO] tweaked toml for crates.io crate panic-persist 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panic-persist 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile-register v0.2.2 [INFO] [stderr] Downloaded bare-metal v0.2.5 [INFO] [stderr] Downloaded vcell v0.1.3 [INFO] [stderr] Downloaded bitfield v0.13.2 [INFO] [stderr] Downloaded cortex-m v0.7.7 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72b8c88cce3de93603bf912348c29498eed80f09983c9f37d22797eab3c24f0f [INFO] running `Command { std: "docker" "start" "-a" "72b8c88cce3de93603bf912348c29498eed80f09983c9f37d22797eab3c24f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72b8c88cce3de93603bf912348c29498eed80f09983c9f37d22797eab3c24f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b8c88cce3de93603bf912348c29498eed80f09983c9f37d22797eab3c24f0f", kill_on_drop: false }` [INFO] [stdout] 72b8c88cce3de93603bf912348c29498eed80f09983c9f37d22797eab3c24f0f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 863e1400765449bda7d4efd13478d6c5ab5b85ad65add157567d8ac138d3bc97 [INFO] running `Command { std: "docker" "start" "-a" "863e1400765449bda7d4efd13478d6c5ab5b85ad65add157567d8ac138d3bc97", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling panic-persist v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [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:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | #![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] 133 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [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] 134 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let start_ptr = unsafe { &mut _panic_dump_start as *mut u8 }; [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] 189 | let start_ptr = unsafe { &raw mut _panic_dump_start as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | let end_ptr = unsafe { &mut _panic_dump_end as *mut u8 }; [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] 202 | let end_ptr = unsafe { &raw mut _panic_dump_end as *mut u8 }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-persist` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "863e1400765449bda7d4efd13478d6c5ab5b85ad65add157567d8ac138d3bc97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "863e1400765449bda7d4efd13478d6c5ab5b85ad65add157567d8ac138d3bc97", kill_on_drop: false }` [INFO] [stdout] 863e1400765449bda7d4efd13478d6c5ab5b85ad65add157567d8ac138d3bc97