[INFO] fetching crate mongodb-gridfs 0.2.5... [INFO] checking mongodb-gridfs-0.2.5 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate mongodb-gridfs 0.2.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mongodb-gridfs 0.2.5 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mongodb-gridfs 0.2.5 [INFO] finished tweaking crates.io crate mongodb-gridfs 0.2.5 [INFO] tweaked toml for crates.io crate mongodb-gridfs 0.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate mongodb-gridfs 0.2.5 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 071008807b1966a2fd402f31c0eb471d18f98bc592df64b8d69da955bb1022a8 [INFO] running `Command { std: "docker" "start" "-a" "071008807b1966a2fd402f31c0eb471d18f98bc592df64b8d69da955bb1022a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "071008807b1966a2fd402f31c0eb471d18f98bc592df64b8d69da955bb1022a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071008807b1966a2fd402f31c0eb471d18f98bc592df64b8d69da955bb1022a8", kill_on_drop: false }` [INFO] [stdout] 071008807b1966a2fd402f31c0eb471d18f98bc592df64b8d69da955bb1022a8 [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=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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8391630dd56051abb10bfbbae5868d315a601a05046b067e9e548ef8bfc2b0c [INFO] running `Command { std: "docker" "start" "-a" "c8391630dd56051abb10bfbbae5868d315a601a05046b067e9e548ef8bfc2b0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.10 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling async-trait v0.1.64 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.93 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling time-macros v0.2.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking data-encoding v2.3.3 [INFO] [stderr] Checking ipnet v2.7.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking time v0.3.20 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.26 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.12 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking serde_bytes v0.11.9 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking bson v2.5.0 [INFO] [stderr] Checking mongodb v2.4.0 [INFO] [stderr] Checking mongodb-gridfs v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:76:76 [INFO] [stdout] | [INFO] [stdout] 76 | .list_collection_names(doc! {"name":file_collection.clone()}) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:80:64 [INFO] [stdout] | [INFO] [stdout] 80 | ... .create_collection(&file_collection.clone(), None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:86:73 [INFO] [stdout] | [INFO] [stdout] 86 | .run_command(doc! {"listIndexes":file_collection.clone()}, None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:127:77 [INFO] [stdout] | [INFO] [stdout] 127 | .list_collection_names(doc! {"name":chunk_collection.clone()}) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:131:65 [INFO] [stdout] | [INFO] [stdout] 131 | ... .create_collection(&chunk_collection.clone(), None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:137:74 [INFO] [stdout] | [INFO] [stdout] 137 | .run_command(doc! {"listIndexes":chunk_collection.clone()}, None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mongodb-gridfs` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:76:76 [INFO] [stdout] | [INFO] [stdout] 76 | .list_collection_names(doc! {"name":file_collection.clone()}) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:80:64 [INFO] [stdout] | [INFO] [stdout] 80 | ... .create_collection(&file_collection.clone(), None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:86:73 [INFO] [stdout] | [INFO] [stdout] 86 | .run_command(doc! {"listIndexes":file_collection.clone()}, None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:127:77 [INFO] [stdout] | [INFO] [stdout] 127 | .list_collection_names(doc! {"name":chunk_collection.clone()}) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:131:65 [INFO] [stdout] | [INFO] [stdout] 131 | ... .create_collection(&chunk_collection.clone(), None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bucket/upload.rs:137:74 [INFO] [stdout] | [INFO] [stdout] 137 | .run_command(doc! {"listIndexes":chunk_collection.clone()}, None) [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mongodb-gridfs` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c8391630dd56051abb10bfbbae5868d315a601a05046b067e9e548ef8bfc2b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8391630dd56051abb10bfbbae5868d315a601a05046b067e9e548ef8bfc2b0c", kill_on_drop: false }` [INFO] [stdout] c8391630dd56051abb10bfbbae5868d315a601a05046b067e9e548ef8bfc2b0c