[INFO] fetching crate rustpather 0.1.0... [INFO] checking rustpather-0.1.0 against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] extracting crate rustpather 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rustpather 0.1.0 on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustpather 0.1.0 [INFO] finished tweaking crates.io crate rustpather 0.1.0 [INFO] tweaked toml for crates.io crate rustpather 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f03c8e37d14ecdf47bd85da731528eea094df3e63fc17e66c1d6fdb1aa81d0ba [INFO] running `Command { std: "docker" "start" "-a" "f03c8e37d14ecdf47bd85da731528eea094df3e63fc17e66c1d6fdb1aa81d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f03c8e37d14ecdf47bd85da731528eea094df3e63fc17e66c1d6fdb1aa81d0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03c8e37d14ecdf47bd85da731528eea094df3e63fc17e66c1d6fdb1aa81d0ba", kill_on_drop: false }` [INFO] [stdout] f03c8e37d14ecdf47bd85da731528eea094df3e63fc17e66c1d6fdb1aa81d0ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a31c0fd261a81d3421883b13b0ea71540a2edd3c829b4e4759f5ec61a12114b3 [INFO] running `Command { std: "docker" "start" "-a" "a31c0fd261a81d3421883b13b0ea71540a2edd3c829b4e4759f5ec61a12114b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustpather v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Edge` is more private than the item `Graph` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Graph = HashMap>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ type alias `Graph` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge` is more private than the item `Graph` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Graph = HashMap>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ type alias `Graph` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge<(i64, i64)>` is more private than the item `to_fourway` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_fourway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `to_fourway` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge<(i64, i64)>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge<(i64, i64)>` is more private than the item `to_fourway` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_fourway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `to_fourway` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge<(i64, i64)>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge<(i64, i64)>` is more private than the item `to_eightway` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_eightway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `to_eightway` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge<(i64, i64)>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge<(i64, i64)>` is more private than the item `to_eightway` [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_eightway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `to_eightway` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge<(i64, i64)>` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge` is more private than the item `astar` [INFO] [stdout] --> src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn astar i64 + Copy> [INFO] [stdout] 136 | | (graph : &Graph, start : T, end : T, heuristic: &F) -> Option> { [INFO] [stdout] | |________________________________________________________________________^ function `astar` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge` is more private than the item `astar` [INFO] [stdout] --> src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn astar i64 + Copy> [INFO] [stdout] 136 | | (graph : &Graph, start : T, end : T, heuristic: &F) -> Option> { [INFO] [stdout] | |________________________________________________________________________^ function `astar` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let graph4 = rustpather::to_fourway(&grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let graph8 = rustpather::to_eightway(&grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge` is private [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let path4 = rustpather::astar(&graph4, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | let path4 = rustpather::astar(&graph4, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge` is private [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let path8 = rustpather::astar(&graph8, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let path8 = rustpather::astar(&graph8, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let graph4 = rustpather::to_fourway(&grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let graph8 = rustpather::to_eightway(&grid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge` is private [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let path4 = rustpather::astar(&graph4, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | let path4 = rustpather::astar(&graph4, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge` is private [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let path8 = rustpather::astar(&graph8, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type `rustpather::Edge<(i64, i64)>` is private [INFO] [stdout] --> src/main.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let path8 = rustpather::astar(&graph8, (0, 0), (2, 2), &rustpather::heuristic); [INFO] [stdout] | ^^^^^^^ private type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpather` (bin "rustpather") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustpather` (bin "rustpather" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a31c0fd261a81d3421883b13b0ea71540a2edd3c829b4e4759f5ec61a12114b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31c0fd261a81d3421883b13b0ea71540a2edd3c829b4e4759f5ec61a12114b3", kill_on_drop: false }` [INFO] [stdout] a31c0fd261a81d3421883b13b0ea71540a2edd3c829b4e4759f5ec61a12114b3