[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffunnyboy-roks%2Fb2" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/funnyboy-roks/b2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rs_internal_hasher v0.1.3 [INFO] [stderr] Downloaded rs_hasher_ctx v0.1.3 [INFO] [stderr] Downloaded rs_sha1 v0.1.3 [INFO] [stderr] Downloaded toml v0.8.10 [INFO] [stderr] Downloaded rs_internal_state v0.1.3 [INFO] [stderr] Downloaded anstyle-query v1.0.2 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded libredox v0.0.1 [INFO] [stderr] Downloaded windows-targets v0.52.3 [INFO] [stderr] Downloaded humanize-bytes v1.0.5 [INFO] [stderr] Downloaded anstyle-wincon v3.0.2 [INFO] [stderr] Downloaded redox_users v0.4.4 [INFO] [stderr] Downloaded strsim v0.11.0 [INFO] [stderr] Downloaded anstream v0.6.12 [INFO] [stderr] Downloaded anyhow v1.0.80 [INFO] [stderr] Downloaded anstyle-parse v0.2.3 [INFO] [stderr] Downloaded winnow v0.6.2 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded cc v1.0.86 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] [stderr] Downloaded clap v4.5.1 [INFO] [stderr] Downloaded clap_derive v4.5.0 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded chrono v0.4.34 [INFO] [stderr] Downloaded progress_bar v1.0.5 [INFO] [stderr] Downloaded toml_edit v0.22.6 [INFO] [stderr] Downloaded clap_builder v4.5.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.3 [INFO] [stderr] Downloaded rs_n_bit_words v0.1.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.3 [INFO] [stderr] Downloaded serde_spanned v0.6.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.3 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.3 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff0e3d1cabe1882c3ea6bc42a5b4b93e5b09d559f6635f3f487bfd85f7591191 [INFO] running `Command { std: "docker" "start" "-a" "ff0e3d1cabe1882c3ea6bc42a5b4b93e5b09d559f6635f3f487bfd85f7591191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff0e3d1cabe1882c3ea6bc42a5b4b93e5b09d559f6635f3f487bfd85f7591191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0e3d1cabe1882c3ea6bc42a5b4b93e5b09d559f6635f3f487bfd85f7591191", kill_on_drop: false }` [INFO] [stdout] ff0e3d1cabe1882c3ea6bc42a5b4b93e5b09d559f6635f3f487bfd85f7591191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffbbd86e360cb0b36a34a70e33bec750824dc302bf2359d2ddbb206c39b8234e [INFO] running `Command { std: "docker" "start" "-a" "ffbbd86e360cb0b36a34a70e33bec750824dc302bf2359d2ddbb206c39b8234e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rs_n_bit_words v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rs_internal_state v0.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rs_internal_hasher v0.1.3 [INFO] [stderr] Compiling winnow v0.6.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rs_hasher_ctx v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling rs_sha1 v0.1.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling humanize-bytes v1.0.5 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling progress_bar v1.0.5 [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 urlencoding v2.1.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.24 [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 toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned 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 hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling toml v0.8.10 [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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "ffbbd86e360cb0b36a34a70e33bec750824dc302bf2359d2ddbb206c39b8234e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbbd86e360cb0b36a34a70e33bec750824dc302bf2359d2ddbb206c39b8234e", kill_on_drop: false }` [INFO] [stdout] ffbbd86e360cb0b36a34a70e33bec750824dc302bf2359d2ddbb206c39b8234e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76b62ad0302ba518d273774e6878645ec0191fd7bafed1a5f8c4a097c6fd6ca4 [INFO] running `Command { std: "docker" "start" "-a" "76b62ad0302ba518d273774e6878645ec0191fd7bafed1a5f8c4a097c6fd6ca4", 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 `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "76b62ad0302ba518d273774e6878645ec0191fd7bafed1a5f8c4a097c6fd6ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b62ad0302ba518d273774e6878645ec0191fd7bafed1a5f8c4a097c6fd6ca4", kill_on_drop: false }` [INFO] [stdout] 76b62ad0302ba518d273774e6878645ec0191fd7bafed1a5f8c4a097c6fd6ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3deadf2e90349205c047a61d36a7f4d8934b44be6ce710590fac112d24ac168b [INFO] running `Command { std: "docker" "start" "-a" "3deadf2e90349205c047a61d36a7f4d8934b44be6ce710590fac112d24ac168b", 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 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/b2-ad22ff69c4189185) [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" "3deadf2e90349205c047a61d36a7f4d8934b44be6ce710590fac112d24ac168b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3deadf2e90349205c047a61d36a7f4d8934b44be6ce710590fac112d24ac168b", kill_on_drop: false }` [INFO] [stdout] 3deadf2e90349205c047a61d36a7f4d8934b44be6ce710590fac112d24ac168b