[INFO] cloning repository https://github.com/Kalaxia/v2-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kalaxia/v2-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKalaxia%2Fv2-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKalaxia%2Fv2-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a99416d89a959a85926b7577427354ddab9bf46 [INFO] testing Kalaxia/v2-api against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKalaxia%2Fv2-api" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kalaxia/v2-api on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kalaxia/v2-api [INFO] finished tweaking git repo https://github.com/Kalaxia/v2-api [INFO] tweaked toml for git repo https://github.com/Kalaxia/v2-api written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Kalaxia/v2-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ablanleuil/galaxy-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-web-actors v2.0.0 [INFO] [stderr] Downloaded refinery-core v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc32c62d929b9a8f7090a55e54c36798161550818df56ca55d2cfbdea80befb0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc32c62d929b9a8f7090a55e54c36798161550818df56ca55d2cfbdea80befb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc32c62d929b9a8f7090a55e54c36798161550818df56ca55d2cfbdea80befb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc32c62d929b9a8f7090a55e54c36798161550818df56ca55d2cfbdea80befb0", kill_on_drop: false }` [INFO] [stdout] cc32c62d929b9a8f7090a55e54c36798161550818df56ca55d2cfbdea80befb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de910ba1cb4f2908c17b2434dfb61ada6f1ce5081372bd90c8fa7cd49eb9e9ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de910ba1cb4f2908c17b2434dfb61ada6f1ce5081372bd90c8fa7cd49eb9e9ea", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling cc v1.0.55 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling cache-padded v1.1.0 [INFO] [stderr] Compiling parking v1.0.3 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling fastrand v1.3.2 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling pem v0.8.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling galaxy-rs v1.2.1 (https://github.com/ablanleuil/galaxy-rs#5d3b6e2b) [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.8 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling js-sys v0.3.40 [INFO] [stderr] Compiling actix-threadpool v0.3.2 [INFO] [stderr] Compiling web-sys v0.3.40 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling actix-server v1.0.3 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling simple_asn1 v0.4.0 [INFO] [stderr] Compiling refinery-core v0.3.1 [INFO] [stderr] Compiling jsonwebtoken v7.1.2 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling refinery-macros v0.3.0 [INFO] [stderr] Compiling refinery v0.3.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix v0.9.0 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-files v0.2.2 [INFO] [stderr] Compiling actix-web-actors v2.0.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling kalaxia-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `FromRow`, `PgRow` [INFO] [stdout] --> src/game/fleet/combat/battle.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | use sqlx::{PgPool, PgConnection, pool::PoolConnection, postgres::{PgRow, PgQueryAs}, FromRow, Executor, Error, Transaction, Postgres, typ... [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/error.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | _ => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/game/faction.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn find(fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/game/faction.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn find(gid: GameID, fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 35s [INFO] running `Command { std: "docker" "inspect" "de910ba1cb4f2908c17b2434dfb61ada6f1ce5081372bd90c8fa7cd49eb9e9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de910ba1cb4f2908c17b2434dfb61ada6f1ce5081372bd90c8fa7cd49eb9e9ea", kill_on_drop: false }` [INFO] [stdout] de910ba1cb4f2908c17b2434dfb61ada6f1ce5081372bd90c8fa7cd49eb9e9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c78e999613f5c70d5e316a88feee319e5da4aedb0f09546b4d8b72fc4b66153 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5c78e999613f5c70d5e316a88feee319e5da4aedb0f09546b4d8b72fc4b66153", kill_on_drop: false }` [INFO] [stderr] Compiling kalaxia-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `FromRow`, `PgRow` [INFO] [stdout] --> src/game/fleet/combat/battle.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | use sqlx::{PgPool, PgConnection, pool::PoolConnection, postgres::{PgRow, PgQueryAs}, FromRow, Executor, Error, Transaction, Postgres, typ... [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib/error.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | _ => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formation` [INFO] [stdout] --> src/game/fleet/formation.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let formation = FleetFormation::Center; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/game/faction.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn find(fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/game/faction.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn find(gid: GameID, fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.34s [INFO] running `Command { std: "docker" "inspect" "5c78e999613f5c70d5e316a88feee319e5da4aedb0f09546b4d8b72fc4b66153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c78e999613f5c70d5e316a88feee319e5da4aedb0f09546b4d8b72fc4b66153", kill_on_drop: false }` [INFO] [stdout] 5c78e999613f5c70d5e316a88feee319e5da4aedb0f09546b4d8b72fc4b66153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb8da2a673ee13f9171a31465ec7b2e5740cf2fa388f680a357db44d75f7fb84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb8da2a673ee13f9171a31465ec7b2e5740cf2fa388f680a357db44d75f7fb84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unused imports: `Error`, `FromRow`, `PgRow` [INFO] [stdout] running 15 tests [INFO] [stderr] --> src/game/fleet/combat/battle.rs:24:67 [INFO] [stdout] test game::fleet::combat::round::tests::test_pick_target_squadron ... ok [INFO] [stderr] | [INFO] [stdout] test game::fleet::fleet::tests::test_change_system ... ok [INFO] [stderr] 24 | use sqlx::{PgPool, PgConnection, pool::PoolConnection, postgres::{PgRow, PgQueryAs}, FromRow, Executor, Error, Transaction, Postgres, typ... [INFO] [stdout] test game::fleet::fleet::tests::test_is_travelling ... ok [INFO] [stderr] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] test game::fleet::fleet::tests::test_can_fight ... ok [INFO] [stderr] | [INFO] [stdout] test game::fleet::combat::round::tests::test_fire ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] test game::fleet::squadron::tests::test_get_available_quantity ... ok [INFO] [stderr] [INFO] [stdout] test game::fleet::travel::tests::test_get_travel_time ... ok [INFO] [stderr] warning: unreachable pattern [INFO] [stdout] test game::game::option::tests::test_get_travel_speed ... ok [INFO] [stderr] --> src/lib/error.rs:112:17 [INFO] [stdout] test game::fleet::squadron::tests::test_get_needed_quantity ... ok [INFO] [stderr] | [INFO] [stdout] test game::game::option::tests::test_get_construction_time_coeff ... ok [INFO] [stderr] 112 | _ => StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] test game::fleet::formation::tests::test_get_attack_formation ... ok [INFO] [stderr] | ^ [INFO] [stdout] test game::system::system::tests::test_as_distance_to ... ok [INFO] [stderr] | [INFO] [stdout] test game::ship::model::tests::test_ship_model_construction_milliseconds ... ok [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] test game::system::building::tests::test_get_construction_seconds ... ok [INFO] [stderr] [INFO] [stdout] test game::ship::model::tests::test_ship_model_data ... ok [INFO] [stderr] warning: unused variable: `formation` [INFO] [stdout] [INFO] [stderr] --> src/game/fleet/formation.rs:77:13 [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 77 | let formation = FleetFormation::Center; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/game/faction.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | pub async fn find(fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find` [INFO] [stderr] --> src/game/faction.rs:94:18 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn find(gid: GameID, fid: FactionID, db_pool: &PgPool) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/kalaxia_api-cced3eb6d6a0bb4a [INFO] running `Command { std: "docker" "inspect" "fb8da2a673ee13f9171a31465ec7b2e5740cf2fa388f680a357db44d75f7fb84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8da2a673ee13f9171a31465ec7b2e5740cf2fa388f680a357db44d75f7fb84", kill_on_drop: false }` [INFO] [stdout] fb8da2a673ee13f9171a31465ec7b2e5740cf2fa388f680a357db44d75f7fb84