[INFO] cloning repository https://github.com/swallez/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/swallez/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswallez%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswallez%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1921a73cd3c4ab84c92236f2d643fb37d20227c5 [INFO] checking swallez/advent-of-code-2020 against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswallez%2Fadvent-of-code-2020" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/swallez/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/swallez/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/swallez/advent-of-code-2020 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swallez/advent-of-code-2020 on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/swallez/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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95c5fb6afccca8d0cb6ec4b273d2ea7d23c3a3328405f8cf76f0368889e7c1f6 [INFO] running `Command { std: "docker" "start" "-a" "95c5fb6afccca8d0cb6ec4b273d2ea7d23c3a3328405f8cf76f0368889e7c1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95c5fb6afccca8d0cb6ec4b273d2ea7d23c3a3328405f8cf76f0368889e7c1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c5fb6afccca8d0cb6ec4b273d2ea7d23c3a3328405f8cf76f0368889e7c1f6", kill_on_drop: false }` [INFO] [stdout] 95c5fb6afccca8d0cb6ec4b273d2ea7d23c3a3328405f8cf76f0368889e7c1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88922cb6aa82017c60317e49c9e67edcec8c7e65f2a8af41028b44c21c214ad3 [INFO] running `Command { std: "docker" "start" "-a" "88922cb6aa82017c60317e49c9e67edcec8c7e65f2a8af41028b44c21c214ad3", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/day_04.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | type Validator = Box<(dyn Fn(& str) -> bool + 'static + Send + Sync)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - type Validator = Box<(dyn Fn(& str) -> bool + 'static + Send + Sync)>; [INFO] [stdout] 64 + type Validator = Box bool + 'static + Send + Sync >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/day_04.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | type Validator = Box<(dyn Fn(& str) -> bool + 'static + Send + Sync)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - type Validator = Box<(dyn Fn(& str) -> bool + 'static + Send + Sync)>; [INFO] [stdout] 64 + type Validator = Box bool + 'static + Send + Sync >; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_03.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn run(&self, dx: usize, dy: usize) -> Trajectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn run(&self, dx: usize, dy: usize) -> Trajectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/day_03.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn run(&self, dx: usize, dy: usize) -> Trajectory { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | fn run(&self, dx: usize, dy: usize) -> Trajectory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/day_02.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!((1, 3, 'a', "abcde"), parse_line("1-3 a: abcde")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `({integer}, {integer}, char, &str)`, found `(usize, usize, char, String)` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `({integer}, {integer}, _, &str)` [INFO] [stdout] found tuple `(usize, usize, _, String)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode-2020` (bin "day_02" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "88922cb6aa82017c60317e49c9e67edcec8c7e65f2a8af41028b44c21c214ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88922cb6aa82017c60317e49c9e67edcec8c7e65f2a8af41028b44c21c214ad3", kill_on_drop: false }` [INFO] [stdout] 88922cb6aa82017c60317e49c9e67edcec8c7e65f2a8af41028b44c21c214ad3