[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-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftacogips%2Fmongodb_rust_practice" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tacogips/mongodb_rust_practice on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "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-3-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-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a341f7e111046b324f0f0a5e26f4f3a20e6ad5ba06e0d752efff70d229e2aafd [INFO] running `Command { std: "docker" "start" "-a" "a341f7e111046b324f0f0a5e26f4f3a20e6ad5ba06e0d752efff70d229e2aafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a341f7e111046b324f0f0a5e26f4f3a20e6ad5ba06e0d752efff70d229e2aafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a341f7e111046b324f0f0a5e26f4f3a20e6ad5ba06e0d752efff70d229e2aafd", kill_on_drop: false }` [INFO] [stdout] a341f7e111046b324f0f0a5e26f4f3a20e6ad5ba06e0d752efff70d229e2aafd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f7c043960afd35b3e1f5de5839c9cf5fc8dee7076eb30d1c7eab38e1519c4bd [INFO] running `Command { std: "docker" "start" "-a" "3f7c043960afd35b3e1f5de5839c9cf5fc8dee7076eb30d1c7eab38e1519c4bd", 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 slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [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 pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.2 [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 indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [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 bytes v0.5.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [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 num-traits v0.2.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.6.23 [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 getrandom v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [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 rand_core v0.5.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.3.0 [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 unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.3 [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 tracing v0.1.25 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling url v2.2.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 opaque-debug v0.2.3 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [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 httpdate v0.3.2 [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 fake-simd v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [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 darling_core v0.12.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling addr2line v0.14.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 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 backtrace v0.3.56 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [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 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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [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 optimistic_lock v0.1.0 (/opt/rustwide/workdir/optimistic_lock) [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] [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: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/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/rustcagCj1E/symbols.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.00.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.01.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.02.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.03.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.04.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.05.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.06.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.07.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.08.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.09.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.clientv2.9c1b2b267fa7b724-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8.c7mm4irxx2znut5p2k4mdzvmr.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libfutures-e90c1e2d20c792e1.rlib" "/opt/rustwide/target/debug/deps/libmongodb-5aad27968e8a6628.rlib" "/opt/rustwide/target/debug/deps/libfutures_executor-8b6d3cd4b43f2692.rlib" "/opt/rustwide/target/debug/deps/libtokio_util-2ce2aa7669bcc40d.rlib" "/opt/rustwide/target/debug/deps/libsocket2-50bbc224f72ae3bb.rlib" "/opt/rustwide/target/debug/deps/libtake_mut-c7d420f308f26a3b.rlib" "/opt/rustwide/target/debug/deps/libversion_check-d730cbfe94273235.rlib" "/opt/rustwide/target/debug/deps/libpbkdf2-dc9419bf68d9e79d.rlib" "/opt/rustwide/target/debug/deps/libstringprep-bd92eb182dcd1b8d.rlib" "/opt/rustwide/target/debug/deps/libtokio_rustls-05db113d0da4c2f0.rlib" "/opt/rustwide/target/debug/deps/libos_info-6715944c5e0e8503.rlib" "/opt/rustwide/target/debug/deps/libbitflags-53f2c2e16beb276c.rlib" "/opt/rustwide/target/debug/deps/libwebpki_roots-09706fe0e23d1185.rlib" "/opt/rustwide/target/debug/deps/libstrsim-7c2291ed86ef7041.rlib" "/opt/rustwide/target/debug/deps/librustls-7fb9666b1fc85065.rlib" "/opt/rustwide/target/debug/deps/libsct-23b4fb0e9e9fa0b2.rlib" "/opt/rustwide/target/debug/deps/libwebpki-3d71e0ebd458d20f.rlib" "/opt/rustwide/target/debug/deps/libring-d7dcf1dde3b6108f.rlib" "/opt/rustwide/target/debug/deps/libspin-e858d3468b8e3abd.rlib" "/opt/rustwide/target/debug/deps/libuntrusted-6cf40e3a64622ff0.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-9444a4203969bc03.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-39bd3020915179af.rlib" "/opt/rustwide/target/debug/deps/libhostname-eecf95664f38239f.rlib" "/opt/rustwide/target/debug/deps/libmatch_cfg-6483637d69d2fef6.rlib" "/opt/rustwide/target/debug/deps/libquick_error-74e479ae94e35649.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-e84b325df8f6d0a4.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-2bb97f9bf532521f.rlib" "/opt/rustwide/target/debug/deps/liblock_api-5c6529dc4a49f301.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-31f1b56a39f2a372.rlib" "/opt/rustwide/target/debug/deps/libinstant-51ec2656f79402b9.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-6abc95f40e9e9cb4.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-94004641c0d130c7.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-a8eaf14d79a2d8de.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-8d5f09032d4e896f.rlib" "/opt/rustwide/target/debug/deps/libdata_encoding-df6e9a1f1e6ad669.rlib" "/opt/rustwide/target/debug/deps/liburl-ec7015ef67d9a76b.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-eef4ec7e063415c4.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-d421ee550bd528ce.rlib" "/opt/rustwide/target/debug/deps/libipnet-2c49532766d18e7f.rlib" "/opt/rustwide/target/debug/deps/libidna-b51faab5ed62c19b.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-6e3d34353ad72bb3.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-bdf924e2d6dbe0a6.rlib" "/opt/rustwide/target/debug/deps/libmatches-33a095e4f2c9159c.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-db567ab45e477217.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-2b90caf71be257df.rlib" "/opt/rustwide/target/debug/deps/libthiserror-be1ed5fe21bde2bd.rlib" "/opt/rustwide/target/debug/deps/libfutures_util-bd1dbb6af3be0d25.rlib" "/opt/rustwide/target/debug/deps/libfutures_io-f6920e505b44b0c5.rlib" "/opt/rustwide/target/debug/deps/libslab-dd1405d6c4e5d540.rlib" "/opt/rustwide/target/debug/deps/libfutures_channel-11b24c511cce59ce.rlib" "/opt/rustwide/target/debug/deps/libfutures_sink-022784fa9cca1399.rlib" "/opt/rustwide/target/debug/deps/libfutures_task-5ee52499e5928b00.rlib" "/opt/rustwide/target/debug/deps/libpin_utils-e8360a4d12f71807.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-d3ad8cc98f6b45a7.rlib" "/opt/rustwide/target/debug/deps/libsha2-6ae5210c541c9459.rlib" "/opt/rustwide/target/debug/deps/libsha1-c52f0d8399beaa96.rlib" "/opt/rustwide/target/debug/deps/libcpuid_bool-198967c598968a82.rlib" "/opt/rustwide/target/debug/deps/libmd5-7cb3828b6c8dcf65.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-9427fa68e0589f7d.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-e6fc8f8dda74b5f8.rlib" "/opt/rustwide/target/debug/deps/libhmac-1a8b440fa211dfa2.rlib" "/opt/rustwide/target/debug/deps/libdigest-365181489bfd6388.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-588e88da8a9f243d.rlib" "/opt/rustwide/target/debug/deps/libsubtle-7eb91a30f019bf86.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-f9e0ab6cadd65c29.rlib" "/opt/rustwide/target/debug/deps/libtypenum-ef8804ab0039c2a0.rlib" "/opt/rustwide/target/debug/deps/libbson-92b200c7aa331293.rlib" "/opt/rustwide/target/debug/deps/libbase64-450a6d9dcba13b9b.rlib" "/opt/rustwide/target/debug/deps/libuuid-6e3cffa0906a4619.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-efa3519517df6cf0.rlib" "/opt/rustwide/target/debug/deps/librand-306259752b6eca5a.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-655d994f81feea16.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-59f165f8be995b18.rlib" "/opt/rustwide/target/debug/deps/librand_core-ba6c5e4d44a87905.rlib" "/opt/rustwide/target/debug/deps/libhex-bf5d7c1623e40692.rlib" "/opt/rustwide/target/debug/deps/libahash-7b5dd914fe85c929.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-c682f4e5db1bac46.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-62a2c14e06141de2.rlib" "/opt/rustwide/target/debug/deps/libserde_bytes-491f8ae33f28bd13.rlib" "/opt/rustwide/target/debug/deps/libserde_json-595f5587e5b24609.rlib" "/opt/rustwide/target/debug/deps/libryu-98249992139dd95c.rlib" "/opt/rustwide/target/debug/deps/libitoa-b84a322b628e7893.rlib" "/opt/rustwide/target/debug/deps/libindexmap-6f587e72f655031d.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-14453faacb902dc3.rlib" "/opt/rustwide/target/debug/deps/libchrono-da053b88344aa3aa.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-0d3fb6890880b2a0.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-d21cc43eab81cfda.rlib" "/opt/rustwide/target/debug/deps/libtime-cefcb02b0f8a1ecf.rlib" "/opt/rustwide/target/debug/deps/libtokio-f56b3253a370ca2d.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-e5767957be09770f.rlib" "/opt/rustwide/target/debug/deps/libmemchr-91e1a988fba123b6.rlib" "/opt/rustwide/target/debug/deps/libbytes-3630a6d6f500bb07.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-8430635538f4f61b.rlib" "/opt/rustwide/target/debug/deps/libmio-468baabc89f4d092.rlib" "/opt/rustwide/target/debug/deps/liblibc-2d8523b1113d2d59.rlib" "/opt/rustwide/target/debug/deps/liblog-51fa10acdbbf883e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-a3e7e701fcd1f47b.rlib" "/opt/rustwide/target/debug/deps/libserde_with-6479404f0da59272.rlib" "/opt/rustwide/target/debug/deps/libserde-8bb273de9a318a9d.rlib" "/opt/rustwide/target/debug/deps/libanyhow-abd28238dd20f2da.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-02dc84f49135b6b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a8f45b397fae3f81.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-089607133c180609.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-fc89f091bcd86cbb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5a60949f01c7340c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-d29e6a55ca253c8c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-273c078d5f65de7a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-413c950ffbdd4454.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-1853c0976a1d88a6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ccb3384ddacb0f9e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0b901dfb0ca849e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-eebeb8d7c64543ad.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4723ef81d6079867.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-54442f8b422f5a54.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e0bbe034b5282553.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-d0febb68c1c37b90.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-4cf833632aafa84c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-65c2c6d2d6ae570b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-97929cee0dcfe424.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-dc99d0dd086b2d1c/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2024-12-08-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/clientv2-8bb945589d98c5f8" "-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] [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" "3f7c043960afd35b3e1f5de5839c9cf5fc8dee7076eb30d1c7eab38e1519c4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7c043960afd35b3e1f5de5839c9cf5fc8dee7076eb30d1c7eab38e1519c4bd", kill_on_drop: false }` [INFO] [stdout] 3f7c043960afd35b3e1f5de5839c9cf5fc8dee7076eb30d1c7eab38e1519c4bd