[INFO] cloning repository https://github.com/Pascal-So/aoc_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pascal-So/aoc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Faoc_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Faoc_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0820590ff2dc1fc29861781ef73edf250a377ae9 [INFO] checking Pascal-So/aoc_rust against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Faoc_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pascal-So/aoc_rust on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pascal-So/aoc_rust [INFO] finished tweaking git repo https://github.com/Pascal-So/aoc_rust [INFO] tweaked toml for git repo https://github.com/Pascal-So/aoc_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pascal-So/aoc_rust 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 642649ac1f61d8926cc84f47d67e906a2ab773311cf266845f71a615f59a94a4 [INFO] running `Command { std: "docker" "start" "-a" "642649ac1f61d8926cc84f47d67e906a2ab773311cf266845f71a615f59a94a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "642649ac1f61d8926cc84f47d67e906a2ab773311cf266845f71a615f59a94a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642649ac1f61d8926cc84f47d67e906a2ab773311cf266845f71a615f59a94a4", kill_on_drop: false }` [INFO] [stdout] 642649ac1f61d8926cc84f47d67e906a2ab773311cf266845f71a615f59a94a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f76ea748e3d6bdff4346336438456d34ddec5b8b07f28287b500b967e58d034 [INFO] running `Command { std: "docker" "start" "-a" "8f76ea748e3d6bdff4346336438456d34ddec5b8b07f28287b500b967e58d034", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking combine v4.6.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking pathfinding v3.0.5 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking modinverse v0.1.1 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling deku_derive v0.12.5 [INFO] [stderr] Checking nalgebra v0.24.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking deku v0.12.5 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/y2021/d23.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn next(&self) -> impl IntoIterator, Cost)> { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 288 | let cost_a = astar(&start, State::next, State::min_cost, |state| { [INFO] [stdout] | __________________^ [INFO] [stdout] 289 | | state == &target [INFO] [stdout] 290 | | }) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> IntoIterator, i64)>` [INFO] [stdout] found opaque type `impl IntoIterator, i64)>` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-3.0.5/src/directed/astar.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | FN: FnMut(&N) -> IN, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/y2021/d23.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn next(&self) -> impl IntoIterator, Cost)> { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 296 | let cost_b = astar(&full, State::next, State::min_cost, |state| { [INFO] [stdout] | __________________^ [INFO] [stdout] 297 | | state == &target_full [INFO] [stdout] 298 | | }) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> IntoIterator, i64)>` [INFO] [stdout] found opaque type `impl IntoIterator, i64)>` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-3.0.5/src/directed/astar.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | FN: FnMut(&N) -> IN, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/y2021/d23.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn next(&self) -> impl IntoIterator, Cost)> { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 288 | let cost_a = astar(&start, State::next, State::min_cost, |state| { [INFO] [stdout] | __________________^ [INFO] [stdout] 289 | | state == &target [INFO] [stdout] 290 | | }) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> IntoIterator, i64)>` [INFO] [stdout] found opaque type `impl IntoIterator, i64)>` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-3.0.5/src/directed/astar.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | FN: FnMut(&N) -> IN, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/y2021/d23.rs:296:18 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn next(&self) -> impl IntoIterator, Cost)> { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 296 | let cost_b = astar(&full, State::next, State::min_cost, |state| { [INFO] [stdout] | __________________^ [INFO] [stdout] 297 | | state == &target_full [INFO] [stdout] 298 | | }) [INFO] [stdout] | |______^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> IntoIterator, i64)>` [INFO] [stdout] found opaque type `impl IntoIterator, i64)>` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pathfinding-3.0.5/src/directed/astar.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | FN: FnMut(&N) -> IN, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8f76ea748e3d6bdff4346336438456d34ddec5b8b07f28287b500b967e58d034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f76ea748e3d6bdff4346336438456d34ddec5b8b07f28287b500b967e58d034", kill_on_drop: false }` [INFO] [stdout] 8f76ea748e3d6bdff4346336438456d34ddec5b8b07f28287b500b967e58d034