[INFO] cloning repository https://github.com/DanielSchuette/elf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielSchuette/elf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSchuette%2Felf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSchuette%2Felf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1dba919b8a437c614524030e9c45ca48ee47954 [INFO] checking DanielSchuette/elf against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSchuette%2Felf" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielSchuette/elf on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielSchuette/elf [INFO] finished tweaking git repo https://github.com/DanielSchuette/elf [INFO] tweaked toml for git repo https://github.com/DanielSchuette/elf written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/DanielSchuette/elf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a386ccd7412fe08452cac9982dd32879970312499dac91d5088a88e75c7add59 [INFO] running `Command { std: "docker" "start" "-a" "a386ccd7412fe08452cac9982dd32879970312499dac91d5088a88e75c7add59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a386ccd7412fe08452cac9982dd32879970312499dac91d5088a88e75c7add59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a386ccd7412fe08452cac9982dd32879970312499dac91d5088a88e75c7add59", kill_on_drop: false }` [INFO] [stdout] a386ccd7412fe08452cac9982dd32879970312499dac91d5088a88e75c7add59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3e23a8cd5db7c86be385b2ed109cd220bfe026de20564d102c89c3a846db884 [INFO] running `Command { std: "docker" "start" "-a" "a3e23a8cd5db7c86be385b2ed109cd220bfe026de20564d102c89c3a846db884", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.50: default, use_std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking elf v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0412]: cannot find type `SecHeader` in this scope [INFO] [stdout] --> src/parser/mod.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct ElfHeader { [INFO] [stdout] | -------------------- similarly named struct `ElfHeader` defined here [INFO] [stdout] ... [INFO] [stdout] 550 | -> SecHeader { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `ElfHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | 0x60000000...0x6FFFFFFF => parser::ProgSegmentType::OSReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | 0x70000000...0x7FFFFFFF => parser::ProgSegmentType::CPUReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | 0x60000000...0x6FFFFFFF => parser::ProgSegmentType::OSReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | 0x70000000...0x7FFFFFFF => parser::ProgSegmentType::CPUReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elf` due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecHeader` in this scope [INFO] [stdout] --> src/parser/mod.rs:550:26 [INFO] [stdout] | [INFO] [stdout] 283 | pub struct ElfHeader { [INFO] [stdout] | -------------------- similarly named struct `ElfHeader` defined here [INFO] [stdout] ... [INFO] [stdout] 550 | -> SecHeader { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `ElfHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | 0x60000000...0x6FFFFFFF => parser::ProgSegmentType::OSReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn ellipsis-inclusive-range-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | 0x70000000...0x7FFFFFFF => parser::ProgSegmentType::CPUReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | 0x60000000...0x6FFFFFFF => parser::ProgSegmentType::OSReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/prog_header.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | 0x70000000...0x7FFFFFFF => parser::ProgSegmentType::CPUReserved, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [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" "a3e23a8cd5db7c86be385b2ed109cd220bfe026de20564d102c89c3a846db884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3e23a8cd5db7c86be385b2ed109cd220bfe026de20564d102c89c3a846db884", kill_on_drop: false }` [INFO] [stdout] a3e23a8cd5db7c86be385b2ed109cd220bfe026de20564d102c89c3a846db884