[INFO] cloning repository https://github.com/wignn/rust-mongo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wignn/rust-mongo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwignn%2Frust-mongo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwignn%2Frust-mongo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 878852b19974a0ef092010cf314a7f1d6a41439e [INFO] checking wignn/rust-mongo against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwignn%2Frust-mongo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wignn/rust-mongo [INFO] finished tweaking git repo https://github.com/wignn/rust-mongo [INFO] tweaked toml for git repo https://github.com/wignn/rust-mongo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wignn/rust-mongo on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wignn/rust-mongo 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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 zstd-safe v7.2.3 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.2 [INFO] [stderr] Downloaded mongodb v3.2.2 [INFO] [stderr] Downloaded bson v2.14.0 [INFO] [stderr] Downloaded zstd-sys v2.0.14+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd0afa74aa74a4f76dc8a81fb74926d49f0e780dc651a2a80b1735eaaf9aa77d [INFO] running `Command { std: "docker" "start" "-a" "bd0afa74aa74a4f76dc8a81fb74926d49f0e780dc651a2a80b1735eaaf9aa77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd0afa74aa74a4f76dc8a81fb74926d49f0e780dc651a2a80b1735eaaf9aa77d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0afa74aa74a4f76dc8a81fb74926d49f0e780dc651a2a80b1735eaaf9aa77d", kill_on_drop: false }` [INFO] [stdout] bd0afa74aa74a4f76dc8a81fb74926d49f0e780dc651a2a80b1735eaaf9aa77d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 189827a3a24c003bbf96f6caf479340376c4b011ed0def96115edbfaf6d51916 [INFO] running `Command { std: "docker" "start" "-a" "189827a3a24c003bbf96f6caf479340376c4b011ed0def96115edbfaf6d51916", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling mongodb-internal-macros v3.2.2 [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.2.7 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking bson v2.14.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking actix-server v2.5.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking mongodb v3.2.2 [INFO] [stderr] Checking actix-http v3.10.0 [INFO] [stderr] Checking actix-web v4.10.2 [INFO] [stderr] Checking rust-mongo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UserResponse` is never constructed [INFO] [stdout] --> src/models/user_model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user`, `room`, `owner`, and `facility` are never read [INFO] [stdout] --> src/services/db.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | user: Collection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | room: Collection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | owner: Collection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | facility: Collection, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_owner`, `create_room`, `create_facility`, `create_user`, and `delete_owner` are never used [INFO] [stdout] --> src/services/db.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn create_owner(&self, owner: Owner) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn create_room(&self, room: Room) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn create_facility(&self, facility: Facility) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn create_user(&self, user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn delete_owner(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserResponse` is never constructed [INFO] [stdout] --> src/models/user_model.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct UserResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user`, `room`, `owner`, and `facility` are never read [INFO] [stdout] --> src/services/db.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Database { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | user: Collection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | room: Collection, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | owner: Collection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | facility: Collection, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_owner`, `create_room`, `create_facility`, `create_user`, and `delete_owner` are never used [INFO] [stdout] --> src/services/db.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn create_owner(&self, owner: Owner) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn create_room(&self, room: Room) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub async fn create_facility(&self, facility: Facility) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn create_user(&self, user: User) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn delete_owner(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.05s [INFO] running `Command { std: "docker" "inspect" "189827a3a24c003bbf96f6caf479340376c4b011ed0def96115edbfaf6d51916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189827a3a24c003bbf96f6caf479340376c4b011ed0def96115edbfaf6d51916", kill_on_drop: false }` [INFO] [stdout] 189827a3a24c003bbf96f6caf479340376c4b011ed0def96115edbfaf6d51916