[INFO] cloning repository https://github.com/zoukba0014/Personal_shopper_optimal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zoukba0014/Personal_shopper_optimal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoukba0014%2FPersonal_shopper_optimal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoukba0014%2FPersonal_shopper_optimal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82befe72d7de4ca6f943de40890f4fb44e0edf4c [INFO] testing zoukba0014/Personal_shopper_optimal against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoukba0014%2FPersonal_shopper_optimal" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zoukba0014/Personal_shopper_optimal [INFO] finished tweaking git repo https://github.com/zoukba0014/Personal_shopper_optimal [INFO] tweaked toml for git repo https://github.com/zoukba0014/Personal_shopper_optimal written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zoukba0014/Personal_shopper_optimal on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zoukba0014/Personal_shopper_optimal 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90dd93bac529752e81cc520aa6843d2a025928bc239f08cb3a1f6e58308ae88b [INFO] running `Command { std: "docker" "start" "-a" "90dd93bac529752e81cc520aa6843d2a025928bc239f08cb3a1f6e58308ae88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90dd93bac529752e81cc520aa6843d2a025928bc239f08cb3a1f6e58308ae88b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90dd93bac529752e81cc520aa6843d2a025928bc239f08cb3a1f6e58308ae88b", kill_on_drop: false }` [INFO] [stdout] 90dd93bac529752e81cc520aa6843d2a025928bc239f08cb3a1f6e58308ae88b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02b299a841d3d17f29dd405b62784a876967852efc6c9c45f397187e24b94e1a [INFO] running `Command { std: "docker" "start" "-a" "02b299a841d3d17f29dd405b62784a876967852efc6c9c45f397187e24b94e1a", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling geographiclib-rs v0.2.4 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling robust v0.2.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling rstar v0.10.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling geo-types v0.7.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling geo v0.24.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling personal_shopper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `shopper_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | shopper_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `customer_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | customer_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueState` is never constructed [INFO] [stdout] --> src/algorithms/bsl_psd.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct QueueState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_remaining_items` is never used [INFO] [stdout] --> src/algorithms/bsl_psd.rs:1397:4 [INFO] [stdout] | [INFO] [stdout] 1397 | fn sort_remaining_items(items: Vec<(ProductId, u32)>) -> Vec<(ProductId, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.06s [INFO] running `Command { std: "docker" "inspect" "02b299a841d3d17f29dd405b62784a876967852efc6c9c45f397187e24b94e1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b299a841d3d17f29dd405b62784a876967852efc6c9c45f397187e24b94e1a", kill_on_drop: false }` [INFO] [stdout] 02b299a841d3d17f29dd405b62784a876967852efc6c9c45f397187e24b94e1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911538b11dfcc6c20175c225f4d42a19d386e6c0226163efe6a0aa6c475ecfe9 [INFO] running `Command { std: "docker" "start" "-a" "911538b11dfcc6c20175c225f4d42a19d386e6c0226163efe6a0aa6c475ecfe9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling personal_shopper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `shopper_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | shopper_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `customer_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | customer_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueState` is never constructed [INFO] [stdout] --> src/algorithms/bsl_psd.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct QueueState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_remaining_items` is never used [INFO] [stdout] --> src/algorithms/bsl_psd.rs:1397:4 [INFO] [stdout] | [INFO] [stdout] 1397 | fn sort_remaining_items(items: Vec<(ProductId, u32)>) -> Vec<(ProductId, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> tests/test_supply_comparison.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShoppingRoute` [INFO] [stdout] --> tests/supply_limit_route_comparison.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | use personal_shopper::models::{Location, ShoppingList, ShoppingRoute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> tests/supply_limit_route_comparison.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/supply_limit_route_comparison.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_supply_comparison.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let mut limited_trade_off: Option<(f64, f64, f64)> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limited_output_path` [INFO] [stdout] --> tests/test_supply_comparison.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let limited_output_path = format!("bsl_psd_limited_supply_{}_products.png", product_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limited_output_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infinite_output_path` [INFO] [stdout] --> tests/test_supply_comparison.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let infinite_output_path = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limited_trade_off` [INFO] [stdout] --> tests/test_supply_comparison.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | let mut limited_trade_off: Option<(f64, f64, f64)> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limited_trade_off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shopper_location` [INFO] [stdout] --> tests/supply_limit_route_comparison.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | shopper_location: &Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `customer_location` [INFO] [stdout] --> tests/supply_limit_route_comparison.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | customer_location: &Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_time_cost_chart` is never used [INFO] [stdout] --> tests/test_supply_comparison.rs:607:4 [INFO] [stdout] | [INFO] [stdout] 607 | fn create_time_cost_chart( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_bounds` is never used [INFO] [stdout] --> tests/test_supply_comparison.rs:1100:4 [INFO] [stdout] | [INFO] [stdout] 1100 | fn determine_bounds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shopper_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | shopper_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `customer_location` [INFO] [stdout] --> src/algorithms/bsl_psd.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | customer_location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> tests/test_bsl_psd_with_visualization_solve.rs:499:42 [INFO] [stdout] | [INFO] [stdout] 499 | let store_name = if let Some(store) = stores_map.get(store_id) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_label` [INFO] [stdout] --> tests/test_bsl_psd_with_visualization_solve.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | let store_label = if let Some(store) = stores_map.get(store_id) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueState` is never constructed [INFO] [stdout] --> src/algorithms/bsl_psd.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct QueueState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_remaining_items` is never used [INFO] [stdout] --> src/algorithms/bsl_psd.rs:1397:4 [INFO] [stdout] | [INFO] [stdout] 1397 | fn sort_remaining_items(items: Vec<(ProductId, u32)>) -> Vec<(ProductId, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.22s [INFO] running `Command { std: "docker" "inspect" "911538b11dfcc6c20175c225f4d42a19d386e6c0226163efe6a0aa6c475ecfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911538b11dfcc6c20175c225f4d42a19d386e6c0226163efe6a0aa6c475ecfe9", kill_on_drop: false }` [INFO] [stdout] 911538b11dfcc6c20175c225f4d42a19d386e6c0226163efe6a0aa6c475ecfe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 696c34686732bbd05a502c8d8d9e142c0c84f3e07406da7168b971610b9bebfa [INFO] running `Command { std: "docker" "start" "-a" "696c34686732bbd05a502c8d8d9e142c0c84f3e07406da7168b971610b9bebfa", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `shopper_location` [INFO] [stderr] --> src/algorithms/bsl_psd.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | shopper_location: Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `customer_location` [INFO] [stderr] --> src/algorithms/bsl_psd.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | customer_location: Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stderr] [INFO] [stderr] warning: struct `QueueState` is never constructed [INFO] [stderr] --> src/algorithms/bsl_psd.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | struct QueueState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `sort_remaining_items` is never used [INFO] [stderr] --> src/algorithms/bsl_psd.rs:1397:4 [INFO] [stderr] | [INFO] [stderr] 1397 | fn sort_remaining_items(items: Vec<(ProductId, u32)>) -> Vec<(ProductId, u32)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `personal_shopper` (lib) generated 4 warnings (run `cargo fix --lib -p personal_shopper` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `std::time::Instant` [INFO] [stderr] --> tests/test_supply_comparison.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::time::Instant; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/test_supply_comparison.rs:341:17 [INFO] [stderr] | [INFO] [stderr] 341 | let mut limited_trade_off: Option<(f64, f64, f64)> = None; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limited_output_path` [INFO] [stderr] --> tests/test_supply_comparison.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let limited_output_path = format!("bsl_psd_limited_supply_{}_products.png", product_count); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limited_output_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `infinite_output_path` [INFO] [stderr] --> tests/test_supply_comparison.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let infinite_output_path = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_output_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `limited_trade_off` [INFO] [stderr] --> tests/test_supply_comparison.rs:341:17 [INFO] [stderr] | [INFO] [stderr] 341 | let mut limited_trade_off: Option<(f64, f64, f64)> = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limited_trade_off` [INFO] [stderr] [INFO] [stderr] warning: function `create_time_cost_chart` is never used [INFO] [stderr] --> tests/test_supply_comparison.rs:607:4 [INFO] [stderr] | [INFO] [stderr] 607 | fn create_time_cost_chart( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `determine_bounds` is never used [INFO] [stderr] --> tests/test_supply_comparison.rs:1100:4 [INFO] [stderr] | [INFO] [stderr] 1100 | fn determine_bounds( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `store` [INFO] [stderr] --> tests/test_bsl_psd_with_visualization_solve.rs:499:42 [INFO] [stderr] | [INFO] [stderr] 499 | let store_name = if let Some(store) = stores_map.get(store_id) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `store_label` [INFO] [stderr] --> tests/test_bsl_psd_with_visualization_solve.rs:545:21 [INFO] [stderr] | [INFO] [stderr] 545 | let store_label = if let Some(store) = stores_map.get(store_id) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_label` [INFO] [stderr] [INFO] [stderr] warning: unused import: `ShoppingRoute` [INFO] [stderr] --> tests/supply_limit_route_comparison.rs:4:56 [INFO] [stderr] | [INFO] [stderr] 4 | use personal_shopper::models::{Location, ShoppingList, ShoppingRoute}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashSet` [INFO] [stderr] --> tests/supply_limit_route_comparison.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> tests/supply_limit_route_comparison.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shopper_location` [INFO] [stderr] --> tests/supply_limit_route_comparison.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | shopper_location: &Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shopper_location` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `customer_location` [INFO] [stderr] --> tests/supply_limit_route_comparison.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | customer_location: &Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_customer_location` [INFO] [stderr] [INFO] [stderr] warning: `personal_shopper` (test "test_supply_comparison") generated 7 warnings (run `cargo fix --test "test_supply_comparison" -p personal_shopper` to apply 5 suggestions) [INFO] [stderr] warning: `personal_shopper` (test "test_bsl_psd_with_visualization_solve") generated 2 warnings (run `cargo fix --test "test_bsl_psd_with_visualization_solve" -p personal_shopper` to apply 2 suggestions) [INFO] [stderr] warning: `personal_shopper` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `personal_shopper` (test "supply_limit_route_comparison") generated 5 warnings (run `cargo fix --test "supply_limit_route_comparison" -p personal_shopper` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/personal_shopper-9eb0d4c937e8661d) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test models::location::tests::test_manhattan_distance ... ok [INFO] [stdout] test models::product::tests::test_product_clone ... ok [INFO] [stdout] test models::shopping_list::tests::test_can_be_fulfilled_by ... ok [INFO] [stdout] test models::store::tests::test_has_product ... ok [INFO] [stdout] test models::location::tests::test_distance ... ok [INFO] [stdout] test models::store::tests::test_reduce_inventory ... ok [INFO] [stdout] test models::store::tests::test_restock ... ok [INFO] [stdout] test utils::skyline::tests::test_conventional_domination ... ok [INFO] [stdout] test models::product::tests::test_product_creation ... ok [INFO] [stdout] test utils::distance::tests::test_euclidean_distance ... ok [INFO] [stdout] test models::shopping_list::tests::test_create_fulfillable_list ... ok [INFO] [stdout] test models::route::tests::test_route_candidate_ordering ... ok [INFO] [stdout] test utils::distance::tests::test_manhattan_distance ... ok [INFO] [stdout] test models::shopping_list::tests::test_find_relevant_stores ... ok [INFO] [stdout] test utils::skyline::tests::test_skyline_insertion ... ok [INFO] [stdout] test models::store::tests::test_has_sufficient_quantity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/personal_shopper-0556b0d8020cf77a) [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] Running tests/extreme_threshold_analysis.rs (/opt/rustwide/target/debug/deps/extreme_threshold_analysis-1f7cb99872d6c2c6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_extreme_threshold_analysis has been running for over 60 seconds [INFO] [stderr] error: test failed, to rerun pass `--test extreme_threshold_analysis` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/extreme_threshold_analysis-1f7cb99872d6c2c6` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "696c34686732bbd05a502c8d8d9e142c0c84f3e07406da7168b971610b9bebfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696c34686732bbd05a502c8d8d9e142c0c84f3e07406da7168b971610b9bebfa", kill_on_drop: false }` [INFO] [stdout] 696c34686732bbd05a502c8d8d9e142c0c84f3e07406da7168b971610b9bebfa