[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#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftriquet%2Frs-npuzzle" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ftriquet/rs-npuzzle on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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-4/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 30aa8bf362322000fe9bb3a0a1c53a7551c3f9ae4413784109adc39c7adc3c05 [INFO] running `"docker" "start" "-a" "30aa8bf362322000fe9bb3a0a1c53a7551c3f9ae4413784109adc39c7adc3c05"` [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking clap v2.20.5 [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" "30aa8bf362322000fe9bb3a0a1c53a7551c3f9ae4413784109adc39c7adc3c05"` [INFO] running `"docker" "rm" "-f" "30aa8bf362322000fe9bb3a0a1c53a7551c3f9ae4413784109adc39c7adc3c05"` [INFO] [stdout] 30aa8bf362322000fe9bb3a0a1c53a7551c3f9ae4413784109adc39c7adc3c05