[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/fa9e4db4ab4246d343e84dabdbc331a3ebc3ed40 against beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarloMicieli/trenako-web-api on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28065a47d5fa1e50f69e29b34ddbc3428cba5bc367e97af61d80afac9301cea4 [INFO] running `Command { std: "docker" "start" "-a" "28065a47d5fa1e50f69e29b34ddbc3428cba5bc367e97af61d80afac9301cea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28065a47d5fa1e50f69e29b34ddbc3428cba5bc367e97af61d80afac9301cea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28065a47d5fa1e50f69e29b34ddbc3428cba5bc367e97af61d80afac9301cea4", kill_on_drop: false }` [INFO] [stdout] 28065a47d5fa1e50f69e29b34ddbc3428cba5bc367e97af61d80afac9301cea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c3e1a6fd082aab752e0c25a128157eb833fa3efe96b5d379cd6cf8490414c01 [INFO] running `Command { std: "docker" "start" "-a" "8c3e1a6fd082aab752e0c25a128157eb833fa3efe96b5d379cd6cf8490414c01", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version_check v0.9.4 [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 pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.15 [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 generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling rust_decimal v1.24.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.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 matchers v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling actix-rt v2.7.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 either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [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 actix-web-codegen v4.0.0 [INFO] [stderr] Compiling rust_decimal_macros v1.24.0 [INFO] [stderr] Compiling validator v0.14.0 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.2 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling sqlformat v0.1.8 [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] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling tracing-actix-web v0.5.1 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [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: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 43s [INFO] running `Command { std: "docker" "inspect" "8c3e1a6fd082aab752e0c25a128157eb833fa3efe96b5d379cd6cf8490414c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3e1a6fd082aab752e0c25a128157eb833fa3efe96b5d379cd6cf8490414c01", kill_on_drop: false }` [INFO] [stdout] 8c3e1a6fd082aab752e0c25a128157eb833fa3efe96b5d379cd6cf8490414c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4dfbc2bf8564d38feddbf12444333abc4c3239539a605ab4d4a293469bc2f76 [INFO] running `Command { std: "docker" "start" "-a" "d4dfbc2bf8564d38feddbf12444333abc4c3239539a605ab4d4a293469bc2f76", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [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] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ipnet v2.5.0 [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] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slug` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | slug: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_slug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modified` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | modified: web::Json, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> workspace/webapi/src/handlers/catalog/scales.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | db_pool: web::Data, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `limit` are never read [INFO] [stdout] --> workspace/webapi/src/web/pagination.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PaginateQuery { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | start: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | limit: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [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] [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] [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: struct `Foo` is never constructed [INFO] [stdout] --> workspace/common/src/validation.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | struct Foo { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling testcontainers v0.12.0 [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] [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: `ServiceUnderTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.91s [INFO] running `Command { std: "docker" "inspect" "d4dfbc2bf8564d38feddbf12444333abc4c3239539a605ab4d4a293469bc2f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4dfbc2bf8564d38feddbf12444333abc4c3239539a605ab4d4a293469bc2f76", kill_on_drop: false }` [INFO] [stdout] d4dfbc2bf8564d38feddbf12444333abc4c3239539a605ab4d4a293469bc2f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 820b7cdcd060ba3e2b97639dd0c26b394f30178238eec6f5b49388024f2935ff [INFO] running `Command { std: "docker" "start" "-a" "820b7cdcd060ba3e2b97639dd0c26b394f30178238eec6f5b49388024f2935ff", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `Brand` [INFO] [stderr] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::brands::{Brand, BrandType}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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 (run `cargo fix --lib -p catalog` to apply 1 suggestion) [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: struct `Foo` is never constructed [INFO] [stderr] --> workspace/common/src/validation.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | struct Foo { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `catalog` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `common` (lib test) generated 4 warnings (run `cargo fix --lib -p common --tests` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `crate::web::pagination::PaginateQuery` [INFO] [stderr] --> workspace/webapi/src/handlers/catalog/catalog_items.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::web::pagination::PaginateQuery; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` 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: `PaginateQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `webapi` (lib) generated 41 warnings (run `cargo fix --lib -p webapi` to apply 1 suggestion) [INFO] [stderr] warning: field `connection_pool` is never read [INFO] [stderr] --> workspace/webapi/tests/common/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ServiceUnderTest { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 9 | base_endpoint_url: String, [INFO] [stderr] 10 | connection_pool: PgPool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceUnderTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `webapi` (lib test) generated 41 warnings (41 duplicates) [INFO] [stderr] warning: `webapi` (test "health_check") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/catalog-5733a00154cb54eb) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test brands::tests::brand_tests::it_should_create_new_brands ... ok [INFO] [stdout] test catalog_items::categories::tests::freight_car_type_tests::it_should_convert_string_slices_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::freight_car_type_tests::it_should_fail_to_convert_invalid_values_to_freight_car_types ... ok [INFO] [stdout] test catalog_items::categories::tests::locomotive_type_tests::it_should_fail_to_convert_invalid_values_to_locomotive_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_convert_string_slices_to_train_types ... ok [INFO] [stdout] test catalog_items::categories::tests::train_type_tests::it_should_fail_to_convert_invalid_values_to_train_types ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_display_controls ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_display_dcc_interfaces ... 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::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_diplay_epoch_values ... ok [INFO] [stdout] test catalog_items::length::tests::length_over_buffer_tests::it_should_print_length_as_strings ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_epochs ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_mixed_epochs ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_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::epoch::tests::epoch_tests::it_should_fail_to_convert_invalid_values_to_epochs ... 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::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::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_freight_cars ... ok [INFO] [stdout] test catalog_items::categories::tests::locomotive_type_tests::it_should_convert_string_slices_to_locomotive_types ... 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::controls::tests::dcc_interface_tests::it_should_fail_to_parse_invalid_string_as_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_parse_string_as_controls ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_locomotives ... ok [INFO] [stdout] test catalog_items::service_levels::tests::service_level_tests::it_should_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::controls::tests::dcc_interface_tests::it_should_parse_string_as_dcc_interfaces ... 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] 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_fail_to_convert_string_slices_to_mixed_service_levels ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/collecting-bad19f96a0a3eabd) [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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-065336f8f0412276) [INFO] [stdout] [INFO] [stdout] running 5 tests [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] test slug::tests::slug_tests::it_should_create_slugs_from_strings ... ok [INFO] [stdout] test address::tests::addresses::it_should_create_new_addresses ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_two_string_slices ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webapi-0d8098d0a8e65d6c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_invalid_requests ... ok [INFO] [stdout] test configuration::tests::should_build_database_urls ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_from_uuid ... 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_for_errors ... 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-5d4d253b1ae409cb) [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-8f874032fe2f6ca9) [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 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/testcontainers-0.12.0/src/clients/cli.rs:145:9: [INFO] [stdout] failed to start container [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fad3b50482a - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5fad3b50482a - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5fad3b50482a - std::sys::backtrace::_print_fmt::h8588b0f62410823f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fad3b50482a - ::fmt::h98c26ac25ffe89bb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fad3b5316b3 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5fad3b5316b3 - core::fmt::write::h0dd5f6e2238c7982 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21 [INFO] [stdout] 6: 0x5fad3b500c53 - std::io::Write::write_fmt::h03bb0ca26e6faf8c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15 [INFO] [stdout] 7: 0x5fad3b504672 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5fad3b505d2d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5fad3b505b37 - std::panicking::default_hook::he5f8e3b203ccddba [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5fad3a9e6be7 - as core::ops::function::Fn>::call::h7a3c7b4a1ae77f2f [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 11: 0x5fad3a9e6be7 - test::test_main::{{closure}}::hf0d3b69ae9b353d1 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5fad3b5063d8 - as core::ops::function::Fn>::call::h6332e82e7b189abd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 13: 0x5fad3b5063d8 - std::panicking::rust_panic_with_hook::h53863d4e9018df39 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5fad3b4d31ca - std::panicking::begin_panic::{{closure}}::h75ffbba1b72d5748 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:738:9 [INFO] [stdout] 15: 0x5fad3b4d313a - std::sys::backtrace::__rust_end_short_backtrace::h897a81f3b8bf0016 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5fad3b4d3173 - std::panicking::begin_panic::hdfc7da592a2eece5 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:737:5 [INFO] [stdout] 17: 0x5fad3a7519ab - ::run_with_args::h04585772247acc7a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] 18: 0x5fad3a751cfd - ::run::hd19ab8f0009a3260 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/testcontainers-0.12.0/src/clients/cli.rs:122:9 [INFO] [stdout] 19: 0x5fad3a74a435 - health_check::common::spawn_app::{{closure}}::h9428d1fa699df2fc [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/common/mod.rs:34:16 [INFO] [stdout] 20: 0x5fad3a757148 - health_check::health_check_works::{{closure}}::hfd81dfe41e6ede41 [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:7:31 [INFO] [stdout] 21: 0x5fad3a7646fd - as core::future::future::Future>::poll::h91235715ed040c47 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/future/future.rs:124:9 [INFO] [stdout] 22: 0x5fad3a7638df - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha17cdd05afd72463 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:48 [INFO] [stdout] 23: 0x5fad3a747e53 - tokio::coop::with_budget::{{closure}}::habe1874af0c53e9a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/coop.rs:102:9 [INFO] [stdout] 24: 0x5fad3a74ddca - std::thread::local::LocalKey::try_with::h98fcc7ae79dcf6d4 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:283:12 [INFO] [stdout] 25: 0x5fad3a74d8fa - std::thread::local::LocalKey::with::h2f53f9a66c5326cf [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/local.rs:260:9 [INFO] [stdout] 26: 0x5fad3a763889 - tokio::coop::with_budget::ha2bcb2c25871e399 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/coop.rs:95:5 [INFO] [stdout] 27: 0x5fad3a763889 - tokio::coop::budget::h25a71b2d6b740ca5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/coop.rs:72:5 [INFO] [stdout] 28: 0x5fad3a763889 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::hb6acf406d3ef3bdb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:25 [INFO] [stdout] 29: 0x5fad3a761ef0 - tokio::runtime::basic_scheduler::Context::enter::h4ce987a8614c78a1 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:361:19 [INFO] [stdout] 30: 0x5fad3a76329a - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::hc4fc49a58e39bb75 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:506:36 [INFO] [stdout] 31: 0x5fad3a763064 - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::hf8b41b42494c679a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:57 [INFO] [stdout] 32: 0x5fad3a75d67d - tokio::macros::scoped_tls::ScopedKey::set::hac0aabd729700871 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 33: 0x5fad3a762e3c - tokio::runtime::basic_scheduler::CoreGuard::enter::h21776c1afcf92303 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:27 [INFO] [stdout] 34: 0x5fad3a76307a - tokio::runtime::basic_scheduler::CoreGuard::block_on::ha94988e3093cb0f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:497:9 [INFO] [stdout] 35: 0x5fad3a761681 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h9e4bae4647193a3c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/basic_scheduler.rs:173:24 [INFO] [stdout] 36: 0x5fad3a75545d - tokio::runtime::Runtime::block_on::h73b7b2c6005914d0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.2/src/runtime/mod.rs:475:46 [INFO] [stdout] 37: 0x5fad3a756edc - health_check::health_check_works::h8a73fc42809ce94c [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:17:5 [INFO] [stdout] 38: 0x5fad3a756d77 - health_check::health_check_works::{{closure}}::hdb80bb4960b7a76f [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:6:30 [INFO] [stdout] 39: 0x5fad3a7520e6 - core::ops::function::FnOnce::call_once::h25adf359013411b9 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5fad3a9eb70b - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5fad3a9eb70b - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18 [INFO] [stdout] 42: 0x5fad3a9eb0f8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60 [INFO] [stdout] 43: 0x5fad3a9eb0f8 - as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 44: 0x5fad3a9eb0f8 - std::panicking::try::do_call::hc79d0fc888a0bd30 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 45: 0x5fad3a9eb0f8 - std::panicking::try::hb8a7878e3a8589d6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 46: 0x5fad3a9eb0f8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 47: 0x5fad3a9eb0f8 - test::run_test_in_process::hc2900b0b18688dd6 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27 [INFO] [stdout] 48: 0x5fad3a9eb0f8 - test::run_test::{{closure}}::hac2a9cb07be3d48d [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43 [INFO] [stdout] 49: 0x5fad3a9aeb9a - test::run_test::{{closure}}::h4a5b729e66a38cd8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41 [INFO] [stdout] 50: 0x5fad3a9aeb9a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 51: 0x5fad3a9b2514 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 52: 0x5fad3a9b2514 - as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 53: 0x5fad3a9b2514 - std::panicking::try::do_call::h2625a51b667bfb64 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40 [INFO] [stdout] 54: 0x5fad3a9b2514 - std::panicking::try::hb956a59a1973aa4c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19 [INFO] [stdout] 55: 0x5fad3a9b2514 - std::panic::catch_unwind::h64f3b9d1067ef6a0 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14 [INFO] [stdout] 56: 0x5fad3a9b2514 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 57: 0x5fad3a9b2514 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 58: 0x5fad3b50b2ab - as core::ops::function::FnOnce>::call_once::h42f0ba71002a1b2c [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 59: 0x5fad3b50b2ab - as core::ops::function::FnOnce>::call_once::had9e47d7a3dcecb8 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 60: 0x5fad3b50b2ab - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2 [INFO] [stdout] at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 61: 0x7f4f67928ac3 - [INFO] [stdout] 62: 0x7f4f679b9a04 - clone [INFO] [stdout] 63: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] health_check_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p webapi --test health_check` [INFO] running `Command { std: "docker" "inspect" "820b7cdcd060ba3e2b97639dd0c26b394f30178238eec6f5b49388024f2935ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "820b7cdcd060ba3e2b97639dd0c26b394f30178238eec6f5b49388024f2935ff", kill_on_drop: false }` [INFO] [stdout] 820b7cdcd060ba3e2b97639dd0c26b394f30178238eec6f5b49388024f2935ff