[INFO] cloning repository https://github.com/maxdavidson/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxdavidson/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f89bde6770b29ee63b1d994dded48bca673f34d [INFO] building maxdavidson/advent-of-code-2020 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2020" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxdavidson/advent-of-code-2020 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/maxdavidson/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/maxdavidson/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/maxdavidson/advent-of-code-2020 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maxdavidson/advent-of-code-2020 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pcre2 v0.2.3 [INFO] [stderr] Downloaded pcre2-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86901be6cee5a76387f53ff7be5974e1ff13118a2a4bd702179693339b99f657 [INFO] running `Command { std: "docker" "start" "-a" "86901be6cee5a76387f53ff7be5974e1ff13118a2a4bd702179693339b99f657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86901be6cee5a76387f53ff7be5974e1ff13118a2a4bd702179693339b99f657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86901be6cee5a76387f53ff7be5974e1ff13118a2a4bd702179693339b99f657", kill_on_drop: false }` [INFO] [stdout] 86901be6cee5a76387f53ff7be5974e1ff13118a2a4bd702179693339b99f657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5986e9de55b705296954b0a98c6d213f3eb2b890d8fde0b51916828c0eae0443 [INFO] running `Command { std: "docker" "start" "-a" "5986e9de55b705296954b0a98c6d213f3eb2b890d8fde0b51916828c0eae0443", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Compiling pcre2 v0.2.3 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(std::num::ParseIntError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn part1(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part1` [INFO] [stdout] ... [INFO] [stdout] 38 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn part2(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part2` [INFO] [stdout] ... [INFO] [stdout] 61 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.20s [INFO] running `Command { std: "docker" "inspect" "5986e9de55b705296954b0a98c6d213f3eb2b890d8fde0b51916828c0eae0443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5986e9de55b705296954b0a98c6d213f3eb2b890d8fde0b51916828c0eae0443", kill_on_drop: false }` [INFO] [stdout] 5986e9de55b705296954b0a98c6d213f3eb2b890d8fde0b51916828c0eae0443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433b5565e223e9208e8435599a5f6c2defa1e0b0f820df5f6f6ed9ddcece81f9 [INFO] running `Command { std: "docker" "start" "-a" "433b5565e223e9208e8435599a5f6c2defa1e0b0f820df5f6f6ed9ddcece81f9", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(std::num::ParseIntError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn part1(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part1` [INFO] [stdout] ... [INFO] [stdout] 38 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn part2(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part2` [INFO] [stdout] ... [INFO] [stdout] 61 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | InvalidOpcode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day08/mod.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(std::num::ParseIntError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstructionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | InvalidValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn part1(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part1` [INFO] [stdout] ... [INFO] [stdout] 38 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/day07/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn part2(input: &str) -> usize { [INFO] [stdout] | ---------------------------------- move the `impl` block outside of this function `part2` [INFO] [stdout] ... [INFO] [stdout] 61 | impl<'a> Data<'a> { [INFO] [stdout] | ^^^^^^^^^----^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Data` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "433b5565e223e9208e8435599a5f6c2defa1e0b0f820df5f6f6ed9ddcece81f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433b5565e223e9208e8435599a5f6c2defa1e0b0f820df5f6f6ed9ddcece81f9", kill_on_drop: false }` [INFO] [stdout] 433b5565e223e9208e8435599a5f6c2defa1e0b0f820df5f6f6ed9ddcece81f9