[INFO] fetching crate qiniu-upload-manager 0.2.4... [INFO] testing qiniu-upload-manager-0.2.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate qiniu-upload-manager 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate qiniu-upload-manager 0.2.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate qiniu-upload-manager 0.2.4 [INFO] tweaked toml for crates.io crate qiniu-upload-manager 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qiniu-upload-manager 0.2.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qiniu-upload-manager 0.2.4 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99730c9bde42b4c4627a9a640783889390a30f803d3141bff96a9d512483e3d7 [INFO] running `Command { std: "docker" "start" "-a" "99730c9bde42b4c4627a9a640783889390a30f803d3141bff96a9d512483e3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99730c9bde42b4c4627a9a640783889390a30f803d3141bff96a9d512483e3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99730c9bde42b4c4627a9a640783889390a30f803d3141bff96a9d512483e3d7", kill_on_drop: false }` [INFO] [stdout] 99730c9bde42b4c4627a9a640783889390a30f803d3141bff96a9d512483e3d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8365b71cb048e6132c7502cd423dbb47b29b76ec94ace77bd4404e402b822b40 [INFO] running `Command { std: "docker" "start" "-a" "8365b71cb048e6132c7502cd423dbb47b29b76ec94ace77bd4404e402b822b40", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rustls v0.21.9 [INFO] [stderr] Compiling assert-impl v0.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling qiniu-http v0.2.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling dns-lookup v1.0.8 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fs4 v0.6.6 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex-automata v0.3.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling maybe-owned v0.3.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling qiniu-utils v0.2.4 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling qiniu-credential v0.2.4 [INFO] [stderr] Compiling ureq v2.9.0 [INFO] [stderr] Compiling regex v1.9.6 [INFO] [stderr] Compiling qiniu-upload-token v0.2.4 [INFO] [stderr] Compiling qiniu-ureq v0.2.4 [INFO] [stderr] Compiling qiniu-http-client v0.2.4 [INFO] [stderr] Compiling qiniu-apis v0.2.4 [INFO] [stderr] Compiling qiniu-upload-manager v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `indirect_structural_match` has been removed: converted into hard error, see RFC #3535 for more information [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | indirect_structural_match, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/multi_parts_uploader/v2.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 129 - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 129 + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/multi_parts_uploader/v2.rs:129:55 [INFO] [stdout] | [INFO] [stdout] 129 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 129 - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] 129 + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/multi_parts_uploader/mod.rs:297:16 [INFO] [stdout] | [INFO] [stdout] 297 | fn storage(&self) -> storage::Client { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | fn storage(&self) -> storage::Client<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/single_part_uploader/form_uploader.rs:391:19 [INFO] [stdout] | [INFO] [stdout] 391 | fn put_object(&self) -> put_object::Client { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 391 | fn put_object(&self) -> put_object::Client<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qiniu-upload-manager` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8365b71cb048e6132c7502cd423dbb47b29b76ec94ace77bd4404e402b822b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8365b71cb048e6132c7502cd423dbb47b29b76ec94ace77bd4404e402b822b40", kill_on_drop: false }` [INFO] [stdout] 8365b71cb048e6132c7502cd423dbb47b29b76ec94ace77bd4404e402b822b40