[INFO] cloning repository https://github.com/coachnrm/RustMongoDbApi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coachnrm/RustMongoDbApi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoachnrm%2FRustMongoDbApi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoachnrm%2FRustMongoDbApi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7e4bfbaa0a7cf966cd419936b4a284eea344538 [INFO] checking coachnrm/RustMongoDbApi/d7e4bfbaa0a7cf966cd419936b4a284eea344538 against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoachnrm%2FRustMongoDbApi" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coachnrm/RustMongoDbApi [INFO] finished tweaking git repo https://github.com/coachnrm/RustMongoDbApi [INFO] tweaked toml for git repo https://github.com/coachnrm/RustMongoDbApi written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coachnrm/RustMongoDbApi on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coachnrm/RustMongoDbApi 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded bson v2.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd2b6b6f07945aab45fedcd32b6745a424344be48c826854ebcd331f760d967 [INFO] running `Command { std: "docker" "start" "-a" "6fd2b6b6f07945aab45fedcd32b6745a424344be48c826854ebcd331f760d967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd2b6b6f07945aab45fedcd32b6745a424344be48c826854ebcd331f760d967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd2b6b6f07945aab45fedcd32b6745a424344be48c826854ebcd331f760d967", kill_on_drop: false }` [INFO] [stdout] 6fd2b6b6f07945aab45fedcd32b6745a424344be48c826854ebcd331f760d967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95521c88713515b5e3ef3362dc5b90c65ecdec889508efecd50a75725cef5209 [INFO] running `Command { std: "docker" "start" "-a" "95521c88713515b5e3ef3362dc5b90c65ecdec889508efecd50a75725cef5209", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking hostname v0.4.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking bson v2.14.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking iri-string v0.7.7 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking async-compression v0.4.18 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking RustMongoDbApi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/item/repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use super::entity::{self, InsertItemReq, Item, ItemBson}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `response::IntoResponse` [INFO] [stdout] --> src/item/usecase.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::StatusCode, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/item/usecase.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/item/handler.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | match usecase::delete_item((item_object_id)).await { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 118 - match usecase::delete_item((item_object_id)).await { [INFO] [stdout] 118 + match usecase::delete_item(item_object_id ).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/item/repository.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use super::entity::{self, InsertItemReq, Item, ItemBson}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `response::IntoResponse` [INFO] [stdout] --> src/item/usecase.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{http::StatusCode, response::IntoResponse, Json}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/item/usecase.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/item/handler.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | match usecase::delete_item((item_object_id)).await { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 118 - match usecase::delete_item((item_object_id)).await { [INFO] [stdout] 118 + match usecase::delete_item(item_object_id ).await { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | config::database::dbconnect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = config::database::dbconnect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | config::database::dbconnect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = config::database::dbconnect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "95521c88713515b5e3ef3362dc5b90c65ecdec889508efecd50a75725cef5209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95521c88713515b5e3ef3362dc5b90c65ecdec889508efecd50a75725cef5209", kill_on_drop: false }` [INFO] [stdout] 95521c88713515b5e3ef3362dc5b90c65ecdec889508efecd50a75725cef5209