[INFO] cloning repository https://github.com/pseudo-su/slack_manage_cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pseudo-su/slack_manage_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudo-su%2Fslack_manage_cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudo-su%2Fslack_manage_cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b62480dc42f8e89baf99c963ae9d9f4368e4b63 [INFO] checking pseudo-su/slack_manage_cli/8b62480dc42f8e89baf99c963ae9d9f4368e4b63 against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpseudo-su%2Fslack_manage_cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pseudo-su/slack_manage_cli [INFO] finished tweaking git repo https://github.com/pseudo-su/slack_manage_cli [INFO] tweaked toml for git repo https://github.com/pseudo-su/slack_manage_cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pseudo-su/slack_manage_cli on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pseudo-su/slack_manage_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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettytable-rs v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62b57347808d74b0a35545a1af7005e8a0ab8e90089c48bfc9e4c9dce98cffd8 [INFO] running `Command { std: "docker" "start" "-a" "62b57347808d74b0a35545a1af7005e8a0ab8e90089c48bfc9e4c9dce98cffd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62b57347808d74b0a35545a1af7005e8a0ab8e90089c48bfc9e4c9dce98cffd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b57347808d74b0a35545a1af7005e8a0ab8e90089c48bfc9e4c9dce98cffd8", kill_on_drop: false }` [INFO] [stdout] 62b57347808d74b0a35545a1af7005e8a0ab8e90089c48bfc9e4c9dce98cffd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ade20a2d0050fc1890a1e31b0175a3213afb4d16333c65608dcf9ee4b6281bc [INFO] running `Command { std: "docker" "start" "-a" "9ade20a2d0050fc1890a1e31b0175a3213afb4d16333c65608dcf9ee4b6281bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking tracing v0.1.30 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking slack_manage_cli v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/commands.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | token: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_name` [INFO] [stdout] --> src/commands.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | group_name: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/commands.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | let client = reqwest::blocking::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_config` [INFO] [stdout] --> src/commands.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let filter_config = UserFilterConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/channels.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn invite_user_to_channel(client: &Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppErr... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/channels.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn invite_user_to_channel(client: &Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppErr... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/channels.rs:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | ...&Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> src/channels.rs:52:100 [INFO] [stdout] | [INFO] [stdout] 52 | ...ember: &UsersListMember, channel_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/commands.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | token: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_name` [INFO] [stdout] --> src/commands.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | group_name: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/commands.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | let client = reqwest::blocking::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_config` [INFO] [stdout] --> src/commands.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | let filter_config = UserFilterConfig{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/channels.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn invite_user_to_channel(client: &Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppErr... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/channels.rs:52:61 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn invite_user_to_channel(client: &Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppErr... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/channels.rs:52:74 [INFO] [stdout] | [INFO] [stdout] 52 | ...&Configuration, token: &str, member: &UsersListMember, channel_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_id` [INFO] [stdout] --> src/channels.rs:52:100 [INFO] [stdout] | [INFO] [stdout] 52 | ...ember: &UsersListMember, channel_id: &str) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | / UsersListResponseBody { [INFO] [stdout] 37 | | members, [INFO] [stdout] 38 | | .. [INFO] [stdout] 39 | | } => Ok(members), [INFO] [stdout] | |_________- matches any value [INFO] [stdout] 40 | _ => Err(AppError { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 36 | / UsersListResponseBody { [INFO] [stdout] 37 | | members, [INFO] [stdout] 38 | | .. [INFO] [stdout] 39 | | } => Ok(members), [INFO] [stdout] | |_________- matches any value [INFO] [stdout] 40 | _ => Err(AppError { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 291 | / UsersListMember{ [INFO] [stdout] 292 | | profile, [INFO] [stdout] 293 | | .. [INFO] [stdout] 294 | | } => { [INFO] [stdout] | |_________- matches any value [INFO] [stdout] ... [INFO] [stdout] 305 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `superhack` is never read [INFO] [stdout] --> src/users.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut superhack = String::from(""); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 371 | UsersListMember { id, .. } => Some(id.to_owned()), [INFO] [stdout] | -------------------------- matches any value [INFO] [stdout] 372 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 378 | / UsersListMember { [INFO] [stdout] 379 | | name, .. [INFO] [stdout] 380 | | } => Some(name.to_owned()), [INFO] [stdout] | |_________________- matches any value [INFO] [stdout] 381 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 387 | / UsersListMember { [INFO] [stdout] 388 | | profile, [INFO] [stdout] 389 | | .. [INFO] [stdout] 390 | | } => { [INFO] [stdout] | |_________________- matches any value [INFO] [stdout] ... [INFO] [stdout] 397 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `entity` are never read [INFO] [stdout] --> src/api_client/apis/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ResponseContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub status: reqwest::StatusCode, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub entity: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlencode` is never used [INFO] [stdout] --> src/api_client/apis/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn urlencode>(s: T) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_auth`, `bearer_access_token`, and `api_key` are never read [INFO] [stdout] --> src/api_client/apis/configuration.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | pub oauth_access_token: Option, [INFO] [stdout] 21 | pub bearer_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix` and `key` are never read [INFO] [stdout] --> src/api_client/apis/configuration.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApiKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub prefix: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/apis/configuration.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 35 | pub fn new() -> Configuration { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl ConversationsListChannel { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 65 | pub fn new(created: f32, creator: String, id: String, is_archived: bool, is_channel: bool, is_ext_shared: bool, is_general: bool, is_... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel_purpose.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ConversationsListChannelPurpose { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 25 | pub fn new(creator: String, last_set: f32, value: String) -> ConversationsListChannelPurpose { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel_topic.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ConversationsListChannelTopic { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(creator: String, last_set: f32, value: String) -> ConversationsListChannelTopic { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_error_response_body.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ConversationsListErrorResponseBody { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 24 | /// Schema for error response from conversations.list method [INFO] [stdout] 25 | pub fn new(error: String, ok: bool) -> ConversationsListErrorResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_im.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ConversationsListIm { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 33 | pub fn new(created: f32, id: String, is_im: bool, is_org_shared: bool, is_user_deleted: bool, priority: f32, user: String) -> Convers... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_response_body.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl ConversationsListResponseBody { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 26 | /// Schema for successful response from conversations.list method [INFO] [stdout] 27 | pub fn new(channels: Vec, ok: bool, response_metadata: c... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_response_body_response_metadata.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ConversationsListResponseBodyResponseMetadata { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(next_cursor: String) -> ConversationsListResponseBodyResponseMetadata { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_error_response_body.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl UsersListErrorResponseBody { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 24 | /// Schema for error response from users.list method [INFO] [stdout] 25 | pub fn new(error: String, ok: bool) -> UsersListErrorResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_member.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl UsersListMember { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(deleted: bool, id: String, is_bot: bool, name: String, profile: crate::api_client::models::UsersListMemberProfile, team_id... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_member_profile.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl UsersListMemberProfile { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(avatar_hash: String, display_name: String, display_name_normalized: String, real_name_normalized: String, status_emoji: St... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_response_body.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl UsersListResponseBody { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 28 | /// Schema for successful response from users.list method [INFO] [stdout] 29 | pub fn new(cache_ts: f32, members: Vec, ok: bool, response_metadata: crate::api_client::m... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose` and `dry_run` are never read [INFO] [stdout] --> src/cli_opts.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct GlobalOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 291 | / UsersListMember{ [INFO] [stdout] 292 | | profile, [INFO] [stdout] 293 | | .. [INFO] [stdout] 294 | | } => { [INFO] [stdout] | |_________- matches any value [INFO] [stdout] ... [INFO] [stdout] 305 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `superhack` is never read [INFO] [stdout] --> src/users.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut superhack = String::from(""); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 371 | UsersListMember { id, .. } => Some(id.to_owned()), [INFO] [stdout] | -------------------------- matches any value [INFO] [stdout] 372 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 378 | / UsersListMember { [INFO] [stdout] 379 | | name, .. [INFO] [stdout] 380 | | } => Some(name.to_owned()), [INFO] [stdout] | |_________________- matches any value [INFO] [stdout] 381 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/users.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 387 | / UsersListMember { [INFO] [stdout] 388 | | profile, [INFO] [stdout] 389 | | .. [INFO] [stdout] 390 | | } => { [INFO] [stdout] | |_________________- matches any value [INFO] [stdout] ... [INFO] [stdout] 397 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `entity` are never read [INFO] [stdout] --> src/api_client/apis/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ResponseContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub status: reqwest::StatusCode, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub entity: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlencode` is never used [INFO] [stdout] --> src/api_client/apis/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn urlencode>(s: T) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `basic_auth`, `bearer_access_token`, and `api_key` are never read [INFO] [stdout] --> src/api_client/apis/configuration.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | pub oauth_access_token: Option, [INFO] [stdout] 21 | pub bearer_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix` and `key` are never read [INFO] [stdout] --> src/api_client/apis/configuration.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ApiKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub prefix: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/apis/configuration.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 35 | pub fn new() -> Configuration { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl ConversationsListChannel { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 65 | pub fn new(created: f32, creator: String, id: String, is_archived: bool, is_channel: bool, is_ext_shared: bool, is_general: bool, is_... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel_purpose.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ConversationsListChannelPurpose { [INFO] [stdout] | ------------------------------------ associated function in this implementation [INFO] [stdout] 25 | pub fn new(creator: String, last_set: f32, value: String) -> ConversationsListChannelPurpose { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_channel_topic.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ConversationsListChannelTopic { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(creator: String, last_set: f32, value: String) -> ConversationsListChannelTopic { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_error_response_body.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ConversationsListErrorResponseBody { [INFO] [stdout] | --------------------------------------- associated function in this implementation [INFO] [stdout] 24 | /// Schema for error response from conversations.list method [INFO] [stdout] 25 | pub fn new(error: String, ok: bool) -> ConversationsListErrorResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_im.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ConversationsListIm { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 33 | pub fn new(created: f32, id: String, is_im: bool, is_org_shared: bool, is_user_deleted: bool, priority: f32, user: String) -> Convers... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_response_body.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl ConversationsListResponseBody { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 26 | /// Schema for successful response from conversations.list method [INFO] [stdout] 27 | pub fn new(channels: Vec, ok: bool, response_metadata: c... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/conversations_list_response_body_response_metadata.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ConversationsListResponseBodyResponseMetadata { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(next_cursor: String) -> ConversationsListResponseBodyResponseMetadata { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_error_response_body.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl UsersListErrorResponseBody { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 24 | /// Schema for error response from users.list method [INFO] [stdout] 25 | pub fn new(error: String, ok: bool) -> UsersListErrorResponseBody { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_member.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl UsersListMember { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(deleted: bool, id: String, is_bot: bool, name: String, profile: crate::api_client::models::UsersListMemberProfile, team_id... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_member_profile.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl UsersListMemberProfile { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(avatar_hash: String, display_name: String, display_name_normalized: String, real_name_normalized: String, status_emoji: St... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/api_client/models/users_list_response_body.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl UsersListResponseBody { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 28 | /// Schema for successful response from users.list method [INFO] [stdout] 29 | pub fn new(cache_ts: f32, members: Vec, ok: bool, response_metadata: crate::api_client::m... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose` and `dry_run` are never read [INFO] [stdout] --> src/cli_opts.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct GlobalOpts { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GlobalOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.58s [INFO] running `Command { std: "docker" "inspect" "9ade20a2d0050fc1890a1e31b0175a3213afb4d16333c65608dcf9ee4b6281bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ade20a2d0050fc1890a1e31b0175a3213afb4d16333c65608dcf9ee4b6281bc", kill_on_drop: false }` [INFO] [stdout] 9ade20a2d0050fc1890a1e31b0175a3213afb4d16333c65608dcf9ee4b6281bc