[INFO] cloning repository https://github.com/CarloMicieli/trenako-web-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarloMicieli/trenako-web-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa9e4db4ab4246d343e84dabdbc331a3ebc3ed40 [INFO] testing CarloMicieli/trenako-web-api against master#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarloMicieli%2Ftrenako-web-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarloMicieli/trenako-web-api on toolchain d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/CarloMicieli/trenako-web-api [INFO] finished tweaking git repo https://github.com/CarloMicieli/trenako-web-api [INFO] tweaked toml for git repo https://github.com/CarloMicieli/trenako-web-api written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] 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" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-actix-web v0.5.1 [INFO] [stderr] Downloaded testcontainers v0.12.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded config v0.12.0 [INFO] [stderr] Downloaded rust_decimal v1.24.0 [INFO] [stderr] Downloaded isocountry v0.3.2 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded rust_decimal_macros v1.24.0 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 428d9b66aae5d13eb65f12df2bc96c45b755b21e7208a324c1cb6812b8fcf1d6 [INFO] running `Command { std: "docker" "start" "-a" "428d9b66aae5d13eb65f12df2bc96c45b755b21e7208a324c1cb6812b8fcf1d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "428d9b66aae5d13eb65f12df2bc96c45b755b21e7208a324c1cb6812b8fcf1d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428d9b66aae5d13eb65f12df2bc96c45b755b21e7208a324c1cb6812b8fcf1d6", kill_on_drop: false }` [INFO] [stdout] 428d9b66aae5d13eb65f12df2bc96c45b755b21e7208a324c1cb6812b8fcf1d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81a8a880ec0fe4462e9c6adfc246de5ea1f046c43d3c06b25132ca8d8248d368 [INFO] running `Command { std: "docker" "start" "-a" "81a8a880ec0fe4462e9c6adfc246de5ea1f046c43d3c06b25132ca8d8248d368", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [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 matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.21 [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 aho-corasick v0.7.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling rust_decimal v1.24.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [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 if_chain v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling 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 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 validator_derive v0.14.0 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling isocountry v0.3.2 [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 catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stdout] warning: unused import: `Brand` [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::brands::{Brand, BrandType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_brand` is never used [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn create_new_brand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Compiling sqlx-core v0.5.13 [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] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "81a8a880ec0fe4462e9c6adfc246de5ea1f046c43d3c06b25132ca8d8248d368", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a8a880ec0fe4462e9c6adfc246de5ea1f046c43d3c06b25132ca8d8248d368", kill_on_drop: false }` [INFO] [stdout] 81a8a880ec0fe4462e9c6adfc246de5ea1f046c43d3c06b25132ca8d8248d368 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a517db822527c2d0581b193c42aea89f497f4a4854ca4b5a5af606fbbd96ea2 [INFO] running `Command { std: "docker" "start" "-a" "6a517db822527c2d0581b193c42aea89f497f4a4854ca4b5a5af606fbbd96ea2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [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] [stderr] Compiling foreign-types v0.3.2 [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> workspace/catalog/src/brands/data.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_brand` is never used [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | async fn create_new_brand( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling 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] [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] [stderr] Compiling pretty_assertions v0.7.2 [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] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling collecting v0.5.0 (/opt/rustwide/workdir/workspace/collecting) [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/workspace/common) [INFO] [stderr] Compiling catalog v0.1.0 (/opt/rustwide/workdir/workspace/catalog) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> workspace/common/src/validation.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> workspace/common/src/validation.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stdout] --> workspace/common/src/validation.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Brand` [INFO] [stdout] --> workspace/catalog/src/brands/use_cases.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::brands::{Brand, BrandType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl-sys v0.9.74 [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling webapi v0.1.0 (/opt/rustwide/workdir/workspace/webapi) [INFO] [stdout] warning: 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 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] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 31.56s [INFO] running `Command { std: "docker" "inspect" "6a517db822527c2d0581b193c42aea89f497f4a4854ca4b5a5af606fbbd96ea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a517db822527c2d0581b193c42aea89f497f4a4854ca4b5a5af606fbbd96ea2", kill_on_drop: false }` [INFO] [stdout] 6a517db822527c2d0581b193c42aea89f497f4a4854ca4b5a5af606fbbd96ea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c4b6b9f9dc5b13e907dbc83b057933db203d649de13e3ce7ca216b9d8c2654f [INFO] running `Command { std: "docker" "start" "-a" "4c4b6b9f9dc5b13e907dbc83b057933db203d649de13e3ce7ca216b9d8c2654f", kill_on_drop: false }` [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 2 suggestions) [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> workspace/common/src/validation.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> workspace/common/src/validation.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pretty_assertions::assert_eq` [INFO] [stderr] --> workspace/common/src/validation.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | use pretty_assertions::assert_eq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `common` (lib test) generated 3 warnings (run `cargo fix --lib -p common --tests` to apply 3 suggestions) [INFO] [stderr] warning: `catalog` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: 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 40 suggestions) [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 [unoptimized + debuginfo] target(s) in 0.67s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/catalog-f025fe5ba6cb583c) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test catalog_items::categories::tests::passenger_car_type_tests::it_should_convert_string_slices_to_passenger_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 brands::tests::brand_tests::it_should_create_new_brands ... ok [INFO] [stdout] test brands::tests::brand_tests::it_should_display_brand_as_string ... ok [INFO] [stdout] test catalog_items::categories::tests::locomotive_type_tests::it_should_convert_string_slices_to_locomotive_types ... ok [INFO] [stdout] test catalog_items::categories::tests::freight_car_type_tests::it_should_convert_string_slices_to_freight_car_types ... ok [INFO] [stdout] test catalog_items::categories::tests::freight_car_type_tests::it_should_fail_to_convert_invalid_values_to_freight_car_types ... ok [INFO] [stdout] test 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::dcc_interface_tests::it_should_parse_string_as_dcc_interfaces ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_epochs ... ok [INFO] [stdout] test catalog_items::delivery_date::tests::delivery_date_tests::it_should_parse_string_as_delivery_dates ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_convert_string_slices_to_mixed_epochs ... ok [INFO] [stdout] test catalog_items::epoch::tests::epoch_tests::it_should_fail_to_convert_invalid_values_to_epochs ... ok [INFO] [stdout] test catalog_items::item_number::tests::item_number_tests::it_should_fail_to_convert_empty_string_slices_as_item_numbers ... 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::length::tests::length_over_buffer_tests::it_should_add_two_length_values ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_parse_string_as_controls ... ok [INFO] [stdout] test catalog_items::length::tests::length_over_buffer_tests::it_should_print_length_as_strings ... ok [INFO] [stdout] test catalog_items::delivery_date::tests::delivery_date_tests::it_should_produce_string_representations_from_delivery_dates ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_fail_to_parse_invalid_value_as_controls ... ok [INFO] [stdout] test catalog_items::controls::tests::control_tests::it_should_display_controls ... ok [INFO] [stdout] test catalog_items::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_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::length::tests::length_over_buffer_tests::it_should_create_a_new_value ... ok [INFO] [stdout] test catalog_items::controls::tests::dcc_interface_tests::it_should_display_dcc_interfaces ... 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::service_levels::tests::service_level_tests::it_should_convert_string_slices_to_service_levels ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_trains ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_freight_cars ... ok [INFO] [stdout] test catalog_items::rolling_stocks::tests::rolling_stock_tests::it_should_create_new_passenger_cars ... 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::epoch::tests::epoch_tests::it_should_diplay_epoch_values ... 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_string_slices_to_mixed_service_levels ... 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 railways::tests::railway_tests::it_should_create_new_railways ... ok [INFO] [stdout] test railways::tests::railway_tests::it_should_display_brand_as_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/collecting-ba60e5e55a3b36aa) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-92d0837b733daa86) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test address::tests::addresses::it_should_create_new_addresses ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_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_two_string_slices ... ok [INFO] [stdout] test slug::tests::slug_tests::it_should_create_slugs_from_strings ... 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-ba0e30e7ff7a6eef) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_errors ... ok [INFO] [stdout] test configuration::tests::should_build_database_urls ... ok [INFO] [stdout] test web::urn::tests::should_produce_urn_values_for_invalid_requests ... 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] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trenako_web_api-dcb520b78b300002) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/health_check.rs (/opt/rustwide/target/debug/deps/health_check-e2ccd67b1d0c833b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test health_check_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- health_check_works stdout ---- [INFO] [stdout] thread 'health_check_works' panicked at 'failed to start container', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5605dfc0e64a - std::backtrace_rs::backtrace::libunwind::trace::hc087e622734d8aae [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5605dfc0e64a - std::backtrace_rs::backtrace::trace_unsynchronized::h0bb6900536d557fb [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5605dfc0e64a - std::sys_common::backtrace::_print_fmt::h4c16a82910dd5c4c [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x5605dfc0e64a - ::fmt::he15894435b645dc8 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5605dfc35fde - core::fmt::write::h7b79f11bed1e9a0b [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/fmt/mod.rs:1232:17 [INFO] [stdout] 5: 0x5605dfc08bc5 - std::io::Write::write_fmt::h8b711b785e8bbc54 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x5605dfc0e415 - std::sys_common::backtrace::_print::h0224fc066642e602 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x5605dfc0e415 - std::sys_common::backtrace::print::h366b410b7500af1f [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x5605dfc1028f - std::panicking::default_hook::{{closure}}::h418b7bee3528e8d3 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x5605dfc0ff4f - std::panicking::default_hook::h45f05d745386ab9c [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x5605def97db7 - as core::ops::function::Fn>::call::h6c4710da1036f3ac [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x5605def97db7 - test::test_main::{{closure}}::h480ee06d86f65249 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5605dfc109ba - as core::ops::function::Fn>::call::ha5937e436e9127d6 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x5605dfc109ba - std::panicking::rust_panic_with_hook::h103dcb6f302ee362 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x5605dfbcae48 - std::panicking::begin_panic::{{closure}}::h4cc63548382131ca [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:608:9 [INFO] [stdout] 15: 0x5605dfbcaa86 - std::sys_common::backtrace::__rust_end_short_backtrace::h77ddf82e361359d9 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x5605dfbcad80 - std::panicking::begin_panic::h56123b6d1569d6bc [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:607:12 [INFO] [stdout] 17: 0x5605decff77c - ::run_with_args::hc0cc6a089de0d58d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:145:9 [INFO] [stdout] 18: 0x5605decffada - ::run::h9ccc56f2f0b3f013 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/testcontainers-0.12.0/src/clients/cli.rs:122:9 [INFO] [stdout] 19: 0x5605decfc7f4 - health_check::common::spawn_app::{{closure}}::hd92345092fe7887f [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/common/mod.rs:34:16 [INFO] [stdout] 20: 0x5605ded02e22 - health_check::health_check_works::{{closure}}::h256870b6674fec6f [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:7:30 [INFO] [stdout] 21: 0x5605decfab25 - as core::future::future::Future>::poll::h06598fc0b93afc6a [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/future/future.rs:125:9 [INFO] [stdout] 22: 0x5605decdd884 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha29f6c245b16b498 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:48 [INFO] [stdout] 23: 0x5605dece1d80 - tokio::coop::with_budget::{{closure}}::h742779d34822bf90 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:102:9 [INFO] [stdout] 24: 0x5605decece7c - std::thread::local::LocalKey::try_with::hf1d6dd73fb3f41d9 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/thread/local.rs:446:16 [INFO] [stdout] 25: 0x5605decec76d - std::thread::local::LocalKey::with::he343748878028794 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/thread/local.rs:422:9 [INFO] [stdout] 26: 0x5605decdd7e6 - tokio::coop::with_budget::h8bb9e838e3b69aab [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:95:5 [INFO] [stdout] 27: 0x5605decdd7e6 - tokio::coop::budget::h5dd2c23220bb0d47 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/coop.rs:72:5 [INFO] [stdout] 28: 0x5605decdd7e6 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h863f7669b6adb6d5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:507:25 [INFO] [stdout] 29: 0x5605decdbdce - tokio::runtime::basic_scheduler::Context::enter::hddad270d3f773c0d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:361:19 [INFO] [stdout] 30: 0x5605decdd237 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::h02cf5596ed29c066 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:506:36 [INFO] [stdout] 31: 0x5605decdcf5b - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h7b2e4dee6bfc6bab [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:57 [INFO] [stdout] 32: 0x5605decf3ec7 - tokio::macros::scoped_tls::ScopedKey::set::h1de35eb5f5c6bf27 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 33: 0x5605decdcd23 - tokio::runtime::basic_scheduler::CoreGuard::enter::h0e53e9620f2a6026 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:564:27 [INFO] [stdout] 34: 0x5605decdcfa0 - tokio::runtime::basic_scheduler::CoreGuard::block_on::h6b513ebca40781be [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:497:9 [INFO] [stdout] 35: 0x5605decdb4f2 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h471c02b8a80e89c8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/basic_scheduler.rs:173:24 [INFO] [stdout] 36: 0x5605decf74b8 - tokio::runtime::Runtime::block_on::h2551455ee3d0681f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.2/src/runtime/mod.rs:475:46 [INFO] [stdout] 37: 0x5605ded02b69 - health_check::health_check_works::ha9008901e0fbf0dd [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:17:5 [INFO] [stdout] 38: 0x5605ded02a07 - health_check::health_check_works::{{closure}}::hff572e3d44742951 [INFO] [stdout] at /opt/rustwide/workdir/workspace/webapi/tests/health_check.rs:6:31 [INFO] [stdout] 39: 0x5605decf15e5 - core::ops::function::FnOnce::call_once::h30ba07c50e22b376 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5605def9d24f - core::ops::function::FnOnce::call_once::h7cbea5156b840961 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5605def9d24f - test::__rust_begin_short_backtrace::h6b7ad8c2fc17a091 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:656:18 [INFO] [stdout] 42: 0x5605def6e80c - test::run_test::{{closure}}::hb867f6b1cc5fe0cd [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:647:30 [INFO] [stdout] 43: 0x5605def6e80c - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3eed2da275e28ce8 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x5605def9c1da - as core::ops::function::FnOnce>::call_once::hb7938d5921035038 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x5605def9c1da - as core::ops::function::FnOnce<()>>::call_once::h1183c0b89e9071c0 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 46: 0x5605def9c1da - std::panicking::try::do_call::hb901227fcfc11a66 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:483:40 [INFO] [stdout] 47: 0x5605def9c1da - std::panicking::try::h6ed2ee67b8d88d09 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:447:19 [INFO] [stdout] 48: 0x5605def9c1da - std::panic::catch_unwind::h65afc1e27ddc0a8e [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panic.rs:140:14 [INFO] [stdout] 49: 0x5605def9c1da - test::run_test_in_process::hc2e63d7243032c79 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:679:27 [INFO] [stdout] 50: 0x5605def9c1da - test::run_test::run_test_inner::{{closure}}::h5820fe37f90db4dd [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:573:39 [INFO] [stdout] 51: 0x5605def69131 - test::run_test::run_test_inner::{{closure}}::hc67349ebb8859671 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/test/src/lib.rs:600:37 [INFO] [stdout] 52: 0x5605def69131 - std::sys_common::backtrace::__rust_begin_short_backtrace::h9dc69f698f642ac4 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 53: 0x5605def6eacb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hfb218abb7b4cdf7d [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 54: 0x5605def6eacb - as core::ops::function::FnOnce<()>>::call_once::hd87dbb4ddd02d218 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 55: 0x5605def6eacb - std::panicking::try::do_call::hf9e3768db234742c [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:483:40 [INFO] [stdout] 56: 0x5605def6eacb - std::panicking::try::h0aaf4d85bd5e380b [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panicking.rs:447:19 [INFO] [stdout] 57: 0x5605def6eacb - std::panic::catch_unwind::ha647f06d9b0ba604 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/panic.rs:140:14 [INFO] [stdout] 58: 0x5605def6eacb - std::thread::Builder::spawn_unchecked_::{{closure}}::h5f0fc8b88e65cca6 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 59: 0x5605def6eacb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hcc74ccca63c895e0 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 60: 0x5605dfc15933 - as core::ops::function::FnOnce>::call_once::h305cddd6d3fc2b9d [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 61: 0x5605dfc15933 - as core::ops::function::FnOnce>::call_once::hcf060ff907f6401a [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 62: 0x5605dfc15933 - std::sys::unix::thread::Thread::new::thread_start::hee1e7870ad876a91 [INFO] [stdout] at /rustc/d117135f5a9b69ee3adfb1918aa25616758bf692/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 63: 0x7fa597c37b43 - [INFO] [stdout] 64: 0x7fa597cc8bb4 - __clone [INFO] [stdout] 65: 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.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p webapi --test health_check` [INFO] running `Command { std: "docker" "inspect" "4c4b6b9f9dc5b13e907dbc83b057933db203d649de13e3ce7ca216b9d8c2654f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4b6b9f9dc5b13e907dbc83b057933db203d649de13e3ce7ca216b9d8c2654f", kill_on_drop: false }` [INFO] [stdout] 4c4b6b9f9dc5b13e907dbc83b057933db203d649de13e3ce7ca216b9d8c2654f