[INFO] fetching crate solver-vrp 0.0.0... [INFO] testing solver-vrp-0.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate solver-vrp 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate solver-vrp 0.0.0 [INFO] finished tweaking crates.io crate solver-vrp 0.0.0 [INFO] tweaked toml for crates.io crate solver-vrp 0.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solver-vrp 0.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solver-vrp 0.0.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1b14f9c0c4d80ee44d7653b8258beb622dade4242beac5c1cd75c9f6dd8b3e3 [INFO] running `Command { std: "docker" "start" "-a" "d1b14f9c0c4d80ee44d7653b8258beb622dade4242beac5c1cd75c9f6dd8b3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1b14f9c0c4d80ee44d7653b8258beb622dade4242beac5c1cd75c9f6dd8b3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b14f9c0c4d80ee44d7653b8258beb622dade4242beac5c1cd75c9f6dd8b3e3", kill_on_drop: false }` [INFO] [stdout] d1b14f9c0c4d80ee44d7653b8258beb622dade4242beac5c1cd75c9f6dd8b3e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01015e97be92959c973b474a7096a75eab07ccafc9443952da1a4446f1fe6264 [INFO] running `Command { std: "docker" "start" "-a" "01015e97be92959c973b474a7096a75eab07ccafc9443952da1a4446f1fe6264", kill_on_drop: false }` [INFO] [stderr] Compiling solver-vrp v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Id` is never used [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | type Id = String; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Index` is never used [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type Index = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `model` are never used [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Solver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn solve(&self) -> Solution { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn model(&self) -> &Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stops`, and `vehicles` are never used [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn stops(&self) -> &Stops { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/model.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `push` are never used [INFO] [stdout] --> src/model.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl PlanUnits { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 113 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn push(&mut self, plan_unit: PlanUnit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/model.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `stops` are never used [INFO] [stdout] --> src/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 132 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/model.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `push` are never used [INFO] [stdout] --> src/model.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl Stops { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 144 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn get(&self, index: Index) -> Option<&Stop> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn push(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/model.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, and `location` are never used [INFO] [stdout] --> src/model.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Stop { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 165 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn location(&self) -> Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/model.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/model.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl Vehicles { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 187 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/model.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, `stops`, and `push_stop` are never used [INFO] [stdout] --> src/model.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl Vehicle { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 199 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn push_stop(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleType` is never constructed [INFO] [stdout] --> src/model.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | struct VehicleType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `index` are never used [INFO] [stdout] --> src/model.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl VehicleType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 222 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/schema.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/schema.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/schema.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/schema.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialStop` is never constructed [INFO] [stdout] --> src/schema.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InitialStop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/solution.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vehicles`, `stop`, `planned_stop`, and `unplanned_stop` are never used [INFO] [stdout] --> src/solution.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Solution { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 13 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn stop(&self, model_plan_unit: &ModelPlanUnit, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn planned_stop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn unplanned_stop( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/solution.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/solution.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnitsCollection` is never constructed [INFO] [stdout] --> src/solution.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct PlanUnitsCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModelIndex` is never used [INFO] [stdout] --> src/solution.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | type ModelIndex = Index; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plan_unit_index` and `plan_unit_stop` are never used [INFO] [stdout] --> src/solution.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl PlanUnitsCollection { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 57 | fn plan_unit_index(&self, model_plan_unit: &ModelPlanUnit) -> Option<&Index> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn plan_unit_stop(&self, plan_unit_index: &Index, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/solution.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/solution.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl PlanUnits { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 71 | fn get(&self, index: Index) -> Option<&PlanUnit> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/solution.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index`, `stops`, and `stop` are never used [INFO] [stdout] --> src/solution.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 82 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn stop(&self, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/solution.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/solution.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "01015e97be92959c973b474a7096a75eab07ccafc9443952da1a4446f1fe6264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01015e97be92959c973b474a7096a75eab07ccafc9443952da1a4446f1fe6264", kill_on_drop: false }` [INFO] [stdout] 01015e97be92959c973b474a7096a75eab07ccafc9443952da1a4446f1fe6264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9698615bcdaf6a0dea7f4993afd53f3fb0e254a507e7a852bc8f08c36edcea19 [INFO] running `Command { std: "docker" "start" "-a" "9698615bcdaf6a0dea7f4993afd53f3fb0e254a507e7a852bc8f08c36edcea19", kill_on_drop: false }` [INFO] [stderr] Compiling solver-vrp v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Id` is never used [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | type Id = String; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Index` is never used [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type Index = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `model` are never used [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Solver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn solve(&self) -> Solution { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn model(&self) -> &Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stops`, and `vehicles` are never used [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn stops(&self) -> &Stops { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/model.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `push` are never used [INFO] [stdout] --> src/model.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl PlanUnits { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 113 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn push(&mut self, plan_unit: PlanUnit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/model.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `stops` are never used [INFO] [stdout] --> src/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 132 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/model.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `push` are never used [INFO] [stdout] --> src/model.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl Stops { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 144 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn get(&self, index: Index) -> Option<&Stop> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn push(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/model.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, and `location` are never used [INFO] [stdout] --> src/model.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Stop { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 165 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn location(&self) -> Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/model.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/model.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl Vehicles { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 187 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/model.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, `stops`, and `push_stop` are never used [INFO] [stdout] --> src/model.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl Vehicle { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 199 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn push_stop(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleType` is never constructed [INFO] [stdout] --> src/model.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | struct VehicleType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `index` are never used [INFO] [stdout] --> src/model.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl VehicleType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 222 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/schema.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/schema.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/schema.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/schema.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialStop` is never constructed [INFO] [stdout] --> src/schema.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InitialStop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/solution.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vehicles`, `stop`, `planned_stop`, and `unplanned_stop` are never used [INFO] [stdout] --> src/solution.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Solution { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 13 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn stop(&self, model_plan_unit: &ModelPlanUnit, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn planned_stop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn unplanned_stop( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/solution.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/solution.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnitsCollection` is never constructed [INFO] [stdout] --> src/solution.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct PlanUnitsCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModelIndex` is never used [INFO] [stdout] --> src/solution.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | type ModelIndex = Index; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plan_unit_index` and `plan_unit_stop` are never used [INFO] [stdout] --> src/solution.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl PlanUnitsCollection { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 57 | fn plan_unit_index(&self, model_plan_unit: &ModelPlanUnit) -> Option<&Index> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn plan_unit_stop(&self, plan_unit_index: &Index, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/solution.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/solution.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl PlanUnits { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 71 | fn get(&self, index: Index) -> Option<&PlanUnit> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/solution.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index`, `stops`, and `stop` are never used [INFO] [stdout] --> src/solution.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 82 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn stop(&self, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/solution.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/solution.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Id` is never used [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | type Id = String; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Index` is never used [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type Index = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/lib.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `model` are never used [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Solver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 31 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn solve(&self) -> Solution { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn model(&self) -> &Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Model` is never constructed [INFO] [stdout] --> src/model.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Model { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `stops`, and `vehicles` are never used [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Model { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn stops(&self) -> &Stops { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/model.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, and `push` are never used [INFO] [stdout] --> src/model.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl PlanUnits { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 113 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn push(&mut self, plan_unit: PlanUnit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/model.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index` and `stops` are never used [INFO] [stdout] --> src/model.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 132 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/model.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `push` are never used [INFO] [stdout] --> src/model.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 143 | impl Stops { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 144 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn get(&self, index: Index) -> Option<&Stop> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn push(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/model.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, and `location` are never used [INFO] [stdout] --> src/model.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Stop { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 165 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn location(&self) -> Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/model.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/model.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl Vehicles { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 187 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/model.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `index`, `stops`, and `push_stop` are never used [INFO] [stdout] --> src/model.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl Vehicle { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 199 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn push_stop(&mut self, stop: Stop) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VehicleType` is never constructed [INFO] [stdout] --> src/model.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | struct VehicleType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `index` are never used [INFO] [stdout] --> src/model.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 221 | impl VehicleType { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 222 | fn id(&self) -> &Id { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn index(&self) -> Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Input` is never constructed [INFO] [stdout] --> src/schema.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/schema.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Location` is never constructed [INFO] [stdout] --> src/schema.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/schema.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InitialStop` is never constructed [INFO] [stdout] --> src/schema.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct InitialStop { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> src/solution.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vehicles`, `stop`, `planned_stop`, and `unplanned_stop` are never used [INFO] [stdout] --> src/solution.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Solution { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 13 | fn vehicles(&self) -> &Vehicles { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn stop(&self, model_plan_unit: &ModelPlanUnit, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn planned_stop( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn unplanned_stop( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicles` is never constructed [INFO] [stdout] --> src/solution.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct Vehicles(Vec); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vehicle` is never constructed [INFO] [stdout] --> src/solution.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | struct Vehicle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnitsCollection` is never constructed [INFO] [stdout] --> src/solution.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct PlanUnitsCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ModelIndex` is never used [INFO] [stdout] --> src/solution.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | type ModelIndex = Index; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plan_unit_index` and `plan_unit_stop` are never used [INFO] [stdout] --> src/solution.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl PlanUnitsCollection { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 57 | fn plan_unit_index(&self, model_plan_unit: &ModelPlanUnit) -> Option<&Index> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn plan_unit_stop(&self, plan_unit_index: &Index, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnits` is never constructed [INFO] [stdout] --> src/solution.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct PlanUnits(Vec); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/solution.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 70 | impl PlanUnits { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 71 | fn get(&self, index: Index) -> Option<&PlanUnit> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlanUnit` is never constructed [INFO] [stdout] --> src/solution.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct PlanUnit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index`, `stops`, and `stop` are never used [INFO] [stdout] --> src/solution.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl PlanUnit { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 82 | pub fn index(&self) -> &Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn stops(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn stop(&self, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stops` is never constructed [INFO] [stdout] --> src/solution.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Stops(Vec); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stop` is never constructed [INFO] [stdout] --> src/solution.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | struct Stop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "9698615bcdaf6a0dea7f4993afd53f3fb0e254a507e7a852bc8f08c36edcea19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9698615bcdaf6a0dea7f4993afd53f3fb0e254a507e7a852bc8f08c36edcea19", kill_on_drop: false }` [INFO] [stdout] 9698615bcdaf6a0dea7f4993afd53f3fb0e254a507e7a852bc8f08c36edcea19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 040ce5d3fc283b525087b8d55d65fadf4d1cf34438d62d3baf4b5c8c3dfc4eec [INFO] running `Command { std: "docker" "start" "-a" "040ce5d3fc283b525087b8d55d65fadf4d1cf34438d62d3baf4b5c8c3dfc4eec", kill_on_drop: false }` [INFO] [stderr] warning: type alias `Id` is never used [INFO] [stderr] --> src/lib.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | type Id = String; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Index` is never used [INFO] [stderr] --> src/lib.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 24 | type Index = usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solver` is never constructed [INFO] [stderr] --> src/lib.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct Solver { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `solve`, and `model` are never used [INFO] [stderr] --> src/lib.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 30 | impl Solver { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 31 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | fn solve(&self) -> Solution { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn model(&self) -> &Model { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Model` is never constructed [INFO] [stderr] --> src/model.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Model { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `stops`, and `vehicles` are never used [INFO] [stderr] --> src/model.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Model { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 12 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | fn stops(&self) -> &Stops { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | fn vehicles(&self) -> &Vehicles { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanUnits` is never constructed [INFO] [stderr] --> src/model.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | struct PlanUnits(Vec); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `len`, and `push` are never used [INFO] [stderr] --> src/model.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 112 | impl PlanUnits { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 113 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | fn push(&mut self, plan_unit: PlanUnit) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanUnit` is never constructed [INFO] [stderr] --> src/model.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct PlanUnit { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `index` and `stops` are never used [INFO] [stderr] --> src/model.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 131 | impl PlanUnit { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 132 | pub fn index(&self) -> &Index { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | fn stops(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stops` is never constructed [INFO] [stderr] --> src/model.rs:141:8 [INFO] [stderr] | [INFO] [stderr] 141 | struct Stops(Vec); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get`, and `push` are never used [INFO] [stderr] --> src/model.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 143 | impl Stops { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 144 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | fn get(&self, index: Index) -> Option<&Stop> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 152 | fn push(&mut self, stop: Stop) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stop` is never constructed [INFO] [stderr] --> src/model.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | pub struct Stop { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `id`, `index`, and `location` are never used [INFO] [stderr] --> src/model.rs:165:8 [INFO] [stderr] | [INFO] [stderr] 164 | impl Stop { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] 165 | fn id(&self) -> &Id { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn index(&self) -> Index { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 173 | fn location(&self) -> Location { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Location` is never constructed [INFO] [stderr] --> src/model.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | struct Location { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vehicles` is never constructed [INFO] [stderr] --> src/model.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | pub struct Vehicles(Vec); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/model.rs:187:8 [INFO] [stderr] | [INFO] [stderr] 186 | impl Vehicles { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 187 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vehicle` is never constructed [INFO] [stderr] --> src/model.rs:192:8 [INFO] [stderr] | [INFO] [stderr] 192 | struct Vehicle { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `id`, `index`, `stops`, and `push_stop` are never used [INFO] [stderr] --> src/model.rs:199:8 [INFO] [stderr] | [INFO] [stderr] 198 | impl Vehicle { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] 199 | fn id(&self) -> &Id { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 203 | fn index(&self) -> Index { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 207 | fn stops(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | fn push_stop(&mut self, stop: Stop) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `VehicleType` is never constructed [INFO] [stderr] --> src/model.rs:216:8 [INFO] [stderr] | [INFO] [stderr] 216 | struct VehicleType { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `id` and `index` are never used [INFO] [stderr] --> src/model.rs:222:8 [INFO] [stderr] | [INFO] [stderr] 221 | impl VehicleType { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] 222 | fn id(&self) -> &Id { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 226 | fn index(&self) -> Index { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Input` is never constructed [INFO] [stderr] --> src/schema.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Input { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stop` is never constructed [INFO] [stderr] --> src/schema.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Stop { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Location` is never constructed [INFO] [stderr] --> src/schema.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Location { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vehicle` is never constructed [INFO] [stderr] --> src/schema.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Vehicle { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `InitialStop` is never constructed [INFO] [stderr] --> src/schema.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct InitialStop { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Solution` is never constructed [INFO] [stderr] --> src/solution.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Solution { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `vehicles`, `stop`, `planned_stop`, and `unplanned_stop` are never used [INFO] [stderr] --> src/solution.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 12 | impl Solution { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 13 | fn vehicles(&self) -> &Vehicles { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | fn stop(&self, model_plan_unit: &ModelPlanUnit, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | fn planned_stop( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | fn unplanned_stop( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vehicles` is never constructed [INFO] [stderr] --> src/solution.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | struct Vehicles(Vec); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Vehicle` is never constructed [INFO] [stderr] --> src/solution.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | struct Vehicle { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanUnitsCollection` is never constructed [INFO] [stderr] --> src/solution.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | struct PlanUnitsCollection { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `ModelIndex` is never used [INFO] [stderr] --> src/solution.rs:54:6 [INFO] [stderr] | [INFO] [stderr] 54 | type ModelIndex = Index; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `plan_unit_index` and `plan_unit_stop` are never used [INFO] [stderr] --> src/solution.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 56 | impl PlanUnitsCollection { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] 57 | fn plan_unit_index(&self, model_plan_unit: &ModelPlanUnit) -> Option<&Index> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn plan_unit_stop(&self, plan_unit_index: &Index, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanUnits` is never constructed [INFO] [stderr] --> src/solution.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | struct PlanUnits(Vec); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/solution.rs:71:8 [INFO] [stderr] | [INFO] [stderr] 70 | impl PlanUnits { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 71 | fn get(&self, index: Index) -> Option<&PlanUnit> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlanUnit` is never constructed [INFO] [stderr] --> src/solution.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct PlanUnit { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `index`, `stops`, and `stop` are never used [INFO] [stderr] --> src/solution.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 81 | impl PlanUnit { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] 82 | pub fn index(&self) -> &Index { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | fn stops(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | fn stop(&self, model_stop: &ModelStop) -> Option<&Stop> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stops` is never constructed [INFO] [stderr] --> src/solution.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | struct Stops(Vec); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stop` is never constructed [INFO] [stderr] --> src/solution.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 99 | struct Stop { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `solver-vrp` (lib) generated 39 warnings [INFO] [stderr] warning: `solver-vrp` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/solver_vrp-a962e197883ab5aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests solver_vrp [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "040ce5d3fc283b525087b8d55d65fadf4d1cf34438d62d3baf4b5c8c3dfc4eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040ce5d3fc283b525087b8d55d65fadf4d1cf34438d62d3baf4b5c8c3dfc4eec", kill_on_drop: false }` [INFO] [stdout] 040ce5d3fc283b525087b8d55d65fadf4d1cf34438d62d3baf4b5c8c3dfc4eec