[INFO] cloning repository https://github.com/ymx2639068489/ntex-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ymx2639068489/ntex-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymx2639068489%2Fntex-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymx2639068489%2Fntex-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1656b8a2663036508790d1618ba7483eac1d022 [INFO] building ymx2639068489/ntex-test against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymx2639068489%2Fntex-test" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ymx2639068489/ntex-test [INFO] finished tweaking git repo https://github.com/ymx2639068489/ntex-test [INFO] tweaked toml for git repo https://github.com/ymx2639068489/ntex-test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ymx2639068489/ntex-test on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ymx2639068489/ntex-test 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a62099a634b4b2ecf7fc0ca07aa034b9bc6bc68d247fa5e436ee900ab45e9f0f [INFO] running `Command { std: "docker" "start" "-a" "a62099a634b4b2ecf7fc0ca07aa034b9bc6bc68d247fa5e436ee900ab45e9f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a62099a634b4b2ecf7fc0ca07aa034b9bc6bc68d247fa5e436ee900ab45e9f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a62099a634b4b2ecf7fc0ca07aa034b9bc6bc68d247fa5e436ee900ab45e9f0f", kill_on_drop: false }` [INFO] [stdout] a62099a634b4b2ecf7fc0ca07aa034b9bc6bc68d247fa5e436ee900ab45e9f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c8ab2b7c1f5f6e46519655dde5bbcf89830a75c9b8ab2f3b71cc96d355abb3e [INFO] running `Command { std: "docker" "start" "-a" "5c8ab2b7c1f5f6e46519655dde5bbcf89830a75c9b8ab2f3b71cc96d355abb3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling oneshot v0.1.8 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling ntex-service v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling ntex-rt v0.4.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ntex-util v2.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling ntex-bytes v0.1.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling ntex-codec v0.6.2 [INFO] [stderr] Compiling ntex-http v0.1.12 [INFO] [stderr] Compiling ntex-router v0.5.3 [INFO] [stderr] Compiling ntex-io v2.0.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling ntex-tokio v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling ntex-net v2.0.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling ntex-h2 v1.0.0 [INFO] [stderr] Compiling ntex-tls v2.0.0 [INFO] [stderr] Compiling ntex-server v2.0.0 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling diesel v2.1.5 [INFO] [stderr] Compiling ntex v2.0.1 [INFO] [stderr] Compiling ntex-cors v2.0.0 [INFO] [stderr] Compiling travel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/models/response.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn respond_to(self, _req: &HttpRequest) -> Ready { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 90 - fn respond_to(self, _req: &HttpRequest) -> Ready { [INFO] [stdout] 90 + fn respond_to(self, _req: &HttpRequest) -> impl std::future::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn server_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn server_error(message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok_data` and `ok_list` are never used [INFO] [stdout] --> src/controller/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ControllerResponse { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn ok_data(server_res: Result) -> impl Responder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ok_list(server_res: Result, web::Error>) -> impl Responder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomEntity` is never constructed [INFO] [stdout] --> src/models/entity/custom.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CustomEntity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseProductEntity` is never constructed [INFO] [stdout] --> src/models/entity/base_product.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductEntity` is never constructed [INFO] [stdout] --> src/models/entity/product.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryIntid` is never constructed [INFO] [stdout] --> src/models/param/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperatorEntity` is never constructed [INFO] [stdout] --> src/models/entity/operator.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderEntity` is never constructed [INFO] [stdout] --> src/models/entity/order.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryDTO` is never constructed [INFO] [stdout] --> src/models/param/company.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QueryDTO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_ERROR_CODE` is never used [INFO] [stdout] --> src/models/response.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const CLIENT_ERROR_CODE: i32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok_list` and `client_error` are never used [INFO] [stdout] --> src/models/response.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Response { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "5c8ab2b7c1f5f6e46519655dde5bbcf89830a75c9b8ab2f3b71cc96d355abb3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c8ab2b7c1f5f6e46519655dde5bbcf89830a75c9b8ab2f3b71cc96d355abb3e", kill_on_drop: false }` [INFO] [stdout] 5c8ab2b7c1f5f6e46519655dde5bbcf89830a75c9b8ab2f3b71cc96d355abb3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a703389044cc0b905a4af8302ea894d8bbfbab898d92a94f99ac8d1dcb9db42 [INFO] running `Command { std: "docker" "start" "-a" "3a703389044cc0b905a4af8302ea894d8bbfbab898d92a94f99ac8d1dcb9db42", kill_on_drop: false }` [INFO] [stderr] Compiling travel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/models/response.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn respond_to(self, _req: &HttpRequest) -> Ready { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 90 - fn respond_to(self, _req: &HttpRequest) -> Ready { [INFO] [stdout] 90 + fn respond_to(self, _req: &HttpRequest) -> impl std::future::Future { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn server_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn server_error(message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/models/response.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProductEntity` is never constructed [INFO] [stdout] --> src/models/entity/product.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok_data` and `ok_list` are never used [INFO] [stdout] --> src/controller/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl ControllerResponse { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn ok_data(server_res: Result) -> impl Responder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn ok_list(server_res: Result, web::Error>) -> impl Responder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperatorEntity` is never constructed [INFO] [stdout] --> src/models/entity/operator.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryIntid` is never constructed [INFO] [stdout] --> src/models/param/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLIENT_ERROR_CODE` is never used [INFO] [stdout] --> src/models/response.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const CLIENT_ERROR_CODE: i32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `ok_list` and `client_error` are never used [INFO] [stdout] --> src/models/response.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Response { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn ok_list(data: Vec, message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn client_error(message: &str) -> ResponseWrapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderEntity` is never constructed [INFO] [stdout] --> src/models/entity/order.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CustomEntity` is never constructed [INFO] [stdout] --> src/models/entity/custom.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CustomEntity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseProductEntity` is never constructed [INFO] [stdout] --> src/models/entity/base_product.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryDTO` is never constructed [INFO] [stdout] --> src/models/param/company.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct QueryDTO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "3a703389044cc0b905a4af8302ea894d8bbfbab898d92a94f99ac8d1dcb9db42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a703389044cc0b905a4af8302ea894d8bbfbab898d92a94f99ac8d1dcb9db42", kill_on_drop: false }` [INFO] [stdout] 3a703389044cc0b905a4af8302ea894d8bbfbab898d92a94f99ac8d1dcb9db42