[INFO] cloning repository https://github.com/jiangplus/s3light [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jiangplus/s3light" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangplus%2Fs3light", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangplus%2Fs3light'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c02b6b8eb15eff01b7d393520b9eea0ae4792a2 [INFO] testing jiangplus/s3light against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjiangplus%2Fs3light" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jiangplus/s3light [INFO] finished tweaking git repo https://github.com/jiangplus/s3light [INFO] tweaked toml for git repo https://github.com/jiangplus/s3light written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jiangplus/s3light on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jiangplus/s3light 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22742af403a87860ca73639e3c6571a161dd58dc4780e279d435627ad92d36d5 [INFO] running `Command { std: "docker" "start" "-a" "22742af403a87860ca73639e3c6571a161dd58dc4780e279d435627ad92d36d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22742af403a87860ca73639e3c6571a161dd58dc4780e279d435627ad92d36d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22742af403a87860ca73639e3c6571a161dd58dc4780e279d435627ad92d36d5", kill_on_drop: false }` [INFO] [stdout] 22742af403a87860ca73639e3c6571a161dd58dc4780e279d435627ad92d36d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c5c67c6718ac585afe51672e266c71b600fc5d162f21a829fc5c917729bb542 [INFO] running `Command { std: "docker" "start" "-a" "0c5c67c6718ac585afe51672e266c71b600fc5d162f21a829fc5c917729bb542", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling aws-types v1.3.14 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling lru v0.16.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.15 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling human_bytes v0.4.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling crc-fast v1.9.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling p256 v0.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling aws-smithy-async v1.2.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling aws-smithy-types v1.4.6 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.11.6 [INFO] [stderr] Compiling aws-smithy-eventstream v0.60.20 [INFO] [stderr] Compiling aws-smithy-json v0.62.5 [INFO] [stderr] Compiling aws-smithy-query v0.60.15 [INFO] [stderr] Compiling aws-smithy-http v0.63.6 [INFO] [stderr] Compiling aws-credential-types v1.2.14 [INFO] [stderr] Compiling aws-smithy-observability v0.2.6 [INFO] [stderr] Compiling aws-sigv4 v1.4.2 [INFO] [stderr] Compiling aws-smithy-checksums v0.64.6 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.12 [INFO] [stderr] Compiling aws-smithy-runtime v1.10.3 [INFO] [stderr] Compiling aws-runtime v1.7.2 [INFO] [stderr] Compiling aws-sdk-sso v1.96.0 [INFO] [stderr] Compiling aws-sdk-sts v1.100.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.98.0 [INFO] [stderr] Compiling aws-sdk-s3 v1.125.0 [INFO] [stderr] Compiling aws-config v1.8.15 [INFO] [stderr] Compiling s3light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/cmd/sync.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::output::{info, success, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Ok(parsed) = acl.parse() { req = req.acl(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Ok(parsed) = sc.parse() { create = create.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Ok(parsed) = acl.parse() { create = create.acl(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/sync.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/acl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Ok(acl) = acl_str.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/acl.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | } else if let Ok(acl) = acl_str.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd/object.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd/sync.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BucketNotFound`, `ObjectNotFound`, and `AccessDenied` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum S3LightError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | BucketNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | ObjectNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | AccessDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S3LightError` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "0c5c67c6718ac585afe51672e266c71b600fc5d162f21a829fc5c917729bb542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c5c67c6718ac585afe51672e266c71b600fc5d162f21a829fc5c917729bb542", kill_on_drop: false }` [INFO] [stdout] 0c5c67c6718ac585afe51672e266c71b600fc5d162f21a829fc5c917729bb542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 096d837d2f71db0d8e281398b0467df7886bfdb8e513a5f2a70ed9e5e7e5814c [INFO] running `Command { std: "docker" "start" "-a" "096d837d2f71db0d8e281398b0467df7886bfdb8e513a5f2a70ed9e5e7e5814c", kill_on_drop: false }` [INFO] [stderr] Compiling s3light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/cmd/sync.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::output::{info, success, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | if let Ok(parsed) = acl.parse() { req = req.acl(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Ok(parsed) = sc.parse() { create = create.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/object.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Ok(parsed) = acl.parse() { create = create.acl(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/sync.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/acl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if let Ok(acl) = acl_str.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/cmd/acl.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | } else if let Ok(acl) = acl_str.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd/object.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/cmd/sync.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BucketNotFound`, `ObjectNotFound`, and `AccessDenied` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum S3LightError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | BucketNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | ObjectNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | AccessDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S3LightError` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "096d837d2f71db0d8e281398b0467df7886bfdb8e513a5f2a70ed9e5e7e5814c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096d837d2f71db0d8e281398b0467df7886bfdb8e513a5f2a70ed9e5e7e5814c", kill_on_drop: false }` [INFO] [stdout] 096d837d2f71db0d8e281398b0467df7886bfdb8e513a5f2a70ed9e5e7e5814c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b40470d74f03b38d6b254f6cb3ea1001f024cf90fb4f9d5b51c65f1eccaab54 [INFO] running `Command { std: "docker" "start" "-a" "3b40470d74f03b38d6b254f6cb3ea1001f024cf90fb4f9d5b51c65f1eccaab54", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/cmd/sync.rs:16:36 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::output::{info, success, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/object.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/object.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | if let Ok(parsed) = acl.parse() { req = req.acl(parsed); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/object.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | if let Ok(parsed) = sc.parse() { create = create.storage_class(parsed); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/object.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | if let Ok(parsed) = acl.parse() { create = create.acl(parsed); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/sync.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | if let Ok(parsed) = sc.parse() { req = req.storage_class(parsed); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/acl.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | if let Ok(acl) = acl_str.parse() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/cmd/acl.rs:60:19 [INFO] [stderr] | [INFO] [stderr] 60 | } else if let Ok(acl) = acl_str.parse() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/cmd/object.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> src/cmd/sync.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `BucketNotFound`, `ObjectNotFound`, and `AccessDenied` are never constructed [INFO] [stderr] --> src/error.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum S3LightError { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 9 | BucketNotFound(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | ObjectNotFound(String), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | AccessDenied(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `S3LightError` 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: `s3light` (bin "s3light" test) generated 11 warnings (run `cargo fix --bin "s3light" -p s3light --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/s3light-f323ce506ff45b71) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3b40470d74f03b38d6b254f6cb3ea1001f024cf90fb4f9d5b51c65f1eccaab54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b40470d74f03b38d6b254f6cb3ea1001f024cf90fb4f9d5b51c65f1eccaab54", kill_on_drop: false }` [INFO] [stdout] 3b40470d74f03b38d6b254f6cb3ea1001f024cf90fb4f9d5b51c65f1eccaab54