[INFO] updating cached repository https://github.com/ftriquet/rs-npuzzle [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0f821feb7b6b057a1f6dd62caecc93cffb08f79d [INFO] checking ftriquet/rs-npuzzle against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftriquet%2Frs-npuzzle" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ftriquet/rs-npuzzle on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ftriquet/rs-npuzzle [INFO] finished tweaking git repo https://github.com/ftriquet/rs-npuzzle [INFO] tweaked toml for git repo https://github.com/ftriquet/rs-npuzzle written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ftriquet/rs-npuzzle already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 66e7419441d59082cb29c9620160a6a6d1f8da9b454779cb14e2ade0b62b9e6c [INFO] running `"docker" "start" "-a" "66e7419441d59082cb29c9620160a6a6d1f8da9b454779cb14e2ade0b62b9e6c"` [INFO] [stderr] Checking n-puzzle v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/node/mod.rs:152:19 [INFO] [stderr] | [INFO] [stderr] 152 | let len = try!(lines.next() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::heuristics` [INFO] [stderr] --> src/node/mod.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | use super::heuristics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `heuristics` in `node` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/node/mod.rs:152:19 [INFO] [stderr] | [INFO] [stderr] 152 | let len = try!(lines.next() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node/mod.rs:451:53 [INFO] [stderr] | [INFO] [stderr] 451 | let south = Node::permute(Direction::South, &h, &r); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected fn pointer, found reference [INFO] [stderr] | help: consider removing the borrow: `h` [INFO] [stderr] | [INFO] [stderr] = note: expected type `for<'r> fn(&'r node::Node) -> usize` [INFO] [stderr] found type `&_` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node/mod.rs:453:53 [INFO] [stderr] | [INFO] [stderr] 453 | let north = Node::permute(Direction::North, &h, &r); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected fn pointer, found reference [INFO] [stderr] | help: consider removing the borrow: `h` [INFO] [stderr] | [INFO] [stderr] = note: expected type `for<'r> fn(&'r node::Node) -> usize` [INFO] [stderr] found type `&_` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node/mod.rs:455:51 [INFO] [stderr] | [INFO] [stderr] 455 | let west = Node::permute(Direction::West, &h, &r); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected fn pointer, found reference [INFO] [stderr] | help: consider removing the borrow: `h` [INFO] [stderr] | [INFO] [stderr] = note: expected type `for<'r> fn(&'r node::Node) -> usize` [INFO] [stderr] found type `&_` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node/mod.rs:457:51 [INFO] [stderr] | [INFO] [stderr] 457 | let east = Node::permute(Direction::East, &h, &r); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected fn pointer, found reference [INFO] [stderr] | help: consider removing the borrow: `h` [INFO] [stderr] | [INFO] [stderr] = note: expected type `for<'r> fn(&'r node::Node) -> usize` [INFO] [stderr] found type `&_` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `n-puzzle`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "66e7419441d59082cb29c9620160a6a6d1f8da9b454779cb14e2ade0b62b9e6c"` [INFO] running `"docker" "rm" "-f" "66e7419441d59082cb29c9620160a6a6d1f8da9b454779cb14e2ade0b62b9e6c"` [INFO] [stdout] 66e7419441d59082cb29c9620160a6a6d1f8da9b454779cb14e2ade0b62b9e6c