[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 master#0e21a27075a8c508f00d1a4430497f17ce93d5c9 for pr-98839 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarloMicieli/trenako-web-api on toolchain 0e21a27075a8c508f00d1a4430497f17ce93d5c9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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/source/Cargo.toml [INFO] crate git repo https://github.com/CarloMicieli/trenako-web-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.24.0 [INFO] [stderr] Downloaded config v0.12.0 [INFO] [stderr] Downloaded isocountry v0.3.2 [INFO] [stderr] Downloaded tracing-actix-web v0.5.1 [INFO] [stderr] Downloaded testcontainers v0.12.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Downloaded rust_decimal v1.24.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71f56dc05a253c54b092edf34eed9e2e54bf329cb80dfe1d33e3a8c853d9862 [INFO] running `Command { std: "docker" "start" "-a" "d71f56dc05a253c54b092edf34eed9e2e54bf329cb80dfe1d33e3a8c853d9862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71f56dc05a253c54b092edf34eed9e2e54bf329cb80dfe1d33e3a8c853d9862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71f56dc05a253c54b092edf34eed9e2e54bf329cb80dfe1d33e3a8c853d9862", kill_on_drop: false }` [INFO] [stdout] d71f56dc05a253c54b092edf34eed9e2e54bf329cb80dfe1d33e3a8c853d9862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2552d28573ee36210bca369b4483b913aed5d9805a15919547a974da1ccabeae [INFO] running `Command { std: "docker" "start" "-a" "2552d28573ee36210bca369b4483b913aed5d9805a15919547a974da1ccabeae", kill_on_drop: false }` [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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rust_decimal v1.24.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hkdf v0.12.3 [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 validator_derive v0.14.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling isocountry v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling config v0.12.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rust_decimal_macros v1.24.0 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling tracing-actix-web v0.5.1 [INFO] [stderr] Compiling sqlx v0.5.13 [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)]` 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)]` 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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "2552d28573ee36210bca369b4483b913aed5d9805a15919547a974da1ccabeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2552d28573ee36210bca369b4483b913aed5d9805a15919547a974da1ccabeae", kill_on_drop: false }` [INFO] [stdout] 2552d28573ee36210bca369b4483b913aed5d9805a15919547a974da1ccabeae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77f69530e2a814078e3757280ae515d33eb1c03e4d5726eadcc2f8332e628ec [INFO] running `Command { std: "docker" "start" "-a" "d77f69530e2a814078e3757280ae515d33eb1c03e4d5726eadcc2f8332e628ec", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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)]` 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)]` 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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling testcontainers v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.74 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `ServiceUnderTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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)]` 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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 51.95s [INFO] running `Command { std: "docker" "inspect" "d77f69530e2a814078e3757280ae515d33eb1c03e4d5726eadcc2f8332e628ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77f69530e2a814078e3757280ae515d33eb1c03e4d5726eadcc2f8332e628ec", kill_on_drop: false }` [INFO] [stdout] d77f69530e2a814078e3757280ae515d33eb1c03e4d5726eadcc2f8332e628ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+0e21a27075a8c508f00d1a4430497f17ce93d5c9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8122f134377b2babaca79f387edb8888a2e36422120533b5cada26f00f4e9d60 [INFO] running `Command { std: "docker" "start" "-a" "8122f134377b2babaca79f387edb8888a2e36422120533b5cada26f00f4e9d60", kill_on_drop: false }` [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)]` 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: `common` (lib test) generated 3 warnings [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)]` 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `catalog` (lib) generated 3 warnings [INFO] [stderr] warning: `catalog` (lib test) generated 3 warnings (3 duplicates) [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)]` 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)]` 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: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `webapi` (lib) generated 41 warnings [INFO] [stderr] warning: `webapi` (lib test) generated 41 warnings (41 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: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `ServiceUnderTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `webapi` (test "health_check") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.62s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/catalog-f025fe5ba6cb583c) [INFO] [stdout] [INFO] [stdout] running 38 tests [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::categories::tests::freight_car_type_tests::it_should_fail_to_convert_invalid_values_to_freight_car_types ... ok [INFO] [stdout] test brands::tests::brand_tests::it_should_display_brand_as_string ... 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_create_new_brands ... 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 catalog_items::categories::tests::passenger_car_type_tests::it_should_fail_to_convert_invalid_values_to_passenger_car_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::categories::tests::train_type_tests::it_should_convert_string_slices_to_train_types ... 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::controls::tests::control_tests::it_should_display_controls ... 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_parse_string_as_controls ... 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::controls::tests::dcc_interface_tests::it_should_display_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_parse_string_as_dcc_interfaces ... 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::delivery_date::tests::delivery_date_tests::it_should_produce_string_representations_from_delivery_dates ... 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::epoch::tests::epoch_tests::it_should_diplay_epoch_values ... 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_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::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::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_locomotives ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_passenger_cars ... 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::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::service_levels::tests::service_level_tests::it_should_fail_to_convert_invalid_values_to_service_levels ... 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 railways::tests::railway_tests::it_should_create_new_railways ... 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.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/collecting-ba60e5e55a3b36aa) [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-92d0837b733daa86) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test address::tests::addresses::it_should_create_new_addresses ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_strings ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_two_string_slices ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_deserialize_from_json ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_serialize_to_json ... 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/lib.rs (/opt/rustwide/target/debug/deps/webapi-ba0e30e7ff7a6eef) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test configuration::tests::should_build_database_urls ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_errors ... ok [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_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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trenako_web_api-dcb520b78b300002) [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-e2ccd67b1d0c833b) [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] thread 'health_check_works' panicked at 'failed to start container', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55bb6503d310 - std::backtrace_rs::backtrace::libunwind::trace::h8bb00aa01257e658 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55bb6503d310 - std::backtrace_rs::backtrace::trace_unsynchronized::hbe32e96be15adfbb [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55bb6503d310 - std::sys_common::backtrace::_print_fmt::h9784b9af5bb44c28 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55bb6503d310 - ::fmt::h1c87dcc158231dee [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55bb650638dc - core::fmt::write::h75398e49432c4e9d [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x55bb65036a85 - std::io::Write::write_fmt::hf0afd61938d8b31f [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x55bb6503ed51 - std::sys_common::backtrace::_print::h39d989fb5cda9189 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55bb6503ed51 - std::sys_common::backtrace::print::hafd951f3a156e9b8 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55bb6503ed51 - std::panicking::default_hook::{{closure}}::h3c15d03d8aed3f76 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55bb6503e9a6 - std::panicking::default_hook::h6145e5c2935e997c [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55bb6503f3f3 - std::panicking::rust_panic_with_hook::h4418702214a7a914 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55bb64498e38 - std::panicking::begin_panic::{{closure}}::h56be06e7c3c841ac [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:617:9 [INFO] [stdout] 12: 0x55bb64498756 - std::sys_common::backtrace::__rust_end_short_backtrace::hbb51c4ea8853ed1e [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55bb64498d70 - std::panicking::begin_panic::h9aeaeee1932d37cf [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:616:12 [INFO] [stdout] 14: 0x55bb6404e11e - ::run_with_args::he744e48ea9bfc4ba [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] 15: 0x55bb6404e48a - ::run::hf779abaebffb753b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:122:9 [INFO] [stdout] 16: 0x55bb64049394 - health_check::common::spawn_app::{{closure}}::h0a4929ed53740bce [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/common/mod.rs:34:16 [INFO] [stdout] 17: 0x55bb6402b4af - as core::future::future::Future>::poll::hea661db610eb31be [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/future/mod.rs:91:19 [INFO] [stdout] 18: 0x55bb640280e1 - health_check::health_check_works::{{closure}}::h741ebb7e78df1268 [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:7:30 [INFO] [stdout] 19: 0x55bb6402af9c - as core::future::future::Future>::poll::h2cea70d3204d1f8f [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/future/mod.rs:91:19 [INFO] [stdout] 20: 0x55bb6403b0ea - as core::future::future::Future>::poll::hed6bda2ca0689683 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/future/future.rs:124:9 [INFO] [stdout] 21: 0x55bb6402af10 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha6f58be87f57b3ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:48 [INFO] [stdout] 22: 0x55bb6402c7a0 - tokio::coop::with_budget::{{closure}}::ha324ec92c16a5727 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:102:9 [INFO] [stdout] 23: 0x55bb64030390 - std::thread::local::LocalKey::try_with::h2f060d1a19004a65 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/thread/local.rs:445:16 [INFO] [stdout] 24: 0x55bb640300cd - std::thread::local::LocalKey::with::hc6a69c0334fa036e [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/thread/local.rs:421:9 [INFO] [stdout] 25: 0x55bb6402ae2c - tokio::coop::with_budget::ha5b75c08a08fb535 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:95:5 [INFO] [stdout] 26: 0x55bb6402ae2c - tokio::coop::budget::haf723f11ec42cf05 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:72:5 [INFO] [stdout] 27: 0x55bb6402ae2c - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h56cec00945e4d011 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:25 [INFO] [stdout] 28: 0x55bb64029432 - tokio::runtime::basic_scheduler::Context::enter::h777ec92c2d6dccb5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:361:19 [INFO] [stdout] 29: 0x55bb6402a890 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::hca443fe173d2a532 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:506:36 [INFO] [stdout] 30: 0x55bb6402a5ab - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h19d3bd10004475f7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:57 [INFO] [stdout] 31: 0x55bb6403e257 - tokio::macros::scoped_tls::ScopedKey::set::hacd5ccb1aeb29c67 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 32: 0x55bb6402a367 - tokio::runtime::basic_scheduler::CoreGuard::enter::h3c46006e0905f3e9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:27 [INFO] [stdout] 33: 0x55bb6402a600 - tokio::runtime::basic_scheduler::CoreGuard::block_on::h853694916ce6098b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:497:9 [INFO] [stdout] 34: 0x55bb64028b2f - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h490b89d6f2d31e73 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:173:24 [INFO] [stdout] 35: 0x55bb64046df1 - tokio::runtime::Runtime::block_on::h7792db26a15df226 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/mod.rs:475:46 [INFO] [stdout] 36: 0x55bb64027e19 - health_check::health_check_works::h7e8c2c7b6d8c337e [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:17:5 [INFO] [stdout] 37: 0x55bb64027cba - health_check::health_check_works::{{closure}}::h3a2be81052d0755e [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:6:7 [INFO] [stdout] 38: 0x55bb640413ae - core::ops::function::FnOnce::call_once::h4ae9cfe68ebd9aec [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x55bb64313e83 - core::ops::function::FnOnce::call_once::hce3bf1b84d649375 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 40: 0x55bb64313e83 - test::__rust_begin_short_backtrace::h268c4dff1fdc08d8 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/test/src/lib.rs:572:5 [INFO] [stdout] 41: 0x55bb64312c6c - as core::ops::function::FnOnce>::call_once::h77064d56d798d725 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 42: 0x55bb64312c6c - as core::ops::function::FnOnce<()>>::call_once::h362603611fd702ef [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 43: 0x55bb64312c6c - std::panicking::try::do_call::hc24e8889c40c0b88 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:492:40 [INFO] [stdout] 44: 0x55bb64312c6c - std::panicking::try::h64fd9954f6422690 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:456:19 [INFO] [stdout] 45: 0x55bb64312c6c - std::panic::catch_unwind::h8590ab8b8c78e131 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panic.rs:137:14 [INFO] [stdout] 46: 0x55bb64312c6c - test::run_test_in_process::hd8ca038d3f817f7d [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/test/src/lib.rs:595:18 [INFO] [stdout] 47: 0x55bb64312c6c - test::run_test::run_test_inner::{{closure}}::h57a8a429b5e58c39 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/test/src/lib.rs:489:39 [INFO] [stdout] 48: 0x55bb642debdc - test::run_test::run_test_inner::{{closure}}::h72dbbb6bf3813446 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/test/src/lib.rs:516:37 [INFO] [stdout] 49: 0x55bb642debdc - std::sys_common::backtrace::__rust_begin_short_backtrace::h916790c31ecb4ff9 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 50: 0x55bb642e4bbf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4ffbab0d0d8ad2ca [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 51: 0x55bb642e4bbf - as core::ops::function::FnOnce<()>>::call_once::he8df5d343786542a [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 52: 0x55bb642e4bbf - std::panicking::try::do_call::h80e54b75371d89cf [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:492:40 [INFO] [stdout] 53: 0x55bb642e4bbf - std::panicking::try::h1b15ecfa1d32df7a [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panicking.rs:456:19 [INFO] [stdout] 54: 0x55bb642e4bbf - std::panic::catch_unwind::h993ecf1ae87ebd59 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/panic.rs:137:14 [INFO] [stdout] 55: 0x55bb642e4bbf - std::thread::Builder::spawn_unchecked_::{{closure}}::h23926ef7367e9afd [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 56: 0x55bb642e4bbf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h93ce9dab9bcb8d25 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 57: 0x55bb65044013 - as core::ops::function::FnOnce>::call_once::h7fdba1c346e6c483 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 58: 0x55bb65044013 - as core::ops::function::FnOnce>::call_once::h8839b4becacc6e1e [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 59: 0x55bb65044013 - std::sys::unix::thread::Thread::new::thread_start::h5077fd2da854c080 [INFO] [stdout] at /rustc/0e21a27075a8c508f00d1a4430497f17ce93d5c9/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 60: 0x7fea5a99b609 - start_thread [INFO] [stdout] 61: 0x7fea5a769133 - clone [INFO] [stdout] 62: 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.64s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '-p webapi --test health_check' [INFO] running `Command { std: "docker" "inspect" "8122f134377b2babaca79f387edb8888a2e36422120533b5cada26f00f4e9d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8122f134377b2babaca79f387edb8888a2e36422120533b5cada26f00f4e9d60", kill_on_drop: false }` [INFO] [stdout] 8122f134377b2babaca79f387edb8888a2e36422120533b5cada26f00f4e9d60