[INFO] fetching crate astar 4.0.0... [INFO] checking astar-4.0.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate astar 4.0.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate astar 4.0.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98a9d9939612de37671aab2f0fec3581bb3fd9474c1e75e3143e1ae5c618d2ca [INFO] running `Command { std: "docker" "start" "-a" "98a9d9939612de37671aab2f0fec3581bb3fd9474c1e75e3143e1ae5c618d2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98a9d9939612de37671aab2f0fec3581bb3fd9474c1e75e3143e1ae5c618d2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a9d9939612de37671aab2f0fec3581bb3fd9474c1e75e3143e1ae5c618d2ca", kill_on_drop: false }` [INFO] [stdout] 98a9d9939612de37671aab2f0fec3581bb3fd9474c1e75e3143e1ae5c618d2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea9730004c854f860ec7f19cb4ffd6674c6c57de19ddd8cf20d6cc0f9cda05a [INFO] running `Command { std: "docker" "start" "-a" "aea9730004c854f860ec7f19cb4ffd6674c6c57de19ddd8cf20d6cc0f9cda05a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking typed-arena v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [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/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] 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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aea9730004c854f860ec7f19cb4ffd6674c6c57de19ddd8cf20d6cc0f9cda05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea9730004c854f860ec7f19cb4ffd6674c6c57de19ddd8cf20d6cc0f9cda05a", kill_on_drop: false }` [INFO] [stdout] aea9730004c854f860ec7f19cb4ffd6674c6c57de19ddd8cf20d6cc0f9cda05a