[INFO] cloning repository https://github.com/Mallig/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/Mallig/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMallig%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMallig%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27889bb9ca6c8080172bef594543c49e52fc524c [INFO] building Mallig/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%2FMallig%2Fadvent-of-code-2020" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mallig/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] started tweaking git repo https://github.com/Mallig/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/Mallig/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/Mallig/advent-of-code-2020 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mallig/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6c7c5e7e3897344057eb8c3fb359ed6082d90721efb4d5350ddd523bb740a7b3 [INFO] running `Command { std: "docker" "start" "-a" "6c7c5e7e3897344057eb8c3fb359ed6082d90721efb4d5350ddd523bb740a7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7c5e7e3897344057eb8c3fb359ed6082d90721efb4d5350ddd523bb740a7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7c5e7e3897344057eb8c3fb359ed6082d90721efb4d5350ddd523bb740a7b3", kill_on_drop: false }` [INFO] [stdout] 6c7c5e7e3897344057eb8c3fb359ed6082d90721efb4d5350ddd523bb740a7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cabf4cde9018ed6357508b706e457eb30811c29c01866207d4da997c96654dc1 [INFO] running `Command { std: "docker" "start" "-a" "cabf4cde9018ed6357508b706e457eb30811c29c01866207d4da997c96654dc1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `day_1` is never used [INFO] [stdout] --> src/input_formatter.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day_1() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_2` is never used [INFO] [stdout] --> src/input_formatter.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn day_2() -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_3` is never used [INFO] [stdout] --> src/input_formatter.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn day_3() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_4` is never used [INFO] [stdout] --> src/input_formatter.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn day_4() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve(numbers: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_2.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve(passwords: Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_3.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve(trees: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_4.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve(documents: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/day_4.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_value(doc: String, code: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `missing_value` is never used [INFO] [stdout] --> src/day_4.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn missing_value(doc: &Document) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_doc` is never used [INFO] [stdout] --> src/day_4.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn validate_doc(doc: Document) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_height` is never used [INFO] [stdout] --> src/day_4.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn validate_height(hgt: i32, hgt_unit: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row`, `col`, and `string` are never read [INFO] [stdout] --> src/day_5.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Seat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 34 | row: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | col: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | id: i32, [INFO] [stdout] 37 | string: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "cabf4cde9018ed6357508b706e457eb30811c29c01866207d4da997c96654dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabf4cde9018ed6357508b706e457eb30811c29c01866207d4da997c96654dc1", kill_on_drop: false }` [INFO] [stdout] cabf4cde9018ed6357508b706e457eb30811c29c01866207d4da997c96654dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e7b8336baccf9e4f00e8626a5c0e21fb823e0b36978743bfd28aa110b601ef5c [INFO] running `Command { std: "docker" "start" "-a" "e7b8336baccf9e4f00e8626a5c0e21fb823e0b36978743bfd28aa110b601ef5c", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `day_1` is never used [INFO] [stdout] --> src/input_formatter.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn day_1() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_2` is never used [INFO] [stdout] --> src/input_formatter.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn day_2() -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_3` is never used [INFO] [stdout] --> src/input_formatter.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn day_3() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_4` is never used [INFO] [stdout] --> src/input_formatter.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn day_4() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_1.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn solve(numbers: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_2.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve(passwords: Vec>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_3.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn solve(trees: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/day_4.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn solve(documents: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_value` is never used [INFO] [stdout] --> src/day_4.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_value(doc: String, code: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `missing_value` is never used [INFO] [stdout] --> src/day_4.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn missing_value(doc: &Document) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_doc` is never used [INFO] [stdout] --> src/day_4.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn validate_doc(doc: Document) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_height` is never used [INFO] [stdout] --> src/day_4.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn validate_height(hgt: i32, hgt_unit: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row`, `col`, and `string` are never read [INFO] [stdout] --> src/day_5.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Seat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 34 | row: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | col: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | id: i32, [INFO] [stdout] 37 | string: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "e7b8336baccf9e4f00e8626a5c0e21fb823e0b36978743bfd28aa110b601ef5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b8336baccf9e4f00e8626a5c0e21fb823e0b36978743bfd28aa110b601ef5c", kill_on_drop: false }` [INFO] [stdout] e7b8336baccf9e4f00e8626a5c0e21fb823e0b36978743bfd28aa110b601ef5c