[INFO] cloning repository https://github.com/andregs/rust-axum-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andregs/rust-axum-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandregs%2Frust-axum-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandregs%2Frust-axum-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c725df10f82a4a2310d3df44356265a495cd4163 [INFO] testing andregs/rust-axum-demo against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandregs%2Frust-axum-demo" "/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/andregs/rust-axum-demo [INFO] finished tweaking git repo https://github.com/andregs/rust-axum-demo [INFO] tweaked toml for git repo https://github.com/andregs/rust-axum-demo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andregs/rust-axum-demo on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andregs/rust-axum-demo 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded event-listener v2.5.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.5 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded uncased v0.9.6 [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded block-buffer v0.10.2 [INFO] [stderr] Downloaded mockall v0.11.0 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded sha2 v0.10.2 [INFO] [stderr] Downloaded md-5 v0.10.1 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded redox_users v0.4.3 [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded lazy-regex v2.3.0 [INFO] [stderr] Downloaded axum-core v0.2.4 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded digest v0.10.3 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded uuid-macro-internal v1.0.0 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded uuid v1.0.0 [INFO] [stderr] Downloaded mockall_derive v0.11.0 [INFO] [stderr] Downloaded figment v0.10.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.37 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded futures-intrusive v0.4.0 [INFO] [stderr] Downloaded tower-http v0.3.2 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded axum v0.5.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded combine v4.6.4 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded tracing-subscriber v0.3.11 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded object v0.28.3 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded tokio v1.18.1 [INFO] [stderr] Downloaded libc v0.2.125 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded gimli v0.26.1 [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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2 [INFO] running `Command { std: "docker" "start" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", 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" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", 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" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.18.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling axum-core v0.2.4 [INFO] [stderr] Compiling tower-http v0.3.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling lazy-regex-proc_macros v2.3.0 [INFO] [stderr] Compiling uuid-macro-internal v1.0.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling axum v0.5.4 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling uuid v1.0.0 [INFO] [stderr] Compiling lazy-regex v2.3.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling migrate-db v0.1.0 (/opt/rustwide/workdir/migrate-db) [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling axum-demo v0.1.0 (/opt/rustwide/workdir/axum-demo) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn save_token(&self, token: &Token, username: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | conn.set(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 34 | conn.set::<_, _, ()>(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_credentials_tx` is never used [INFO] [stdout] --> axum-demo/src/credential_repo/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CredentialRepoApi { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | async fn check_credentials_tx(&self, tx: &mut Transaction, credentials: &Credentials) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 5m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: axum-demo v0.1.0 (/opt/rustwide/workdir/axum-demo), redis v0.21.5, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", 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" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn save_token(&self, token: &Token, username: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | conn.set(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 34 | conn.set::<_, _, ()>(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_credentials_tx` is never used [INFO] [stdout] --> axum-demo/src/credential_repo/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CredentialRepoApi { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | async fn check_credentials_tx(&self, tx: &mut Transaction, credentials: &Credentials) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mockall_derive v0.11.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling migrate-db v0.1.0 (/opt/rustwide/workdir/migrate-db) [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling mockall v0.11.0 [INFO] [stderr] Compiling axum-demo v0.1.0 (/opt/rustwide/workdir/axum-demo) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn save_token(&self, token: &Token, username: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> axum-demo/src/token_repo/mod.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | conn.set(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 34 | conn.set::<_, _, ()>(key, value).await.context("Unable to store the token")?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: axum-demo v0.1.0 (/opt/rustwide/workdir/axum-demo), redis v0.21.5, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", 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" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> axum-demo/src/token_repo/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | async fn save_token(&self, token: &Token, username: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> axum-demo/src/token_repo/mod.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | conn.set(key, value).await.context("Unable to store the token")?; [INFO] [stderr] | ^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 34 | conn.set::<_, _, ()>(key, value).await.context("Unable to store the token")?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: method `check_credentials_tx` is never used [INFO] [stderr] --> axum-demo/src/credential_repo/mod.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait CredentialRepoApi { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 16 | async fn check_credentials_tx(&self, tx: &mut Transaction, credentials: &Credentials) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `axum-demo` (lib) generated 2 warnings (run `cargo fix --lib -p axum-demo` to apply 1 suggestion) [INFO] [stderr] warning: `axum-demo` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: axum-demo v0.1.0 (/opt/rustwide/workdir/axum-demo), redis v0.21.5, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/axum_demo-f4bce7b2edc9c449) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test service::tests::login::it_should_not_return_uuid_token_when_login_fails ... FAILED [INFO] [stdout] test credential_repo::tests::insert_credentials::it_should_reject_duplicated_username ... FAILED [INFO] [stdout] test credential_repo::tests::insert_credentials::it_should_reject_username_too_big ... FAILED [INFO] [stdout] test service::tests::login::it_should_return_uuid_token_when_login_is_ok ... FAILED [INFO] [stdout] test token_repo::tests::test_save_and_check ... FAILED [INFO] [stdout] test credential_repo::tests::insert_credentials::it_should_insert_good_credentials ... FAILED [INFO] [stdout] test credential_repo::tests::check_credentials::it_should_find_valid_credentials ... FAILED [INFO] [stdout] test credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong ... FAILED [INFO] [stdout] test credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong ... FAILED [INFO] [stdout] test service::tests::register::it_should_return_new_id_when_registration_is_ok ... FAILED [INFO] [stdout] test service::tests::register::it_should_return_proper_error_when_registration_fails ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- service::tests::login::it_should_not_return_uuid_token_when_login_fails stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::tests::login::it_should_not_return_uuid_token_when_login_fails' (4108) panicked at axum-demo/src/service/tests.rs:112:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::service::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::service::tests::login::it_should_not_return_uuid_token_when_login_fails [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stderr] error: test failed, to rerun pass `-p axum-demo --lib` [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035caad6 - axum_demo[2d2cd6336c708737]::service::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d2778 - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce03590893 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac43a - ::block_on:: [INFO] [stdout] 16: 0x5dce0359e35d - axum_demo[2d2cd6336c708737]::service::tests::login::it_should_not_return_uuid_token_when_login_fails [INFO] [stdout] 17: 0x5dce035d8769 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::insert_credentials::it_should_reject_duplicated_username stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::insert_credentials::it_should_reject_duplicated_username' (4106) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::credential_repo::tests::insert_credentials::it_should_reject_duplicated_username [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d1a8e - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358f173 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac239 - ::block_on:: [INFO] [stdout] 16: 0x5dce0359e02b - axum_demo[2d2cd6336c708737]::credential_repo::tests::insert_credentials::it_should_reject_duplicated_username [INFO] [stdout] 17: 0x5dce035d8729 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::insert_credentials::it_should_reject_username_too_big stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::insert_credentials::it_should_reject_username_too_big' (4107) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::credential_repo::tests::insert_credentials::it_should_reject_username_too_big [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d16ba - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358e5e3 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac129 - ::block_on:: [INFO] [stdout] 16: 0x5dce0359de7c - axum_demo[2d2cd6336c708737]::credential_repo::tests::insert_credentials::it_should_reject_username_too_big [INFO] [stdout] 17: 0x5dce035d8709 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- service::tests::login::it_should_return_uuid_token_when_login_is_ok stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::tests::login::it_should_return_uuid_token_when_login_is_ok' (4109) panicked at axum-demo/src/service/tests.rs:112:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::service::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::service::tests::login::it_should_return_uuid_token_when_login_is_ok [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035caad6 - axum_demo[2d2cd6336c708737]::service::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d1f98 - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358fd03 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac33a - ::block_on:: [INFO] [stdout] 16: 0x5dce0359e1c2 - axum_demo[2d2cd6336c708737]::service::tests::login::it_should_return_uuid_token_when_login_is_ok [INFO] [stdout] 17: 0x5dce035d8749 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- token_repo::tests::test_save_and_check stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'token_repo::tests::test_save_and_check' (4121) panicked at axum-demo/src/token_repo/tests.rs:13:19: [INFO] [stdout] unexpected error: Other(Unable to connect to Redis [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] Connection refused (os error 111) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::get_username::{closure#0} [INFO] [stdout] 1: as core::future::future::Future>::poll [INFO] [stdout] 2: ::block_on:: [INFO] [stdout] 3: axum_demo::token_repo::tests::test_save_and_check [INFO] [stdout] 4: >::call_once [INFO] [stdout] 5: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 6: test::run_test::{closure#0} [INFO] [stdout] 7: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 8: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 9: ::new::thread_start [INFO] [stdout] 10: [INFO] [stdout] 11: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce035d02b9 - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 12: 0x5dce0358ac18 - ::block_on:: [INFO] [stdout] 13: 0x5dce035b5d82 - axum_demo[2d2cd6336c708737]::token_repo::tests::test_save_and_check [INFO] [stdout] 14: 0x5dce035d8669 - >::call_once [INFO] [stdout] 15: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 16: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 17: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 18: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 19: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 20: 0x77d73346ddfa - [INFO] [stdout] 21: 0x77d7335013d4 - clone [INFO] [stdout] 22: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::insert_credentials::it_should_insert_good_credentials stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::insert_credentials::it_should_insert_good_credentials' (4105) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::credential_repo::tests::insert_credentials::it_should_insert_good_credentials [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d138a - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358da53 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac019 - ::block_on:: [INFO] [stdout] 16: 0x5dce0359dcd1 - axum_demo[2d2cd6336c708737]::credential_repo::tests::insert_credentials::it_should_insert_good_credentials [INFO] [stdout] 17: 0x5dce035d86e9 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::check_credentials::it_should_find_valid_credentials stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::check_credentials::it_should_find_valid_credentials' (4102) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: axum_demo::credential_repo::tests::check_credentials::it_should_find_valid_credentials [INFO] [stdout] 5: >::call_once [INFO] [stdout] 6: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 7: test::run_test::{closure#0} [INFO] [stdout] 8: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 9: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 10: ::new::thread_start [INFO] [stdout] 11: [INFO] [stdout] 12: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d052c - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358b7a3 - ::block_on:: [INFO] [stdout] 15: 0x5dce035b6006 - axum_demo[2d2cd6336c708737]::credential_repo::tests::check_credentials::it_should_find_valid_credentials [INFO] [stdout] 16: 0x5dce035d8689 - >::call_once [INFO] [stdout] 17: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 18: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 19: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 20: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 21: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 22: 0x77d73346ddfa - [INFO] [stdout] 23: 0x77d7335013d4 - clone [INFO] [stdout] 24: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong' (4103) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: axum_demo::credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong [INFO] [stdout] 5: >::call_once [INFO] [stdout] 6: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 7: test::run_test::{closure#0} [INFO] [stdout] 8: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 9: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 10: ::new::thread_start [INFO] [stdout] 11: [INFO] [stdout] 12: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d0a3c - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358c333 - ::block_on:: [INFO] [stdout] 15: 0x5dce035b6296 - axum_demo[2d2cd6336c708737]::credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong [INFO] [stdout] 16: 0x5dce035d86a9 - >::call_once [INFO] [stdout] 17: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 18: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 19: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 20: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 21: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 22: 0x77d73346ddfa - [INFO] [stdout] 23: 0x77d7335013d4 - clone [INFO] [stdout] 24: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong' (4104) panicked at axum-demo/src/credential_repo/tests.rs:96:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: axum_demo::credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong [INFO] [stdout] 5: >::call_once [INFO] [stdout] 6: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 7: test::run_test::{closure#0} [INFO] [stdout] 8: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 9: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 10: ::new::thread_start [INFO] [stdout] 11: [INFO] [stdout] 12: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035ca682 - axum_demo[2d2cd6336c708737]::credential_repo::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d0fcb - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce0358cec3 - ::block_on:: [INFO] [stdout] 15: 0x5dce035b6517 - axum_demo[2d2cd6336c708737]::credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong [INFO] [stdout] 16: 0x5dce035d86c9 - >::call_once [INFO] [stdout] 17: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 18: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 19: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 20: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 21: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 22: 0x77d73346ddfa - [INFO] [stdout] 23: 0x77d7335013d4 - clone [INFO] [stdout] 24: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- service::tests::register::it_should_return_new_id_when_registration_is_ok stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::tests::register::it_should_return_new_id_when_registration_is_ok' (4118) panicked at axum-demo/src/service/tests.rs:112:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::service::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::service::tests::register::it_should_return_new_id_when_registration_is_ok [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035caad6 - axum_demo[2d2cd6336c708737]::service::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d2eee - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce03591423 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac53a - ::block_on:: [INFO] [stdout] 16: 0x5dce0359e4f2 - axum_demo[2d2cd6336c708737]::service::tests::register::it_should_return_new_id_when_registration_is_ok [INFO] [stdout] 17: 0x5dce035d8789 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- service::tests::register::it_should_return_proper_error_when_registration_fails stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'service::tests::register::it_should_return_proper_error_when_registration_fails' (4120) panicked at axum-demo/src/service/tests.rs:112:29: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Other(Unable to connect [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] pool timed out while waiting for an open connection [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: axum_demo::config::context::db::connect::{closure#0} [INFO] [stdout] 1: axum_demo::service::tests::before_each::{closure#0} [INFO] [stdout] 2: as core::future::future::Future>::poll [INFO] [stdout] 3: ::block_on:: [INFO] [stdout] 4: ::block_on:: [INFO] [stdout] 5: axum_demo::service::tests::register::it_should_return_proper_error_when_registration_fails [INFO] [stdout] 6: >::call_once [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 8: test::run_test::{closure#0} [INFO] [stdout] 9: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 10: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 11: ::new::thread_start [INFO] [stdout] 12: [INFO] [stdout] 13: clone) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dce038c7511 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5dce038dfcfa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5dce038cc02c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5dce038a21b6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5dce038bee29 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5dce036144f0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5dce038bf152 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5dce038a2262 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5dce0389ad79 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5dce038a304d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5dce038e045c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5dce038e0232 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5dce035caad6 - axum_demo[2d2cd6336c708737]::service::tests::before_each::{closure#0} [INFO] [stdout] 13: 0x5dce035d356e - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] 14: 0x5dce03591fb3 - ::block_on:: [INFO] [stdout] 15: 0x5dce035ac63a - ::block_on:: [INFO] [stdout] 16: 0x5dce0359e68d - axum_demo[2d2cd6336c708737]::service::tests::register::it_should_return_proper_error_when_registration_fails [INFO] [stdout] 17: 0x5dce035d87a9 - >::call_once [INFO] [stdout] 18: 0x5dce036077db - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 19: 0x5dce03614e45 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 20: 0x5dce0360e704 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5dce03617fa2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 22: 0x5dce038c63a9 - ::new::thread_start [INFO] [stdout] 23: 0x77d73346ddfa - [INFO] [stdout] 24: 0x77d7335013d4 - clone [INFO] [stdout] 25: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] credential_repo::tests::check_credentials::it_should_find_valid_credentials [INFO] [stdout] credential_repo::tests::check_credentials::it_should_not_find_when_password_is_wrong [INFO] [stdout] credential_repo::tests::check_credentials::it_should_not_find_when_username_is_wrong [INFO] [stdout] credential_repo::tests::insert_credentials::it_should_insert_good_credentials [INFO] [stdout] credential_repo::tests::insert_credentials::it_should_reject_duplicated_username [INFO] [stdout] credential_repo::tests::insert_credentials::it_should_reject_username_too_big [INFO] [stdout] service::tests::login::it_should_not_return_uuid_token_when_login_fails [INFO] [stdout] service::tests::login::it_should_return_uuid_token_when_login_is_ok [INFO] [stdout] service::tests::register::it_should_return_new_id_when_registration_is_ok [INFO] [stdout] service::tests::register::it_should_return_proper_error_when_registration_fails [INFO] [stdout] token_repo::tests::test_save_and_check [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 34.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2", kill_on_drop: false }` [INFO] [stdout] e1e33b1761d6a86f41e8f0b3ff99be0b09dad2bce2bc83881a62d477e26775e2