[INFO] cloning repository https://github.com/CarloMicieli/trenako-web-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarloMicieli/trenako-web-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa9e4db4ab4246d343e84dabdbc331a3ebc3ed40 [INFO] testing CarloMicieli/trenako-web-api against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/CarloMicieli/trenako-web-api [INFO] finished tweaking git repo https://github.com/CarloMicieli/trenako-web-api [INFO] tweaked toml for git repo https://github.com/CarloMicieli/trenako-web-api written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CarloMicieli/trenako-web-api 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/CarloMicieli/trenako-web-api 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 proc-macro2 v1.0.39 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded bytestring v1.0.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded actix-web-codegen v4.0.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded local-waker v0.1.3 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded tracing-actix-web v0.5.1 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded actix-router v0.5.0 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded actix-macros v0.2.3 [INFO] [stderr] Downloaded cookie v0.16.0 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded actix-server v2.1.1 [INFO] [stderr] Downloaded zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Downloaded zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded local-channel v0.1.3 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded actix-http v3.0.4 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded actix-codec v0.5.0 [INFO] [stderr] Downloaded crypto-mac v0.10.1 [INFO] [stderr] Downloaded testcontainers v0.12.0 [INFO] [stderr] Downloaded hmac v0.10.1 [INFO] [stderr] Downloaded actix-web v4.0.1 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded rust_decimal v1.24.0 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded derive_builder_core v0.10.2 [INFO] [stderr] Downloaded pretty_assertions v1.2.1 [INFO] [stderr] Downloaded pretty_assertions v0.7.2 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded derive_builder_macro v0.10.2 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded rust_decimal_macros v1.24.0 [INFO] [stderr] Downloaded isocountry v0.3.2 [INFO] [stderr] Downloaded derive_builder v0.10.2 [INFO] [stderr] Downloaded config v0.12.0 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58 [INFO] running `Command { std: "docker" "start" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58" "/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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", 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 proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling rust_decimal v1.24.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling rust_decimal_macros v1.24.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling isocountry v0.3.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [INFO] [stderr] Compiling config v0.12.0 [INFO] [stdout] warning: unused import: `Brand` [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::brands::{Brand, BrandType}; [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 variable: `f` [INFO] [stdout] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_brand` is never used [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn create_new_brand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling tracing-actix-web v0.5.1 [INFO] [stderr] Compiling webapi v0.1.0 (/opt/rustwide/workdir/workspace/webapi) [INFO] [stdout] warning: unused import: `crate::web::pagination::PaginateQuery` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::web::pagination::PaginateQuery; [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 variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | new_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | modified_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | new_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | modified_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_railway` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_railway: web::Json, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_railway` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_scale` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_scale: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `limit` are never read [INFO] [stdout] --> workspace/webapi/src/web/pagination.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PaginateQuery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | start: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginateQuery` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", 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 pkg-config v0.3.25 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stdout] warning: unused import: `Brand` [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::brands::{Brand, BrandType}; [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 variable: `f` [INFO] [stdout] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_brand` is never used [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn create_new_brand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stdout] warning: unused import: `crate::web::pagination::PaginateQuery` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::web::pagination::PaginateQuery; [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 variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | new_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | modified_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | new_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | modified_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_railway` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_railway: web::Json, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_railway` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stdout] warning: unused variable: `new_scale` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_scale: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `limit` are never read [INFO] [stdout] --> workspace/webapi/src/web/pagination.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PaginateQuery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | start: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginateQuery` 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] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> workspace/common/src/validation.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [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: `super::*` [INFO] [stdout] --> workspace/common/src/validation.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stdout] --> workspace/common/src/validation.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Brand` [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::brands::{Brand, BrandType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling testcontainers v0.12.0 [INFO] [stdout] warning: struct `Foo` is never constructed [INFO] [stdout] --> workspace/common/src/validation.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_brand` is never used [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn create_new_brand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling webapi v0.1.0 (/opt/rustwide/workdir/workspace/webapi) [INFO] [stdout] warning: field `connection_pool` is never read [INFO] [stdout] --> workspace/webapi/tests/common/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ServiceUnderTest { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 9 | base_endpoint_url: String, [INFO] [stdout] 10 | connection_pool: PgPool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceUnderTest` 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: unused import: `crate::web::pagination::PaginateQuery` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::web::pagination::PaginateQuery; [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 variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | new_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_brand` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | modified_brand: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_brand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/brands.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | new_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified_catalog_item` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | modified_catalog_item: web::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_catalog_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_railway` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_railway: web::Json, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_railway` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/railways.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paginate_params` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | paginate_params: web::Query, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_scale` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | new_scale: web::Json, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `limit` are never read [INFO] [stdout] --> workspace/webapi/src/web/pagination.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PaginateQuery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | start: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginateQuery` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40, 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", 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" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", 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: unused import: `Brand` [INFO] [stderr] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::brands::{Brand, BrandType}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_new_brand` is never used [INFO] [stderr] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stderr] | [INFO] [stderr] 73 | async fn create_new_brand( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `catalog` (lib) generated 3 warnings (run `cargo fix --lib -p catalog` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `crate::web::pagination::PaginateQuery` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::pagination::PaginateQuery; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `paginate_params` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | paginate_params: web::Query, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_brand` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | new_brand: web::Json, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_brand` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modified_brand` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | modified_brand: web::Json, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_brand` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/brands.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_catalog_item` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | new_catalog_item: web::Json, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_catalog_item` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modified_catalog_item` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | modified_catalog_item: web::Json, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified_catalog_item` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `paginate_params` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | paginate_params: web::Query, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_railway` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | new_railway: web::Json, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_railway` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modified` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | modified: web::Json, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/railways.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `paginate_params` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | paginate_params: web::Query, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paginate_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_scale` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | new_scale: web::Json, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_scale` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slug` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | slug: web::Path, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modified` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | modified: web::Json, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/scales.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | db_pool: web::Data, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] [INFO] [stderr] warning: fields `start` and `limit` are never read [INFO] [stderr] --> workspace/webapi/src/web/pagination.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct PaginateQuery { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 5 | start: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 6 | limit: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PaginateQuery` 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: `webapi` (lib) generated 41 warnings (run `cargo fix --lib -p webapi` to apply 40 suggestions) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> workspace/common/src/validation.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> workspace/common/src/validation.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stderr] --> workspace/common/src/validation.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use pretty_assertions::assert_eq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Foo` is never constructed [INFO] [stderr] --> workspace/common/src/validation.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | struct Foo { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `common` (lib test) generated 4 warnings (run `cargo fix --lib -p common --tests` to apply 3 suggestions) [INFO] [stderr] warning: `catalog` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: field `connection_pool` is never read [INFO] [stderr] --> workspace/webapi/tests/common/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ServiceUnderTest { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 9 | base_endpoint_url: String, [INFO] [stderr] 10 | connection_pool: PgPool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceUnderTest` 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: `webapi` (lib test) generated 41 warnings (41 duplicates) [INFO] [stderr] warning: `webapi` (test "health_check") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40, 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/debug/deps/catalog-0705717fc0a6a061) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test brands::tests::brand_tests::it_should_create_new_brands ... ok [INFO] [stdout] test catalog_items::categories::tests::freight_car_type_tests::it_should_fail_to_convert_invalid_values_to_freight_car_types ... ok [INFO] [stdout] test catalog_items::categories::tests::locomotive_type_tests::it_should_convert_string_slices_to_locomotive_types ... ok [INFO] [stdout] test brands::tests::brand_tests::it_should_display_brand_as_string ... ok [INFO] [stdout] test catalog_items::categories::tests::train_type_tests::it_should_convert_string_slices_to_train_types ... ok [INFO] [stdout] test catalog_items::categories::tests::train_type_tests::it_should_fail_to_convert_invalid_values_to_train_types ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_fail_to_parse_invalid_value_as_controls ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_display_controls ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_parse_string_as_controls ... ok [INFO] [stdout] test catalog_items::categories::tests::freight_car_type_tests::it_should_convert_string_slices_to_freight_car_types ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_parse_string_as_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_fail_to_parse_invalid_string_as_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::categories::tests::locomotive_type_tests::it_should_fail_to_convert_invalid_values_to_locomotive_types ... ok [INFO] [stdout] test catalog_items::delivery_date::tests::delivery_date_tests::it_should_produce_string_representations_from_delivery_dates ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_display_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_diplay_epoch_values ... ok [INFO] [stdout] test catalog_items::delivery_date::tests::delivery_date_tests::it_should_parse_string_as_delivery_dates ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_fail_to_convert_invalid_values_to_epochs ... ok [INFO] [stdout] test catalog_items::item_number::tests::item_number_tests::it_should_create_new_item_numbers ... ok [INFO] [stdout] test catalog_items::item_number::tests::item_number_tests::it_should_fail_to_convert_empty_string_slices_as_item_numbers ... ok [INFO] [stdout] test catalog_items::length::tests::length_over_buffer_tests::it_should_print_length_as_strings ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_freight_cars ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_epochs ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_mixed_epochs ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_trains ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_convert_string_slices_to_mixed_service_levels ... ok [INFO] [stdout] test catalog_items::length::tests::length_over_buffer_tests::it_should_add_two_length_values ... ok [INFO] [stdout] test catalog_items::length::tests::length_over_buffer_tests::it_should_create_a_new_value ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_fail_to_convert_invalid_values_to_service_levels ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_locomotives ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_fail_to_convert_string_slices_to_mixed_service_levels ... ok [INFO] [stdout] test catalog_items::categories::tests::passenger_car_type_tests::it_should_fail_to_convert_invalid_values_to_passenger_car_types ... ok [INFO] [stdout] test railways::tests::railway_tests::it_should_create_new_railways ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_passenger_cars ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_convert_string_slices_to_service_levels ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_display_service_level_values ... ok [INFO] [stdout] test catalog_items::categories::tests::passenger_car_type_tests::it_should_convert_string_slices_to_passenger_car_types ... ok [INFO] [stdout] test railways::tests::railway_tests::it_should_display_brand_as_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/collecting-b15c6e996e89697f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-f5c07525ea02ff78) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_two_string_slices ... ok [INFO] [stdout] test address::tests::addresses::it_should_create_new_addresses ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_serialize_to_json ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_strings ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_deserialize_from_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webapi-504cfa2ca6225e44) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_invalid_requests ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_errors ... ok [INFO] [stdout] test configuration::tests::should_build_database_urls ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_unprocessable_entitys ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_from_uuid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trenako_web_api-6633f51babf80514) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/health_check.rs (/opt/rustwide/target/debug/deps/health_check-fecfae69172d64ce) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test health_check_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- health_check_works stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'health_check_works' (3464) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testcontainers-0.12.0/src/clients/cli.rs:145:9: [INFO] [stdout] failed to start container [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x649c741db501 - std[70759c8f55707aa4]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x649c741db501 - std[70759c8f55707aa4]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x649c741db501 - std[70759c8f55707aa4]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x649c741db501 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x649c741f5efa - ::fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x649c741f5efa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 6: 0x649c741e17cc - core[df12db4294e9bfd3]::io::write::default_write_fmt::> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:402:11 [INFO] [stdout] 7: 0x649c741e17cc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:335:13 [INFO] [stdout] 8: 0x649c741b5b96 - ::print [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x649c741b5b96 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x649c741d2cb9 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x649c73760820 - core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9 [INFO] [stdout] 12: 0x649c73760820 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x649c741d2fe2 - core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9 [INFO] [stdout] 14: 0x649c741d2fe2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:823:13 [INFO] [stdout] 15: 0x649c741b506c - std[70759c8f55707aa4]::panicking::begin_panic::<&str>::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:752:9 [INFO] [stdout] 16: 0x649c741ae4f9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x649c741aac5b - std[70759c8f55707aa4]::panicking::begin_panic::<&str> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:751:5 [INFO] [stdout] 18: 0x649c73535a49 - ::run_with_args:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] 19: 0x649c73535dea - ::run:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testcontainers-0.12.0/src/clients/cli.rs:122:14 [INFO] [stdout] 20: 0x649c735376e6 - health_check[a53a720432ccea62]::common::spawn_app::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/common/mod.rs:34:23 [INFO] [stdout] 21: 0x649c7353606f - health_check[a53a720432ccea62]::health_check_works::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:7:31 [INFO] [stdout] 22: 0x649c7352569d - as core[df12db4294e9bfd3]::future::future::Future>::poll [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x649c7351991d - ::block_on::>::{closure#0}::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:64 [INFO] [stdout] 24: 0x649c7352a492 - tokio[4e8e588ea449e67c]::coop::with_budget::, ::block_on>::{closure#0}::{closure#0}::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/coop.rs:102:9 [INFO] [stdout] 25: 0x649c735271e7 - >>::try_with::, ::block_on>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}, core[df12db4294e9bfd3]::task::poll::Poll<()>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/local.rs:463:12 [INFO] [stdout] 26: 0x649c73526f2e - >>::with::, ::block_on>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}, core[df12db4294e9bfd3]::task::poll::Poll<()>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/local.rs:427:20 [INFO] [stdout] 27: 0x649c735197eb - tokio[4e8e588ea449e67c]::coop::with_budget::, ::block_on>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/coop.rs:95:13 [INFO] [stdout] 28: 0x649c735197eb - tokio[4e8e588ea449e67c]::coop::budget::, ::block_on>::{closure#0}::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/coop.rs:72:5 [INFO] [stdout] 29: 0x649c735197eb - ::block_on::>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:25 [INFO] [stdout] 30: 0x649c73515712 - ::enter::, ::block_on>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:361:19 [INFO] [stdout] 31: 0x649c7351900c - ::block_on::>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:506:44 [INFO] [stdout] 32: 0x649c73518d94 - ::enter::<::block_on>::{closure#0}, ()>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:57 [INFO] [stdout] 33: 0x649c7351d76d - >::set::<::enter<::block_on>::{closure#0}, ()>::{closure#0}, (alloc[2182bb758b4b3781]::boxed::Box, ())> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 34: 0x649c735166bc - ::enter::<::block_on>::{closure#0}, ()> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:35 [INFO] [stdout] 35: 0x649c73516905 - ::block_on::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:497:14 [INFO] [stdout] 36: 0x649c73513233 - ::block_on:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/basic_scheduler.rs:173:29 [INFO] [stdout] 37: 0x649c7351c281 - ::block_on:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/runtime/mod.rs:475:51 [INFO] [stdout] 38: 0x649c7353811d - health_check[a53a720432ccea62]::health_check_works [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:17:51 [INFO] [stdout] 39: 0x649c73535e97 - health_check[a53a720432ccea62]::health_check_works::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:6:30 [INFO] [stdout] 40: 0x649c7351bef6 - >::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x649c73753b0b - core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x649c73753b0b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:733:18 [INFO] [stdout] 43: 0x649c73761175 - test[9d35eded1c95d3be]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:74 [INFO] [stdout] 44: 0x649c73761175 - as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 45: 0x649c73761175 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43 [INFO] [stdout] 46: 0x649c73761175 - std[70759c8f55707aa4]::panicking::catch_unwind::, core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19 [INFO] [stdout] 47: 0x649c73761175 - std[70759c8f55707aa4]::panic::catch_unwind::, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14 [INFO] [stdout] 48: 0x649c73761175 - test[9d35eded1c95d3be]::run_test_in_process [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:27 [INFO] [stdout] 49: 0x649c73761175 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:677:43 [INFO] [stdout] 50: 0x649c7375aa34 - test[9d35eded1c95d3be]::run_test::{closure#1} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:707:41 [INFO] [stdout] 51: 0x649c7375aa34 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 52: 0x649c737642d2 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 53: 0x649c737642d2 - ::{closure#1}::{closure#0}> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 54: 0x649c737642d2 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43 [INFO] [stdout] 55: 0x649c737642d2 - std[70759c8f55707aa4]::panicking::catch_unwind::<(), core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19 [INFO] [stdout] 56: 0x649c737642d2 - std[70759c8f55707aa4]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14 [INFO] [stdout] 57: 0x649c737642d2 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 58: 0x649c737642d2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 59: 0x649c741da439 - + core[df12db4294e9bfd3]::marker::Send> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2320:9 [INFO] [stdout] 60: 0x649c741da439 - ::new::thread_start [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/thread/unix.rs:123:17 [INFO] [stdout] 61: 0x7ebf3b0b5dfa - [INFO] [stdout] 62: 0x7ebf3b1493d4 - clone [INFO] [stdout] 63: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] health_check_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.66s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p webapi --test health_check` [INFO] running `Command { std: "docker" "inspect" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58", kill_on_drop: false }` [INFO] [stdout] a3d155b0a5c18dbc11fd310009f1893c3eac833593570f6c726b2b21dc4d7a58