[INFO] cloning repository https://github.com/funnyboy-roks/b2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/funnyboy-roks/b2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fb2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fb2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1b54d05b7a256a77927bc6271c56b3ac57fcf3b [INFO] testing funnyboy-roks/b2 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fb2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/funnyboy-roks/b2 [INFO] finished tweaking git repo https://github.com/funnyboy-roks/b2 [INFO] tweaked toml for git repo https://github.com/funnyboy-roks/b2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/funnyboy-roks/b2 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/funnyboy-roks/b2 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rs_n_bit_words v0.1.3 [INFO] [stderr] Downloaded rs_internal_state v0.1.3 [INFO] [stderr] Downloaded progress_bar v1.0.5 [INFO] [stderr] Downloaded humanize-bytes v1.0.5 [INFO] [stderr] Downloaded rs_sha1 v0.1.3 [INFO] [stderr] Downloaded rs_hasher_ctx v0.1.3 [INFO] [stderr] Downloaded rs_internal_hasher v0.1.3 [INFO] [stderr] Downloaded windows-targets v0.52.3 [INFO] [stderr] Downloaded winnow v0.6.2 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded syn v2.0.50 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534 [INFO] running `Command { std: "docker" "start" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rs_n_bit_words v0.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling rs_internal_state v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rs_internal_hasher v0.1.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling winnow v0.6.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling rs_hasher_ctx v0.1.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling rs_sha1 v0.1.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling humanize-bytes v1.0.5 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling progress_bar v1.0.5 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling b2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let res: serde_json::Value = cfg.send_request_de(|cfg| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `application_key_expiration_timestamp` is never read [INFO] [stdout] --> src/api/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AuthResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub application_key_expiration_timestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthResponse` 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: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct StorageApi { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | pub absolute_minimum_part_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub api_url: String, [INFO] [stdout] 50 | pub bucket_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub bucket_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub download_url: String, [INFO] [stdout] 54 | pub info_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub name_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub recommended_part_size: u64, [INFO] [stdout] 57 | pub s3_api_url: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageApi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Bucket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 63 | pub account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub bucket_id: String, [INFO] [stdout] 65 | pub bucket_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub bucket_name: String, [INFO] [stdout] 67 | pub bucket_type: String, // TODO enum [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub cors_rules: Vec, // TODO [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | pub default_server_side_encryption: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub file_lock_configuration: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub lifecycle_rules: Vec, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub replication_configuration: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub revision: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bucket` 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 `is_client_authorized_to_read` and `value` are never read [INFO] [stdout] --> src/api/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct GenericConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 80 | pub is_client_authorized_to_read: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub value: serde_json::Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenericConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 96 | pub account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | pub action: Action, [INFO] [stdout] 98 | pub bucket_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 99 | pub content_length: u64, [INFO] [stdout] 100 | pub content_md5: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub content_sha1: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 102 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | pub file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub file_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | pub file_name: String, [INFO] [stdout] 106 | pub file_retention: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub legal_hold: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub server_side_encryption: ServerSideEncryption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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 `algorithm` and `mode` are never read [INFO] [stdout] --> src/api/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ServerSideEncryption { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 116 | pub algorithm: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerSideEncryption` 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 `status` is never read [INFO] [stdout] --> src/api/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ApiError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | pub status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling b2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 333 | let res: serde_json::Value = cfg.send_request_de(|cfg| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `application_key_expiration_timestamp` is never read [INFO] [stdout] --> src/api/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AuthResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub application_key_expiration_timestamp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthResponse` 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: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct StorageApi { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 48 | pub absolute_minimum_part_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub api_url: String, [INFO] [stdout] 50 | pub bucket_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub bucket_name: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 52 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub download_url: String, [INFO] [stdout] 54 | pub info_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub name_prefix: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | pub recommended_part_size: u64, [INFO] [stdout] 57 | pub s3_api_url: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StorageApi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Bucket { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 63 | pub account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | pub bucket_id: String, [INFO] [stdout] 65 | pub bucket_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 66 | pub bucket_name: String, [INFO] [stdout] 67 | pub bucket_type: String, // TODO enum [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | pub cors_rules: Vec, // TODO [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | pub default_server_side_encryption: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub file_lock_configuration: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub lifecycle_rules: Vec, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 73 | pub replication_configuration: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub revision: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bucket` 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 `is_client_authorized_to_read` and `value` are never read [INFO] [stdout] --> src/api/mod.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct GenericConfig { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 80 | pub is_client_authorized_to_read: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pub value: serde_json::Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenericConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct File { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 96 | pub account_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | pub action: Action, [INFO] [stdout] 98 | pub bucket_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 99 | pub content_length: u64, [INFO] [stdout] 100 | pub content_md5: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub content_sha1: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 102 | pub content_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 103 | pub file_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub file_info: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 105 | pub file_name: String, [INFO] [stdout] 106 | pub file_retention: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub legal_hold: GenericConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | pub server_side_encryption: ServerSideEncryption, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` 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 `algorithm` and `mode` are never read [INFO] [stdout] --> src/api/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ServerSideEncryption { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 116 | pub algorithm: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 117 | pub mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerSideEncryption` 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 `status` is never read [INFO] [stdout] --> src/api/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ApiError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 125 | pub status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/main.rs:333:17 [INFO] [stderr] | [INFO] [stderr] 333 | let res: serde_json::Value = cfg.send_request_de(|cfg| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `application_key_expiration_timestamp` is never read [INFO] [stderr] --> src/api/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AuthResponse { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | pub application_key_expiration_timestamp: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthResponse` 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: multiple fields are never read [INFO] [stderr] --> src/api/mod.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct StorageApi { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 48 | pub absolute_minimum_part_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | pub api_url: String, [INFO] [stderr] 50 | pub bucket_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 51 | pub bucket_name: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 52 | pub capabilities: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 53 | pub download_url: String, [INFO] [stderr] 54 | pub info_type: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 55 | pub name_prefix: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 56 | pub recommended_part_size: u64, [INFO] [stderr] 57 | pub s3_api_url: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StorageApi` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/api/mod.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct Bucket { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 63 | pub account_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 64 | pub bucket_id: String, [INFO] [stderr] 65 | pub bucket_info: serde_json::Value, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 66 | pub bucket_name: String, [INFO] [stderr] 67 | pub bucket_type: String, // TODO enum [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 68 | pub cors_rules: Vec, // TODO [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 69 | pub default_server_side_encryption: GenericConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 70 | pub file_lock_configuration: GenericConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 71 | pub lifecycle_rules: Vec, // TODO [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 72 | pub options: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 73 | pub replication_configuration: GenericConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 74 | pub revision: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Bucket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `is_client_authorized_to_read` and `value` are never read [INFO] [stderr] --> src/api/mod.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct GenericConfig { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 80 | pub is_client_authorized_to_read: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 81 | pub value: serde_json::Value, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GenericConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/api/mod.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 95 | pub struct File { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 96 | pub account_id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 97 | pub action: Action, [INFO] [stderr] 98 | pub bucket_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 99 | pub content_length: u64, [INFO] [stderr] 100 | pub content_md5: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 101 | pub content_sha1: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 102 | pub content_type: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 103 | pub file_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 104 | pub file_info: serde_json::Value, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 105 | pub file_name: String, [INFO] [stderr] 106 | pub file_retention: GenericConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 107 | pub legal_hold: GenericConfig, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 108 | pub server_side_encryption: ServerSideEncryption, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `algorithm` and `mode` are never read [INFO] [stderr] --> src/api/mod.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct ServerSideEncryption { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 116 | pub algorithm: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 117 | pub mode: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerSideEncryption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> src/api/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 122 | pub struct ApiError { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 125 | pub status: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `b2` (bin "b2" test) generated 8 warnings (run `cargo fix --bin "b2" -p b2 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/b2-35e0edc383e0d2d1) [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" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534", kill_on_drop: false }` [INFO] [stdout] fe852f8f9ac590b69efc8453769025884051d800c268802819393e7891a1f534