[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] testing tacogips/mongodb_rust_practice against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tacogips/mongodb_rust_practice on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "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-7-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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bd3a1572246214de6173cd0c30074e8665dc2e060fb0ac52b679065a3931469 [INFO] running `Command { std: "docker" "start" "-a" "2bd3a1572246214de6173cd0c30074e8665dc2e060fb0ac52b679065a3931469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bd3a1572246214de6173cd0c30074e8665dc2e060fb0ac52b679065a3931469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd3a1572246214de6173cd0c30074e8665dc2e060fb0ac52b679065a3931469", kill_on_drop: false }` [INFO] [stdout] 2bd3a1572246214de6173cd0c30074e8665dc2e060fb0ac52b679065a3931469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11ab89d220691231a12e81e2c576a9cf755f9b67c18dc6c8a10758acf42f2529 [INFO] running `Command { std: "docker" "start" "-a" "11ab89d220691231a12e81e2c576a9cf755f9b67c18dc6c8a10758acf42f2529", 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 lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.2 [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 futures-sink v0.3.19 [INFO] [stderr] Compiling spin v0.5.2 [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 bytes v1.0.1 [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 futures-io v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.125 [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 generic-array v0.14.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling mio v0.6.23 [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 time v0.1.43 [INFO] [stderr] Compiling mio v0.7.11 [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 lru-cache v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bitflags v1.2.1 [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 scopeguard v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pbkdf2 v0.8.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 base64 v0.11.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.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 webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling synstructure v0.12.4 [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-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.9.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_with v1.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling bson v2.0.0 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling mongodb v2.0.0 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling mongodb v1.2.1 [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] [stderr] Compiling clientv2_lock v0.1.0 (/opt/rustwide/workdir/clientv2_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`, and `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`, and `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`, and `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`, and `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`, and `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`, and `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`, and `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`, and `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] [stderr] error: could not compile `clientv2` (bin "clientv2"); 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-02-18-x86_64-unknown-linux-gnu/bin/rustc --crate-name clientv2 --edition=2018 clientv2/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6b59f9ca5976ad30 -C extra-filename=-66487e4fd4456c0c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-731bbd53c0da5336.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-d80035d14d458d57.rlib --extern mongodb=/opt/rustwide/target/debug/deps/libmongodb-a4b880a5868cd715.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-4be328047f352ea1.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-5ce91a5dc66d3687.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/ring-b3cf5622659ca752/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "11ab89d220691231a12e81e2c576a9cf755f9b67c18dc6c8a10758acf42f2529", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ab89d220691231a12e81e2c576a9cf755f9b67c18dc6c8a10758acf42f2529", kill_on_drop: false }` [INFO] [stdout] 11ab89d220691231a12e81e2c576a9cf755f9b67c18dc6c8a10758acf42f2529