[INFO] cloning repository https://github.com/Aaqib-kk/Assignment_Mongodb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aaqib-kk/Assignment_Mongodb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaqib-kk%2FAssignment_Mongodb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaqib-kk%2FAssignment_Mongodb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f41487f0b018f7fbe4f9a3fe2192e3355459a795 [INFO] testing Aaqib-kk/Assignment_Mongodb against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaqib-kk%2FAssignment_Mongodb" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aaqib-kk/Assignment_Mongodb on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aaqib-kk/Assignment_Mongodb [INFO] finished tweaking git repo https://github.com/Aaqib-kk/Assignment_Mongodb [INFO] tweaked toml for git repo https://github.com/Aaqib-kk/Assignment_Mongodb written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Aaqib-kk/Assignment_Mongodb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63eb970984d4f73d72c2cd08dae46774db7448425aecf16ffe9084f77ed3eaf4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "63eb970984d4f73d72c2cd08dae46774db7448425aecf16ffe9084f77ed3eaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63eb970984d4f73d72c2cd08dae46774db7448425aecf16ffe9084f77ed3eaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63eb970984d4f73d72c2cd08dae46774db7448425aecf16ffe9084f77ed3eaf4", kill_on_drop: false }` [INFO] [stdout] 63eb970984d4f73d72c2cd08dae46774db7448425aecf16ffe9084f77ed3eaf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4cd7aea9c0926a1d09261bbd257a6876eb3c6ef83fe6242a65fc86c255a33635 [INFO] running `Command { std: "docker" "start" "-a" "4cd7aea9c0926a1d09261bbd257a6876eb3c6ef83fe6242a65fc86c255a33635", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.37 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling mongodb v0.9.2 [INFO] [stderr] Compiling assig_mongodb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `options::ClientOptions` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db.find_one_and_replace(filter,replacement,None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "4cd7aea9c0926a1d09261bbd257a6876eb3c6ef83fe6242a65fc86c255a33635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd7aea9c0926a1d09261bbd257a6876eb3c6ef83fe6242a65fc86c255a33635", kill_on_drop: false }` [INFO] [stdout] 4cd7aea9c0926a1d09261bbd257a6876eb3c6ef83fe6242a65fc86c255a33635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2790f3280fd113102beb08f91d4e8487e9978456942c3c57e244974f88a60188 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2790f3280fd113102beb08f91d4e8487e9978456942c3c57e244974f88a60188", kill_on_drop: false }` [INFO] [stderr] Compiling assig_mongodb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `options::ClientOptions` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | 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 `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | db.find_one_and_replace(filter,replacement,None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "2790f3280fd113102beb08f91d4e8487e9978456942c3c57e244974f88a60188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2790f3280fd113102beb08f91d4e8487e9978456942c3c57e244974f88a60188", kill_on_drop: false }` [INFO] [stdout] 2790f3280fd113102beb08f91d4e8487e9978456942c3c57e244974f88a60188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0220af051aaec84d29857fd05030d9d9bd9167dd17dfa78c4cddb67f2a3e2d0f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0220af051aaec84d29857fd05030d9d9bd9167dd17dfa78c4cddb67f2a3e2d0f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `options::ClientOptions` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use mongodb::{options::ClientOptions, Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | db.find_one_and_replace(filter,replacement,None); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.69s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/assig_mongodb-85f95efd0f66650e [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0220af051aaec84d29857fd05030d9d9bd9167dd17dfa78c4cddb67f2a3e2d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0220af051aaec84d29857fd05030d9d9bd9167dd17dfa78c4cddb67f2a3e2d0f", kill_on_drop: false }` [INFO] [stdout] 0220af051aaec84d29857fd05030d9d9bd9167dd17dfa78c4cddb67f2a3e2d0f