[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] testing Adam-Gleave/multiboot2-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdam-Gleave%2Fmultiboot2-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adam-Gleave/multiboot2-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b78f6cd686e41241873e949817c111449f2a54aa2ad4ffa0ee169f521b1f5063 [INFO] running `Command { std: "docker" "start" "-a" "b78f6cd686e41241873e949817c111449f2a54aa2ad4ffa0ee169f521b1f5063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b78f6cd686e41241873e949817c111449f2a54aa2ad4ffa0ee169f521b1f5063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78f6cd686e41241873e949817c111449f2a54aa2ad4ffa0ee169f521b1f5063", kill_on_drop: false }` [INFO] [stdout] b78f6cd686e41241873e949817c111449f2a54aa2ad4ffa0ee169f521b1f5063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b237385f17225be1612b4219555649815d3509f16c6df4532ada0abd5464cbe [INFO] running `Command { std: "docker" "start" "-a" "9b237385f17225be1612b4219555649815d3509f16c6df4532ada0abd5464cbe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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` (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` (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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - fn get(&self) -> &Entry { [INFO] [stdout] 195 + fn get(&self) -> &dyn Entry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | reserved: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_type` [INFO] [stdout] --> src/basic_info.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | tag_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/basic_info.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.40s [INFO] running `Command { std: "docker" "inspect" "9b237385f17225be1612b4219555649815d3509f16c6df4532ada0abd5464cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b237385f17225be1612b4219555649815d3509f16c6df4532ada0abd5464cbe", kill_on_drop: false }` [INFO] [stdout] 9b237385f17225be1612b4219555649815d3509f16c6df4532ada0abd5464cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b08104599bee93c4000ed64b4de98fbff30118b41dd2a32ade5cb7b4a8de94d7 [INFO] running `Command { std: "docker" "start" "-a" "b08104599bee93c4000ed64b4de98fbff30118b41dd2a32ade5cb7b4a8de94d7", kill_on_drop: false }` [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling multiboot2 v0.1.0 (/opt/rustwide/workdir) [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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - fn get(&self) -> &Entry { [INFO] [stdout] 195 + fn get(&self) -> &dyn Entry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | reserved: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_type` [INFO] [stdout] --> src/basic_info.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | tag_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/basic_info.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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` (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` (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` (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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 195 - fn get(&self) -> &Entry { [INFO] [stdout] 195 + fn get(&self) -> &dyn Entry { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/lib.rs:30:2 [INFO] [stdout] | [INFO] [stdout] 30 | reserved: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_type` [INFO] [stdout] --> src/basic_info.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | tag_type: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/basic_info.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/multiboot2-9fe841212fde5351) [INFO] running `Command { std: "docker" "inspect" "b08104599bee93c4000ed64b4de98fbff30118b41dd2a32ade5cb7b4a8de94d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08104599bee93c4000ed64b4de98fbff30118b41dd2a32ade5cb7b4a8de94d7", kill_on_drop: false }` [INFO] [stdout] b08104599bee93c4000ed64b4de98fbff30118b41dd2a32ade5cb7b4a8de94d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 632560c4d76d2fa0a7253bb18a6d52ab4d81c3b4a4ac4e21ea8fc7a1111f31bd [INFO] running `Command { std: "docker" "start" "-a" "632560c4d76d2fa0a7253bb18a6d52ab4d81c3b4a4ac4e21ea8fc7a1111f31bd", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/elf_sections.rs:149:15 [INFO] [stderr] | [INFO] [stderr] 149 | 0x6000_0000...0x6FFF_FFFF => SectionType::EnvironmentSpecific, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/elf_sections.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | 0x7000_0000...0x7FFF_FFFF => SectionType::ProcessorSpecific, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/elf_sections.rs:264:1 [INFO] [stderr] | [INFO] [stderr] 264 | / bitflags! { [INFO] [stderr] 265 | | pub struct SectionFlags: u64 { [INFO] [stderr] 266 | | const WRITABLE = 0x1; [INFO] [stderr] 267 | | const ALLOCATED = 0x2; [INFO] [stderr] 268 | | const EXECUTABLE = 0x4; [INFO] [stderr] 269 | | } [INFO] [stderr] 270 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/elf_sections.rs:264:1 [INFO] [stderr] | [INFO] [stderr] 264 | / bitflags! { [INFO] [stderr] 265 | | pub struct SectionFlags: u64 { [INFO] [stderr] 266 | | const WRITABLE = 0x1; [INFO] [stderr] 267 | | const ALLOCATED = 0x2; [INFO] [stderr] 268 | | const EXECUTABLE = 0x4; [INFO] [stderr] 269 | | } [INFO] [stderr] 270 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elf_sections.rs:195:20 [INFO] [stderr] | [INFO] [stderr] 195 | fn get(&self) -> &Entry { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 195 - fn get(&self) -> &Entry { [INFO] [stderr] 195 + fn get(&self) -> &dyn Entry { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/basic_info.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/basic_info.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | self.mem_lower, self.mem_upper)?; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `reserved` [INFO] [stderr] --> src/lib.rs:30:2 [INFO] [stderr] | [INFO] [stderr] 30 | reserved: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tag_type` [INFO] [stderr] --> src/basic_info.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | tag_type: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/basic_info.rs:9:2 [INFO] [stderr] | [INFO] [stderr] 9 | size: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `multiboot2` (lib) generated 11 warnings (1 duplicate) [INFO] [stderr] warning: `multiboot2` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/multiboot2-9fe841212fde5351) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests multiboot2 [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/elf_sections.rs:149:15 [INFO] [stderr] | [INFO] [stderr] 149 | 0x6000_0000...0x6FFF_FFFF => SectionType::EnvironmentSpecific, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/elf_sections.rs:150:15 [INFO] [stderr] | [INFO] [stderr] 150 | 0x7000_0000...0x7FFF_FFFF => SectionType::ProcessorSpecific, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "632560c4d76d2fa0a7253bb18a6d52ab4d81c3b4a4ac4e21ea8fc7a1111f31bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "632560c4d76d2fa0a7253bb18a6d52ab4d81c3b4a4ac4e21ea8fc7a1111f31bd", kill_on_drop: false }` [INFO] [stdout] 632560c4d76d2fa0a7253bb18a6d52ab4d81c3b4a4ac4e21ea8fc7a1111f31bd