[INFO] fetching crate jh-s3 0.1.0... [INFO] testing jh-s3-0.1.0 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] extracting crate jh-s3 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate jh-s3 0.1.0 [INFO] finished tweaking crates.io crate jh-s3 0.1.0 [INFO] tweaked toml for crates.io crate jh-s3 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jh-s3 0.1.0 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jh-s3 0.1.0 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cd341c95f2b86281d3da7456136ca27da83afa5eebc61dc7d2771ff08eb9eb9 [INFO] running `Command { std: "docker" "start" "-a" "7cd341c95f2b86281d3da7456136ca27da83afa5eebc61dc7d2771ff08eb9eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd341c95f2b86281d3da7456136ca27da83afa5eebc61dc7d2771ff08eb9eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd341c95f2b86281d3da7456136ca27da83afa5eebc61dc7d2771ff08eb9eb9", kill_on_drop: false }` [INFO] [stdout] 7cd341c95f2b86281d3da7456136ca27da83afa5eebc61dc7d2771ff08eb9eb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d7c3d2d6adb739ee420cb13ac0b9fc966abb7ddbfbc9dd4168092c08f9607f0 [INFO] running `Command { std: "docker" "start" "-a" "1d7c3d2d6adb739ee420cb13ac0b9fc966abb7ddbfbc9dd4168092c08f9607f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling async-dup v1.2.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling anyhow_ext v0.2.1 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling concat-string v1.0.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-tls v0.10.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling derive_builder v0.20.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling web-sys v0.3.70 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling async-h1 v2.3.4 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling jh-s3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/aws_sig_v4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/object_api.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn put_object

(&self, path: P) -> Result<()> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Some(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, `resource`, and `request_id` are never read [INFO] [stdout] --> src/lib.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct S3Error { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 119 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 121 | resource: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | request_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S3Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `md_map` are never read [INFO] [stdout] --> src/object_api.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct QueryMds { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 93 | r#type: QueryMetadataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | md_map: MdMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryMds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/object_api.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MdMap { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 105 | entry: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/object_api.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 110 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 111 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.40s [INFO] running `Command { std: "docker" "inspect" "1d7c3d2d6adb739ee420cb13ac0b9fc966abb7ddbfbc9dd4168092c08f9607f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d7c3d2d6adb739ee420cb13ac0b9fc966abb7ddbfbc9dd4168092c08f9607f0", kill_on_drop: false }` [INFO] [stdout] 1d7c3d2d6adb739ee420cb13ac0b9fc966abb7ddbfbc9dd4168092c08f9607f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b447fa4a46219b86c79829940b154e86a1806517fd9fef15d85b11ce87aed7e [INFO] running `Command { std: "docker" "start" "-a" "4b447fa4a46219b86c79829940b154e86a1806517fd9fef15d85b11ce87aed7e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/aws_sig_v4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/object_api.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn put_object

(&self, path: P) -> Result<()> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Some(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, `resource`, and `request_id` are never read [INFO] [stdout] --> src/lib.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct S3Error { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 119 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 121 | resource: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | request_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S3Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `md_map` are never read [INFO] [stdout] --> src/object_api.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct QueryMds { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 93 | r#type: QueryMetadataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | md_map: MdMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryMds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/object_api.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MdMap { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 105 | entry: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jh-s3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/object_api.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 110 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 111 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::DateTime` [INFO] [stdout] --> src/aws_sig_v4.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ListObjectParams` [INFO] [stdout] --> src/lib.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | object_api::{ListObjectParams, ListObjectParamsBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/object_api.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn put_object

(&self, path: P) -> Result<()> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/object_api.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | let request = client [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | Some(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `message`, `resource`, and `request_id` are never read [INFO] [stdout] --> src/lib.rs:119:2 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct S3Error { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 119 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 120 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 121 | resource: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 122 | request_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S3Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `md_map` are never read [INFO] [stdout] --> src/object_api.rs:93:2 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct QueryMds { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 93 | r#type: QueryMetadataType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | md_map: MdMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryMds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/object_api.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct MdMap { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 105 | entry: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> src/object_api.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Entry { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 110 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 111 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_file` is never used [INFO] [stdout] --> src/object_api.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | async fn upload_file(file_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "4b447fa4a46219b86c79829940b154e86a1806517fd9fef15d85b11ce87aed7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b447fa4a46219b86c79829940b154e86a1806517fd9fef15d85b11ce87aed7e", kill_on_drop: false }` [INFO] [stdout] 4b447fa4a46219b86c79829940b154e86a1806517fd9fef15d85b11ce87aed7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b638fea0215d5b6ddc82cb384429cd624d8b455c46e5eb9f4d5a67822f0c17b5 [INFO] running `Command { std: "docker" "start" "-a" "b638fea0215d5b6ddc82cb384429cd624d8b455c46e5eb9f4d5a67822f0c17b5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chrono::DateTime` [INFO] [stderr] --> src/aws_sig_v4.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::DateTime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/object_api.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | pub async fn put_object

(&self, path: P) -> Result<()> [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/lib.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | Some(path) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: fields `code`, `message`, `resource`, and `request_id` are never read [INFO] [stderr] --> src/lib.rs:119:2 [INFO] [stderr] | [INFO] [stderr] 118 | pub struct S3Error { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 119 | code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 120 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 121 | resource: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 122 | request_id: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `S3Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `type` and `md_map` are never read [INFO] [stderr] --> src/object_api.rs:93:2 [INFO] [stderr] | [INFO] [stderr] 92 | pub struct QueryMds { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 93 | r#type: QueryMetadataType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 94 | md_map: MdMap, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QueryMds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `entry` is never read [INFO] [stderr] --> src/object_api.rs:105:2 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct MdMap { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 105 | entry: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MdMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `key` and `value` are never read [INFO] [stderr] --> src/object_api.rs:110:2 [INFO] [stderr] | [INFO] [stderr] 109 | pub struct Entry { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 110 | key: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 111 | value: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Entry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `ListObjectParams` [INFO] [stderr] --> src/lib.rs:128:16 [INFO] [stderr] | [INFO] [stderr] 128 | object_api::{ListObjectParams, ListObjectParamsBuilder}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/object_api.rs:159:8 [INFO] [stderr] | [INFO] [stderr] 159 | let request = client [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: function `upload_file` is never used [INFO] [stderr] --> src/object_api.rs:152:11 [INFO] [stderr] | [INFO] [stderr] 152 | async fn upload_file(file_path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jh-s3` (lib) generated 8 warnings (run `cargo fix --lib -p jh-s3` to apply 2 suggestions) [INFO] [stderr] warning: `jh-s3` (lib test) generated 11 warnings (8 duplicates) (run `cargo fix --lib -p jh-s3 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jh_s3-dc278aa886ace7b2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test object_api::test::test_builder ... ok [INFO] [stdout] test test::test_list_object ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_list_object stdout ---- [INFO] [stdout] Error: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.89/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:2174:27 [INFO] [stdout] 2: jh_s3::S3Client::from_toml_config [INFO] [stdout] at ./src/lib.rs:69:13 [INFO] [stdout] 3: jh_s3::test::test_list_object [INFO] [stdout] at ./src/lib.rs:138:12 [INFO] [stdout] 4: jh_s3::test::test_list_object::{{closure}} [INFO] [stdout] at ./src/lib.rs:137:27 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_list_object [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "b638fea0215d5b6ddc82cb384429cd624d8b455c46e5eb9f4d5a67822f0c17b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b638fea0215d5b6ddc82cb384429cd624d8b455c46e5eb9f4d5a67822f0c17b5", kill_on_drop: false }` [INFO] [stdout] b638fea0215d5b6ddc82cb384429cd624d8b455c46e5eb9f4d5a67822f0c17b5