[INFO] fetching crate aliyun-oss-client 0.12.9... [INFO] checking aliyun-oss-client-0.12.9 against nightly-2024-02-05 for check-cfg-2 [INFO] extracting crate aliyun-oss-client 0.12.9 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate aliyun-oss-client 0.12.9 on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aliyun-oss-client 0.12.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate aliyun-oss-client 0.12.9 [INFO] tweaked toml for crates.io crate aliyun-oss-client 0.12.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate aliyun-oss-client 0.12.9 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded bitflags v2.4.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded futures-core v0.3.29 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded cfb v0.7.3 [INFO] [stderr] Downloaded chrono v0.4.31 [INFO] [stderr] Downloaded rustix v0.38.24 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded oss_derive v0.10.0 [INFO] [stderr] Downloaded regex-automata v0.4.3 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] [stderr] Downloaded tokio v1.34.0 [INFO] [stderr] Downloaded quick-xml v0.29.0 [INFO] [stderr] Downloaded futures-util v0.3.29 [INFO] [stderr] Downloaded hashbrown v0.14.2 [INFO] [stderr] Downloaded regex v1.10.2 [INFO] [stderr] Downloaded h2 v0.3.22 [INFO] [stderr] Downloaded openssl v0.10.59 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded mio v0.8.9 [INFO] [stderr] Downloaded base64 v0.21.5 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded async-trait v0.1.74 [INFO] [stderr] Downloaded futures-channel v0.3.29 [INFO] [stderr] Downloaded num-traits v0.2.17 [INFO] [stderr] Downloaded futures v0.3.29 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded uuid v1.5.0 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded iana-time-zone v0.1.58 [INFO] [stderr] Downloaded futures-task v0.3.29 [INFO] [stderr] Downloaded openssl-sys v0.9.95 [INFO] [stderr] Downloaded infer v0.14.0 [INFO] [stderr] Downloaded futures-macro v0.3.29 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded assert_matches v1.5.0 [INFO] [stderr] Downloaded mockall_double v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded futures-io v0.3.29 [INFO] [stderr] Downloaded predicates-core v1.0.6 [INFO] [stderr] Downloaded futures-sink v0.3.29 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded futures-executor v0.3.29 [INFO] [stderr] Downloaded errno v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a26ba7b913227a97ec6123b7d5ecc1903d1a11f8dc27037dcc5c12f414125d5 [INFO] running `Command { std: "docker" "start" "-a" "0a26ba7b913227a97ec6123b7d5ecc1903d1a11f8dc27037dcc5c12f414125d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a26ba7b913227a97ec6123b7d5ecc1903d1a11f8dc27037dcc5c12f414125d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a26ba7b913227a97ec6123b7d5ecc1903d1a11f8dc27037dcc5c12f414125d5", kill_on_drop: false }` [INFO] [stdout] 0a26ba7b913227a97ec6123b7d5ecc1903d1a11f8dc27037dcc5c12f414125d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8aa794f29f3830126b05fda909efba0c9ca08f3fee465d8937083f3fafd8be1 [INFO] running `Command { std: "docker" "start" "-a" "d8aa794f29f3830126b05fda909efba0c9ca08f3fee465d8937083f3fafd8be1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking uuid v1.5.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling aliyun-oss-client v0.12.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking infer v0.14.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling oss_derive v0.10.0 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/object/content.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &'static str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/object/content.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &'static str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | creation_date: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:735:49 [INFO] [stdout] | [INFO] [stdout] 735 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket/test.rs:456:35 [INFO] [stdout] | [INFO] [stdout] 456 | let creation_date = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | creation_date: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/client.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | DateTime::from_utc(naive, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | DateTime::::from_utc(NaiveDateTime::from_timestamp_opt(123000, 0).unwrap(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | .last_modified(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:735:49 [INFO] [stdout] | [INFO] [stdout] 735 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/object_custom.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | File(ObjectPathInner<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/object_custom.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Dir(ObjectDir<'a>), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Dir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/files.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | struct MyError(String); [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | struct MyError(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/object/content/test_suite.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 164 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.53s [INFO] running `Command { std: "docker" "inspect" "d8aa794f29f3830126b05fda909efba0c9ca08f3fee465d8937083f3fafd8be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8aa794f29f3830126b05fda909efba0c9ca08f3fee465d8937083f3fafd8be1", kill_on_drop: false }` [INFO] [stdout] d8aa794f29f3830126b05fda909efba0c9ca08f3fee465d8937083f3fafd8be1 [INFO] checking aliyun-oss-client-0.12.9 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] extracting crate aliyun-oss-client 0.12.9 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate aliyun-oss-client 0.12.9 on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aliyun-oss-client 0.12.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate aliyun-oss-client 0.12.9 [INFO] tweaked toml for crates.io crate aliyun-oss-client 0.12.9 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate aliyun-oss-client 0.12.9 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac0908d01d1a2d55a291e40ca57338c2015f04c3088a9937187987c27519a35e [INFO] running `Command { std: "docker" "start" "-a" "ac0908d01d1a2d55a291e40ca57338c2015f04c3088a9937187987c27519a35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0908d01d1a2d55a291e40ca57338c2015f04c3088a9937187987c27519a35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0908d01d1a2d55a291e40ca57338c2015f04c3088a9937187987c27519a35e", kill_on_drop: false }` [INFO] [stdout] ac0908d01d1a2d55a291e40ca57338c2015f04c3088a9937187987c27519a35e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 9bc873b5227878f48677c1ff4b71161371b6c03212c28193419d26d6606a616e [INFO] running `Command { std: "docker" "start" "-a" "9bc873b5227878f48677c1ff4b71161371b6c03212c28193419d26d6606a616e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking uuid v1.5.0 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling aliyun-oss-client v0.12.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking infer v0.14.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling oss_derive v0.10.0 [INFO] [stderr] Compiling mockall_double v0.3.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #![cfg_attr(all(feature = "bench", test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 236 | #[cfg(all(feature = "bench", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/lib.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg(all(doctest, not(tarpaulin)))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(tarpaulin)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/object/content.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &'static str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #![cfg_attr(all(feature = "bench", test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/lib.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 236 | #[cfg(all(feature = "bench", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/lib.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | #[cfg(all(doctest, not(tarpaulin)))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(tarpaulin)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/decode/test.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | #[cfg(feature = "bench")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `bench` [INFO] [stdout] --> src/decode/test.rs:306:11 [INFO] [stdout] | [INFO] [stdout] 306 | #[cfg(feature = "bench")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `auth`, `blocking`, `core`, `decode`, `default`, `env_test`, `futures`, `futures-core`, `infer`, `oss_derive`, `percent-encoding`, `put_file`, `quick-xml`, `reqwest`, `sts`, `thiserror` [INFO] [stdout] = help: consider adding `bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/object/content.rs:453:33 [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 453 | const DEFAULT_CONTENT_TYPE: &'static str = DEFAULT_CONTENT_TYPE; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | creation_date: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:735:49 [INFO] [stdout] | [INFO] [stdout] 735 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket/test.rs:456:35 [INFO] [stdout] | [INFO] [stdout] 456 | let creation_date = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/bucket.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | creation_date: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/client.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | DateTime::from_utc(naive, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:111:38 [INFO] [stdout] | [INFO] [stdout] 111 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | DateTime::::from_utc(NaiveDateTime::from_timestamp_opt(123000, 0).unwrap(), Utc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object/test.rs:200:45 [INFO] [stdout] | [INFO] [stdout] 200 | .last_modified(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:504:45 [INFO] [stdout] | [INFO] [stdout] 504 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/object.rs:735:49 [INFO] [stdout] | [INFO] [stdout] 735 | last_modified: DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aliyun-oss-client` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/object/content/test_suite.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 164 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:191:47 [INFO] [stdout] | [INFO] [stdout] 191 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` 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] --> src/object/content/test_suite.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | let body = request.body().unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `Body` does not implement `Clone`, so calling `clone` on `&Body` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aliyun-oss-client` (lib test) due to 6 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9bc873b5227878f48677c1ff4b71161371b6c03212c28193419d26d6606a616e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc873b5227878f48677c1ff4b71161371b6c03212c28193419d26d6606a616e", kill_on_drop: false }` [INFO] [stdout] 9bc873b5227878f48677c1ff4b71161371b6c03212c28193419d26d6606a616e