[INFO] cloning repository https://github.com/flyhighplato/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/flyhighplato/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyhighplato%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyhighplato%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a7d7b21aa7cf04258c8a6790a4c89c3929ff094 [INFO] testing flyhighplato/advent-of-code-2022 against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflyhighplato%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] started tweaking git repo https://github.com/flyhighplato/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/flyhighplato/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/flyhighplato/advent-of-code-2022 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flyhighplato/advent-of-code-2022 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/flyhighplato/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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded path-clean v0.1.0 [INFO] [stderr] Downloaded aho-corasick v0.7.20 [INFO] [stderr] Downloaded regex v1.7.0 [INFO] [stderr] Downloaded regex-syntax v0.6.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749 [INFO] running `Command { std: "docker" "start" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `compute_score1` is never used [INFO] [stdout] --> src/bin/day2/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn compute_score1(rounds:Vec<(ElfMove, YourMove)>) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/bin/day5/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let dest = &mut mut_stacks[dest_ix]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/bin/day5/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | .find(|(ix, l)| l.len() == 0) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/bin/day5/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/bin/day5/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let dest = &mut mut_stacks[dest_ix]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/bin/day5/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | .find(|(ix, l)| l.len() == 0) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: duplicated attribute [INFO] [stderr] --> src/bin/day5/main.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | #[test] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest` [INFO] [stderr] --> src/bin/day5/main.rs:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | let dest = &mut mut_stacks[dest_ix]; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ix` [INFO] [stderr] --> src/bin/day5/main.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | .find(|(ix, l)| l.len() == 0) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stderr] [INFO] [stderr] warning: `advent-of-code-2022` (bin "day5" test) generated 3 warnings (run `cargo fix --bin "day5" -p advent-of-code-2022 --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/advent-009685401459bb6a) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/day1/main.rs (/opt/rustwide/target/debug/deps/day1-95dc5750a5d1aeec) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_two_groups_sum ... ok [INFO] [stdout] test tests::test_two_groups_first_bigger ... ok [INFO] [stdout] test tests::test_two_groups_last_bigger ... ok [INFO] [stderr] Running unittests src/bin/day2/main.rs (/opt/rustwide/target/debug/deps/day2-b97104de6bcd75d6) [INFO] [stdout] test tests::test_single_group ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day3/main.rs (/opt/rustwide/target/debug/deps/day3-33d044c80249e706) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_elf_rock_you_rock ... 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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::both_different ... ok [INFO] [stdout] test tests::example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/day4/main.rs (/opt/rustwide/target/debug/deps/day4-07fa70b9dd77a5e2) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_overlaps_true ... ok [INFO] [stdout] test tests::test_contains_fakse ... ok [INFO] [stderr] Running unittests src/bin/day5/main.rs (/opt/rustwide/target/debug/deps/day5-8d2ecc0b2dc53bef) [INFO] [stdout] test tests::test_contains_true ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_make_crates ... ok [INFO] [stdout] test tests::test_make_crates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests advent [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749", kill_on_drop: false }` [INFO] [stdout] 23604c2e7d3f5d6c96d3f9ce25b773097a29844b260396febf53751037365749