[INFO] cloning repository https://github.com/royburner/algolib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/royburner/algolib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyburner%2Falgolib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyburner%2Falgolib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce7372768e46e5d8601e7fc80ec1cf4fa80a1ab0 [INFO] checking royburner/algolib against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froyburner%2Falgolib" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/royburner/algolib on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/royburner/algolib [INFO] finished tweaking git repo https://github.com/royburner/algolib [INFO] tweaked toml for git repo https://github.com/royburner/algolib written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/royburner/algolib already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1387741031acdbbd32d0793c2a757022b40dd97c14eafd0ea2cdabb66cd11cae [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" "1387741031acdbbd32d0793c2a757022b40dd97c14eafd0ea2cdabb66cd11cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1387741031acdbbd32d0793c2a757022b40dd97c14eafd0ea2cdabb66cd11cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1387741031acdbbd32d0793c2a757022b40dd97c14eafd0ea2cdabb66cd11cae", kill_on_drop: false }` [INFO] [stdout] 1387741031acdbbd32d0793c2a757022b40dd97c14eafd0ea2cdabb66cd11cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac093c91419eb2e243e7eb2f71fd459d827d7cd07e3153f94f8b25b397ec3a2d [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" "ac093c91419eb2e243e7eb2f71fd459d827d7cd07e3153f94f8b25b397ec3a2d", kill_on_drop: false }` [INFO] [stderr] Checking algolib v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/a_star.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let absX = match(point.x>self.goal.x){//TODO refactor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/a_star.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let absY = match(point.y>self.goal.y){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/a_star.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let absX = match(point.x>self.goal.x){//TODO refactor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/a_star.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let absY = match(point.y>self.goal.y){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closedSet` [INFO] [stdout] --> src/a_star.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closedSet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cameFrom` [INFO] [stdout] --> src/a_star.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cameFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_star.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_star.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Board` [INFO] [stdout] --> src/a_star.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Board{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/a_star.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(width : usize)->Board{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newGScoreWithInfinity` [INFO] [stdout] --> src/a_star.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn newGScoreWithInfinity(&self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heuristic_cost_estimate` [INFO] [stdout] --> src/a_star.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn heuristic_cost_estimate(&self, point:Point)->usize{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_star` [INFO] [stdout] --> src/a_star.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn a_star(&self) -> Option>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newGScoreWithInfinity` should have a snake case name [INFO] [stdout] --> src/a_star.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn newGScoreWithInfinity(&self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_gscore_with_infinity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut gScore : HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `g_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absX` should have a snake case name [INFO] [stdout] --> src/a_star.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let absX = match(point.x>self.goal.x){//TODO refactor [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `abs_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absY` should have a snake case name [INFO] [stdout] --> src/a_star.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let absY = match(point.y>self.goal.y){ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `abs_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `closedSet` should have a snake case name [INFO] [stdout] --> src/a_star.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `closed_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `openSet` should have a snake case name [INFO] [stdout] --> src/a_star.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | let mut openSet : HashSet = HashSet::new();// The set of tentative nodes to be evaluated [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `open_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cameFrom` should have a snake case name [INFO] [stdout] --> src/a_star.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `came_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | let mut gScore = self.newGScoreWithInfinity(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `g_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | let mut fScore = self.newGScoreWithInfinity(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `f_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closedSet` [INFO] [stdout] --> src/a_star.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closedSet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cameFrom` [INFO] [stdout] --> src/a_star.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cameFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_star.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_star.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Board` [INFO] [stdout] --> src/a_star.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Board{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/a_star.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn new(width : usize)->Board{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newGScoreWithInfinity` [INFO] [stdout] --> src/a_star.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn newGScoreWithInfinity(&self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heuristic_cost_estimate` [INFO] [stdout] --> src/a_star.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn heuristic_cost_estimate(&self, point:Point)->usize{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_star` [INFO] [stdout] --> src/a_star.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn a_star(&self) -> Option>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newGScoreWithInfinity` should have a snake case name [INFO] [stdout] --> src/a_star.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn newGScoreWithInfinity(&self) -> HashMap{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_gscore_with_infinity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let mut gScore : HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `g_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absX` should have a snake case name [INFO] [stdout] --> src/a_star.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let absX = match(point.x>self.goal.x){//TODO refactor [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `abs_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absY` should have a snake case name [INFO] [stdout] --> src/a_star.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | let absY = match(point.y>self.goal.y){ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `abs_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `closedSet` should have a snake case name [INFO] [stdout] --> src/a_star.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | let mut closedSet : HashSet = HashSet::new();// The set of nodes already evaluated. [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `closed_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `openSet` should have a snake case name [INFO] [stdout] --> src/a_star.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | let mut openSet : HashSet = HashSet::new();// The set of tentative nodes to be evaluated [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `open_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cameFrom` should have a snake case name [INFO] [stdout] --> src/a_star.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | let mut cameFrom : HashMap = HashMap::new(); // The map of navigated nodes. [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `came_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | let mut gScore = self.newGScoreWithInfinity(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `g_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fScore` should have a snake case name [INFO] [stdout] --> src/a_star.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | let mut fScore = self.newGScoreWithInfinity(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `f_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algolib::*` [INFO] [stdout] --> tests/test_sort.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use algolib::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "ac093c91419eb2e243e7eb2f71fd459d827d7cd07e3153f94f8b25b397ec3a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac093c91419eb2e243e7eb2f71fd459d827d7cd07e3153f94f8b25b397ec3a2d", kill_on_drop: false }` [INFO] [stdout] ac093c91419eb2e243e7eb2f71fd459d827d7cd07e3153f94f8b25b397ec3a2d