[INFO] fetching crate rustpather 0.1.0... [INFO] checking rustpather-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rustpather 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rustpather 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67f16b6f40cb950afa1bfc6e42b7a7295ecb4dbeabfa0becf05c9d8508950cfa [INFO] running `Command { std: "docker" "start" "-a" "67f16b6f40cb950afa1bfc6e42b7a7295ecb4dbeabfa0becf05c9d8508950cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67f16b6f40cb950afa1bfc6e42b7a7295ecb4dbeabfa0becf05c9d8508950cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f16b6f40cb950afa1bfc6e42b7a7295ecb4dbeabfa0becf05c9d8508950cfa", kill_on_drop: false }` [INFO] [stdout] 67f16b6f40cb950afa1bfc6e42b7a7295ecb4dbeabfa0becf05c9d8508950cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd11c7a71715d2e9539af3b76050eb1f0c17ec3b974aca29889f07534d354ce2 [INFO] running `Command { std: "docker" "start" "-a" "fd11c7a71715d2e9539af3b76050eb1f0c17ec3b974aca29889f07534d354ce2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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<(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` 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 `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_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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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: aborting due to 6 previous errors [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpather` (bin "rustpather") due to 7 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 7 previous errors [INFO] running `Command { std: "docker" "inspect" "fd11c7a71715d2e9539af3b76050eb1f0c17ec3b974aca29889f07534d354ce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd11c7a71715d2e9539af3b76050eb1f0c17ec3b974aca29889f07534d354ce2", kill_on_drop: false }` [INFO] [stdout] fd11c7a71715d2e9539af3b76050eb1f0c17ec3b974aca29889f07534d354ce2