[INFO] cloning repository https://github.com/emlun/adventofcode-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emlun/adventofcode-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7be63a942a4760c4da75774d61cce3506fca3a60 [INFO] testing emlun/adventofcode-2021 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2021" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2021 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/emlun/adventofcode-2021 [INFO] finished tweaking git repo https://github.com/emlun/adventofcode-2021 [INFO] tweaked toml for git repo https://github.com/emlun/adventofcode-2021 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/emlun/adventofcode-2021 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca1eb2333ed2fad9019621bfa4640b22d466829ab18b63fd8c36dabe49ee8fb0 [INFO] running `Command { std: "docker" "start" "-a" "ca1eb2333ed2fad9019621bfa4640b22d466829ab18b63fd8c36dabe49ee8fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca1eb2333ed2fad9019621bfa4640b22d466829ab18b63fd8c36dabe49ee8fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca1eb2333ed2fad9019621bfa4640b22d466829ab18b63fd8c36dabe49ee8fb0", kill_on_drop: false }` [INFO] [stdout] ca1eb2333ed2fad9019621bfa4640b22d466829ab18b63fd8c36dabe49ee8fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 28d3e2b83f192d7258df34a842a0c7a627e40288aacdda95c24af89919ee9d14 [INFO] running `Command { std: "docker" "start" "-a" "28d3e2b83f192d7258df34a842a0c7a627e40288aacdda95c24af89919ee9d14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling adventofcode-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `vx_max` [INFO] [stdout] --> src/days/day17.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let vx_max = ((-0.5) + (0.25 + (maxx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx_min` [INFO] [stdout] --> src/days/day17.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let vx_min = ((-0.5) + (0.25 + (minx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xt` [INFO] [stdout] --> src/days/day17.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn xt(t: i64, vx0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `yt` [INFO] [stdout] --> src/days/day17.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn yt(t: i64, vy0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.92s [INFO] running `Command { std: "docker" "inspect" "28d3e2b83f192d7258df34a842a0c7a627e40288aacdda95c24af89919ee9d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d3e2b83f192d7258df34a842a0c7a627e40288aacdda95c24af89919ee9d14", kill_on_drop: false }` [INFO] [stdout] 28d3e2b83f192d7258df34a842a0c7a627e40288aacdda95c24af89919ee9d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c385acaa59b756cad7679c4c50b4818dee872c7fe581c7e6aebdd2ca4eb7313e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c385acaa59b756cad7679c4c50b4818dee872c7fe581c7e6aebdd2ca4eb7313e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling adventofcode-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stdout] warning: unused variable: `vx_max` [INFO] [stdout] --> src/days/day17.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let vx_max = ((-0.5) + (0.25 + (maxx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx_min` [INFO] [stdout] --> src/days/day17.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let vx_min = ((-0.5) + (0.25 + (minx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xt` [INFO] [stdout] --> src/days/day17.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn xt(t: i64, vx0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `yt` [INFO] [stdout] --> src/days/day17.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn yt(t: i64, vy0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stdout] warning: unused variable: `vx_max` [INFO] [stdout] --> src/days/day17.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let vx_max = ((-0.5) + (0.25 + (maxx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vx_min` [INFO] [stdout] --> src/days/day17.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let vx_min = ((-0.5) + (0.25 + (minx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xt` [INFO] [stdout] --> src/days/day17.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn xt(t: i64, vx0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `yt` [INFO] [stdout] --> src/days/day17.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn yt(t: i64, vy0: i64) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "c385acaa59b756cad7679c4c50b4818dee872c7fe581c7e6aebdd2ca4eb7313e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c385acaa59b756cad7679c4c50b4818dee872c7fe581c7e6aebdd2ca4eb7313e", kill_on_drop: false }` [INFO] [stdout] c385acaa59b756cad7679c4c50b4818dee872c7fe581c7e6aebdd2ca4eb7313e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 969d4a11425abb8c3792df9d77345ff1d7d41089bc97b8d5eb2d3a4bdfe71fd6 [INFO] running `Command { std: "docker" "start" "-a" "969d4a11425abb8c3792df9d77345ff1d7d41089bc97b8d5eb2d3a4bdfe71fd6", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `vx_max` [INFO] [stderr] --> src/days/day17.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let vx_max = ((-0.5) + (0.25 + (maxx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_max` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vx_min` [INFO] [stderr] --> src/days/day17.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let vx_min = ((-0.5) + (0.25 + (minx as f64) * 2.0).sqrt()).floor() as i64; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vx_min` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `xt` [INFO] [stderr] --> src/days/day17.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn xt(t: i64, vx0: i64) -> i64 { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `yt` [INFO] [stderr] --> src/days/day17.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn yt(t: i64, vy0: i64) -> i64 { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: `adventofcode-2021` (lib) generated 4 warnings [INFO] [stderr] warning: `adventofcode-2021` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2021-01c7bade5997578f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... ok [INFO] [stdout] test util::iter::tests::count_many_is_different ... ok [INFO] [stdout] test util::iter::tests::count_one_is_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2021-c2c3c4c2b8b51c77) [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-43ea83945d433d7c) [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] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test day03 ... ok [INFO] [stdout] test day06 ... ok [INFO] [stdout] test day01 ... ok [INFO] [stdout] test day08 ... ok [INFO] [stdout] test day02 ... ok [INFO] [stdout] test day13 ... ok [INFO] [stdout] test day10 ... ok [INFO] [stdout] test day14 ... ok [INFO] [stdout] test day16 ... ok [INFO] [stdout] test day21 ... ok [INFO] [stdout] test day04 ... ok [INFO] [stdout] test day09 ... ok [INFO] [stdout] test day11 ... ok [INFO] [stdout] test day05 ... ok [INFO] [stdout] test day18 ... ok [INFO] [stdout] test day07 ... ok [INFO] [stdout] test day12 ... ok [INFO] [stdout] test day17 ... ok [INFO] [stdout] test day15 ... ok [INFO] [stdout] test day20 ... ok [INFO] [stdout] test day22 ... ok [INFO] [stdout] test day23 ... ok [INFO] [stdout] test day19 has been running for over 60 seconds [INFO] [stdout] test day19 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 83.70s [INFO] [stdout] [INFO] [stderr] Doc-tests adventofcode-2021 [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" "969d4a11425abb8c3792df9d77345ff1d7d41089bc97b8d5eb2d3a4bdfe71fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969d4a11425abb8c3792df9d77345ff1d7d41089bc97b8d5eb2d3a4bdfe71fd6", kill_on_drop: false }` [INFO] [stdout] 969d4a11425abb8c3792df9d77345ff1d7d41089bc97b8d5eb2d3a4bdfe71fd6