[INFO] cloning repository https://github.com/jcreekmore/bootinfo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcreekmore/bootinfo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcreekmore%2Fbootinfo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcreekmore%2Fbootinfo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 941ab4622ba432c19eff0e0e6a1aeb9782af017a
[INFO] testing jcreekmore/bootinfo against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcreekmore%2Fbootinfo" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jcreekmore/bootinfo on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jcreekmore/bootinfo
[INFO] finished tweaking git repo https://github.com/jcreekmore/bootinfo
[INFO] tweaked toml for git repo https://github.com/jcreekmore/bootinfo written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/jcreekmore/bootinfo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ade1197cf8c269dcb65f2afa4400204f31b729cbf1ca5c142ef753811d41a756
[INFO] running `Command { std: "docker" "start" "-a" "ade1197cf8c269dcb65f2afa4400204f31b729cbf1ca5c142ef753811d41a756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ade1197cf8c269dcb65f2afa4400204f31b729cbf1ca5c142ef753811d41a756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ade1197cf8c269dcb65f2afa4400204f31b729cbf1ca5c142ef753811d41a756", kill_on_drop: false }`
[INFO] [stdout] ade1197cf8c269dcb65f2afa4400204f31b729cbf1ca5c142ef753811d41a756
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46f8c23f86f6c1dff1fe5504f4b87f470e4b94239ef677bc73a768a72bc8bbd2
[INFO] running `Command { std: "docker" "start" "-a" "46f8c23f86f6c1dff1fe5504f4b87f470e4b94239ef677bc73a768a72bc8bbd2", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.4
[INFO] [stderr]    Compiling libc v0.2.35
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.5
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling strsim v0.6.0
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling ansi_term v0.10.2
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling textwrap v0.9.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling atty v0.2.6
[INFO] [stderr]    Compiling iovec v0.1.1
[INFO] [stderr]    Compiling clap v2.29.2
[INFO] [stderr]    Compiling bytes v0.4.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling miniz-sys v0.1.10
[INFO] [stderr]    Compiling flate2 v1.0.1
[INFO] [stderr]    Compiling derive-error-chain v0.11.0
[INFO] [stderr]    Compiling backtrace v0.3.5
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling bootinfo v0.2.1-pre (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/parsers/multiboot2.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     (typ == TAG_ENDING && size == 8)
[INFO] [stdout]    |     ^                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -     (typ == TAG_ENDING && size == 8)
[INFO] [stdout] 68 +     typ == TAG_ENDING && size == 8
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/parsers/multiboot2.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 ((read_more + 8) % 8)
[INFO] [stdout]     |                 ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 ((read_more + 8) % 8)
[INFO] [stdout] 109 +                 (read_more + 8) % 8
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / lazy_static! {
[INFO] [stdout] 23 | |     static ref INFO: Vec<parsers::Descriptor> = parsers::register();
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` (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/parsers/mod.rs:5:57
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 - pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[INFO] [stdout] 5 + pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<dyn BootInfo>>;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/mod.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[INFO] [stdout] 14 +     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<dyn BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/linux.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 44 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot1.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 63 +     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot2.rs:74:51
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 74 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parsers/linux.rs:162:38
[INFO] [stdout]     |
[INFO] [stdout] 162 |         Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 162 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot1.rs:96:42
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 96 -             Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 96 +             Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parsers/multiboot2.rs:201:38
[INFO] [stdout]     |
[INFO] [stdout] 201 |         Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 201 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 201 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 -     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stdout] 74 +     let headers: Vec<Box<dyn parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entry_addr` is never read
[INFO] [stdout]   --> src/parsers/multiboot1.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Header {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     entry_addr: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 21.23s
[INFO] running `Command { std: "docker" "inspect" "46f8c23f86f6c1dff1fe5504f4b87f470e4b94239ef677bc73a768a72bc8bbd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46f8c23f86f6c1dff1fe5504f4b87f470e4b94239ef677bc73a768a72bc8bbd2", kill_on_drop: false }`
[INFO] [stdout] 46f8c23f86f6c1dff1fe5504f4b87f470e4b94239ef677bc73a768a72bc8bbd2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a808b5790c3e16ccac74547e0184f61a0cc2d02adacfea06dc323bee55eca720
[INFO] running `Command { std: "docker" "start" "-a" "a808b5790c3e16ccac74547e0184f61a0cc2d02adacfea06dc323bee55eca720", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling bootinfo v0.2.1-pre (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot1.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | / bitflags! {
[INFO] [stdout] 6  | |         pub struct Flags: u32 {
[INFO] [stdout] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stdout] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stdout] ...  |
[INFO] [stdout] 12 | |         }
[INFO] [stdout] 13 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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/parsers/multiboot2.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | / bitflags! {
[INFO] [stdout] 7  | |         pub struct Flags: u16 {
[INFO] [stdout] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stdout] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stdout] 10 | |         }
[INFO] [stdout] 11 | |     }
[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: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/parsers/multiboot2.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     (typ == TAG_ENDING && size == 8)
[INFO] [stdout]    |     ^                              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 68 -     (typ == TAG_ENDING && size == 8)
[INFO] [stdout] 68 +     typ == TAG_ENDING && size == 8
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/parsers/multiboot2.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 ((read_more + 8) % 8)
[INFO] [stdout]     |                 ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 ((read_more + 8) % 8)
[INFO] [stdout] 109 +                 (read_more + 8) % 8
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stdout]   --> src/main.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | / lazy_static! {
[INFO] [stdout] 23 | |     static ref INFO: Vec<parsers::Descriptor> = parsers::register();
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` (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/parsers/mod.rs:5:57
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 - pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[INFO] [stdout] 5 + pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<dyn BootInfo>>;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/mod.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[INFO] [stdout] 14 +     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<dyn BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/linux.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 44 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot1.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 63 -     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 63 +     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot2.rs:74:51
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stdout] 74 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parsers/linux.rs:162:38
[INFO] [stdout]     |
[INFO] [stdout] 162 |         Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 162 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parsers/multiboot1.rs:96:42
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 96 -             Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 96 +             Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/parsers/multiboot2.rs:201:38
[INFO] [stdout]     |
[INFO] [stdout] 201 |         Some(Box::new(header) as Box<super::BootInfo>)
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 201 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stdout] 201 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 -     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stdout] 74 +     let headers: Vec<Box<dyn parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entry_addr` is never read
[INFO] [stdout]   --> src/parsers/multiboot1.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Header {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     entry_addr: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "a808b5790c3e16ccac74547e0184f61a0cc2d02adacfea06dc323bee55eca720", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a808b5790c3e16ccac74547e0184f61a0cc2d02adacfea06dc323bee55eca720", kill_on_drop: false }`
[INFO] [stdout] a808b5790c3e16ccac74547e0184f61a0cc2d02adacfea06dc323bee55eca720
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8bccf2d0c7bb4b254f522dfdebe80589ac61302abb3bf973817daecc5367f150
[INFO] running `Command { std: "docker" "start" "-a" "8bccf2d0c7bb4b254f522dfdebe80589ac61302abb3bf973817daecc5367f150", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/parsers/multiboot1.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr] 5  | / bitflags! {
[INFO] [stderr] 6  | |         pub struct Flags: u32 {
[INFO] [stderr] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stderr] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |         }
[INFO] [stderr] 13 | |     }
[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/parsers/multiboot1.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr] 5  | / bitflags! {
[INFO] [stderr] 6  | |         pub struct Flags: u32 {
[INFO] [stderr] 7  | |             const PAGE_ALIGNED_MODULES = 0x0000_0001;
[INFO] [stderr] 8  | |             const REQUEST_MEMORY_MAP   = 0x0000_0002;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |         }
[INFO] [stderr] 13 | |     }
[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: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/parsers/multiboot2.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr] 6  | / bitflags! {
[INFO] [stderr] 7  | |         pub struct Flags: u16 {
[INFO] [stderr] 8  | |             const OPTIONAL      = 0x0001;
[INFO] [stderr] 9  | |             const UNKNOWN_FLAGS = 0xfffe;
[INFO] [stderr] 10 | |         }
[INFO] [stderr] 11 | |     }
[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: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/parsers/multiboot2.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 68 |     (typ == TAG_ENDING && size == 8)
[INFO] [stderr]    |     ^                              ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 68 -     (typ == TAG_ENDING && size == 8)
[INFO] [stderr] 68 +     typ == TAG_ENDING && size == 8
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/parsers/multiboot2.rs:109:17
[INFO] [stderr]     |
[INFO] [stderr] 109 |                 ((read_more + 8) % 8)
[INFO] [stderr]     |                 ^                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 109 -                 ((read_more + 8) % 8)
[INFO] [stderr] 109 +                 (read_more + 8) % 8
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred
[INFO] [stderr]   --> src/main.rs:22:1
[INFO] [stderr]    |
[INFO] [stderr] 22 | / lazy_static! {
[INFO] [stderr] 23 | |     static ref INFO: Vec<parsers::Descriptor> = parsers::register();
[INFO] [stderr] 24 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `__lazy_static_create` (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/parsers/mod.rs:5:57
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 5 - pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<BootInfo>>;
[INFO] [stderr] 5 + pub type ParseBootInfo = fn(bytes::Bytes) -> Option<Box<dyn BootInfo>>;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parsers/mod.rs:14:58
[INFO] [stderr]    |
[INFO] [stderr] 14 |     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[INFO] [stderr]    |                                                          ^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 14 -     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<BootInfo>> {
[INFO] [stderr] 14 +     pub fn parse(&self, buf: bytes::Bytes) -> Option<Box<dyn BootInfo>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parsers/linux.rs:44:51
[INFO] [stderr]    |
[INFO] [stderr] 44 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 44 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr] 44 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parsers/multiboot1.rs:63:53
[INFO] [stderr]    |
[INFO] [stderr] 63 |     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 63 -     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr] 63 +     pub fn parse(buf: ::bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parsers/multiboot2.rs:74:51
[INFO] [stderr]    |
[INFO] [stderr] 74 |     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 74 -     pub fn parse(buf: bytes::Bytes) -> Option<Box<super::BootInfo>> {
[INFO] [stderr] 74 +     pub fn parse(buf: bytes::Bytes) -> Option<Box<dyn super::BootInfo>> {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/parsers/linux.rs:162:38
[INFO] [stderr]     |
[INFO] [stderr] 162 |         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 162 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr] 162 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parsers/multiboot1.rs:96:42
[INFO] [stderr]    |
[INFO] [stderr] 96 |             Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 96 -             Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr] 96 +             Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/parsers/multiboot2.rs:201:38
[INFO] [stderr]     |
[INFO] [stderr] 201 |         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 201 -         Some(Box::new(header) as Box<super::BootInfo>)
[INFO] [stderr] 201 +         Some(Box::new(header) as Box<dyn super::BootInfo>)
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:74:26
[INFO] [stderr]    |
[INFO] [stderr] 74 |     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 74 -     let headers: Vec<Box<parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stderr] 74 +     let headers: Vec<Box<dyn parsers::BootInfo>> = allowed_parsers.iter().filter_map(|info| {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `entry_addr` is never read
[INFO] [stderr]   --> src/parsers/multiboot1.rs:53:5
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub struct Header {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 53 |     entry_addr: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `bootinfo` (bin "bootinfo" test) generated 19 warnings (3 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bootinfo-65e100a17fdc0afa)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test parsers::linux::tests::parse_valid_linuxboot ... ok
[INFO] [stdout] test parsers::multiboot1::tests::parse_valid_multiboot1 ... ok
[INFO] [stdout] test parsers::multiboot2::tests::parse_valid_multiboot2 ... ok
[INFO] [stdout] test parsers::linux::tests::parse_invalid_multiboot2 - should panic ... ok
[INFO] [stdout] test parsers::linux::tests::parse_invalid_multiboot1 - should panic ... ok
[INFO] [stdout] test parsers::multiboot1::tests::parse_invalid_linuxboot - should panic ... ok
[INFO] [stdout] test parsers::multiboot2::tests::parse_invalid_linuxboot - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8bccf2d0c7bb4b254f522dfdebe80589ac61302abb3bf973817daecc5367f150", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bccf2d0c7bb4b254f522dfdebe80589ac61302abb3bf973817daecc5367f150", kill_on_drop: false }`
[INFO] [stdout] 8bccf2d0c7bb4b254f522dfdebe80589ac61302abb3bf973817daecc5367f150
