[INFO] fetching crate rustpather 0.1.0... [INFO] checking rustpather-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rustpather 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rustpather 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f516c8c4255764cf53e617e767f69f243d9c6e079efca6d8e4ae35e03f1cc79 [INFO] running `Command { std: "docker" "start" "-a" "9f516c8c4255764cf53e617e767f69f243d9c6e079efca6d8e4ae35e03f1cc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f516c8c4255764cf53e617e767f69f243d9c6e079efca6d8e4ae35e03f1cc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f516c8c4255764cf53e617e767f69f243d9c6e079efca6d8e4ae35e03f1cc79", kill_on_drop: false }` [INFO] [stdout] 9f516c8c4255764cf53e617e767f69f243d9c6e079efca6d8e4ae35e03f1cc79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa40009df4287a08210038d2e82a5295e50c514f732a5121b190d18c6a41446 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3aa40009df4287a08210038d2e82a5295e50c514f732a5121b190d18c6a41446", kill_on_drop: false }` [INFO] [stderr] Checking rustpather v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: private type `Edge` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Graph = HashMap>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge<(i64, i64)>` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_fourway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge<(i64, i64)>` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_eightway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge` in public interface (error E0446) [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] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Graph = HashMap>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge<(i64, i64)>` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_fourway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge<(i64, i64)>` in public interface (error E0446) [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_eightway(grid : &Vec>) -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Edge` in public interface (error E0446) [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] | |________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustpather` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3aa40009df4287a08210038d2e82a5295e50c514f732a5121b190d18c6a41446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa40009df4287a08210038d2e82a5295e50c514f732a5121b190d18c6a41446", kill_on_drop: false }` [INFO] [stdout] 3aa40009df4287a08210038d2e82a5295e50c514f732a5121b190d18c6a41446