[INFO] cloning repository https://github.com/DrDrewCain/SpaceTrader-Wars
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DrDrewCain/SpaceTrader-Wars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDrewCain%2FSpaceTrader-Wars", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDrewCain%2FSpaceTrader-Wars'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 02089002f3eb7bef0712b5d14d5f859f6037dae5
[INFO] building DrDrewCain/SpaceTrader-Wars against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDrewCain%2FSpaceTrader-Wars" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DrDrewCain/SpaceTrader-Wars
[INFO] finished tweaking git repo https://github.com/DrDrewCain/SpaceTrader-Wars
[INFO] tweaked toml for git repo https://github.com/DrDrewCain/SpaceTrader-Wars written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DrDrewCain/SpaceTrader-Wars on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DrDrewCain/SpaceTrader-Wars 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6af7e1bdb765d5915f9c286fd352b0b817cadcc27e0a03a3ce0ef027f285901f
[INFO] running `Command { std: "docker" "start" "-a" "6af7e1bdb765d5915f9c286fd352b0b817cadcc27e0a03a3ce0ef027f285901f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6af7e1bdb765d5915f9c286fd352b0b817cadcc27e0a03a3ce0ef027f285901f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6af7e1bdb765d5915f9c286fd352b0b817cadcc27e0a03a3ce0ef027f285901f", kill_on_drop: false }`
[INFO] [stdout] 6af7e1bdb765d5915f9c286fd352b0b817cadcc27e0a03a3ce0ef027f285901f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd3e65c3b7351e955121ce4c3ecb0ce14e4ab9a1cf80c1fe49c89cd87ae5d772
[INFO] running `Command { std: "docker" "start" "-a" "fd3e65c3b7351e955121ce4c3ecb0ce14e4ab9a1cf80c1fe49c89cd87ae5d772", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cc v1.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling spacetraders-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `debug` and `info`
[INFO] [stdout]  --> src/api/cargo_management.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, error, info};
[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 imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/api/cargo_management.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/api/ships.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, error, info};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipResponse` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct PurchaseShipResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShipTransaction` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct ShipTransaction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipRequest` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub struct PurchaseShipRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/api/ships.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 265 | pub struct CooldownErrorDetail {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 266 |     pub message: String,
[INFO] [stdout] 267 |     pub code: i32,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_cooldown` is never read
[INFO] [stdout]    --> src/api/ships.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct CooldownData {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub total_cooldown: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `purchase_ship` is never used
[INFO] [stdout]    --> src/api/ships.rs:573:14
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub async fn purchase_ship(ship_type: &str, waypoint_symbol: &str) -> anyhow::Result<ApiResponse<PurchaseShipResponse>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ContractRequirement`, `MarketAnalysis`, `MarketPriceInfo`, `analyze_markets`, `calculate_max_sellable_units`, `find_all_markets_in_system`, and `get_contract_requirements`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     accept_contract, analyze_markets, calculate_max_sellable_units, dock_ship,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     find_all_markets_in_system, find_asteroids, find_shipyards, get_agent_details,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     get_contract_requirements, get_market_data, get_ship_cargo, get_shipyard_details,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     get_waypoint_details, list_contracts, list_ships, navigate_ship, orbit_ship, purchase_ship,
[INFO] [stdout] 9 |     sell_cargo_item, CargoItem, ContractRequirement, MarketAnalysis, MarketPriceInfo, Ship,
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_cargo_sale` is never used
[INFO] [stdout]    --> src/main.rs:246:10
[INFO] [stdout]     |
[INFO] [stdout] 246 | async fn handle_cargo_sale(ship_symbol: &str, waypoint_symbol: &str) -> Result<()> {
[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 `handle_ship_operations` is never used
[INFO] [stdout]    --> src/main.rs:542:10
[INFO] [stdout]     |
[INFO] [stdout] 542 | async fn handle_ship_operations(ship: &Ship) -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 48s
[INFO] running `Command { std: "docker" "inspect" "fd3e65c3b7351e955121ce4c3ecb0ce14e4ab9a1cf80c1fe49c89cd87ae5d772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd3e65c3b7351e955121ce4c3ecb0ce14e4ab9a1cf80c1fe49c89cd87ae5d772", kill_on_drop: false }`
[INFO] [stdout] fd3e65c3b7351e955121ce4c3ecb0ce14e4ab9a1cf80c1fe49c89cd87ae5d772
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f666b89eaa2b74c2d302a59cf451e5c17a6a746c01382f11f46bb2d372b8aa04
[INFO] running `Command { std: "docker" "start" "-a" "f666b89eaa2b74c2d302a59cf451e5c17a6a746c01382f11f46bb2d372b8aa04", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `debug` and `info`
[INFO] [stdout]  --> src/api/cargo_management.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, error, info};
[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 imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/api/cargo_management.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/api/ships.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, error, info};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipResponse` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct PurchaseShipResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShipTransaction` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct ShipTransaction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipRequest` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub struct PurchaseShipRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/api/ships.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 265 | pub struct CooldownErrorDetail {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 266 |     pub message: String,
[INFO] [stdout] 267 |     pub code: i32,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_cooldown` is never read
[INFO] [stdout]    --> src/api/ships.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct CooldownData {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub total_cooldown: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `purchase_ship` is never used
[INFO] [stdout]    --> src/api/ships.rs:573:14
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub async fn purchase_ship(ship_type: &str, waypoint_symbol: &str) -> anyhow::Result<ApiResponse<PurchaseShipResponse>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling spacetraders-client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ContractRequirement`, `MarketAnalysis`, `MarketPriceInfo`, `analyze_markets`, `calculate_max_sellable_units`, `find_all_markets_in_system`, and `get_contract_requirements`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     accept_contract, analyze_markets, calculate_max_sellable_units, dock_ship,
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     find_all_markets_in_system, find_asteroids, find_shipyards, get_agent_details,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     get_contract_requirements, get_market_data, get_ship_cargo, get_shipyard_details,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     get_waypoint_details, list_contracts, list_ships, navigate_ship, orbit_ship, purchase_ship,
[INFO] [stdout] 9 |     sell_cargo_item, CargoItem, ContractRequirement, MarketAnalysis, MarketPriceInfo, Ship,
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_cargo_sale` is never used
[INFO] [stdout]    --> src/main.rs:246:10
[INFO] [stdout]     |
[INFO] [stdout] 246 | async fn handle_cargo_sale(ship_symbol: &str, waypoint_symbol: &str) -> Result<()> {
[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 `handle_ship_operations` is never used
[INFO] [stdout]    --> src/main.rs:542:10
[INFO] [stdout]     |
[INFO] [stdout] 542 | async fn handle_ship_operations(ship: &Ship) -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `info`
[INFO] [stdout]  --> src/api/cargo_management.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{debug, error, info};
[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 imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/api/cargo_management.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/api/ships.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, error, info};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipResponse` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct PurchaseShipResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShipTransaction` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct ShipTransaction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PurchaseShipRequest` is never constructed
[INFO] [stdout]    --> src/api/ships.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub struct PurchaseShipRequest {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `code` is never read
[INFO] [stdout]    --> src/api/ships.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 265 | pub struct CooldownErrorDetail {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 266 |     pub message: String,
[INFO] [stdout] 267 |     pub code: i32,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_cooldown` is never read
[INFO] [stdout]    --> src/api/ships.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub struct CooldownData {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub total_cooldown: i32,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CooldownData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `purchase_ship` is never used
[INFO] [stdout]    --> src/api/ships.rs:573:14
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub async fn purchase_ship(ship_type: &str, waypoint_symbol: &str) -> anyhow::Result<ApiResponse<PurchaseShipResponse>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.08s
[INFO] running `Command { std: "docker" "inspect" "f666b89eaa2b74c2d302a59cf451e5c17a6a746c01382f11f46bb2d372b8aa04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f666b89eaa2b74c2d302a59cf451e5c17a6a746c01382f11f46bb2d372b8aa04", kill_on_drop: false }`
[INFO] [stdout] f666b89eaa2b74c2d302a59cf451e5c17a6a746c01382f11f46bb2d372b8aa04
