[INFO] cloning repository https://github.com/jackbereson/graphql-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackbereson/graphql-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbereson%2Fgraphql-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbereson%2Fgraphql-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1820628af3f4531cea6c4235243a55f5cf25b3a2 [INFO] building jackbereson/graphql-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbereson%2Fgraphql-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jackbereson/graphql-rust [INFO] finished tweaking git repo https://github.com/jackbereson/graphql-rust [INFO] tweaked toml for git repo https://github.com/jackbereson/graphql-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackbereson/graphql-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackbereson/graphql-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum-as-inner v0.4.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded async-graphql-actix-web v7.0.17 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded trust-dns-proto v0.21.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.21.2 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded mongodb v2.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41ca419d3aa4af264185e55dbcb6279f96123d061bcc69cc0c458f2b2d3b706a [INFO] running `Command { std: "docker" "start" "-a" "41ca419d3aa4af264185e55dbcb6279f96123d061bcc69cc0c458f2b2d3b706a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41ca419d3aa4af264185e55dbcb6279f96123d061bcc69cc0c458f2b2d3b706a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41ca419d3aa4af264185e55dbcb6279f96123d061bcc69cc0c458f2b2d3b706a", kill_on_drop: false }` [INFO] [stdout] 41ca419d3aa4af264185e55dbcb6279f96123d061bcc69cc0c458f2b2d3b706a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869875e3b8bb78975d1915e9fad278ac89a848d342a8dff9b195c71931f1df5f [INFO] running `Command { std: "docker" "start" "-a" "869875e3b8bb78975d1915e9fad278ac89a848d342a8dff9b195c71931f1df5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling async-graphql-value v7.0.17 [INFO] [stderr] Compiling async-graphql-parser v7.0.17 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.17 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling hyper-util v0.1.13 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling async-graphql v7.0.17 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling async-graphql-axum v7.0.17 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling async-graphql-actix-web v7.0.17 [INFO] [stderr] Compiling graphql-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | ServiceError::DatabaseError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | ServiceError::InternalServerError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_user`, `find_by_email`, and `count_all` are never used [INFO] [stdout] --> src/graphql/modules/user/service.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn update_user(&self, id: &str, name: Option, email: Option, age: Option) -> Result, Box<... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn find_by_email(&self, email: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn count_all(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/configs/development.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DevelopmentConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DevelopmentConfig` 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: fields `enable_cache` and `cache_expiration` are never read [INFO] [stdout] --> src/configs/production.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProductionConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub enable_cache: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | /// Thời gian cache hết hạn (seconds) [INFO] [stdout] 14 | pub cache_expiration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionConfig` 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 `use_mock_services` is never read [INFO] [stdout] --> src/configs/testing.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestingConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub use_mock_services: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingConfig` 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: methods `is_development`, `is_production`, and `is_testing` are never used [INFO] [stdout] --> src/configs/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AppConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_development(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_testing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 39s [INFO] running `Command { std: "docker" "inspect" "869875e3b8bb78975d1915e9fad278ac89a848d342a8dff9b195c71931f1df5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869875e3b8bb78975d1915e9fad278ac89a848d342a8dff9b195c71931f1df5f", kill_on_drop: false }` [INFO] [stdout] 869875e3b8bb78975d1915e9fad278ac89a848d342a8dff9b195c71931f1df5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7edc825bc70d96d482bd7f1d9cb1fb550767842ce129c2a96c503ce07c817e9a [INFO] running `Command { std: "docker" "start" "-a" "7edc825bc70d96d482bd7f1d9cb1fb550767842ce129c2a96c503ce07c817e9a", kill_on_drop: false }` [INFO] [stderr] Compiling graphql-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | ServiceError::DatabaseError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | ServiceError::InternalServerError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_user`, `find_by_email`, and `count_all` are never used [INFO] [stdout] --> src/graphql/modules/user/service.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn update_user(&self, id: &str, name: Option, email: Option, age: Option) -> Result, Box<... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn find_by_email(&self, email: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn count_all(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/configs/development.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DevelopmentConfig { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DevelopmentConfig` 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: fields `enable_cache` and `cache_expiration` are never read [INFO] [stdout] --> src/configs/production.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ProductionConfig { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub enable_cache: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | /// Thời gian cache hết hạn (seconds) [INFO] [stdout] 14 | pub cache_expiration: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductionConfig` 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 `use_mock_services` is never read [INFO] [stdout] --> src/configs/testing.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestingConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub use_mock_services: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestingConfig` 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: methods `is_development`, `is_production`, and `is_testing` are never used [INFO] [stdout] --> src/configs/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AppConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_development(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn is_testing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | ServiceError::DatabaseError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/base/error.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | ServiceError::InternalServerError(msg) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "7edc825bc70d96d482bd7f1d9cb1fb550767842ce129c2a96c503ce07c817e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edc825bc70d96d482bd7f1d9cb1fb550767842ce129c2a96c503ce07c817e9a", kill_on_drop: false }` [INFO] [stdout] 7edc825bc70d96d482bd7f1d9cb1fb550767842ce129c2a96c503ce07c817e9a