[INFO] cloning repository https://github.com/amirrezaask/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amirrezaask/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famirrezaask%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famirrezaask%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed7978c7d9190398291bc89584883fc6e7aaab1f [INFO] checking amirrezaask/advent-of-code-2022/ed7978c7d9190398291bc89584883fc6e7aaab1f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famirrezaask%2Fadvent-of-code-2022" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amirrezaask/advent-of-code-2022 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amirrezaask/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/amirrezaask/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/amirrezaask/advent-of-code-2022 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/amirrezaask/advent-of-code-2022 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 954356f4fe00dce1167b9f7ca4bdbe92d6b37a97ece57b9263b55b2e96e1ba0c [INFO] running `Command { std: "docker" "start" "-a" "954356f4fe00dce1167b9f7ca4bdbe92d6b37a97ece57b9263b55b2e96e1ba0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "954356f4fe00dce1167b9f7ca4bdbe92d6b37a97ece57b9263b55b2e96e1ba0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "954356f4fe00dce1167b9f7ca4bdbe92d6b37a97ece57b9263b55b2e96e1ba0c", kill_on_drop: false }` [INFO] [stdout] 954356f4fe00dce1167b9f7ca4bdbe92d6b37a97ece57b9263b55b2e96e1ba0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e343fc2177b5d3a3ba23f71061c572a8573ab537f94505156bfe8a07b3b546d5 [INFO] running `Command { std: "docker" "start" "-a" "e343fc2177b5d3a3ba23f71061c572a8573ab537f94505156bfe8a07b3b546d5", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/bin/day2.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let s2 = Part2Strategy { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/bin/day2.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let s2 = Part2Strategy { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/day7.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | for (k,v) in &sizes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_numeric` is never used [INFO] [stdout] --> src/bin/day7.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_numeric(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/bin/day7.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day7.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | Dir { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 30 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day7.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | File { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/bin/day7.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | for (k,v) in &sizes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_numeric` is never used [INFO] [stdout] --> src/bin/day7.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_numeric(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Output` is never used [INFO] [stdout] --> src/bin/day7.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day7.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | Dir { [INFO] [stdout] | --- field in this variant [INFO] [stdout] 30 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bin/day7.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | File { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 34 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "e343fc2177b5d3a3ba23f71061c572a8573ab537f94505156bfe8a07b3b546d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e343fc2177b5d3a3ba23f71061c572a8573ab537f94505156bfe8a07b3b546d5", kill_on_drop: false }` [INFO] [stdout] e343fc2177b5d3a3ba23f71061c572a8573ab537f94505156bfe8a07b3b546d5