[INFO] fetching crate astar 4.0.0... [INFO] checking astar-4.0.0 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate astar 4.0.0 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate astar 4.0.0 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate astar 4.0.0 [INFO] finished tweaking crates.io crate astar 4.0.0 [INFO] tweaked toml for crates.io crate astar 4.0.0 written to /workspace/builds/worker-105/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4987e29e52785c27783313feb013c92ba08ec3ad5da2479dc456ed50a4226a7 [INFO] running `Command { std: "docker" "start" "-a" "d4987e29e52785c27783313feb013c92ba08ec3ad5da2479dc456ed50a4226a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4987e29e52785c27783313feb013c92ba08ec3ad5da2479dc456ed50a4226a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4987e29e52785c27783313feb013c92ba08ec3ad5da2479dc456ed50a4226a7", kill_on_drop: false }` [INFO] [stdout] d4987e29e52785c27783313feb013c92ba08ec3ad5da2479dc456ed50a4226a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb216dd1680e6ec6b0f2d648ac26263b4b0b17c76ddab211f66374c04aa16f21 [INFO] running `Command { std: "docker" "start" "-a" "fb216dd1680e6ec6b0f2d648ac26263b4b0b17c76ddab211f66374c04aa16f21", kill_on_drop: false }` [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking typed-arena v1.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking astar v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_end(&self, &Self::Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn heuristic(&self, &Self::Node) -> Self::Cost; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Cost` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/test.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | fn heuristic(&self, &Self::Node, &Self::Node) -> Self::Cost; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/test.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | fn heuristic(&self, &Self::Node, &Self::Node) -> Self::Cost; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/test.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn neighbors(&self, &Self::Node) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_end(&self, &Self::Node) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn heuristic(&self, &Self::Node) -> Self::Cost; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Cost` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `neighbors` has 2 parameters but the declaration in trait `SearchProblem::neighbors` has 3 [INFO] [stdout] --> src/test.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | fn neighbors(&self, node: &Self::Node) -> Self::Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ------------------------------- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `neighbors` has 2 parameters but the declaration in trait `SearchProblem::neighbors` has 3 [INFO] [stdout] --> src/test.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | fn neighbors(&self, &(x, y): &(i32, i32)) -> IntoIter<((i32, i32), i32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 2 [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ------------------------------- trait requires 3 parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/test.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | gs.neighbors(&(0, 0)).collect::>() [INFO] [stdout] | ^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn neighbors(&self, &Self::Node, &Self::Cost) -> Self::Iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `astar` due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb216dd1680e6ec6b0f2d648ac26263b4b0b17c76ddab211f66374c04aa16f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb216dd1680e6ec6b0f2d648ac26263b4b0b17c76ddab211f66374c04aa16f21", kill_on_drop: false }` [INFO] [stdout] fb216dd1680e6ec6b0f2d648ac26263b4b0b17c76ddab211f66374c04aa16f21