[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] checking jcreekmore/bootinfo against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcreekmore%2Fbootinfo" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcreekmore/bootinfo on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-14/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f8135f3f27a01c9e14ca420f6d0ee1a7344a10a6645142e639294f3d16381133 [INFO] running `Command { std: "docker" "start" "-a" "f8135f3f27a01c9e14ca420f6d0ee1a7344a10a6645142e639294f3d16381133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8135f3f27a01c9e14ca420f6d0ee1a7344a10a6645142e639294f3d16381133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8135f3f27a01c9e14ca420f6d0ee1a7344a10a6645142e639294f3d16381133", kill_on_drop: false }` [INFO] [stdout] f8135f3f27a01c9e14ca420f6d0ee1a7344a10a6645142e639294f3d16381133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b04641685122fea17b77d6bbfd517971c40e67a7cd542ecb366ed277afabc1b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b04641685122fea17b77d6bbfd517971c40e67a7cd542ecb366ed277afabc1b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking backtrace-sys v0.1.16 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking clap v2.29.2 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Compiling derive-error-chain v0.11.0 [INFO] [stderr] Checking bootinfo v0.2.1-pre (/opt/rustwide/workdir) [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>; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn BootInfo` [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 issue #80165 [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> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn BootInfo` [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 issue #80165 [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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>; [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn BootInfo` [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 issue #80165 [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn BootInfo` [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 issue #80165 [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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: `#[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: `#[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: 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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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/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: 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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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> = allowed_parsers.iter().filter_map(|info| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn parsers::BootInfo` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::BootInfo` [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 issue #80165 [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> = allowed_parsers.iter().filter_map(|info| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn parsers::BootInfo` [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 issue #80165 [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::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: 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::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: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/linux.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if buf.remaining() < 0x1f2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/linux.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if buf.remaining() < ((setup_sects as usize * 512) - 0x1f2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/linux.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if buf.remaining() < 0x1f2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/linux.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if buf.remaining() < ((setup_sects as usize * 512) - 0x1f2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot1.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | while buf.remaining() > ::std::mem::size_of::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot1.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | if buf.remaining() < (::std::mem::size_of::() * 11) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot1.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | while buf.remaining() > ::std::mem::size_of::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot1.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | if buf.remaining() < (::std::mem::size_of::() * 11) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | while buf.remaining() > size_of::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if buf.remaining() < (size_of::() * 3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | if buf.remaining() < (header_length as usize - (size_of::() * 4)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | while buf.remaining() > size_of::() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if buf.remaining() < (size_of::() * 3) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/parsers/multiboot2.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | if buf.remaining() < (header_length as usize - (size_of::() * 4)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `remaining(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(cursor_remaining)]` to the crate attributes to enable `std::io::Cursor::::remaining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.39s [INFO] running `Command { std: "docker" "inspect" "2b04641685122fea17b77d6bbfd517971c40e67a7cd542ecb366ed277afabc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b04641685122fea17b77d6bbfd517971c40e67a7cd542ecb366ed277afabc1b", kill_on_drop: false }` [INFO] [stdout] 2b04641685122fea17b77d6bbfd517971c40e67a7cd542ecb366ed277afabc1b