[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcreekmore%2Fbootinfo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcreekmore/bootinfo on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package [INFO] [stderr] Updating bootinfo v0.1.0 (/workspace/builds/worker-0-tc1/source) -> v0.2.1-pre [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iovec v0.1.1 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded bytes v0.4.6 [INFO] [stderr] Downloaded flate2 v1.0.1 [INFO] [stderr] Downloaded clap v2.29.2 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded cc v1.0.4 [INFO] [stderr] Downloaded winapi v0.3.3 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded derive-error-chain v0.11.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.3.2 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6502d38deb33d75b4c61d49f106f96646b8ce327234c799517ad2fccb62b0720 [INFO] running `Command { std: "docker" "start" "-a" "6502d38deb33d75b4c61d49f106f96646b8ce327234c799517ad2fccb62b0720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6502d38deb33d75b4c61d49f106f96646b8ce327234c799517ad2fccb62b0720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6502d38deb33d75b4c61d49f106f96646b8ce327234c799517ad2fccb62b0720", kill_on_drop: false }` [INFO] [stdout] 6502d38deb33d75b4c61d49f106f96646b8ce327234c799517ad2fccb62b0720 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54aa97a3118ab17e842fe09d335b4f88e1b406ea57e097c6208bc503ffabe284 [INFO] running `Command { std: "docker" "start" "-a" "54aa97a3118ab17e842fe09d335b4f88e1b406ea57e097c6208bc503ffabe284", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.2 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Compiling derive-error-chain v0.11.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking bootinfo v0.2.1-pre (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, BufMut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/linux.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, Buf, IntoBuf, LittleEndian}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/multiboot2.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, Buf, IntoBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, BufMut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/linux.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, Buf, IntoBuf, LittleEndian}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/parsers/multiboot2.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{self, Buf, IntoBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bytes; [INFO] [stdout] | ------------------- the item `bytes` is already imported here [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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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::register(); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub type ParseBootInfo = fn(bytes::Bytes) -> Option>; [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::register(); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (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>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub type ParseBootInfo = fn(bytes::Bytes) -> Option>; [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> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(&self, buf: bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse(buf: bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse(&self, buf: bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse(buf: bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse(buf: ::bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(buf: bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | pub fn parse(buf: ::bytes::Bytes) -> Option> { [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> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(buf: bytes::Bytes) -> Option> { [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | Some(Box::new(header) as Box) [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | Some(Box::new(header) as Box) [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | Some(Box::new(header) as Box) [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | Some(Box::new(header) as Box) [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | Some(Box::new(header) as Box) [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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | let headers: Vec> = allowed_parsers.iter().filter_map(|info| { [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) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | Some(Box::new(header) as Box) [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> = 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | let headers: Vec> = 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: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [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: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.93s [INFO] running `Command { std: "docker" "inspect" "54aa97a3118ab17e842fe09d335b4f88e1b406ea57e097c6208bc503ffabe284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54aa97a3118ab17e842fe09d335b4f88e1b406ea57e097c6208bc503ffabe284", kill_on_drop: false }` [INFO] [stdout] 54aa97a3118ab17e842fe09d335b4f88e1b406ea57e097c6208bc503ffabe284