[INFO] fetching crate astar 4.0.0... [INFO] checking astar-4.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate astar 4.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate astar 4.0.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 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-3-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] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding typed-arena v1.2.0 (available: v1.7.0) [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] [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 314dc7bcd4eab3ae36a18e066171637bf5acc6903e8fc7c29d80db6bc850b381 [INFO] running `Command { std: "docker" "start" "-a" "314dc7bcd4eab3ae36a18e066171637bf5acc6903e8fc7c29d80db6bc850b381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "314dc7bcd4eab3ae36a18e066171637bf5acc6903e8fc7c29d80db6bc850b381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314dc7bcd4eab3ae36a18e066171637bf5acc6903e8fc7c29d80db6bc850b381", kill_on_drop: false }` [INFO] [stdout] 314dc7bcd4eab3ae36a18e066171637bf5acc6903e8fc7c29d80db6bc850b381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 87b69e961818cd2bfb61de96b90f152c2e877d4325c47a871b3c5e3cfd61deb8 [INFO] running `Command { std: "docker" "start" "-a" "87b69e961818cd2bfb61de96b90f152c2e877d4325c47a871b3c5e3cfd61deb8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, 'b, S, C: Zero + Clone> SearchNode<'a, 'b, S, C> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 46 | fn new_initial(state: &'a S) -> SearchNode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, 'b, S, C: Zero + Clone> SearchNode<'a, 'b, S, C> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 58 | fn new(state: &'a S) -> SearchNode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [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] = 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] = note: `#[warn(anonymous_parameters)]` on by default [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: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, 'b, S, C: Zero + Clone> SearchNode<'a, 'b, S, C> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 46 | fn new_initial(state: &'a S) -> SearchNode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 45 | impl<'a, 'b, S, C: Zero + Clone> SearchNode<'a, 'b, S, C> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 58 | fn new(state: &'a S) -> SearchNode { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^^^^^--------- argument #2 of type `&i32` is missing [INFO] [stdout] | [INFO] [stdout] note: method 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] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 222 | gs.neighbors(&(0, 0), /* &i32 */).collect::>() [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 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` (lib test) due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87b69e961818cd2bfb61de96b90f152c2e877d4325c47a871b3c5e3cfd61deb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b69e961818cd2bfb61de96b90f152c2e877d4325c47a871b3c5e3cfd61deb8", kill_on_drop: false }` [INFO] [stdout] 87b69e961818cd2bfb61de96b90f152c2e877d4325c47a871b3c5e3cfd61deb8