[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 master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSchuette%2Felf" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielSchuette/elf on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-10/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 365e8dff10de35cf625add6c567dabdd72744f8ca8b89673250a9c74c6bf1ffd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "365e8dff10de35cf625add6c567dabdd72744f8ca8b89673250a9c74c6bf1ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "365e8dff10de35cf625add6c567dabdd72744f8ca8b89673250a9c74c6bf1ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "365e8dff10de35cf625add6c567dabdd72744f8ca8b89673250a9c74c6bf1ffd", kill_on_drop: false }` [INFO] [stdout] 365e8dff10de35cf625add6c567dabdd72744f8ca8b89673250a9c74c6bf1ffd [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af5df23b3cfa9b37d8355b866b693e69b28bb96245e330f3caebe2421b257c3d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "af5df23b3cfa9b37d8355b866b693e69b28bb96245e330f3caebe2421b257c3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking bitflags v1.0.4 [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 (/opt/rustwide/workdir) [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: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [INFO] [stdout] [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: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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: could not compile `elf` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "af5df23b3cfa9b37d8355b866b693e69b28bb96245e330f3caebe2421b257c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5df23b3cfa9b37d8355b866b693e69b28bb96245e330f3caebe2421b257c3d", kill_on_drop: false }` [INFO] [stdout] af5df23b3cfa9b37d8355b866b693e69b28bb96245e330f3caebe2421b257c3d