[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] checking ymx2639068489/ntex-test against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymx2639068489%2Fntex-test" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ymx2639068489/ntex-test on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntex-net v2.0.0 [INFO] [stderr] Downloaded ntex-tls v2.0.0 [INFO] [stderr] Downloaded ntex-macros v0.1.3 [INFO] [stderr] Downloaded ntex-codec v0.6.2 [INFO] [stderr] Downloaded ntex-io v2.0.0 [INFO] [stderr] Downloaded ntex-service v3.0.0 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded ntex-bytes v0.1.27 [INFO] [stderr] Downloaded ntex-router v0.5.3 [INFO] [stderr] Downloaded ntex-server v2.0.0 [INFO] [stderr] Downloaded ntex-h2 v1.0.0 [INFO] [stderr] Downloaded ntex v2.0.1 [INFO] [stderr] Downloaded ntex-http v0.1.12 [INFO] [stderr] Downloaded ntex-tokio v0.5.0 [INFO] [stderr] Downloaded ntex-util v2.0.1 [INFO] [stderr] Downloaded ntex-rt v0.4.13 [INFO] [stderr] Downloaded ntex-cors v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd6811d212d94bda8f1cf87a3bf3ef21a1eafb510ea922e6c5bd869a84e4d82 [INFO] running `Command { std: "docker" "start" "-a" "6fd6811d212d94bda8f1cf87a3bf3ef21a1eafb510ea922e6c5bd869a84e4d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd6811d212d94bda8f1cf87a3bf3ef21a1eafb510ea922e6c5bd869a84e4d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd6811d212d94bda8f1cf87a3bf3ef21a1eafb510ea922e6c5bd869a84e4d82", kill_on_drop: false }` [INFO] [stdout] 6fd6811d212d94bda8f1cf87a3bf3ef21a1eafb510ea922e6c5bd869a84e4d82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa7aafbfb09c32b83f0ba70f9b6d1d5a9a82db021dedfdc9e7f7e0adee3aec2 [INFO] running `Command { std: "docker" "start" "-a" "9aa7aafbfb09c32b83f0ba70f9b6d1d5a9a82db021dedfdc9e7f7e0adee3aec2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Checking ntex-util v2.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.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] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.0.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking ntex-net v2.0.0 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking ntex-server v2.0.0 [INFO] [stderr] Checking ntex-tls v2.0.0 [INFO] [stderr] Checking ntex-h2 v1.0.0 [INFO] [stderr] Checking diesel v2.1.5 [INFO] [stderr] Checking ntex v2.0.1 [INFO] [stderr] Checking ntex-cors v2.0.0 [INFO] [stderr] Checking 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)]` 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) -> impl std::future::Future { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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)]` 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) -> impl std::future::Future { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `create_at`, `product_type`, `file`, and `notes` are never read [INFO] [stdout] --> src/models/entity/base_product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | #[diesel(column_name = "type")] [INFO] [stdout] 10 | pub product_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/product.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub base_product_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub start_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub end_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/order.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub custom_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub salesman_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub product_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub company: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub pay_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub money: BigDecimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub rebate: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/operator.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub admin_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub teablename: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub operator_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub origin_object: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub now_object: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/param/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryIntid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 9 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `create_at`, `product_type`, `file`, and `notes` are never read [INFO] [stdout] --> src/models/entity/base_product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | #[diesel(column_name = "type")] [INFO] [stdout] 10 | pub product_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/product.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub base_product_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub start_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub end_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/order.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub custom_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub salesman_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub product_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub company: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub pay_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub money: BigDecimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub rebate: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/operator.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub admin_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub teablename: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub operator_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub origin_object: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub now_object: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/param/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryIntid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.88s [INFO] running `Command { std: "docker" "inspect" "9aa7aafbfb09c32b83f0ba70f9b6d1d5a9a82db021dedfdc9e7f7e0adee3aec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7aafbfb09c32b83f0ba70f9b6d1d5a9a82db021dedfdc9e7f7e0adee3aec2", kill_on_drop: false }` [INFO] [stdout] 9aa7aafbfb09c32b83f0ba70f9b6d1d5a9a82db021dedfdc9e7f7e0adee3aec2 [INFO] checking ymx2639068489/ntex-test against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fymx2639068489%2Fntex-test" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ymx2639068489/ntex-test on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f45e4785b7d27f45ada1078a2fcc2cd4e309cffa76877fd89c3cb7ecbbb9a80 [INFO] running `Command { std: "docker" "start" "-a" "1f45e4785b7d27f45ada1078a2fcc2cd4e309cffa76877fd89c3cb7ecbbb9a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f45e4785b7d27f45ada1078a2fcc2cd4e309cffa76877fd89c3cb7ecbbb9a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f45e4785b7d27f45ada1078a2fcc2cd4e309cffa76877fd89c3cb7ecbbb9a80", kill_on_drop: false }` [INFO] [stdout] 1f45e4785b7d27f45ada1078a2fcc2cd4e309cffa76877fd89c3cb7ecbbb9a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dbebb64cb1c8562d9baf326a906e31c5ef8c85e28c4c99da7da2d98c55fc8bd [INFO] running `Command { std: "docker" "start" "-a" "0dbebb64cb1c8562d9baf326a906e31c5ef8c85e28c4c99da7da2d98c55fc8bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.5 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking ntex-util v2.0.1 [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] Checking futures-util v0.3.30 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.0.0 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.0.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking ntex-server v2.0.0 [INFO] [stderr] Checking ntex-tls v2.0.0 [INFO] [stderr] Checking ntex-h2 v1.0.0 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking diesel v2.1.5 [INFO] [stderr] Checking ntex v2.0.1 [INFO] [stderr] Checking ntex-cors v2.0.0 [INFO] [stderr] Checking 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)]` 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) -> impl std::future::Future { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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)]` 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) -> impl std::future::Future { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `create_at`, `product_type`, `file`, and `notes` are never read [INFO] [stdout] --> src/models/entity/base_product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | #[diesel(column_name = "type")] [INFO] [stdout] 10 | pub product_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/product.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub base_product_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub start_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub end_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/order.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub custom_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub salesman_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub product_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub company: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub pay_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub money: BigDecimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub rebate: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/operator.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub admin_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub teablename: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub operator_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub origin_object: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub now_object: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/param/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryIntid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 9 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `create_at`, `product_type`, `file`, and `notes` are never read [INFO] [stdout] --> src/models/entity/base_product.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseProductEntity { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | #[diesel(column_name = "type")] [INFO] [stdout] 10 | pub product_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub file: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub notes: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/product.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ProductEntity { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 7 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub base_product_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub start_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub end_time: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub duration: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/order.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrderEntity { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | pub custom_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub salesman_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub product_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub create_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub company: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pub order_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub pay_method: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub money: BigDecimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub people_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub rebate: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/entity/operator.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OperatorEntity { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub admin_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub teablename: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub source_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub operator_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub origin_object: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub now_object: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub notes: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models/param/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIntid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryIntid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.41s [INFO] running `Command { std: "docker" "inspect" "0dbebb64cb1c8562d9baf326a906e31c5ef8c85e28c4c99da7da2d98c55fc8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dbebb64cb1c8562d9baf326a906e31c5ef8c85e28c4c99da7da2d98c55fc8bd", kill_on_drop: false }` [INFO] [stdout] 0dbebb64cb1c8562d9baf326a906e31c5ef8c85e28c4c99da7da2d98c55fc8bd