[INFO] fetching crate goblin 0.7.1... [INFO] checking goblin-0.7.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate goblin 0.7.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate goblin 0.7.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate goblin 0.7.1 [INFO] finished tweaking crates.io crate goblin 0.7.1 [INFO] tweaked toml for crates.io crate goblin 0.7.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate goblin 0.7.1 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded scroll_derive v0.11.0 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896315ed5b3481274bd4538b2e9ea7daaa25b884862615086bf3c1ad8bf3c557 [INFO] running `Command { std: "docker" "start" "-a" "896315ed5b3481274bd4538b2e9ea7daaa25b884862615086bf3c1ad8bf3c557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896315ed5b3481274bd4538b2e9ea7daaa25b884862615086bf3c1ad8bf3c557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896315ed5b3481274bd4538b2e9ea7daaa25b884862615086bf3c1ad8bf3c557", kill_on_drop: false }` [INFO] [stdout] 896315ed5b3481274bd4538b2e9ea7daaa25b884862615086bf3c1ad8bf3c557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e5762d44b3d6f92189308418f93af5c2f2df634f9cc95cce1873bb437bb8381 [INFO] running `Command { std: "docker" "start" "-a" "7e5762d44b3d6f92189308418f93af5c2f2df634f9cc95cce1873bb437bb8381", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking goblin v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/elf/../../etc/crt1.rs: No such file or directory (os error 2) [INFO] [stdout] --> src/elf/header.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | include!("../../etc/crt1.rs") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | elf_header_test!(ELFCLASS); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include` which comes from the expansion of the macro `elf_header_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `goblin` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/elf/reloc.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub use crate::elf::reloc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/elf/reloc.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub use crate::elf::reloc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/mach/exports.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/exports.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/imports.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mach/load_command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/mach/segment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/segment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/certificate_table.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/certificate_table.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/pe/exception.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | use scroll::{self, Pread, Pwrite}; [INFO] [stdout] | ^^^^ the item `scroll` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/export.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/import.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/pe/section_table.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/section_table.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/symbol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/archive/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e5762d44b3d6f92189308418f93af5c2f2df634f9cc95cce1873bb437bb8381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5762d44b3d6f92189308418f93af5c2f2df634f9cc95cce1873bb437bb8381", kill_on_drop: false }` [INFO] [stdout] 7e5762d44b3d6f92189308418f93af5c2f2df634f9cc95cce1873bb437bb8381 [INFO] checking goblin-0.7.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate goblin 0.7.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate goblin 0.7.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate goblin 0.7.1 [INFO] finished tweaking crates.io crate goblin 0.7.1 [INFO] tweaked toml for crates.io crate goblin 0.7.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate goblin 0.7.1 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0e15ff0a01cee3d6180eb3a3502ea0dda1230ff041480b122f119fcf6739e2 [INFO] running `Command { std: "docker" "start" "-a" "1e0e15ff0a01cee3d6180eb3a3502ea0dda1230ff041480b122f119fcf6739e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0e15ff0a01cee3d6180eb3a3502ea0dda1230ff041480b122f119fcf6739e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0e15ff0a01cee3d6180eb3a3502ea0dda1230ff041480b122f119fcf6739e2", kill_on_drop: false }` [INFO] [stdout] 1e0e15ff0a01cee3d6180eb3a3502ea0dda1230ff041480b122f119fcf6739e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128df425a56b63305dff0b1095fe4bf1aa10c2b65ec992bb58467ee9f1fc54ca [INFO] running `Command { std: "docker" "start" "-a" "128df425a56b63305dff0b1095fe4bf1aa10c2b65ec992bb58467ee9f1fc54ca", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking goblin v0.7.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `goblin` (lib test) due to 2 previous errors [INFO] [stdout] error: couldn't read src/elf/../../etc/crt1.rs: No such file or directory (os error 2) [INFO] [stdout] --> src/elf/header.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | include!("../../etc/crt1.rs") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | elf_header_test!(ELFCLASS); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include` which comes from the expansion of the macro `elf_header_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/elf/reloc.rs (4 fixes) [INFO] [stderr] Fixed src/elf/gnu_hash.rs (2 fixes) [INFO] [stderr] Fixed src/strtab.rs (1 fix) [INFO] [stderr] Fixed src/elf/dynamic.rs (6 fixes) [INFO] [stderr] Fixed src/elf/program_header.rs (2 fixes) [INFO] [stderr] Fixed src/elf/sym.rs (2 fixes) [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/elf/reloc.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub use crate::elf::reloc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the name `Reloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/elf/reloc.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | pub use crate::elf::reloc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/elf/reloc.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::elf::reloc::Reloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/mach/exports.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use alloc::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/exports.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/imports.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/mach/load_command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/mach/segment.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/mach/segment.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/certificate_table.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/certificate_table.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/pe/exception.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | use scroll::{self, Pread, Pwrite}; [INFO] [stdout] | ^^^^ the item `scroll` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/export.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/import.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/pe/section_table.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/section_table.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::string::{String, ToString}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/pe/symbol.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/pe/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/archive/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/program_header.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | ) -> &'a [ProgramHeader] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 395 | elf_program_header_std_impl!(u32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `elf_program_header_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/program_header.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | ) -> &'a [ProgramHeader] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 429 | elf_program_header_std_impl!(u64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_program_header_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/sym.rs:242:83 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn from_raw<'a>(symp: *const Sym, count: usize) -> &'a [Sym] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 297 | elf_sym_std_impl!(u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_sym_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/sym.rs:242:83 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn from_raw<'a>(symp: *const Sym, count: usize) -> &'a [Sym] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 327 | elf_sym_std_impl!(u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_sym_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:543:82 [INFO] [stdout] | [INFO] [stdout] 543 | pub unsafe fn from_raw<'a>(bias: usize, vaddr: usize) -> &'a [Dyn] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:555:88 [INFO] [stdout] | [INFO] [stdout] 555 | pub unsafe fn from_phdrs(bias: usize, phdrs: &[$phdr]) -> Option<&[Dyn]> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:566:115 [INFO] [stdout] | [INFO] [stdout] 566 | pub unsafe fn get_needed<'a>(dyns: &[Dyn], strtab: *const Strtab<'a>, count: usize) -> Vec<&'a str> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 788 | elf_dyn_std_impl!(u32, crate::elf32::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:543:82 [INFO] [stdout] | [INFO] [stdout] 543 | pub unsafe fn from_raw<'a>(bias: usize, vaddr: usize) -> &'a [Dyn] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:555:88 [INFO] [stdout] | [INFO] [stdout] 555 | pub unsafe fn from_phdrs(bias: usize, phdrs: &[$phdr]) -> Option<&[Dyn]> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/dynamic.rs:566:115 [INFO] [stdout] | [INFO] [stdout] 566 | pub unsafe fn get_needed<'a>(dyns: &[Dyn], strtab: *const Strtab<'a>, count: usize) -> Vec<&'a str> { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 802 | elf_dyn_std_impl!(u64, crate::elf64::program_header::ProgramHeader); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_dyn_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/reloc.rs:193:92 [INFO] [stdout] | [INFO] [stdout] 193 | pub unsafe fn from_raw_rela<'a>(ptr: *const Rela, size: usize) -> &'a [Rela] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/reloc.rs:203:89 [INFO] [stdout] | [INFO] [stdout] 203 | pub unsafe fn from_raw_rel<'a>(ptr: *const Rel, size: usize) -> &'a [Rel] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 245 | elf_rela_std_impl!(u32, i32); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/reloc.rs:193:92 [INFO] [stdout] | [INFO] [stdout] 193 | pub unsafe fn from_raw_rela<'a>(ptr: *const Rela, size: usize) -> &'a [Rela] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/reloc.rs:203:89 [INFO] [stdout] | [INFO] [stdout] 203 | pub unsafe fn from_raw_rel<'a>(ptr: *const Rel, size: usize) -> &'a [Rel] { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 271 | elf_rela_std_impl!(u64, i64); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_rela_std_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/gnu_hash.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | elf_gnu_hash_impl!(u32); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_gnu_hash_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/elf/gnu_hash.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | ) -> Result { unsafe { unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | elf_gnu_hash_impl!(u64); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `elf_gnu_hash_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "128df425a56b63305dff0b1095fe4bf1aa10c2b65ec992bb58467ee9f1fc54ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128df425a56b63305dff0b1095fe4bf1aa10c2b65ec992bb58467ee9f1fc54ca", kill_on_drop: false }` [INFO] [stdout] 128df425a56b63305dff0b1095fe4bf1aa10c2b65ec992bb58467ee9f1fc54ca