[INFO] cloning repository https://github.com/fearofcode/advent_of_code2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fearofcode/advent_of_code2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearofcode%2Fadvent_of_code2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearofcode%2Fadvent_of_code2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 361eb621b4c3f35467e3897942460a17734da7bd [INFO] testing fearofcode/advent_of_code2020 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffearofcode%2Fadvent_of_code2020" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fearofcode/advent_of_code2020 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fearofcode/advent_of_code2020 [INFO] finished tweaking git repo https://github.com/fearofcode/advent_of_code2020 [INFO] tweaked toml for git repo https://github.com/fearofcode/advent_of_code2020 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/fearofcode/advent_of_code2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b80db8c1063a4566dfd2372a43c2c69c153d8b633c9b13f9c9abb7d2c704ae2a [INFO] running `Command { std: "docker" "start" "-a" "b80db8c1063a4566dfd2372a43c2c69c153d8b633c9b13f9c9abb7d2c704ae2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b80db8c1063a4566dfd2372a43c2c69c153d8b633c9b13f9c9abb7d2c704ae2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80db8c1063a4566dfd2372a43c2c69c153d8b633c9b13f9c9abb7d2c704ae2a", kill_on_drop: false }` [INFO] [stdout] b80db8c1063a4566dfd2372a43c2c69c153d8b633c9b13f9c9abb7d2c704ae2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c76fea5d6ed8db699e4890dfb667a1f2331ccc576511ebfb604ad629520389d [INFO] running `Command { std: "docker" "start" "-a" "6c76fea5d6ed8db699e4890dfb667a1f2331ccc576511ebfb604ad629520389d", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day1` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day2` [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Square` [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tree` [INFO] [stdout] --> src/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trees_encountered` [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn trees_encountered(right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4part1` [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn day4part1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "6c76fea5d6ed8db699e4890dfb667a1f2331ccc576511ebfb604ad629520389d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c76fea5d6ed8db699e4890dfb667a1f2331ccc576511ebfb604ad629520389d", kill_on_drop: false }` [INFO] [stdout] 6c76fea5d6ed8db699e4890dfb667a1f2331ccc576511ebfb604ad629520389d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 333ee187f339b972149b93af69440cd32191944b1d930eb6320c2471ca9b4fe4 [INFO] running `Command { std: "docker" "start" "-a" "333ee187f339b972149b93af69440cd32191944b1d930eb6320c2471ca9b4fe4", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day1` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn day1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day2` [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn day2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Square` [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | Square, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tree` [INFO] [stdout] --> src/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trees_encountered` [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn trees_encountered(right: usize, down: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day3` [INFO] [stdout] --> src/main.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn day3() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `day4part1` [INFO] [stdout] --> src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn day4part1() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "333ee187f339b972149b93af69440cd32191944b1d930eb6320c2471ca9b4fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333ee187f339b972149b93af69440cd32191944b1d930eb6320c2471ca9b4fe4", kill_on_drop: false }` [INFO] [stdout] 333ee187f339b972149b93af69440cd32191944b1d930eb6320c2471ca9b4fe4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3915794494ac4905b95ae5b9072cb118326685d407cc4c6143fb0a6a39402be [INFO] running `Command { std: "docker" "start" "-a" "a3915794494ac4905b95ae5b9072cb118326685d407cc4c6143fb0a6a39402be", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day1` [INFO] [stderr] --> src/main.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn day1() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day2` [INFO] [stderr] --> src/main.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | fn day2() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Square` [INFO] [stderr] --> src/main.rs:130:5 [INFO] [stderr] | [INFO] [stderr] 130 | Square, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Tree` [INFO] [stderr] --> src/main.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | Tree, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MapCell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | #[derive(Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `trees_encountered` [INFO] [stderr] --> src/main.rs:134:4 [INFO] [stderr] | [INFO] [stderr] 134 | fn trees_encountered(right: usize, down: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day3` [INFO] [stderr] --> src/main.rs:172:4 [INFO] [stderr] | [INFO] [stderr] 172 | fn day3() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `day4part1` [INFO] [stderr] --> src/main.rs:201:4 [INFO] [stderr] | [INFO] [stderr] 201 | fn day4part1() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code2020` (bin "advent_of_code2020" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent_of_code2020-acc87874c406f6ed) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_is_valid_password ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a3915794494ac4905b95ae5b9072cb118326685d407cc4c6143fb0a6a39402be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3915794494ac4905b95ae5b9072cb118326685d407cc4c6143fb0a6a39402be", kill_on_drop: false }` [INFO] [stdout] a3915794494ac4905b95ae5b9072cb118326685d407cc4c6143fb0a6a39402be