[INFO] cloning repository https://github.com/Osama530/RustMongo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/RustMongo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRustMongo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRustMongo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8575d1668d2a83b9f94eba538f8543bf2659508 [INFO] testing Osama530/RustMongo against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2FRustMongo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/RustMongo on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Osama530/RustMongo [INFO] finished tweaking git repo https://github.com/Osama530/RustMongo [INFO] tweaked toml for git repo https://github.com/Osama530/RustMongo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/RustMongo 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8187835f56e0309d45ddf674a2392f63866dcf5b958a156275465400d972a417 [INFO] running `Command { std: "docker" "start" "-a" "8187835f56e0309d45ddf674a2392f63866dcf5b958a156275465400d972a417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8187835f56e0309d45ddf674a2392f63866dcf5b958a156275465400d972a417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8187835f56e0309d45ddf674a2392f63866dcf5b958a156275465400d972a417", kill_on_drop: false }` [INFO] [stdout] 8187835f56e0309d45ddf674a2392f63866dcf5b958a156275465400d972a417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c05f25b3eac9dae2096b006b4b8e8470148a6824bb7c12ad0e703a2c56ed9dea [INFO] running `Command { std: "docker" "start" "-a" "c05f25b3eac9dae2096b006b4b8e8470148a6824bb7c12ad0e703a2c56ed9dea", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling mongodb v0.9.2 [INFO] [stderr] Compiling RustMongo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `options::ClientOptions` [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let result: Value = json!(update_result); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let result: Value = json!(deleted_result); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustMongo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_mongo` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | db.find_one_and_replace(doc, replace_with, None); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | db.delete_one(query, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 47s [INFO] running `Command { std: "docker" "inspect" "c05f25b3eac9dae2096b006b4b8e8470148a6824bb7c12ad0e703a2c56ed9dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05f25b3eac9dae2096b006b4b8e8470148a6824bb7c12ad0e703a2c56ed9dea", kill_on_drop: false }` [INFO] [stdout] c05f25b3eac9dae2096b006b4b8e8470148a6824bb7c12ad0e703a2c56ed9dea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07458e92731219594ca4aefd9efcf792084e5bf41eacfff358081b87634761c [INFO] running `Command { std: "docker" "start" "-a" "c07458e92731219594ca4aefd9efcf792084e5bf41eacfff358081b87634761c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling RustMongo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `options::ClientOptions` [INFO] [stdout] --> src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let result: Value = json!(update_result); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let result: Value = json!(deleted_result); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RustMongo` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `rust_mongo` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | db.find_one_and_replace(doc, replace_with, None); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | db.delete_one(query, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "c07458e92731219594ca4aefd9efcf792084e5bf41eacfff358081b87634761c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07458e92731219594ca4aefd9efcf792084e5bf41eacfff358081b87634761c", kill_on_drop: false }` [INFO] [stdout] c07458e92731219594ca4aefd9efcf792084e5bf41eacfff358081b87634761c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fff6e0d60da65966fdb04e11f806fe9c44fa9d6e19c7bbb82bd3defb1d5f4e30 [INFO] running `Command { std: "docker" "start" "-a" "fff6e0d60da65966fdb04e11f806fe9c44fa9d6e19c7bbb82bd3defb1d5f4e30", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `options::ClientOptions` [INFO] [stderr] --> src/main.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | use mongodb::{options::ClientOptions, Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:113:17 [INFO] [stderr] | [INFO] [stderr] 113 | let result: Value = json!(update_result); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:129:17 [INFO] [stderr] | [INFO] [stderr] 129 | let result: Value = json!(deleted_result); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: crate `RustMongo` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `rust_mongo` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | db.find_one_and_replace(doc, replace_with, None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | db.delete_one(query, None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `RustMongo` (bin "RustMongo" test) generated 6 warnings (run `cargo fix --bin "RustMongo" --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RustMongo-42f001ca3340edfe) [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" "fff6e0d60da65966fdb04e11f806fe9c44fa9d6e19c7bbb82bd3defb1d5f4e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff6e0d60da65966fdb04e11f806fe9c44fa9d6e19c7bbb82bd3defb1d5f4e30", kill_on_drop: false }` [INFO] [stdout] fff6e0d60da65966fdb04e11f806fe9c44fa9d6e19c7bbb82bd3defb1d5f4e30