[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] building Adam-Gleave/multiboot2-rs against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdam-Gleave%2Fmultiboot2-rs" "/workspace/builds/worker-54/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-54/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adam-Gleave/multiboot2-rs on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-54/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" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af2b9c82640647de0b59daf78a57f4c55d894622f453a3764b2d94c9aee7b6c0 [INFO] running `Command { std: "docker" "start" "-a" "af2b9c82640647de0b59daf78a57f4c55d894622f453a3764b2d94c9aee7b6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af2b9c82640647de0b59daf78a57f4c55d894622f453a3764b2d94c9aee7b6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af2b9c82640647de0b59daf78a57f4c55d894622f453a3764b2d94c9aee7b6c0", kill_on_drop: false }` [INFO] [stdout] af2b9c82640647de0b59daf78a57f4c55d894622f453a3764b2d94c9aee7b6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 330fe9871b2f0a21fc0b43716e8f65ab7c1fefac7a10a6fe105fc8883a6989de [INFO] running `Command { std: "docker" "start" "-a" "330fe9871b2f0a21fc0b43716e8f65ab7c1fefac7a10a6fe105fc8883a6989de", 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 1.63s [INFO] running `Command { std: "docker" "inspect" "330fe9871b2f0a21fc0b43716e8f65ab7c1fefac7a10a6fe105fc8883a6989de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330fe9871b2f0a21fc0b43716e8f65ab7c1fefac7a10a6fe105fc8883a6989de", kill_on_drop: false }` [INFO] [stdout] 330fe9871b2f0a21fc0b43716e8f65ab7c1fefac7a10a6fe105fc8883a6989de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe2eca31bbf8c630fb8bae20e572b118ad879dbd5f7f4c2f9ba0f28b15cd781f [INFO] running `Command { std: "docker" "start" "-a" "fe2eca31bbf8c630fb8bae20e572b118ad879dbd5f7f4c2f9ba0f28b15cd781f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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 16.52s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/multiboot2-46fbc4de0aa73bf0) [INFO] running `Command { std: "docker" "inspect" "fe2eca31bbf8c630fb8bae20e572b118ad879dbd5f7f4c2f9ba0f28b15cd781f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2eca31bbf8c630fb8bae20e572b118ad879dbd5f7f4c2f9ba0f28b15cd781f", kill_on_drop: false }` [INFO] [stdout] fe2eca31bbf8c630fb8bae20e572b118ad879dbd5f7f4c2f9ba0f28b15cd781f