[INFO] cloning repository https://github.com/aether-flux/treki-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aether-flux/treki-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Ftreki-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Ftreki-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bf96521fe1f710cf14ccd222c4827c20cd926e8 [INFO] building aether-flux/treki-cli against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faether-flux%2Ftreki-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aether-flux/treki-cli [INFO] finished tweaking git repo https://github.com/aether-flux/treki-cli [INFO] tweaked toml for git repo https://github.com/aether-flux/treki-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aether-flux/treki-cli on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aether-flux/treki-cli 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4be986cbfb3d5fce4a67debcc90395f86e055ddca7021a69255ef4998d203af7 [INFO] running `Command { std: "docker" "start" "-a" "4be986cbfb3d5fce4a67debcc90395f86e055ddca7021a69255ef4998d203af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be986cbfb3d5fce4a67debcc90395f86e055ddca7021a69255ef4998d203af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be986cbfb3d5fce4a67debcc90395f86e055ddca7021a69255ef4998d203af7", kill_on_drop: false }` [INFO] [stdout] 4be986cbfb3d5fce4a67debcc90395f86e055ddca7021a69255ef4998d203af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cafbddca58e6e43022c038034b96d5d49c71f17602dd526b9ff7ef8698159b8f [INFO] running `Command { std: "docker" "start" "-a" "cafbddca58e6e43022c038034b96d5d49c71f17602dd526b9ff7ef8698159b8f", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.36 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling clap v4.5.36 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling colored_json v5.0.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling treki-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Response as AsyncResponse` [INFO] [stdout] --> src/commands/send.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client as AsyncClient, Response as AsyncResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/auth/whoami.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, `time`, and `extra_fields` are never read [INFO] [stdout] --> src/commands/send.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedReq { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | #[serde(flatten)] [INFO] [stdout] 20 | extra_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SavedReq` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp` and `iat` are never read [INFO] [stdout] --> src/auth/whoami.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] 12 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | iat: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `get_decoded_token` [INFO] [stdout] --> src/auth/whoami.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_decoded_token () -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_decoded_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/auth/whoami.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response as AsyncResponse` [INFO] [stdout] --> src/commands/send.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client as AsyncClient, Response as AsyncResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/auth/whoami.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, `time`, and `extra_fields` are never read [INFO] [stdout] --> src/commands/send.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedReq { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | #[serde(flatten)] [INFO] [stdout] 20 | extra_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SavedReq` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp` and `iat` are never read [INFO] [stdout] --> src/auth/whoami.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] 12 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | iat: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `get_decoded_token` [INFO] [stdout] --> src/auth/whoami.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_decoded_token () -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_decoded_token` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/auth/whoami.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "cafbddca58e6e43022c038034b96d5d49c71f17602dd526b9ff7ef8698159b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafbddca58e6e43022c038034b96d5d49c71f17602dd526b9ff7ef8698159b8f", kill_on_drop: false }` [INFO] [stdout] cafbddca58e6e43022c038034b96d5d49c71f17602dd526b9ff7ef8698159b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e955b53a6fdf86a43034a669cbc896d2daf9d089d06f21bb167657f2a5c09c4 [INFO] running `Command { std: "docker" "start" "-a" "5e955b53a6fdf86a43034a669cbc896d2daf9d089d06f21bb167657f2a5c09c4", kill_on_drop: false }` [INFO] [stderr] Compiling treki-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Response as AsyncResponse` [INFO] [stdout] --> src/commands/send.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client as AsyncClient, Response as AsyncResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/auth/whoami.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, `time`, and `extra_fields` are never read [INFO] [stdout] --> src/commands/send.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedReq { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | #[serde(flatten)] [INFO] [stdout] 20 | extra_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SavedReq` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp` and `iat` are never read [INFO] [stdout] --> src/auth/whoami.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] 12 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | iat: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `get_decoded_token` [INFO] [stdout] --> src/auth/whoami.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_decoded_token () -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_decoded_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/auth/whoami.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response as AsyncResponse` [INFO] [stdout] --> src/commands/send.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client as AsyncClient, Response as AsyncResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Response as AsyncResponse` [INFO] [stdout] --> src/commands/send.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use reqwest::{Client as AsyncClient, Response as AsyncResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/auth/whoami.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, `time`, and `extra_fields` are never read [INFO] [stdout] --> src/commands/send.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedReq { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | #[serde(flatten)] [INFO] [stdout] 20 | extra_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SavedReq` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp` and `iat` are never read [INFO] [stdout] --> src/auth/whoami.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] 12 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | iat: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `get_decoded_token` [INFO] [stdout] --> src/auth/whoami.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_decoded_token () -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_decoded_token` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/auth/whoami.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userId` should have a snake case name [INFO] [stdout] --> src/auth/whoami.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `status`, `time`, and `extra_fields` are never read [INFO] [stdout] --> src/commands/send.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedReq { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 17 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | #[serde(flatten)] [INFO] [stdout] 20 | extra_fields: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SavedReq` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp` and `iat` are never read [INFO] [stdout] --> src/auth/whoami.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | userId: usize, [INFO] [stdout] 12 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | iat: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Claims` is more private than the item `get_decoded_token` [INFO] [stdout] --> src/auth/whoami.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_decoded_token () -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_decoded_token` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Claims` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/auth/whoami.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Claims { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "5e955b53a6fdf86a43034a669cbc896d2daf9d089d06f21bb167657f2a5c09c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e955b53a6fdf86a43034a669cbc896d2daf9d089d06f21bb167657f2a5c09c4", kill_on_drop: false }` [INFO] [stdout] 5e955b53a6fdf86a43034a669cbc896d2daf9d089d06f21bb167657f2a5c09c4