[INFO] fetching crate rustpather 0.1.0... [INFO] testing rustpather-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate rustpather 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate rustpather 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] c8293e1bc61da58a0401fb2ec6342cb3b58825a6e0ffb3acd50297f0e22c9fe6 [INFO] running `Command { std: "docker" "start" "-a" "c8293e1bc61da58a0401fb2ec6342cb3b58825a6e0ffb3acd50297f0e22c9fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8293e1bc61da58a0401fb2ec6342cb3b58825a6e0ffb3acd50297f0e22c9fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8293e1bc61da58a0401fb2ec6342cb3b58825a6e0ffb3acd50297f0e22c9fe6", kill_on_drop: false }` [INFO] [stdout] c8293e1bc61da58a0401fb2ec6342cb3b58825a6e0ffb3acd50297f0e22c9fe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6b26999b4fc2f501d404c76a9bb663634c60036cc4ec1201111ecf4bef52641 [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" "d6b26999b4fc2f501d404c76a9bb663634c60036cc4ec1201111ecf4bef52641", kill_on_drop: false }` [INFO] [stderr] Compiling 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] 15 | | let mut graph : HashMap<(i64, i64), i64> = HashMap::new(); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | for (y, row) in grid.iter().enumerate() { [INFO] [stdout] ... | [INFO] [stdout] 56 | | fullgraph [INFO] [stdout] 57 | | } [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] 60 | | let mut graph : HashMap<(i64, i64), i64> = HashMap::new(); [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | for (y, row) in grid.iter().enumerate() { [INFO] [stdout] ... | [INFO] [stdout] 128 | | fullgraph [INFO] [stdout] 129 | | } [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] 137 | | [INFO] [stdout] 138 | | let mut openset : HashSet = HashSet::new(); [INFO] [stdout] ... | [INFO] [stdout] 193 | | None [INFO] [stdout] 194 | | } [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] running `Command { std: "docker" "inspect" "d6b26999b4fc2f501d404c76a9bb663634c60036cc4ec1201111ecf4bef52641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b26999b4fc2f501d404c76a9bb663634c60036cc4ec1201111ecf4bef52641", kill_on_drop: false }` [INFO] [stdout] d6b26999b4fc2f501d404c76a9bb663634c60036cc4ec1201111ecf4bef52641