[INFO] cloning repository https://github.com/bakulman/railway_system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bakulman/railway_system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakulman%2Frailway_system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakulman%2Frailway_system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] df14e4a68bc9c73b75e29b3e9436e5fe893b2ced
[INFO] testing bakulman/railway_system against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakulman%2Frailway_system" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bakulman/railway_system
[INFO] finished tweaking git repo https://github.com/bakulman/railway_system
[INFO] tweaked toml for git repo https://github.com/bakulman/railway_system written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bakulman/railway_system on toolchain 1.98.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bakulman/railway_system 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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b
[INFO] running `Command { std: "docker" "start" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling bytes v1.12.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling tower-http v0.7.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling railway_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Postgres`, `Transaction`, and `query`
[INFO] [stdout]  --> src/dbstorage.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 |     PgPool, PgTransaction, Postgres, Row, Transaction,
[INFO] [stdout]   |                            ^^^^^^^^       ^^^^^^^^^^^
[INFO] [stdout] 3 |     postgres::{PgPoolOptions, PgRow},
[INFO] [stdout] 4 |     query,
[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: `TicketId`
[INFO] [stdout]  --> src/main.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use modules::{ClerkId, StationId, TicketId, TrainId};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{Value, json};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConfigError`, `TrainNotFound`, `ClerkNotFound`, and `SeatInsufficient` are never constructed
[INFO] [stdout]   --> src/error.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum SystemError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 13 |     DatabaseError(String),
[INFO] [stdout] 14 |     ConfigError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     TrainNotFound { train_id: TrainId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     ClerkNotFound { clerk_id: ClerkId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 19 |     SeatInsufficient { train_id: TrainId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TicketId` is never constructed
[INFO] [stdout]   --> src/modules/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct TicketId(pub i32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clerk` is never constructed
[INFO] [stdout]  --> src/modules/clerk.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Clerk {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Station` is never constructed
[INFO] [stdout]  --> src/modules/station.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Station {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ticket` is never constructed
[INFO] [stdout]  --> src/modules/ticket.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Ticket {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Train` is never constructed
[INFO] [stdout]  --> src/modules/train.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Train {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4m 27s
[INFO] running `Command { std: "docker" "inspect" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling railway_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Postgres`, `Transaction`, and `query`
[INFO] [stdout]  --> src/dbstorage.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 |     PgPool, PgTransaction, Postgres, Row, Transaction,
[INFO] [stdout]   |                            ^^^^^^^^       ^^^^^^^^^^^
[INFO] [stdout] 3 |     postgres::{PgPoolOptions, PgRow},
[INFO] [stdout] 4 |     query,
[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: `crate::modules::train::Train`
[INFO] [stdout]    --> src/dbstorage.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |     use crate::modules::train::Train;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TicketId`
[INFO] [stdout]  --> src/main.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use modules::{ClerkId, StationId, TicketId, TrainId};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::{Value, json};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConfigError`, `TrainNotFound`, `ClerkNotFound`, and `SeatInsufficient` are never constructed
[INFO] [stdout]   --> src/error.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum SystemError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 13 |     DatabaseError(String),
[INFO] [stdout] 14 |     ConfigError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     TrainNotFound { train_id: TrainId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 18 |     ClerkNotFound { clerk_id: ClerkId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 19 |     SeatInsufficient { train_id: TrainId },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TicketId` is never constructed
[INFO] [stdout]   --> src/modules/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct TicketId(pub i32);
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Clerk` is never constructed
[INFO] [stdout]  --> src/modules/clerk.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Clerk {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Station` is never constructed
[INFO] [stdout]  --> src/modules/station.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Station {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ticket` is never constructed
[INFO] [stdout]  --> src/modules/ticket.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Ticket {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Train` is never constructed
[INFO] [stdout]  --> src/modules/train.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Train {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 15.95s
[INFO] running `Command { std: "docker" "inspect" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Postgres`, `Transaction`, and `query`
[INFO] [stderr]  --> src/dbstorage.rs:2:28
[INFO] [stderr]   |
[INFO] [stderr] 2 |     PgPool, PgTransaction, Postgres, Row, Transaction,
[INFO] [stderr]   |                            ^^^^^^^^       ^^^^^^^^^^^
[INFO] [stderr] 3 |     postgres::{PgPoolOptions, PgRow},
[INFO] [stderr] 4 |     query,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::modules::train::Train`
[INFO] [stderr]    --> src/dbstorage.rs:255:9
[INFO] [stderr]     |
[INFO] [stderr] 255 |     use crate::modules::train::Train;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TicketId`
[INFO] [stderr]  --> src/main.rs:7:35
[INFO] [stderr]   |
[INFO] [stderr] 7 | use modules::{ClerkId, StationId, TicketId, TrainId};
[INFO] [stderr]   |                                   ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Value`
[INFO] [stderr]  --> src/main.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 | use serde_json::{Value, json};
[INFO] [stderr]   |                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `ConfigError`, `TrainNotFound`, `ClerkNotFound`, and `SeatInsufficient` are never constructed
[INFO] [stderr]   --> src/error.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum SystemError {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] 13 |     DatabaseError(String),
[INFO] [stderr] 14 |     ConfigError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     TrainNotFound { train_id: TrainId },
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 18 |     ClerkNotFound { clerk_id: ClerkId },
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 19 |     SeatInsufficient { train_id: TrainId },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SystemError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TicketId` is never constructed
[INFO] [stderr]   --> src/modules/mod.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct TicketId(pub i32);
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Clerk` is never constructed
[INFO] [stderr]  --> src/modules/clerk.rs:2:12
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub struct Clerk {
[INFO] [stderr]   |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Station` is never constructed
[INFO] [stderr]  --> src/modules/station.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub struct Station {
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Ticket` is never constructed
[INFO] [stderr]  --> src/modules/ticket.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Ticket {
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Train` is never constructed
[INFO] [stderr]  --> src/modules/train.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Train {
[INFO] [stderr]   |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `railway_system` (bin "railway_system" test) generated 10 warnings (run `cargo fix --bin "railway_system" -p railway_system --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.31s
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/railway_system-88c9073501a14290)
[INFO] [stdout] test dbstorage::tests::test_high_concurrency_sell_ticket ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- dbstorage::tests::test_high_concurrency_sell_ticket stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'dbstorage::tests::test_high_concurrency_sell_ticket' (3450) panicked at src/dbstorage.rs:264:53:
[INFO] [stdout] connect failed!: DatabaseError("数据库连接失败: pool timed out while waiting for an open connection")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x62fdfb2336d1 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x62fdfb24a12a - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x62fdfb23810c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x62fdfb210a76 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x62fdfb22b049 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x62fdfb10eb00 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x62fdfb22b372 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x62fdfb210b22 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x62fdfb208399 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x62fdfb21190d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x62fdfb24a88c - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x62fdfb24a662 - core[812a354ff5be3162]::result::unwrap_failed
[INFO] [stdout]   12:     0x62fdfb0d78a5 - railway_system[d9f50d7f7856324a]::dbstorage::tests::test_high_concurrency_sell_ticket::{closure#0}
[INFO] [stdout]   13:     0x62fdfb0db8e3 - <tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::Context>::enter::<core[812a354ff5be3162]::task::poll::Poll<()>, <tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   14:     0x62fdfb0fc1ac - <tokio[b686d0cc1bf796e7]::runtime::context::scoped::Scoped<tokio[b686d0cc1bf796e7]::runtime::scheduler::Context>>::set::<<tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>::{closure#0}, core[812a354ff5be3162]::option::Option<()>>::{closure#0}, (alloc[9902a75dd20b7c99]::boxed::Box<tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::Core>, core[812a354ff5be3162]::option::Option<()>)>
[INFO] [stdout]   15:     0x62fdfb0dc137 - <tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   16:     0x62fdfb0f329a - tokio[b686d0cc1bf796e7]::runtime::context::runtime::enter_runtime::<<tokio[b686d0cc1bf796e7]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   17:     0x62fdfb0efcad - <tokio[b686d0cc1bf796e7]::runtime::runtime::Runtime>::block_on::<core[812a354ff5be3162]::pin::Pin<&mut dyn core[812a354ff5be3162]::future::future::Future<Output = ()>>>
[INFO] [stdout]   18:     0x62fdfb0d86bb - railway_system[d9f50d7f7856324a]::dbstorage::tests::test_high_concurrency_sell_ticket
[INFO] [stdout]   19:     0x62fdfb0fbe59 - <railway_system[d9f50d7f7856324a]::dbstorage::tests::test_high_concurrency_sell_ticket::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x62fdfb101e3b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   21:     0x62fdfb10f485 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   22:     0x62fdfb109f34 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x62fdfb1125d2 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x62fdfb232baf - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x7c415186507a - <unknown>
[INFO] [stdout]   26:     0x7c41518f8534 - clone
[INFO] [stdout]   27:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     dbstorage::tests::test_high_concurrency_sell_ticket
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin railway_system`
[INFO] running `Command { std: "docker" "inspect" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b", kill_on_drop: false }`
[INFO] [stdout] 3ce8694c9ee9d40f5a59ec47e70c113cc8da5a157dc60a619a1ae3dc91ae227b
