[INFO] cloning repository https://github.com/gasandjalilov/location-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gasandjalilov/location-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasandjalilov%2Flocation-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasandjalilov%2Flocation-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c81c7fcacf4b6c33409a3e147541f9ae42ccb934 [INFO] checking gasandjalilov/location-service against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasandjalilov%2Flocation-service" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gasandjalilov/location-service [INFO] finished tweaking git repo https://github.com/gasandjalilov/location-service [INFO] tweaked toml for git repo https://github.com/gasandjalilov/location-service written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gasandjalilov/location-service on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gasandjalilov/location-service 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.3 [INFO] [stderr] Downloaded mongodm v0.10.0 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded bson v2.14.0 [INFO] [stderr] Downloaded mongodb v3.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2a5d04d682edaba7e721d774084a18fb558c7e798f16a294ff6c191b0e29787 [INFO] running `Command { std: "docker" "start" "-a" "f2a5d04d682edaba7e721d774084a18fb558c7e798f16a294ff6c191b0e29787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2a5d04d682edaba7e721d774084a18fb558c7e798f16a294ff6c191b0e29787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a5d04d682edaba7e721d774084a18fb558c7e798f16a294ff6c191b0e29787", kill_on_drop: false }` [INFO] [stdout] f2a5d04d682edaba7e721d774084a18fb558c7e798f16a294ff6c191b0e29787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f359533307723267130c9bbcb6937bbf755d43c7c33f8ee0e41ede510aff2708 [INFO] running `Command { std: "docker" "start" "-a" "f359533307723267130c9bbcb6937bbf755d43c7c33f8ee0e41ede510aff2708", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling derive-where v1.4.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking bson v2.14.0 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking mongodb v3.2.3 [INFO] [stderr] Checking mongodm v0.10.0 [INFO] [stderr] Checking location-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::exceptions::api_error::ApiError` [INFO] [stdout] --> src/controllers/location.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exceptions::api_error::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Json` [INFO] [stdout] --> src/exceptions/api_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/exceptions/api_error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse` and `Response` [INFO] [stdout] --> src/exceptions/api_error.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::{IntoResponse, Response}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodm::mongo::error::Error` [INFO] [stdout] --> src/exceptions/api_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mongodm::mongo::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::exceptions::api_error::ApiError` [INFO] [stdout] --> src/controllers/location.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::exceptions::api_error::ApiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Json` [INFO] [stdout] --> src/exceptions/api_error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::Json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/exceptions/api_error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse` and `Response` [INFO] [stdout] --> src/exceptions/api_error.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::{IntoResponse, Response}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodm::mongo::error::Error` [INFO] [stdout] --> src/exceptions/api_error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mongodm::mongo::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error as MongoError` [INFO] [stdout] --> src/repositories/location_repository.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use mongodm::mongo::{Database, error::Error as MongoError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error as MongoError` [INFO] [stdout] --> src/repositories/location_repository.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use mongodm::mongo::{Database, error::Error as MongoError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/config/configs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/config/database.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MNGDatabase { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `error` is never used [INFO] [stdout] --> src/dtos/wrapper.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiResponse { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `password` are never read [INFO] [stdout] --> src/config/configs.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseConfig { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub password: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/config/database.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MNGDatabase { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `error` is never used [INFO] [stdout] --> src/dtos/wrapper.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiResponse { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.75s [INFO] running `Command { std: "docker" "inspect" "f359533307723267130c9bbcb6937bbf755d43c7c33f8ee0e41ede510aff2708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f359533307723267130c9bbcb6937bbf755d43c7c33f8ee0e41ede510aff2708", kill_on_drop: false }` [INFO] [stdout] f359533307723267130c9bbcb6937bbf755d43c7c33f8ee0e41ede510aff2708