[INFO] cloning repository https://github.com/Adam-Gleave/multiboot2-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adam-Gleave/multiboot2-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdam-Gleave%2Fmultiboot2-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdam-Gleave%2Fmultiboot2-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90dc46b36665f98112fc41e57d3b5133c61db869 [INFO] checking Adam-Gleave/multiboot2-rs/90dc46b36665f98112fc41e57d3b5133c61db869 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdam-Gleave%2Fmultiboot2-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adam-Gleave/multiboot2-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Adam-Gleave/multiboot2-rs [INFO] finished tweaking git repo https://github.com/Adam-Gleave/multiboot2-rs [INFO] tweaked toml for git repo https://github.com/Adam-Gleave/multiboot2-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Adam-Gleave/multiboot2-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32cd40302f6ab21c8f3861033894222040fba694fcdc67d47a029f1efc2625b3 [INFO] running `Command { std: "docker" "start" "-a" "32cd40302f6ab21c8f3861033894222040fba694fcdc67d47a029f1efc2625b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32cd40302f6ab21c8f3861033894222040fba694fcdc67d47a029f1efc2625b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cd40302f6ab21c8f3861033894222040fba694fcdc67d47a029f1efc2625b3", kill_on_drop: false }` [INFO] [stdout] 32cd40302f6ab21c8f3861033894222040fba694fcdc67d47a029f1efc2625b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9032f1c46765f011725f5c88c981a6e894c01af9fb3cbcffecd59745d2a533c2 [INFO] running `Command { std: "docker" "start" "-a" "9032f1c46765f011725f5c88c981a6e894c01af9fb3cbcffecd59745d2a533c2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking multiboot2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/elf_sections.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | 0x6000_0000...0x6FFF_FFFF => SectionType::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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/elf_sections.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | 0x7000_0000...0x7FFF_FFFF => SectionType::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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of 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] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of 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] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/elf_sections.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | 0x6000_0000...0x6FFF_FFFF => SectionType::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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/elf_sections.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | 0x7000_0000...0x7FFF_FFFF => SectionType::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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of 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] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of 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] --> src/elf_sections.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | / bitflags! { [INFO] [stdout] 265 | | pub struct SectionFlags: u64 { [INFO] [stdout] 266 | | const WRITABLE = 0x1; [INFO] [stdout] 267 | | const ALLOCATED = 0x2; [INFO] [stdout] 268 | | const EXECUTABLE = 0x4; [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elf_sections.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | fn get(&self) -> &Entry { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | fn get(&self) -> &dyn Entry { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elf_sections.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | fn get(&self) -> &Entry { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 | fn get(&self) -> &dyn Entry { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/basic_info.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [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] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/basic_info.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [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] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/basic_info.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [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] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/basic_info.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [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] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `multiboot2` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9032f1c46765f011725f5c88c981a6e894c01af9fb3cbcffecd59745d2a533c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9032f1c46765f011725f5c88c981a6e894c01af9fb3cbcffecd59745d2a533c2", kill_on_drop: false }` [INFO] [stdout] 9032f1c46765f011725f5c88c981a6e894c01af9fb3cbcffecd59745d2a533c2