[INFO] fetching crate rustep 0.1.2... [INFO] testing rustep-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rustep 0.1.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rustep 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 which v1.0.5 [INFO] [stderr] Downloaded clang-sys v0.22.0 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [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 enumflags v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4095065bf0bbeed01374ac9cf6bd39921498457ad5b304c5751fa431fc9ad3 [INFO] running `Command { std: "docker" "start" "-a" "8a4095065bf0bbeed01374ac9cf6bd39921498457ad5b304c5751fa431fc9ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4095065bf0bbeed01374ac9cf6bd39921498457ad5b304c5751fa431fc9ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4095065bf0bbeed01374ac9cf6bd39921498457ad5b304c5751fa431fc9ad3", kill_on_drop: false }` [INFO] [stdout] 8a4095065bf0bbeed01374ac9cf6bd39921498457ad5b304c5751fa431fc9ad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d275cf4a32e3fd3eb47dbc2eea5df5b7be9b04ea22ea751a4677ea2ffb1c507 [INFO] running `Command { std: "docker" "start" "-a" "8d275cf4a32e3fd3eb47dbc2eea5df5b7be9b04ea22ea751a4677ea2ffb1c507", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling enumflags v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling enumflags_derive v0.4.1 [INFO] [stderr] Compiling 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: 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] warning: 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: `#[warn(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 warning originates in the derive macro `EnumFlags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 warning 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/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Fail> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 780 - impl<'a> TryFrom<&'a Executable<'a>> for &'a ElfFormat { [INFO] [stdout] 780 + impl<'a> TryFrom<&'a Executable<'a>> for &'a dyn ElfFormat { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn shdr(&self) -> &ElfSectionHeader; [INFO] [stdout] 183 + fn shdr(&self) -> &dyn ElfSectionHeader; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - fn phdr(&self) -> &ElfSegmentHeader; [INFO] [stdout] 317 + fn phdr(&self) -> &dyn ElfSegmentHeader; [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 698 - fn header(&self) -> &ElfHeader; [INFO] [stdout] 698 + fn header(&self) -> &dyn ElfHeader; [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 700 - fn segments(&self) -> Vec<&ElfSegment>; [INFO] [stdout] 700 + fn segments(&self) -> Vec<&dyn ElfSegment>; [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 702 - fn sections(&self) -> Vec<&ElfSection>; [INFO] [stdout] 702 + fn sections(&self) -> Vec<&dyn ElfSection>; [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 704 - fn section(&self, name: &str) -> Option<&ElfSection> { [INFO] [stdout] 704 + fn section(&self, name: &str) -> Option<&dyn ElfSection> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 - fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] 215 + fn shdr(&self) -> &dyn ElfSectionHeader { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 - fn shdr(&self) -> &ElfSectionHeader { [INFO] [stdout] 237 + fn shdr(&self) -> &dyn ElfSectionHeader { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 345 - fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] 345 + fn phdr(&self) -> &dyn ElfSegmentHeader { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 - fn phdr(&self) -> &ElfSegmentHeader { [INFO] [stdout] 363 + fn phdr(&self) -> &dyn ElfSegmentHeader { [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 733 - fn header(&self) -> &ElfHeader { [INFO] [stdout] 733 + fn header(&self) -> &dyn ElfHeader { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 737 - fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] 737 + fn segments(&self) -> Vec<&dyn ElfSegment> { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 746 - fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] 746 + fn sections(&self) -> Vec<&dyn ElfSection> { [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 757 - fn header(&self) -> &ElfHeader { [INFO] [stdout] 757 + fn header(&self) -> &dyn ElfHeader { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 761 - fn segments(&self) -> Vec<&ElfSegment> { [INFO] [stdout] 761 + fn segments(&self) -> Vec<&dyn ElfSegment> { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 770 - fn sections(&self) -> Vec<&ElfSection> { [INFO] [stdout] 770 + fn sections(&self) -> Vec<&dyn ElfSection> { [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 785 - fn try_from(value: &'a Executable) -> Result<&'a ElfFormat, Error> { [INFO] [stdout] 785 + fn try_from(value: &'a Executable) -> Result<&'a dyn ElfFormat, Error> { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 - v.push(elem as &ElfSegment); [INFO] [stdout] 740 + v.push(elem as &dyn ElfSegment); [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 749 - v.push(elem as &ElfSection); [INFO] [stdout] 749 + v.push(elem as &dyn ElfSection); [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 764 - v.push(elem as &ElfSegment); [INFO] [stdout] 764 + v.push(elem as &dyn ElfSegment); [INFO] [stdout] | [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] | ^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 773 - v.push(elem as &ElfSection); [INFO] [stdout] 773 + v.push(elem as &dyn ElfSection); [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 787 - Executable::Elf32(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] 787 + Executable::Elf32(ref elf) => Ok(elf as &dyn ElfFormat), [INFO] [stdout] | [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] | ^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 788 - Executable::Elf64(ref elf) => Ok(elf as &ElfFormat), [INFO] [stdout] 788 + Executable::Elf64(ref elf) => Ok(elf as &dyn ElfFormat), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/format/elf.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | _ => Err(RustepErrorKind::NotElf)?, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/format/elf.rs:869:25 [INFO] [stdout] | [INFO] [stdout] 869 | let mut new_name = String::from_utf8(name_bytes.to_vec())?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 888 | / define_elf_parser!{ [INFO] [stdout] 889 | | parse_elf32, [INFO] [stdout] 890 | | parse_elf_header32, [INFO] [stdout] 891 | | parse_elf_section_header32, [INFO] [stdout] ... | [INFO] [stdout] 895 | | Elf32 [INFO] [stdout] 896 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_elf_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/format/elf.rs:869:25 [INFO] [stdout] | [INFO] [stdout] 869 | let mut new_name = String::from_utf8(name_bytes.to_vec())?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 897 | / define_elf_parser!{ [INFO] [stdout] 898 | | parse_elf64, [INFO] [stdout] 899 | | parse_elf_header64, [INFO] [stdout] 900 | | parse_elf_section_header64, [INFO] [stdout] ... | [INFO] [stdout] 904 | | Elf64 [INFO] [stdout] 905 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_elf_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/format/elf.rs:870:21 [INFO] [stdout] | [INFO] [stdout] 870 | mem::replace(&mut s.name, new_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 888 | / define_elf_parser!{ [INFO] [stdout] 889 | | parse_elf32, [INFO] [stdout] 890 | | parse_elf_header32, [INFO] [stdout] 891 | | parse_elf_section_header32, [INFO] [stdout] ... | [INFO] [stdout] 895 | | Elf32 [INFO] [stdout] 896 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `define_elf_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/format/elf.rs:870:21 [INFO] [stdout] | [INFO] [stdout] 870 | mem::replace(&mut s.name, new_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 897 | / define_elf_parser!{ [INFO] [stdout] 898 | | parse_elf64, [INFO] [stdout] 899 | | parse_elf_header64, [INFO] [stdout] 900 | | parse_elf_section_header64, [INFO] [stdout] ... | [INFO] [stdout] 904 | | Elf64 [INFO] [stdout] 905 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the macro `define_elf_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustep` due to 2 previous errors; 99 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d275cf4a32e3fd3eb47dbc2eea5df5b7be9b04ea22ea751a4677ea2ffb1c507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d275cf4a32e3fd3eb47dbc2eea5df5b7be9b04ea22ea751a4677ea2ffb1c507", kill_on_drop: false }` [INFO] [stdout] 8d275cf4a32e3fd3eb47dbc2eea5df5b7be9b04ea22ea751a4677ea2ffb1c507