[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.97.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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bakulman/railway_system on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded crc v3.4.0
[INFO] [stderr]   Downloaded wasite v0.1.0
[INFO] [stderr]   Downloaded libredox v0.1.17
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.6
[INFO] [stderr]   Downloaded sqlx-macros v0.8.6
[INFO] [stderr]   Downloaded crc-catalog v2.5.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.6
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded whoami v1.6.1
[INFO] [stderr]   Downloaded redox_syscall v0.8.1
[INFO] [stderr]   Downloaded rsa v0.9.10
[INFO] [stderr]   Downloaded flume v0.11.1
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.6
[INFO] [stderr]   Downloaded sqlx-core v0.8.6
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.6
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.6
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded tower-http v0.7.0
[INFO] [stderr]   Downloaded sqlx v0.8.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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] a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e
[INFO] running `Command { std: "docker" "start" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", 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" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", 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" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.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 stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling itoa v1.0.18
[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 typenum v1.20.1
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling thiserror v2.0.18
[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 mio v1.2.1
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling equivalent v1.0.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 log v0.4.33
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling indexmap v2.14.0
[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 tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[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 tracing v0.1.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling smallvec v1.15.2
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling tower-service v0.3.3
[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 atoi v2.0.0
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling tower v0.5.3
[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 hyper-util v0.1.20
[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 23s
[INFO] running `Command { std: "docker" "inspect" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", 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" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.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 16.23s
[INFO] running `Command { std: "docker" "inspect" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", 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" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.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.29s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/railway_system-88c9073501a14290)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[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' (3453) 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:     0x57290c02cd48 - <<std[10d71ac2c42b111e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x57290c0438ca - core[8fb95b77d25ab6c8]::fmt::write
[INFO] [stdout]    2:     0x57290c031b92 - <alloc[a7ee25936407c584]::vec::Vec<u8> as std[10d71ac2c42b111e]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x57290c00b076 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x57290c024d59 - std[10d71ac2c42b111e]::panicking::default_hook
[INFO] [stdout]    5:     0x57290bf096bc - test[213991da798b1c03]::test_main_inner::<test[213991da798b1c03]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x57290c024fd2 - std[10d71ac2c42b111e]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x57290c00b132 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x57290c000259 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace::<std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x57290c00c00d - __rustc[3be9ba60078d4c86]::rust_begin_unwind
[INFO] [stdout]   10:     0x57290c043fec - core[8fb95b77d25ab6c8]::panicking::panic_fmt
[INFO] [stdout]   11:     0x57290c043dc2 - core[8fb95b77d25ab6c8]::result::unwrap_failed
[INFO] [stdout]   12:     0x57290bed261e - railway_system[37e248da06d04765]::dbstorage::tests::test_high_concurrency_sell_ticket::{closure#0}
[INFO] [stdout]   13:     0x57290bed3895 - <tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::Context>::enter::<core[8fb95b77d25ab6c8]::task::poll::Poll<()>, <tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   14:     0x57290bef6bac - <tokio[41ee4096f2ed92c6]::runtime::context::scoped::Scoped<tokio[41ee4096f2ed92c6]::runtime::scheduler::Context>>::set::<<tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>::{closure#0}, core[8fb95b77d25ab6c8]::option::Option<()>>::{closure#0}, (alloc[a7ee25936407c584]::boxed::Box<tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::Core>, core[8fb95b77d25ab6c8]::option::Option<()>)>
[INFO] [stdout]   15:     0x57290bed40f7 - <tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   16:     0x57290bef3fdb - tokio[41ee4096f2ed92c6]::runtime::context::runtime::enter_runtime::<<tokio[41ee4096f2ed92c6]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   17:     0x57290bef23cd - <tokio[41ee4096f2ed92c6]::runtime::runtime::Runtime>::block_on::<core[8fb95b77d25ab6c8]::pin::Pin<&mut dyn core[8fb95b77d25ab6c8]::future::future::Future<Output = ()>>>
[INFO] [stdout]   18:     0x57290bed335b - railway_system[37e248da06d04765]::dbstorage::tests::test_high_concurrency_sell_ticket
[INFO] [stdout]   19:     0x57290beee9b9 - <railway_system[37e248da06d04765]::dbstorage::tests::test_high_concurrency_sell_ticket::{closure#0} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x57290befc79b - test[213991da798b1c03]::__rust_begin_short_backtrace::<core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>>
[INFO] [stdout]   21:     0x57290bf0a015 - test[213991da798b1c03]::run_test::{closure#0}
[INFO] [stdout]   22:     0x57290bf03924 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace::<test[213991da798b1c03]::run_test::{closure#1}, ()>
[INFO] [stdout]   23:     0x57290bf0d092 - <std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked<test[213991da798b1c03]::run_test::{closure#1}, ()>::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   24:     0x57290c02c4af - <std[10d71ac2c42b111e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   25:     0x7ac20252b07a - <unknown>
[INFO] [stdout]   26:     0x7ac2025be534 - 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" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e", kill_on_drop: false }`
[INFO] [stdout] a18e7c06292599ee8049a9af70b5b16c8767431679814bd336aeafcac524da3e
