[INFO] cloning repository https://github.com/sushinoya/advent-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sushinoya/advent-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushinoya%2Fadvent-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushinoya%2Fadvent-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c2818356fb4a8cf3666b23e1e7695ff62b2b316 [INFO] testing sushinoya/advent-2022 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsushinoya%2Fadvent-2022" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sushinoya/advent-2022 [INFO] finished tweaking git repo https://github.com/sushinoya/advent-2022 [INFO] tweaked toml for git repo https://github.com/sushinoya/advent-2022 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sushinoya/advent-2022 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sushinoya/advent-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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be1dabec0446015fc206525de403c72b6cc8bac0e74b7b544be69fbb7f40b4fa [INFO] running `Command { std: "docker" "start" "-a" "be1dabec0446015fc206525de403c72b6cc8bac0e74b7b544be69fbb7f40b4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be1dabec0446015fc206525de403c72b6cc8bac0e74b7b544be69fbb7f40b4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1dabec0446015fc206525de403c72b6cc8bac0e74b7b544be69fbb7f40b4fa", kill_on_drop: false }` [INFO] [stdout] be1dabec0446015fc206525de403c72b6cc8bac0e74b7b544be69fbb7f40b4fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88934e9cedf236e305f7c8d7c9a96cf178094852f7048cabb9d5b23e131cb4ae [INFO] running `Command { std: "docker" "start" "-a" "88934e9cedf236e305f7c8d7c9a96cf178094852f7048cabb9d5b23e131cb4ae", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling advent-2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/day-08.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | type TreePosIter = impl DoubleEndedIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreePosIter` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/day-08.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | type NestedTreePosIter = impl Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NestedTreePosIter` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/day-08.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 15 | type NestedTreePosIter = impl Iterator; [INFO] [stdout] | --------------------------------- the expected opaque type [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> NestedTreePosIter { [INFO] [stdout] | ----------------- expected `NestedTreePosIter` because of return type [INFO] [stdout] 36 | / range_a.map(move |row_idx| { [INFO] [stdout] 37 | | let pos_iter = range_b.clone().map(move |col_idx| match b_major { [INFO] [stdout] 38 | | true => (col_idx, row_idx), [INFO] [stdout] 39 | | false => (row_idx, col_idx), [INFO] [stdout] ... | [INFO] [stdout] 45 | | }) [INFO] [stdout] | |______^ expected opaque type, found `Map, {closure@...}>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `NestedTreePosIter` [INFO] [stdout] found struct `Map, {closure@src/day-08.rs:36:17: 36:31}>` [INFO] [stdout] note: this item must have a `#[define_opaque(NestedTreePosIter)]` attribute to be able to define hidden types [INFO] [stdout] --> src/day-08.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn tree_lines_for_ranges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_on_edge` [INFO] [stdout] --> src/day-08.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let is_on_edge = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_on_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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-2022` (bin "day-08") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "88934e9cedf236e305f7c8d7c9a96cf178094852f7048cabb9d5b23e131cb4ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88934e9cedf236e305f7c8d7c9a96cf178094852f7048cabb9d5b23e131cb4ae", kill_on_drop: false }` [INFO] [stdout] 88934e9cedf236e305f7c8d7c9a96cf178094852f7048cabb9d5b23e131cb4ae