[INFO] fetching crate rustep 0.1.2... [INFO] checking rustep-0.1.2 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate rustep 0.1.2 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate rustep 0.1.2 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustep 0.1.2 [INFO] finished tweaking crates.io crate rustep 0.1.2 [INFO] tweaked toml for crates.io crate rustep 0.1.2 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded bindgen v0.33.2 [INFO] [stderr] Downloaded syn v0.12.15 [INFO] [stderr] Downloaded enumflags_derive v0.4.1 [INFO] [stderr] Downloaded which v1.0.5 [INFO] [stderr] Downloaded enumflags v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06a77e83a1519e1c9590d065dc124a67a809d29e574f763578fc787b3771be8f [INFO] running `Command { std: "docker" "start" "-a" "06a77e83a1519e1c9590d065dc124a67a809d29e574f763578fc787b3771be8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a77e83a1519e1c9590d065dc124a67a809d29e574f763578fc787b3771be8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a77e83a1519e1c9590d065dc124a67a809d29e574f763578fc787b3771be8f", kill_on_drop: false }` [INFO] [stdout] 06a77e83a1519e1c9590d065dc124a67a809d29e574f763578fc787b3771be8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ba80afa05906f9ae1e571a035d7670a3305e260f654abe6e3390ecbd01d2184 [INFO] running `Command { std: "docker" "start" "-a" "5ba80afa05906f9ae1e571a035d7670a3305e260f654abe6e3390ecbd01d2184", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking enumflags v0.3.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking memchr v2.4.0 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling enumflags_derive v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rustep v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/format/elf.rs:1082:1 [INFO] [stdout] | [INFO] [stdout] 1082 | /// Elf class means to differ in arch, we must get that ahead to determine which type to be used. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/format/elf.rs:1299:1 [INFO] [stdout] | [INFO] [stdout] 1299 | /// Parses a single elf program table, 32-bit version [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/format/elf.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | TryInto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SegmentFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SegmentFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SectionFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (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/format/elf.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | fn shdr(&self) -> &ElfSectionHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | fn phdr(&self) -> &ElfSegmentHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:345:24 [INFO] [stdout] | [INFO] [stdout] 345 | fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:698:26 [INFO] [stdout] | [INFO] [stdout] 698 | fn header(&self) -> &ElfHeader; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:700:32 [INFO] [stdout] | [INFO] [stdout] 700 | fn segments(&self) -> Vec<&ElfSegment>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:702:32 [INFO] [stdout] | [INFO] [stdout] 702 | fn sections(&self) -> Vec<&ElfSection>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:704:46 [INFO] [stdout] | [INFO] [stdout] 704 | fn section(&self, name: &str) -> Option<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:733:26 [INFO] [stdout] | [INFO] [stdout] 733 | fn header(&self) -> &ElfHeader { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:737:32 [INFO] [stdout] | [INFO] [stdout] 737 | fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:740:29 [INFO] [stdout] | [INFO] [stdout] 740 | v.push(elem as &ElfSegment); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:746:32 [INFO] [stdout] | [INFO] [stdout] 746 | fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:749:29 [INFO] [stdout] | [INFO] [stdout] 749 | v.push(elem as &ElfSection); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:757:26 [INFO] [stdout] | [INFO] [stdout] 757 | fn header(&self) -> &ElfHeader { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:764:29 [INFO] [stdout] | [INFO] [stdout] 764 | v.push(elem as &ElfSegment); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:770:32 [INFO] [stdout] | [INFO] [stdout] 770 | fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:773:29 [INFO] [stdout] | [INFO] [stdout] 773 | v.push(elem as &ElfSection); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:780:46 [INFO] [stdout] | [INFO] [stdout] 780 | impl<'a> TryFrom<&'a Executable<'a>> for &'a ElfFormat { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:785:54 [INFO] [stdout] | [INFO] [stdout] 785 | fn try_from(value: &'a Executable) -> Result<&'a ElfFormat, Error> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:787:54 [INFO] [stdout] | [INFO] [stdout] 787 | Executable::Elf32(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:788:54 [INFO] [stdout] | [INFO] [stdout] 788 | Executable::Elf64(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/format/elf.rs:1082:1 [INFO] [stdout] | [INFO] [stdout] 1082 | /// Elf class means to differ in arch, we must get that ahead to determine which type to be used. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/format/elf.rs:1299:1 [INFO] [stdout] | [INFO] [stdout] 1299 | /// Parses a single elf program table, 32-bit version [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SegmentFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SegmentFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `SectionFlag` in this scope [INFO] [stdout] --> src/format/elf.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | #[derive(EnumFlags, Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: this error originates in the derive macro `EnumFlags` (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/format/elf.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | fn shdr(&self) -> &ElfSectionHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSectionHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | fn phdr(&self) -> &ElfSegmentHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:345:24 [INFO] [stdout] | [INFO] [stdout] 345 | fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ElfSegmentHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:698:26 [INFO] [stdout] | [INFO] [stdout] 698 | fn header(&self) -> &ElfHeader; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:700:32 [INFO] [stdout] | [INFO] [stdout] 700 | fn segments(&self) -> Vec<&ElfSegment>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:702:32 [INFO] [stdout] | [INFO] [stdout] 702 | fn sections(&self) -> Vec<&ElfSection>; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:704:46 [INFO] [stdout] | [INFO] [stdout] 704 | fn section(&self, name: &str) -> Option<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:733:26 [INFO] [stdout] | [INFO] [stdout] 733 | fn header(&self) -> &ElfHeader { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:737:32 [INFO] [stdout] | [INFO] [stdout] 737 | fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:740:29 [INFO] [stdout] | [INFO] [stdout] 740 | v.push(elem as &ElfSegment); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:746:32 [INFO] [stdout] | [INFO] [stdout] 746 | fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:749:29 [INFO] [stdout] | [INFO] [stdout] 749 | v.push(elem as &ElfSection); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:757:26 [INFO] [stdout] | [INFO] [stdout] 757 | fn header(&self) -> &ElfHeader { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfHeader` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:764:29 [INFO] [stdout] | [INFO] [stdout] 764 | v.push(elem as &ElfSegment); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSegment` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:770:32 [INFO] [stdout] | [INFO] [stdout] 770 | fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:773:29 [INFO] [stdout] | [INFO] [stdout] 773 | v.push(elem as &ElfSection); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ElfSection` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:780:46 [INFO] [stdout] | [INFO] [stdout] 780 | impl<'a> TryFrom<&'a Executable<'a>> for &'a ElfFormat { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:785:54 [INFO] [stdout] | [INFO] [stdout] 785 | fn try_from(value: &'a Executable) -> Result<&'a ElfFormat, Error> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:787:54 [INFO] [stdout] | [INFO] [stdout] 787 | Executable::Elf32(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:788:54 [INFO] [stdout] | [INFO] [stdout] 788 | Executable::Elf64(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:917:19 [INFO] [stdout] | [INFO] [stdout] 917 | let res: &ElfFormat = (&result).try_into().expect("unable to convert"); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:959:19 [INFO] [stdout] | [INFO] [stdout] 959 | let res: &ElfFormat = (&result).try_into().expect("unable to convert"); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/format/elf.rs:1036:19 [INFO] [stdout] | [INFO] [stdout] 1036 | let res: &ElfFormat = (&result).try_into().expect("unable to convert"); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn ElfFormat` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustep` due to 4 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5ba80afa05906f9ae1e571a035d7670a3305e260f654abe6e3390ecbd01d2184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba80afa05906f9ae1e571a035d7670a3305e260f654abe6e3390ecbd01d2184", kill_on_drop: false }` [INFO] [stdout] 5ba80afa05906f9ae1e571a035d7670a3305e260f654abe6e3390ecbd01d2184