[INFO] cloning repository https://github.com/IvanDerdicDer/heurs_project_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IvanDerdicDer/heurs_project_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanDerdicDer%2Fheurs_project_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanDerdicDer%2Fheurs_project_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14ae62d77950c5841314f252da7d56cfb45c759c [INFO] checking IvanDerdicDer/heurs_project_rust against master#0c1fb2a1e65a57073dc62dd502319a00cf753371 for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanDerdicDer%2Fheurs_project_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IvanDerdicDer/heurs_project_rust on toolchain 0c1fb2a1e65a57073dc62dd502319a00cf753371 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] finished tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] tweaked toml for git repo https://github.com/IvanDerdicDer/heurs_project_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IvanDerdicDer/heurs_project_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c1fb2a1e65a57073dc62dd502319a00cf753371" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking IvanDerdicDer/heurs_project_rust against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanDerdicDer%2Fheurs_project_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IvanDerdicDer/heurs_project_rust on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] finished tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] tweaked toml for git repo https://github.com/IvanDerdicDer/heurs_project_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/IvanDerdicDer/heurs_project_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking IvanDerdicDer/heurs_project_rust against try#1d06cad56a6e74d21cdf272bd6d9479160000fba for pr-114655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanDerdicDer%2Fheurs_project_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IvanDerdicDer/heurs_project_rust on toolchain 1d06cad56a6e74d21cdf272bd6d9479160000fba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] finished tweaking git repo https://github.com/IvanDerdicDer/heurs_project_rust [INFO] tweaked toml for git repo https://github.com/IvanDerdicDer/heurs_project_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/IvanDerdicDer/heurs_project_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6370aa64ce166ba11ab1ae102cf129205bbe40e3fee33c3bc2e695dc42f128c6 [INFO] running `Command { std: "docker" "start" "-a" "6370aa64ce166ba11ab1ae102cf129205bbe40e3fee33c3bc2e695dc42f128c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6370aa64ce166ba11ab1ae102cf129205bbe40e3fee33c3bc2e695dc42f128c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6370aa64ce166ba11ab1ae102cf129205bbe40e3fee33c3bc2e695dc42f128c6", kill_on_drop: false }` [INFO] [stdout] 6370aa64ce166ba11ab1ae102cf129205bbe40e3fee33c3bc2e695dc42f128c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1d06cad56a6e74d21cdf272bd6d9479160000fba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f23a2451e58d644172a7fb614486609d706afd7ac6c7054417540bdb7fda3a4d [INFO] running `Command { std: "docker" "start" "-a" "f23a2451e58d644172a7fb614486609d706afd7ac6c7054417540bdb7fda3a4d", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking heurs_project_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ant_colony/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | .or_insert(1.0) *= (1.0 - self.decay_rate); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - .or_insert(1.0) *= (1.0 - self.decay_rate); [INFO] [stdout] 68 + .or_insert(1.0) *= 1.0 - self.decay_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ant_colony/mod.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | .or_insert(1.0) *= (1.0 - self.decay_rate); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - .or_insert(1.0) *= (1.0 - self.decay_rate); [INFO] [stdout] 68 + .or_insert(1.0) *= 1.0 - self.decay_rate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_count`, `vehicle_capacity`, and `customers` are never read [INFO] [stdout] --> src/instance_parser/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | vehicle_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub(crate) vehicle_capacity: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(crate) customers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `capacity`, and `customer` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExtendedCustomer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 11 | time: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | capacity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | customer: Customer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtendedCustomer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `capacity`, `distance`, and `path` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Ant { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | time: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | capacity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_count` and `routes` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Solution { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | vehicle_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solution` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edges` is never used [INFO] [stdout] --> src/ant_colony/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Solution { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 33 | fn edges(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pheromones` is never constructed [INFO] [stdout] --> src/ant_colony/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Pheromones { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evaporation`, and `reinforce` are never used [INFO] [stdout] --> src/ant_colony/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Pheromones { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn evaporation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn reinforce(&mut self, solution: &Solution) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cost_function` is never used [INFO] [stdout] --> src/ant_colony/mod.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn cost_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_count`, `vehicle_capacity`, and `customers` are never read [INFO] [stdout] --> src/instance_parser/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Instance { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 19 | vehicle_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub(crate) vehicle_capacity: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(crate) customers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instance` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `capacity`, and `customer` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ExtendedCustomer { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 11 | time: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | capacity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | customer: Customer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtendedCustomer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `capacity`, `distance`, and `path` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Ant { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 19 | time: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | capacity: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicle_count` and `routes` are never read [INFO] [stdout] --> src/ant_colony/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Solution { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | vehicle_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solution` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edges` is never used [INFO] [stdout] --> src/ant_colony/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Solution { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 33 | fn edges(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pheromones` is never constructed [INFO] [stdout] --> src/ant_colony/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct Pheromones { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `evaporation`, and `reinforce` are never used [INFO] [stdout] --> src/ant_colony/mod.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Pheromones { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn evaporation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn reinforce(&mut self, solution: &Solution) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cost_function` is never used [INFO] [stdout] --> src/ant_colony/mod.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn cost_function( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "f23a2451e58d644172a7fb614486609d706afd7ac6c7054417540bdb7fda3a4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23a2451e58d644172a7fb614486609d706afd7ac6c7054417540bdb7fda3a4d", kill_on_drop: false }` [INFO] [stdout] f23a2451e58d644172a7fb614486609d706afd7ac6c7054417540bdb7fda3a4d