[INFO] cloning repository https://github.com/tacogips/mongodb_rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tacogips/mongodb_rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba597c8a4c9cd1dfc152fe9f277fba58dea17cf1 [INFO] building tacogips/mongodb_rust_practice against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tacogips/mongodb_rust_practice on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tacogips/mongodb_rust_practice [INFO] finished tweaking git repo https://github.com/tacogips/mongodb_rust_practice [INFO] tweaked toml for git repo https://github.com/tacogips/mongodb_rust_practice written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tacogips/mongodb_rust_practice 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bson v1.2.2 [INFO] [stderr] Downloaded mongodb v2.0.0 [INFO] [stderr] Downloaded trust-dns-proto v0.20.1 [INFO] [stderr] Downloaded mongodb v1.2.1 [INFO] [stderr] Downloaded bson v2.0.0 [INFO] [stderr] Downloaded serde_with v1.8.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.20.1 [INFO] [stderr] Downloaded os_info v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41f5f127718db24948b2f8538f1d24fb95cf5cb59e2a85791437582ebb37a989 [INFO] running `Command { std: "docker" "start" "-a" "41f5f127718db24948b2f8538f1d24fb95cf5cb59e2a85791437582ebb37a989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41f5f127718db24948b2f8538f1d24fb95cf5cb59e2a85791437582ebb37a989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f5f127718db24948b2f8538f1d24fb95cf5cb59e2a85791437582ebb37a989", kill_on_drop: false }` [INFO] [stdout] 41f5f127718db24948b2f8538f1d24fb95cf5cb59e2a85791437582ebb37a989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cab7c05a62d4ea549990f1719024a207d63f409edfb6844a241df980dc58e21 [INFO] running `Command { std: "docker" "start" "-a" "0cab7c05a62d4ea549990f1719024a207d63f409edfb6844a241df980dc58e21", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling typed-builder v0.9.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.8.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling bson v2.0.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling mongodb v2.0.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling mongodb v1.2.1 [INFO] [stderr] Compiling clientv2_lock v0.1.0 (/opt/rustwide/workdir/clientv2_lock) [INFO] [stderr] Compiling optimistic_lock v0.1.0 (/opt/rustwide/workdir/optimistic_lock) [INFO] [stderr] Compiling clientv2 v0.1.0 (/opt/rustwide/workdir/clientv2) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> optimistic_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> clientv2_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> clientv2_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2_lock/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> optimistic_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> optimistic_lock/src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 16 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `Document`, `DropCollectionOptions` [INFO] [stdout] --> clientv2/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, FindOneAndUpdateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, IndexModel, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | .find_one_with_session(Some(doc! {"id":"user_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | {"id" : book_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | doc! {"id" : user_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clientv1 v0.1.0 (/opt/rustwide/workdir/clientv1) [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `DropCollectionOptions` [INFO] [stdout] --> clientv1/src/main.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, from_document, to_document, Bson, Document}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | options::{ClientOptions, DropCollectionOptions, StreamAddress, UpdateModifications}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Client, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv1/src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcCet1TR/symbols.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.00.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.01.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.02.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.03.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.04.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.05.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.06.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.07.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.08.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.09.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.optimistic_lock.554452370f4de4d0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d.1aome04m6rc0e7zg.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ring-3fc4ce831d1cfdb0/out" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libmongodb-7b3874c2d606fc0e.rlib" "/opt/rustwide/target/debug/deps/libfutures_executor-bb773ea02fc2a4cf.rlib" "/opt/rustwide/target/debug/deps/libtokio_util-d72d08f0a04981f4.rlib" "/opt/rustwide/target/debug/deps/libsocket2-7d7265279d2fef15.rlib" "/opt/rustwide/target/debug/deps/libtake_mut-103782371670daab.rlib" "/opt/rustwide/target/debug/deps/libversion_check-412813feda288ea7.rlib" "/opt/rustwide/target/debug/deps/libpbkdf2-12452b131bfd5c45.rlib" "/opt/rustwide/target/debug/deps/libstringprep-17d0fa42011168f7.rlib" "/opt/rustwide/target/debug/deps/libtokio_rustls-015a6931d5a7dfe3.rlib" "/opt/rustwide/target/debug/deps/libos_info-aa1cc680613b934b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b8f2fcfec265dfb2.rlib" "/opt/rustwide/target/debug/deps/libwebpki_roots-b501989387798f81.rlib" "/opt/rustwide/target/debug/deps/libstrsim-dc8145b3de3a0df7.rlib" "/opt/rustwide/target/debug/deps/librustls-9a6ab014dd6a1402.rlib" "/opt/rustwide/target/debug/deps/libsct-cd7c8d83367b9b5f.rlib" "/opt/rustwide/target/debug/deps/libwebpki-71884034b378672c.rlib" "/opt/rustwide/target/debug/deps/libring-3cd4889a3c5b53ce.rlib" "/opt/rustwide/target/debug/deps/libspin-aba4c1570e9c644e.rlib" "/opt/rustwide/target/debug/deps/libuntrusted-b2518a6a9207ec5b.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-dc32c75febce8c69.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-c8c66e7d131c7bf3.rlib" "/opt/rustwide/target/debug/deps/libhostname-944a7eb9ce596741.rlib" "/opt/rustwide/target/debug/deps/libmatch_cfg-4d64094482ccd140.rlib" "/opt/rustwide/target/debug/deps/libquick_error-2d49113a505254dd.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-0cf58131d0598724.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-b83a95e8a853643c.rlib" "/opt/rustwide/target/debug/deps/liblock_api-8fa657362df653e0.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-6ebe5b14c8a6c2d8.rlib" "/opt/rustwide/target/debug/deps/libinstant-8f2af0ff10e9b57b.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-1720c103798d9d76.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-7e68dc204e1dc13e.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-113e75f54af8a487.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-ec3d532a58682045.rlib" "/opt/rustwide/target/debug/deps/libdata_encoding-279b76a7d4068a92.rlib" "/opt/rustwide/target/debug/deps/liburl-a67377d72a9d9304.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-117d13e48c249a67.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-cd7356c23e34a112.rlib" "/opt/rustwide/target/debug/deps/libipnet-0bfc617781198916.rlib" "/opt/rustwide/target/debug/deps/libidna-ba2addf992d8a16a.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-64bbc25a3fa7d7a9.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-81c51be699edaacd.rlib" "/opt/rustwide/target/debug/deps/libmatches-359d126c5b4c8439.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-d4cc1047f1fbbaee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-1bf1a30eed3b5c6a.rlib" "/opt/rustwide/target/debug/deps/libthiserror-a028c09db317c5f5.rlib" "/opt/rustwide/target/debug/deps/libfutures_util-8e63a93f036e1af9.rlib" "/opt/rustwide/target/debug/deps/libfutures_io-b7be448c0ef3a86f.rlib" "/opt/rustwide/target/debug/deps/libslab-b2f2c2b52e54ee9b.rlib" "/opt/rustwide/target/debug/deps/libfutures_channel-40a52ffbdc9f1bf6.rlib" "/opt/rustwide/target/debug/deps/libfutures_sink-d9daab1ef75eb8bd.rlib" "/opt/rustwide/target/debug/deps/libfutures_task-5f23b2c2c75c9c4e.rlib" "/opt/rustwide/target/debug/deps/libpin_utils-339fc95f834a67dc.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-6a48814fc731e752.rlib" "/opt/rustwide/target/debug/deps/libsha2-bc2294af598a8fa9.rlib" "/opt/rustwide/target/debug/deps/libsha1-f3085423b8c937cf.rlib" "/opt/rustwide/target/debug/deps/libcpuid_bool-8ad749a5d1f713be.rlib" "/opt/rustwide/target/debug/deps/libmd5-5b1476f646327750.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-a639e5b4b501fe11.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-9e342aa18cd188b4.rlib" "/opt/rustwide/target/debug/deps/libhmac-2bed39f3b2d2ad12.rlib" "/opt/rustwide/target/debug/deps/libdigest-e40ce288d66f2c9e.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-4427f6a7099319ae.rlib" "/opt/rustwide/target/debug/deps/libsubtle-9a80fc3c5da7a1ca.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-2f7cbc469c523b5b.rlib" "/opt/rustwide/target/debug/deps/libtypenum-02b0e34c806c6cbb.rlib" "/opt/rustwide/target/debug/deps/libbson-eb0e72b591c3699b.rlib" "/opt/rustwide/target/debug/deps/libbase64-70ad20caa2b11358.rlib" "/opt/rustwide/target/debug/deps/libuuid-443bf53acba55c59.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b82c15677deef9e2.rlib" "/opt/rustwide/target/debug/deps/librand-d5265245433383b9.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-0968b444c03791e1.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-a9b36edfe4d694a8.rlib" "/opt/rustwide/target/debug/deps/librand_core-c0df712b1f02bd9b.rlib" "/opt/rustwide/target/debug/deps/libhex-718b4f18bb2e7953.rlib" "/opt/rustwide/target/debug/deps/libahash-989e220d8553f64c.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-a74d64cf4506cadf.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-a1b6f7c8ee2901d2.rlib" "/opt/rustwide/target/debug/deps/libserde_bytes-0c218b2b0490556d.rlib" "/opt/rustwide/target/debug/deps/libserde_json-123a32aa181e9990.rlib" "/opt/rustwide/target/debug/deps/libryu-a9d03167471ca5ef.rlib" "/opt/rustwide/target/debug/deps/libitoa-62a3ab728f2eb46b.rlib" "/opt/rustwide/target/debug/deps/libindexmap-7f98db32300f43a2.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-9314b4f9853d4521.rlib" "/opt/rustwide/target/debug/deps/libchrono-2e218b62739519f3.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-1316d73be7a6cdea.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-717970d1daa04de9.rlib" "/opt/rustwide/target/debug/deps/libtime-14918b2e26bd41c2.rlib" "/opt/rustwide/target/debug/deps/libtokio-cbf682bf4f43182c.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-492e89f4ec9656b4.rlib" "/opt/rustwide/target/debug/deps/libmemchr-a128a7de1a84f010.rlib" "/opt/rustwide/target/debug/deps/libbytes-e15be07694ff120e.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-81976c8a7c0f3693.rlib" "/opt/rustwide/target/debug/deps/libmio-fcb6df0d29bc1f6b.rlib" "/opt/rustwide/target/debug/deps/liblibc-c51da4ed9eaf73eb.rlib" "/opt/rustwide/target/debug/deps/liblog-405bdafa0d875610.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0128a598f57c42f0.rlib" "/opt/rustwide/target/debug/deps/libserde_with-93fb66631804b39c.rlib" "/opt/rustwide/target/debug/deps/libserde-0be55ea14089a17d.rlib" "/opt/rustwide/target/debug/deps/libanyhow-168c8835ead8accd.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-72b35984a787fb54.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0fdedff926cd8b5a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-fe0525e327a5464a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-795b2243f06bd098.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-86ce554ff6ad08cd.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1be635a4727d8e5e.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1e55d89766af9c5f.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-02605c7065574d0d.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0d17ba1067febc2c.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2408fbe38b247900.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b3c63e8997fdca47.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-bfa7a39ebb77d49a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4b955078cf51c0a1.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1a6fbee0083900be.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2b93db426c5a26c2.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b30975e2b876cf32.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cd2f2bc505f56f50.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ec02dd343723da85.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-408115ade0360d2a.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/optimistic_lock-6e06a575e891595d" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `optimistic_lock` (bin "optimistic_lock") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cab7c05a62d4ea549990f1719024a207d63f409edfb6844a241df980dc58e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cab7c05a62d4ea549990f1719024a207d63f409edfb6844a241df980dc58e21", kill_on_drop: false }` [INFO] [stdout] 0cab7c05a62d4ea549990f1719024a207d63f409edfb6844a241df980dc58e21 [INFO] building tacogips/mongodb_rust_practice against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tacogips/mongodb_rust_practice on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tacogips/mongodb_rust_practice [INFO] finished tweaking git repo https://github.com/tacogips/mongodb_rust_practice [INFO] tweaked toml for git repo https://github.com/tacogips/mongodb_rust_practice written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tacogips/mongodb_rust_practice 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0c4a782ac52fb012c22918ea311e8a50f92967d7c959f49aa2d64739c393ae7 [INFO] running `Command { std: "docker" "start" "-a" "d0c4a782ac52fb012c22918ea311e8a50f92967d7c959f49aa2d64739c393ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0c4a782ac52fb012c22918ea311e8a50f92967d7c959f49aa2d64739c393ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c4a782ac52fb012c22918ea311e8a50f92967d7c959f49aa2d64739c393ae7", kill_on_drop: false }` [INFO] [stdout] d0c4a782ac52fb012c22918ea311e8a50f92967d7c959f49aa2d64739c393ae7 [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c57eeeb950439d2cd4e8243818d058730e8399769e2821a25d41b242891432a [INFO] running `Command { std: "docker" "start" "-a" "9c57eeeb950439d2cd4e8243818d058730e8399769e2821a25d41b242891432a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling typed-builder v0.9.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.8.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling bson v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling mongodb v2.0.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling mongodb v1.2.1 [INFO] [stderr] Compiling clientv2_lock v0.1.0 (/opt/rustwide/workdir/clientv2_lock) [INFO] [stderr] Compiling clientv2 v0.1.0 (/opt/rustwide/workdir/clientv2) [INFO] [stderr] Compiling optimistic_lock v0.1.0 (/opt/rustwide/workdir/optimistic_lock) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> clientv2_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> clientv2_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2_lock/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> optimistic_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> optimistic_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> optimistic_lock/src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 16 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `Document`, `DropCollectionOptions` [INFO] [stdout] --> clientv2/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, FindOneAndUpdateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, IndexModel, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | .find_one_with_session(Some(doc! {"id":"user_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | doc! {"id" : user_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | {"id" : book_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clientv1 v0.1.0 (/opt/rustwide/workdir/clientv1) [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `DropCollectionOptions` [INFO] [stdout] --> clientv1/src/main.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, from_document, to_document, Bson, Document}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | options::{ClientOptions, DropCollectionOptions, StreamAddress, UpdateModifications}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Client, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv1/src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v1.2.2, bson v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9c57eeeb950439d2cd4e8243818d058730e8399769e2821a25d41b242891432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c57eeeb950439d2cd4e8243818d058730e8399769e2821a25d41b242891432a", kill_on_drop: false }` [INFO] [stdout] 9c57eeeb950439d2cd4e8243818d058730e8399769e2821a25d41b242891432a [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01f1065f50bb4666188d78e440117380f607c45938eb6f1d2f41d5bcf49dc3d4 [INFO] running `Command { std: "docker" "start" "-a" "01f1065f50bb4666188d78e440117380f607c45938eb6f1d2f41d5bcf49dc3d4", kill_on_drop: false }` [INFO] [stderr] Compiling clientv2_lock v0.1.0 (/opt/rustwide/workdir/clientv2_lock) [INFO] [stderr] Compiling optimistic_lock v0.1.0 (/opt/rustwide/workdir/optimistic_lock) [INFO] [stderr] Compiling clientv2 v0.1.0 (/opt/rustwide/workdir/clientv2) [INFO] [stderr] Compiling clientv1 v0.1.0 (/opt/rustwide/workdir/clientv1) [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> clientv2_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> optimistic_lock/src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> optimistic_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> optimistic_lock/src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 16 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Document`, `DropCollectionOptions`, `TRANSIENT_TRANSACTION_ERROR` [INFO] [stdout] --> clientv2_lock/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 4 | error::{Result as TxResult, TRANSIENT_TRANSACTION_ERROR, UNKNOWN_TRANSACTION_COMMIT_RESULT}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | options::{ [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, ReadConcern, ServerAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Client, ClientSession, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2_lock/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `DropCollectionOptions` [INFO] [stdout] --> clientv1/src/main.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, from_document, to_document, Bson, Document}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | options::{ClientOptions, DropCollectionOptions, StreamAddress, UpdateModifications}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | Client, Collection, Database, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv1/src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 10 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `Collection`, `Database`, `Document`, `DropCollectionOptions` [INFO] [stdout] --> clientv2/src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | bson::{doc, Bson, Document}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | Acknowledgment, ClientOptions, DropCollectionOptions, FindOneAndUpdateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Client, ClientSession, Collection, Database, IndexModel, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeserializeOwned`, `Deserializer`, `Error` [INFO] [stdout] --> clientv2/src/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | de::{DeserializeOwned, Error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 15 | Deserialize, Deserializer, Serialize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:56:60 [INFO] [stdout] | [INFO] [stdout] 56 | .find_one_with_session(Some(doc! {"id":"user_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> clientv2_lock/src/main.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | doc! {"id" : user_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | .find_one_with_session(Some(doc! {"id":"book_1".clone()}), None, &mut session) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> optimistic_lock/src/main.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | {"id" : book_id.clone()}, [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v1.2.2, bson v2.0.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "01f1065f50bb4666188d78e440117380f607c45938eb6f1d2f41d5bcf49dc3d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01f1065f50bb4666188d78e440117380f607c45938eb6f1d2f41d5bcf49dc3d4", kill_on_drop: false }` [INFO] [stdout] 01f1065f50bb4666188d78e440117380f607c45938eb6f1d2f41d5bcf49dc3d4