[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] testing gasandjalilov/location-service against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgasandjalilov%2Flocation-service" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gasandjalilov/location-service on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodm v0.10.0 [INFO] [stderr] Downloaded sha2 v0.10.9 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.3 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded derive-where v1.4.0 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded tokio-util v0.7.15 [INFO] [stderr] Downloaded bson v2.14.0 [INFO] [stderr] Downloaded serde_with v3.12.0 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded derive_more v0.99.20 [INFO] [stderr] Downloaded resolv-conf v0.7.4 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded serde_with_macros v3.12.0 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded mongodb v3.2.3 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe156c8a796a4b8b432fbaaf818facd83168c1568a61ef04ea3ed83f9be0d58f [INFO] running `Command { std: "docker" "start" "-a" "fe156c8a796a4b8b432fbaaf818facd83168c1568a61ef04ea3ed83f9be0d58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe156c8a796a4b8b432fbaaf818facd83168c1568a61ef04ea3ed83f9be0d58f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe156c8a796a4b8b432fbaaf818facd83168c1568a61ef04ea3ed83f9be0d58f", kill_on_drop: false }` [INFO] [stdout] fe156c8a796a4b8b432fbaaf818facd83168c1568a61ef04ea3ed83f9be0d58f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 473d7ad4c50d360a8210192b7923d7146d936df286946878cb3fbf09d7d7ebb8 [INFO] running `Command { std: "docker" "start" "-a" "473d7ad4c50d360a8210192b7923d7146d936df286946878cb3fbf09d7d7ebb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling typed-builder v0.10.0 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling derive-where v1.4.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bson v2.14.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling mongodb v3.2.3 [INFO] [stderr] Compiling mongodm v0.10.0 [INFO] [stderr] Compiling 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "473d7ad4c50d360a8210192b7923d7146d936df286946878cb3fbf09d7d7ebb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473d7ad4c50d360a8210192b7923d7146d936df286946878cb3fbf09d7d7ebb8", kill_on_drop: false }` [INFO] [stdout] 473d7ad4c50d360a8210192b7923d7146d936df286946878cb3fbf09d7d7ebb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 91e1cd5d42071ed8ea681c316bbb13e951c318fb96b3baf49870beed8b173e43 [INFO] running `Command { std: "docker" "start" "-a" "91e1cd5d42071ed8ea681c316bbb13e951c318fb96b3baf49870beed8b173e43", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "91e1cd5d42071ed8ea681c316bbb13e951c318fb96b3baf49870beed8b173e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e1cd5d42071ed8ea681c316bbb13e951c318fb96b3baf49870beed8b173e43", kill_on_drop: false }` [INFO] [stdout] 91e1cd5d42071ed8ea681c316bbb13e951c318fb96b3baf49870beed8b173e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 46f3fe1e247a1e1e9097a6a9f041f5e02c9312d11ce79fd4db590fc441d6b8e1 [INFO] running `Command { std: "docker" "start" "-a" "46f3fe1e247a1e1e9097a6a9f041f5e02c9312d11ce79fd4db590fc441d6b8e1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::exceptions::api_error::ApiError` [INFO] [stderr] --> src/controllers/location.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::exceptions::api_error::ApiError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::Json` [INFO] [stderr] --> src/exceptions/api_error.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::Json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::http::StatusCode` [INFO] [stderr] --> src/exceptions/api_error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use axum::http::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `IntoResponse` and `Response` [INFO] [stderr] --> src/exceptions/api_error.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use axum::response::{IntoResponse, Response}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mongodm::mongo::error::Error` [INFO] [stderr] --> src/exceptions/api_error.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use mongodm::mongo::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::Error as MongoError` [INFO] [stderr] --> src/repositories/location_repository.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use mongodm::mongo::{Database, error::Error as MongoError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `username` and `password` are never read [INFO] [stderr] --> src/config/configs.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct DatabaseConfig { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub password: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DatabaseConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `client` is never read [INFO] [stderr] --> src/config/database.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct MNGDatabase { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 6 | pub client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `error` is never used [INFO] [stderr] --> src/dtos/wrapper.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ApiResponse { [INFO] [stderr] | --------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn error(error: String) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `location-service` (bin "location-service" test) generated 9 warnings (run `cargo fix --bin "location-service" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/location_service-57b4399ebdfa13f1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "46f3fe1e247a1e1e9097a6a9f041f5e02c9312d11ce79fd4db590fc441d6b8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f3fe1e247a1e1e9097a6a9f041f5e02c9312d11ce79fd4db590fc441d6b8e1", kill_on_drop: false }` [INFO] [stdout] 46f3fe1e247a1e1e9097a6a9f041f5e02c9312d11ce79fd4db590fc441d6b8e1