[INFO] fetching crate ibmcloud-core 0.0.1... [INFO] testing ibmcloud-core-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ibmcloud-core 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate ibmcloud-core 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ibmcloud-core 0.0.1 [INFO] finished tweaking crates.io crate ibmcloud-core 0.0.1 [INFO] tweaked toml for crates.io crate ibmcloud-core 0.0.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf5bfe83e0e526685ea3e0c7a936b90f07b4a19815709f5bed5865626967bbef [INFO] running `Command { std: "docker" "start" "-a" "bf5bfe83e0e526685ea3e0c7a936b90f07b4a19815709f5bed5865626967bbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf5bfe83e0e526685ea3e0c7a936b90f07b4a19815709f5bed5865626967bbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5bfe83e0e526685ea3e0c7a936b90f07b4a19815709f5bed5865626967bbef", kill_on_drop: false }` [INFO] [stdout] bf5bfe83e0e526685ea3e0c7a936b90f07b4a19815709f5bed5865626967bbef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 91056f526b375ac1c545159b9f0dbf8b0d7b3665e3dfa25560f4928522d260ad [INFO] running `Command { std: "docker" "start" "-a" "91056f526b375ac1c545159b9f0dbf8b0d7b3665e3dfa25560f4928522d260ad", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling ibmcloud-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delegated_refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | delegated_refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/authenticators/token_api.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expires_in` [INFO] [stdout] --> src/authenticators/token_api.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | expires_in: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_id` [INFO] [stdout] --> src/authenticators/token_api.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | request_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_type` [INFO] [stdout] --> src/authenticators/token_api.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | request_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/authenticators/token_api.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | user_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/authenticators/token_api.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance_id` [INFO] [stdout] --> src/authenticators/token_api.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | instance_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `thread_id` [INFO] [stdout] --> src/authenticators/token_api.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | thread_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/authenticators/token_api.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/authenticators/token_api.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | start_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_time` [INFO] [stdout] --> src/authenticators/token_api.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | end_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_time` [INFO] [stdout] --> src/authenticators/token_api.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | elapsed_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale` [INFO] [stdout] --> src/authenticators/token_api.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | locale: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_name` [INFO] [stdout] --> src/authenticators/token_api.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | cluster_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/authenticators/token_api.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/authenticators/token_api.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authorizationToken` [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/authenticators/token_api.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | context: ExceptionResponseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/authenticators/token_api.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | error_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_message` [INFO] [stdout] --> src/authenticators/token_api.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | error_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IAM_IDENTITY_URL` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IAM_IDENTITY_URL: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iam_identity_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/authenticators/token_api.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | self.authenticate().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TokenResponse` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | ResponseType::Ok(TokenResponse) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authorizationToken` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.71s [INFO] running `Command { std: "docker" "inspect" "91056f526b375ac1c545159b9f0dbf8b0d7b3665e3dfa25560f4928522d260ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91056f526b375ac1c545159b9f0dbf8b0d7b3665e3dfa25560f4928522d260ad", kill_on_drop: false }` [INFO] [stdout] 91056f526b375ac1c545159b9f0dbf8b0d7b3665e3dfa25560f4928522d260ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 827d2b4372c5a149568852b590497f2b7ac3102c505b24c928574c3e8016d95d [INFO] running `Command { std: "docker" "start" "-a" "827d2b4372c5a149568852b590497f2b7ac3102c505b24c928574c3e8016d95d", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delegated_refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | delegated_refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/authenticators/token_api.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expires_in` [INFO] [stdout] --> src/authenticators/token_api.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | expires_in: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_id` [INFO] [stdout] --> src/authenticators/token_api.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | request_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_type` [INFO] [stdout] --> src/authenticators/token_api.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | request_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/authenticators/token_api.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | user_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/authenticators/token_api.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance_id` [INFO] [stdout] --> src/authenticators/token_api.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | instance_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `thread_id` [INFO] [stdout] --> src/authenticators/token_api.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | thread_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/authenticators/token_api.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/authenticators/token_api.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | start_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_time` [INFO] [stdout] --> src/authenticators/token_api.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | end_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_time` [INFO] [stdout] --> src/authenticators/token_api.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | elapsed_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale` [INFO] [stdout] --> src/authenticators/token_api.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | locale: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_name` [INFO] [stdout] --> src/authenticators/token_api.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | cluster_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/authenticators/token_api.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/authenticators/token_api.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authorizationToken` [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/authenticators/token_api.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | context: ExceptionResponseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ibmcloud-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/authenticators/token_api.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | error_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_message` [INFO] [stdout] --> src/authenticators/token_api.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | error_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IAM_IDENTITY_URL` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IAM_IDENTITY_URL: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iam_identity_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/authenticators/token_api.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | self.authenticate().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TokenResponse` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | ResponseType::Ok(TokenResponse) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authorizationToken` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResponseType`, `request_token` [INFO] [stdout] --> src/authenticators/token_api.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | construct_headers, request_token, urlencoded_parameter, Options, ResponseType, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockito::mock` [INFO] [stdout] --> src/authenticators/token_api.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | use mockito::mock; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/authenticators/token_api.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | use reqwest::header::{HeaderMap, CONTENT_TYPE, USER_AGENT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delegated_refresh_token` [INFO] [stdout] --> src/authenticators/token_api.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | delegated_refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/authenticators/token_api.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | token_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `expires_in` [INFO] [stdout] --> src/authenticators/token_api.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | expires_in: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_id` [INFO] [stdout] --> src/authenticators/token_api.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | request_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request_type` [INFO] [stdout] --> src/authenticators/token_api.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | request_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_agent` [INFO] [stdout] --> src/authenticators/token_api.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | user_agent: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/authenticators/token_api.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instance_id` [INFO] [stdout] --> src/authenticators/token_api.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | instance_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `thread_id` [INFO] [stdout] --> src/authenticators/token_api.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | thread_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `host` [INFO] [stdout] --> src/authenticators/token_api.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | host: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_time` [INFO] [stdout] --> src/authenticators/token_api.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | start_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_time` [INFO] [stdout] --> src/authenticators/token_api.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | end_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elapsed_time` [INFO] [stdout] --> src/authenticators/token_api.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | elapsed_time: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale` [INFO] [stdout] --> src/authenticators/token_api.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | locale: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_name` [INFO] [stdout] --> src/authenticators/token_api.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | cluster_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/authenticators/token_api.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/authenticators/token_api.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | code: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `authorizationToken` [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/authenticators/token_api.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | context: ExceptionResponseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_code` [INFO] [stdout] --> src/authenticators/token_api.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | error_code: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error_message` [INFO] [stdout] --> src/authenticators/token_api.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | error_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/authenticators/token_api.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ibm_cloud_iam_url` [INFO] [stdout] --> src/authenticators/token_api.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | const ibm_cloud_iam_url: &str = "ibm_cloud_iam_url"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IAM_IDENTITY_URL` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | IAM_IDENTITY_URL: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iam_identity_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/authenticators/token_api.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | self.authenticate().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TokenResponse` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | ResponseType::Ok(TokenResponse) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `authorizationToken` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | authorizationToken: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TokenApiTests` should have a snake case name [INFO] [stdout] --> src/authenticators/token_api.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | mod TokenApiTests { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_api_tests` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ibm_cloud_iam_url` should have an upper case name [INFO] [stdout] --> src/authenticators/token_api.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | const ibm_cloud_iam_url: &str = "ibm_cloud_iam_url"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IBM_CLOUD_IAM_URL` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `api_key` should have an upper case name [INFO] [stdout] --> src/authenticators/token_api.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 289 | const api_key: &str = "apikey"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `API_KEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "827d2b4372c5a149568852b590497f2b7ac3102c505b24c928574c3e8016d95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827d2b4372c5a149568852b590497f2b7ac3102c505b24c928574c3e8016d95d", kill_on_drop: false }` [INFO] [stdout] 827d2b4372c5a149568852b590497f2b7ac3102c505b24c928574c3e8016d95d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 422c593c72b37b10212eed5c28239d9e04d15f85e888c6f6847f66c0b71cddc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "422c593c72b37b10212eed5c28239d9e04d15f85e888c6f6847f66c0b71cddc9", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `refresh_token` [INFO] [stderr] --> src/authenticators/token_api.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | refresh_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `delegated_refresh_token` [INFO] [stderr] --> src/authenticators/token_api.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | delegated_refresh_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token_type` [INFO] [stderr] --> src/authenticators/token_api.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | token_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `expires_in` [INFO] [stderr] --> src/authenticators/token_api.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | expires_in: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `request_id` [INFO] [stderr] --> src/authenticators/token_api.rs:174:5 [INFO] [stderr] | [INFO] [stderr] 174 | request_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `request_type` [INFO] [stderr] --> src/authenticators/token_api.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | request_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `user_agent` [INFO] [stderr] --> src/authenticators/token_api.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | user_agent: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `url` [INFO] [stderr] --> src/authenticators/token_api.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | url: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `instance_id` [INFO] [stderr] --> src/authenticators/token_api.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | instance_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `thread_id` [INFO] [stderr] --> src/authenticators/token_api.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | thread_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `host` [INFO] [stderr] --> src/authenticators/token_api.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | host: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start_time` [INFO] [stderr] --> src/authenticators/token_api.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | start_time: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end_time` [INFO] [stderr] --> src/authenticators/token_api.rs:204:5 [INFO] [stderr] | [INFO] [stderr] 204 | end_time: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `elapsed_time` [INFO] [stderr] --> src/authenticators/token_api.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | elapsed_time: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `locale` [INFO] [stderr] --> src/authenticators/token_api.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | locale: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cluster_name` [INFO] [stderr] --> src/authenticators/token_api.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | cluster_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExceptionResponseContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:168:23 [INFO] [stderr] | [INFO] [stderr] 168 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error` [INFO] [stderr] --> src/authenticators/token_api.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | error: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:218:23 [INFO] [stderr] | [INFO] [stderr] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `code` [INFO] [stderr] --> src/authenticators/token_api.rs:226:5 [INFO] [stderr] | [INFO] [stderr] 226 | code: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:218:23 [INFO] [stderr] | [INFO] [stderr] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `authorizationToken` [INFO] [stderr] --> src/authenticators/token_api.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | authorizationToken: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MFARequirementsResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:218:23 [INFO] [stderr] | [INFO] [stderr] 218 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `context` [INFO] [stderr] --> src/authenticators/token_api.rs:237:5 [INFO] [stderr] | [INFO] [stderr] 237 | context: ExceptionResponseContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:232:23 [INFO] [stderr] | [INFO] [stderr] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error_code` [INFO] [stderr] --> src/authenticators/token_api.rs:241:5 [INFO] [stderr] | [INFO] [stderr] 241 | error_code: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:232:23 [INFO] [stderr] | [INFO] [stderr] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error_message` [INFO] [stderr] --> src/authenticators/token_api.rs:247:5 [INFO] [stderr] | [INFO] [stderr] 247 | error_message: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OidcExceptionResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/authenticators/token_api.rs:232:23 [INFO] [stderr] | [INFO] [stderr] 232 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: structure field `IAM_IDENTITY_URL` should have a snake case name [INFO] [stderr] --> src/authenticators/token_api.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | IAM_IDENTITY_URL: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `iam_identity_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/authenticators/token_api.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | self.authenticate().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `TokenResponse` should have a snake case name [INFO] [stderr] --> src/authenticators/token_api.rs:69:30 [INFO] [stderr] | [INFO] [stderr] 69 | ResponseType::Ok(TokenResponse) => { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_response` [INFO] [stderr] [INFO] [stderr] warning: structure field `authorizationToken` should have a snake case name [INFO] [stderr] --> src/authenticators/token_api.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | authorizationToken: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `authorization_token` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ResponseType`, `request_token` [INFO] [stderr] --> src/authenticators/token_api.rs:281:28 [INFO] [stderr] | [INFO] [stderr] 281 | construct_headers, request_token, urlencoded_parameter, Options, ResponseType, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mockito::mock` [INFO] [stderr] --> src/authenticators/token_api.rs:285:9 [INFO] [stderr] | [INFO] [stderr] 285 | use mockito::mock; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HeaderMap` [INFO] [stderr] --> src/authenticators/token_api.rs:286:27 [INFO] [stderr] | [INFO] [stderr] 286 | use reqwest::header::{HeaderMap, CONTENT_TYPE, USER_AGENT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ibm_cloud_iam_url` [INFO] [stderr] --> src/authenticators/token_api.rs:288:5 [INFO] [stderr] | [INFO] [stderr] 288 | const ibm_cloud_iam_url: &str = "ibm_cloud_iam_url"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `TokenApiTests` should have a snake case name [INFO] [stderr] --> src/authenticators/token_api.rs:279:5 [INFO] [stderr] | [INFO] [stderr] 279 | mod TokenApiTests { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `token_api_tests` [INFO] [stderr] [INFO] [stderr] warning: constant `ibm_cloud_iam_url` should have an upper case name [INFO] [stderr] --> src/authenticators/token_api.rs:288:11 [INFO] [stderr] | [INFO] [stderr] 288 | const ibm_cloud_iam_url: &str = "ibm_cloud_iam_url"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IBM_CLOUD_IAM_URL` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `api_key` should have an upper case name [INFO] [stderr] --> src/authenticators/token_api.rs:289:11 [INFO] [stderr] | [INFO] [stderr] 289 | const api_key: &str = "apikey"; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `API_KEY` [INFO] [stderr] [INFO] [stderr] warning: `ibmcloud-core` (lib) generated 26 warnings [INFO] [stderr] warning: `ibmcloud-core` (lib test) generated 33 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ibmcloud_core-c6c8d179b0735509) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test authenticators::token_api::TokenApiTests::set_headers_map ... ok [INFO] [stdout] test authenticators::token_api::TokenApiTests::set_urlencoded_parameter ... ok [INFO] [stdout] test authenticators::token_api::TokenApiTests::tokenresponse_get_access_token ... ok [INFO] [stdout] test authenticators::token_api::TokenApiTests::tokenresponse_get_expiration ... ok [INFO] [stdout] test authenticators::token_api::TokenApiTests::tokenresponse_get_validate_token ... ok [INFO] [stderr] Doc-tests ibmcloud-core [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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" "422c593c72b37b10212eed5c28239d9e04d15f85e888c6f6847f66c0b71cddc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422c593c72b37b10212eed5c28239d9e04d15f85e888c6f6847f66c0b71cddc9", kill_on_drop: false }` [INFO] [stdout] 422c593c72b37b10212eed5c28239d9e04d15f85e888c6f6847f66c0b71cddc9