[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-04-13 for beta-1.87-1 [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 beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "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" "+beta-2025-04-13" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9bb1ad66b98289bd83b5efbf7de22cbf6d2736251daa1a9eca5e645343305d7 [INFO] running `Command { std: "docker" "start" "-a" "b9bb1ad66b98289bd83b5efbf7de22cbf6d2736251daa1a9eca5e645343305d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9bb1ad66b98289bd83b5efbf7de22cbf6d2736251daa1a9eca5e645343305d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bb1ad66b98289bd83b5efbf7de22cbf6d2736251daa1a9eca5e645343305d7", kill_on_drop: false }` [INFO] [stdout] b9bb1ad66b98289bd83b5efbf7de22cbf6d2736251daa1a9eca5e645343305d7 [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=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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30bc847a2982376ca528b84ba2930cd4caadf41bca61fc251da62a5b0f3ac190 [INFO] running `Command { std: "docker" "start" "-a" "30bc847a2982376ca528b84ba2930cd4caadf41bca61fc251da62a5b0f3ac190", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [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 slab v0.4.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling matches v0.1.8 [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 quote v1.0.9 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling serde v1.0.125 [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 form_urlencoded v1.0.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.0 [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 heck v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling mio v0.6.23 [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 generic-array v0.12.4 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling http v0.2.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 tracing v0.1.25 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling url v2.2.1 [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 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 anyhow v1.0.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand v0.7.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 tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [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 mime v0.3.16 [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 http-body v0.3.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling backtrace v0.3.56 [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 darling_macro v0.12.3 [INFO] [stderr] Compiling typed-builder v0.9.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.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 tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [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 tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling h2 v0.2.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 trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling bson v2.0.0 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling hyper v0.13.10 [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_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] --> 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 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 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcpKgdBI/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libfutures-d80035d14d458d57.rlib,libmongodb-a4b880a5868cd715.rlib,libfutures_executor-40bec02507dc7ed9.rlib,libtokio_util-8aac3ed80ec8dc0e.rlib,libsocket2-287a62d3f249898d.rlib,libtake_mut-6ada79e6a668d85e.rlib,libversion_check-a808207c3601ee5f.rlib,libpbkdf2-766cdc0cffa2d41c.rlib,libstringprep-fdc2e238bf6d2f2b.rlib,libtokio_rustls-c1a39e5e4b1e8916.rlib,libos_info-044e63d8dcb7f9f8.rlib,libbitflags-ea92b9a71a7e9627.rlib,libwebpki_roots-d98175b5e753f6a4.rlib,libstrsim-934c6b5db5b11ce4.rlib,librustls-245a5a66ca5631c2.rlib,libsct-91706f6ef91c3fcc.rlib,libwebpki-540aeb475c47f2a1.rlib,libring-f2c09ad1a26403af.rlib,libspin-4089a13ab2a784ba.rlib,libuntrusted-a7f0f384c8611dea.rlib,libtrust_dns_resolver-ecb8cc3299dee0a9.rlib,libresolv_conf-ff02894ff9e65043.rlib,libhostname-7e955244e7c751bc.rlib,libmatch_cfg-4ff408791b5a10a9.rlib,libquick_error-9f96d0cb10ca2956.rlib,libparking_lot-2a547f5fc999ac76.rlib,libparking_lot_core-fec848c245f2124f.rlib,liblock_api-24092ba1b210d2b7.rlib,libscopeguard-e318caba69bf687f.rlib,libinstant-e279955f8e10ae31.rlib,liblru_cache-1a67f76dd335e98a.rlib,liblinked_hash_map-c8825f289c1590f4.rlib,libtrust_dns_proto-72f3651fad87c68e.rlib,libsmallvec-4e540aa6ec26eb74.rlib,libdata_encoding-9eebee97bb500caa.rlib,liburl-5db810349f17e98d.rlib,libform_urlencoded-5a7cde279417b9da.rlib,libpercent_encoding-3e08c199980e8244.rlib,libipnet-361f994cec27223e.rlib,libidna-def76fbbfe9273aa.rlib,libunicode_normalization-1b5559adc7f58c53.rlib,libunicode_bidi-e4829a6bfd210dd1.rlib,libmatches-b745fe32e7f24fcc.rlib,libtinyvec-1586cd28492da04f.rlib,libtinyvec_macros-36ab4f0266eef07c.rlib,libthiserror-4f7631254e7a5dbd.rlib,libfutures_util-268593ae945aeeb3.rlib,libfutures_io-7f929be8d649fe83.rlib,libslab-680ec0ace7620f59.rlib,libfutures_channel-c9084cf4bb84bef8.rlib,libfutures_sink-74f880c9fbb3c6f8.rlib,libfutures_task-c6293b62a068a901.rlib,libpin_utils-3860774ad9b215b5.rlib,libfutures_core-fee742e4bed037a3.rlib,libsha2-c64c81993ddd248a.rlib,libsha1-cbd880cea5ebf34c.rlib,libcpuid_bool-f93aee3b4b8bed96.rlib,libmd5-213abda97050e2b3.rlib,libopaque_debug-1826dab867fa4b9d.rlib,libblock_buffer-be473e1716b5a80b.rlib,libhmac-1b8730c579248f9c.rlib,libdigest-4c513c65c21e96e1.rlib,libcrypto_mac-44f62d32ec7cb860.rlib,libsubtle-bbad944440fcd988.rlib,libgeneric_array-041dc7fc36ae9f41.rlib,libtypenum-a69d362296c4b839.rlib,libbson-b0d07a370643d7b3.rlib,libbase64-83ca8be32b9f715d.rlib,libuuid-9a78a430f1954b5b.rlib,liblazy_static-af860367908b8176.rlib,librand-64f98eb38ba4848e.rlib,librand_chacha-5c59aa4ec1c2e72a.rlib,libppv_lite86-c6f18da16586a8ed.rlib,librand_core-60a7eb4a9fe7c09f.rlib,libhex-13e08b3b00984ab7.rlib,libahash-0c87f4808e3ac619.rlib,libgetrandom-0c02c8068079f6be.rlib,libonce_cell-250278f3c98ba021.rlib,libserde_bytes-e8a1dca00bee4c50.rlib,libserde_json-f161182abddfea1d.rlib,libryu-f4246d7c552377c0.rlib,libitoa-7cb455aa497c9f0e.rlib,libindexmap-162c3a8a64e3f1dd.rlib,libhashbrown-ea26cc036c35aba9.rlib,libchrono-45fa0207d8f20654.rlib,libnum_integer-522799b3c2f12cf7.rlib,libnum_traits-f0913fb46341e5df.rlib,libtime-b971f9d0141aaebe.rlib,libtokio-5ce91a5dc66d3687.rlib,libnum_cpus-ff02b9a97516d0fa.rlib,libmemchr-edbbdcd29dc31002.rlib,libbytes-fd4188dc5bbc0b1b.rlib,libpin_project_lite-b7cfabec157acbac.rlib,libmio-55480c37d365cf98.rlib,liblibc-b86860bf20eb8afe.rlib,liblog-120a19c0c1ab0517.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib,libserde_with-f45a5f60e452ef96.rlib,libserde-4be328047f352ea1.rlib,libanyhow-731bbd53c0da5336.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcpKgdBI/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-b3cf5622659ca752/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/clientv2-66487e4fd4456c0c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clientv2` (bin "clientv2") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "30bc847a2982376ca528b84ba2930cd4caadf41bca61fc251da62a5b0f3ac190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30bc847a2982376ca528b84ba2930cd4caadf41bca61fc251da62a5b0f3ac190", kill_on_drop: false }` [INFO] [stdout] 30bc847a2982376ca528b84ba2930cd4caadf41bca61fc251da62a5b0f3ac190