[INFO] fetching crate bootloader-x86_64-bios-stage-2 0.11.11... [INFO] checking bootloader-x86_64-bios-stage-2-0.11.11 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bootloader-x86_64-bios-stage-2 0.11.11 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate bootloader-x86_64-bios-stage-2 0.11.11 [INFO] finished tweaking crates.io crate bootloader-x86_64-bios-stage-2 0.11.11 [INFO] tweaked toml for crates.io crate bootloader-x86_64-bios-stage-2 0.11.11 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bootloader-x86_64-bios-stage-2 0.11.11 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] crate crates.io crate bootloader-x86_64-bios-stage-2 0.11.11 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bootloader-x86_64-bios-common v0.11.11 [INFO] [stderr] Downloaded mbr-nostd v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1a0ec5d4fd6ea488b4bcb52aaa0b2492f06f042b872195d2288bbee45a38909 [INFO] running `Command { std: "docker" "start" "-a" "c1a0ec5d4fd6ea488b4bcb52aaa0b2492f06f042b872195d2288bbee45a38909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1a0ec5d4fd6ea488b4bcb52aaa0b2492f06f042b872195d2288bbee45a38909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a0ec5d4fd6ea488b4bcb52aaa0b2492f06f042b872195d2288bbee45a38909", kill_on_drop: false }` [INFO] [stdout] c1a0ec5d4fd6ea488b4bcb52aaa0b2492f06f042b872195d2288bbee45a38909 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e64522a38035eb0819cf6b1932cdbeedca52f56feb8e8510248d7c1888bac4f5 [INFO] running `Command { std: "docker" "start" "-a" "e64522a38035eb0819cf6b1932cdbeedca52f56feb8e8510248d7c1888bac4f5", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader-x86_64-bios-stage-2 v0.11.11 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bootloader-x86_64-bios-common v0.11.11 [INFO] [stderr] Checking mbr-nostd v0.1.0 [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `bootloader-x86_64-bios-stage-2` (bin "bootloader-x86_64-bios-stage-2") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/fat.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct Cluster { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 246 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cluster` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let disk_buffer = unsafe { &mut DISK_BUFFER }; [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 90 | let disk_buffer = unsafe { &raw mut DISK_BUFFER }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/disk.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let buf = unsafe { &mut TMP_BUF }; [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] 17 | let buf = unsafe { &raw mut TMP_BUF }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/fat.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | &'a mut self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 208 | buffer: &'a mut (dyn AlignedBuffer + 'a), [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 209 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ----------------- -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 209 | ) -> impl Iterator, ()>> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e64522a38035eb0819cf6b1932cdbeedca52f56feb8e8510248d7c1888bac4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64522a38035eb0819cf6b1932cdbeedca52f56feb8e8510248d7c1888bac4f5", kill_on_drop: false }` [INFO] [stdout] e64522a38035eb0819cf6b1932cdbeedca52f56feb8e8510248d7c1888bac4f5