[INFO] cloning repository https://github.com/keringar/bangOS
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keringar/bangOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2FbangOS", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2FbangOS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c871501c0a9997c5a81d631dd6ef7dc8bc57b81f
[INFO] checking keringar/bangOS against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeringar%2FbangOS" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/keringar/bangOS
[INFO] finished tweaking git repo https://github.com/keringar/bangOS
[INFO] tweaked toml for git repo https://github.com/keringar/bangOS written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/keringar/bangOS on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/keringar/bangOS 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bit_field v0.7.0
[INFO] [stderr]   Downloaded volatile v0.2.3
[INFO] [stderr]   Downloaded bitflags v0.4.0
[INFO] [stderr]   Downloaded spin v0.4.6
[INFO] [stderr]   Downloaded x86_64 v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a847808cb8bb45c34b24bde8890094b6ae3cc86c09f3bbaf4c06f1c6a259869e
[INFO] running `Command { std: "docker" "start" "-a" "a847808cb8bb45c34b24bde8890094b6ae3cc86c09f3bbaf4c06f1c6a259869e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a847808cb8bb45c34b24bde8890094b6ae3cc86c09f3bbaf4c06f1c6a259869e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a847808cb8bb45c34b24bde8890094b6ae3cc86c09f3bbaf4c06f1c6a259869e", kill_on_drop: false }`
[INFO] [stdout] a847808cb8bb45c34b24bde8890094b6ae3cc86c09f3bbaf4c06f1c6a259869e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35b85d113ce7ce06eb9148c5f77b3324d64e407f130143920588a7890e050573
[INFO] running `Command { std: "docker" "start" "-a" "35b85d113ce7ce06eb9148c5f77b3324d64e407f130143920588a7890e050573", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking bit_field v0.7.0
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking volatile v0.2.3
[INFO] [stderr]     Checking rlibc v1.0.0
[INFO] [stderr]     Checking spin v0.4.6
[INFO] [stderr]     Checking multiboot2 v0.0.1 (/opt/rustwide/workdir/multiboot2)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.6/src/lib.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![cfg_attr(feature = "const_fn", feature(const_fn, const_unsafe_cell_new, const_atomic_usize_new))]
[INFO] [stdout]   |                                           ^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed in 1.54.0; see <https://github.com/rust-lang/rust/pull/85109> for more information
[INFO] [stdout]   = note: split into finer-grained feature gates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.6/src/util.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     unsafe { asm!("pause" :::: "volatile"); }
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use core::arch::asm;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `const_atomic_usize_new`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/spin-0.4.6/src/lib.rs:8:76
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![cfg_attr(feature = "const_fn", feature(const_fn, const_unsafe_cell_new, const_atomic_usize_new))]
[INFO] [stdout]   |                                                                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a feature with a similar name: `const_atomic_new`
[INFO] [stdout]   |
[INFO] [stdout] 8 - #![cfg_attr(feature = "const_fn", feature(const_fn, const_unsafe_cell_new, const_atomic_usize_new))]
[INFO] [stdout] 8 + #![cfg_attr(feature = "const_fn", feature(const_fn, const_unsafe_cell_new, const_atomic_new))]
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:133:24
[INFO] [stdout]     |
[INFO] [stdout] 133 |             0x6000_0000...0x6FFF_FFFF => ElfSectionType::EnvironmentSpecific,
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |             0x7000_0000...0x7FFF_FFFF => ElfSectionType::ProcessorSpecific,
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:189:1
[INFO] [stdout]     |
[INFO] [stdout] 189 | / bitflags! {
[INFO] [stdout] 190 | |     flags ElfSectionFlags: ElfSectionFlagsType {
[INFO] [stdout] 191 | |         const ELF_SECTION_WRITABLE = 0x1,
[INFO] [stdout] 192 | |         const ELF_SECTION_ALLOCATED = 0x2,
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:189:1
[INFO] [stdout]     |
[INFO] [stdout] 189 | / bitflags! {
[INFO] [stdout] 190 | |     flags ElfSectionFlags: ElfSectionFlagsType {
[INFO] [stdout] 191 | |         const ELF_SECTION_WRITABLE = 0x1,
[INFO] [stdout] 192 | |         const ELF_SECTION_ALLOCATED = 0x2,
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> multiboot2/src/lib.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         (end_tag.typ == END_TAG.typ && end_tag.size == END_TAG.size)
[INFO] [stdout]     |         ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 124 -         (end_tag.typ == END_TAG.typ && end_tag.size == END_TAG.size)
[INFO] [stdout] 124 +         end_tag.typ == END_TAG.typ && end_tag.size == END_TAG.size
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0557, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0557`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spin` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0507]: cannot move out of a shared reference
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:17:5
[INFO] [stdout]     |
[INFO] [stdout]   9 | #[derive(Debug)]
[INFO] [stdout]     |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout]  17 |     first_section: ElfSection,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `ElfSection`, which does not implement the `Copy` trait
[INFO] [stdout]     |
[INFO] [stdout] note: if `ElfSection` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> multiboot2/src/elf_sections.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout]  17 |     first_section: ElfSection,
[INFO] [stdout]     |     ------------------------- you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 105 | pub struct ElfSection {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]     = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned
[INFO] [stdout]   --> multiboot2/src/elf_sections.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 |             current_section: &self.first_section,
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[INFO] [stdout]    = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]    = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0793]: reference to field of packed struct is unaligned
[INFO] [stdout]   --> multiboot2/src/elf_sections.rs:31:37
[INFO] [stdout]    |
[INFO] [stdout] 31 |             let string_table_ptr = (&self.first_section as *const ElfSection).offset(self.shndx as isize);
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this struct is 1-byte aligned, but the type of this field may require higher alignment
[INFO] [stdout]    = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
[INFO] [stdout]    = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0793.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "35b85d113ce7ce06eb9148c5f77b3324d64e407f130143920588a7890e050573", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35b85d113ce7ce06eb9148c5f77b3324d64e407f130143920588a7890e050573", kill_on_drop: false }`
[INFO] [stdout] 35b85d113ce7ce06eb9148c5f77b3324d64e407f130143920588a7890e050573
