[INFO] cloning repository https://github.com/ugurguven99/rust-web-mongodb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ugurguven99/rust-web-mongodb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fugurguven99%2Frust-web-mongodb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fugurguven99%2Frust-web-mongodb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f0d0ebb346a35290a277ded244e288e02ce3223 [INFO] testing ugurguven99/rust-web-mongodb against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fugurguven99%2Frust-web-mongodb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ugurguven99/rust-web-mongodb [INFO] finished tweaking git repo https://github.com/ugurguven99/rust-web-mongodb [INFO] tweaked toml for git repo https://github.com/ugurguven99/rust-web-mongodb written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ugurguven99/rust-web-mongodb on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ugurguven99/rust-web-mongodb 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2e77a99264dce8681375b53799da820e29ded2a00658b52ff2cf25e4601fc34 [INFO] running `Command { std: "docker" "start" "-a" "b2e77a99264dce8681375b53799da820e29ded2a00658b52ff2cf25e4601fc34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2e77a99264dce8681375b53799da820e29ded2a00658b52ff2cf25e4601fc34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e77a99264dce8681375b53799da820e29ded2a00658b52ff2cf25e4601fc34", kill_on_drop: false }` [INFO] [stdout] b2e77a99264dce8681375b53799da820e29ded2a00658b52ff2cf25e4601fc34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 234d9cd867379d5c2289f0805345ef80f2fee8038459226543b72a932c3042ab [INFO] running `Command { std: "docker" "start" "-a" "234d9cd867379d5c2289f0805345ef80f2fee8038459226543b72a932c3042ab", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling cookie v0.16.2 [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 rustls v0.21.12 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling validator v0.16.1 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling actix-web v4.8.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling WebProject1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId; [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 import: `delete` [INFO] [stdout] --> src/handlers.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{delete, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/handlers.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::{Collection, bson::doc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NewPerson { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 25 | pub id: Option, //i32 yapmayı dene string ti [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_person_id` is never used [INFO] [stdout] --> src/handlers.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn get_next_person_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "234d9cd867379d5c2289f0805345ef80f2fee8038459226543b72a932c3042ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "234d9cd867379d5c2289f0805345ef80f2fee8038459226543b72a932c3042ab", kill_on_drop: false }` [INFO] [stdout] 234d9cd867379d5c2289f0805345ef80f2fee8038459226543b72a932c3042ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f2badcc5a4e222e9e433a2638453967d991cb1c4babf0263ea75b8be511ad4 [INFO] running `Command { std: "docker" "start" "-a" "98f2badcc5a4e222e9e433a2638453967d991cb1c4babf0263ea75b8be511ad4", kill_on_drop: false }` [INFO] [stderr] Compiling WebProject1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::bson::oid::ObjectId; [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 import: `delete` [INFO] [stdout] --> src/handlers.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{delete, web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/handlers.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::{Collection, bson::doc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/models.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct NewPerson { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 25 | pub id: Option, //i32 yapmayı dene string ti [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_next_person_id` is never used [INFO] [stdout] --> src/handlers.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn get_next_person_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "98f2badcc5a4e222e9e433a2638453967d991cb1c4babf0263ea75b8be511ad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f2badcc5a4e222e9e433a2638453967d991cb1c4babf0263ea75b8be511ad4", kill_on_drop: false }` [INFO] [stdout] 98f2badcc5a4e222e9e433a2638453967d991cb1c4babf0263ea75b8be511ad4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ac821fb4a628bf47691a21f9a0b51fad0f55cce78b90df1f2d9414c7185e6ae [INFO] running `Command { std: "docker" "start" "-a" "1ac821fb4a628bf47691a21f9a0b51fad0f55cce78b90df1f2d9414c7185e6ae", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stderr] --> src/models.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `delete` [INFO] [stderr] --> src/handlers.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{delete, web, HttpResponse, Responder}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/handlers.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Collection` [INFO] [stderr] --> src/handlers.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use mongodb::{Collection, bson::doc}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stderr] --> src/handlers.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use mongodb::bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/models.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct NewPerson { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 25 | pub id: Option, //i32 yapmayı dene string ti [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_next_person_id` is never used [INFO] [stderr] --> src/handlers.rs:120:14 [INFO] [stderr] | [INFO] [stderr] 120 | pub async fn get_next_person_id( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `WebProject1` (bin "WebProject1" test) generated 7 warnings (run `cargo fix --bin "WebProject1" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/WebProject1-9c1d885a9036ea21) [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" "1ac821fb4a628bf47691a21f9a0b51fad0f55cce78b90df1f2d9414c7185e6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac821fb4a628bf47691a21f9a0b51fad0f55cce78b90df1f2d9414c7185e6ae", kill_on_drop: false }` [INFO] [stdout] 1ac821fb4a628bf47691a21f9a0b51fad0f55cce78b90df1f2d9414c7185e6ae