[INFO] fetching crate astar 4.0.0... [INFO] testing astar-4.0.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate astar 4.0.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate astar 4.0.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] 9e9f241445df1caaf79dc09141906892fd72ea9d2f10f969f490cb7edd43246f [INFO] running `Command { std: "docker" "start" "-a" "9e9f241445df1caaf79dc09141906892fd72ea9d2f10f969f490cb7edd43246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e9f241445df1caaf79dc09141906892fd72ea9d2f10f969f490cb7edd43246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9f241445df1caaf79dc09141906892fd72ea9d2f10f969f490cb7edd43246f", kill_on_drop: false }` [INFO] [stdout] 9e9f241445df1caaf79dc09141906892fd72ea9d2f10f969f490cb7edd43246f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b470611f4d54536a68a2224a78491144d4af357ec61f44cbbdc1abe57b1899dd [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" "b470611f4d54536a68a2224a78491144d4af357ec61f44cbbdc1abe57b1899dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typed-arena v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "b470611f4d54536a68a2224a78491144d4af357ec61f44cbbdc1abe57b1899dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b470611f4d54536a68a2224a78491144d4af357ec61f44cbbdc1abe57b1899dd", kill_on_drop: false }` [INFO] [stdout] b470611f4d54536a68a2224a78491144d4af357ec61f44cbbdc1abe57b1899dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27168da1720e5c1fdcb2de2b16051357dc8f5b8ed902f47d50c7c56203d4e926 [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" "27168da1720e5c1fdcb2de2b16051357dc8f5b8ed902f47d50c7c56203d4e926", kill_on_drop: false }` [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] [stderr] Compiling astar v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 4 warnings emitted [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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "27168da1720e5c1fdcb2de2b16051357dc8f5b8ed902f47d50c7c56203d4e926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27168da1720e5c1fdcb2de2b16051357dc8f5b8ed902f47d50c7c56203d4e926", kill_on_drop: false }` [INFO] [stdout] 27168da1720e5c1fdcb2de2b16051357dc8f5b8ed902f47d50c7c56203d4e926