[INFO] cloning repository https://github.com/MPult/Rexit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MPult/Rexit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMPult%2FRexit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMPult%2FRexit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a2c03702cac2722923b6d314d137fc10cab429f [INFO] checking MPult/Rexit against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMPult%2FRexit" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MPult/Rexit on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MPult/Rexit [INFO] finished tweaking git repo https://github.com/MPult/Rexit [INFO] tweaked toml for git repo https://github.com/MPult/Rexit written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MPult/Rexit 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached v0.43.0 [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded cached_proc_macro v0.16.0 [INFO] [stderr] Downloaded clap v4.3.24 [INFO] [stderr] Downloaded clap_builder v4.3.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c26fa360b03d3ffc2fb7724d7a480f4277efcdf4a9a5d560c7ce1ea763bff79 [INFO] running `Command { std: "docker" "start" "-a" "5c26fa360b03d3ffc2fb7724d7a480f4277efcdf4a9a5d560c7ce1ea763bff79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c26fa360b03d3ffc2fb7724d7a480f4277efcdf4a9a5d560c7ce1ea763bff79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c26fa360b03d3ffc2fb7724d7a480f4277efcdf4a9a5d560c7ce1ea763bff79", kill_on_drop: false }` [INFO] [stdout] 5c26fa360b03d3ffc2fb7724d7a480f4277efcdf4a9a5d560c7ce1ea763bff79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b293ce2ae3e16e44784dbc6cb19aadcf9d1a815fc668933492f4d7648d4db35 [INFO] running `Command { std: "docker" "start" "-a" "2b293ce2ae3e16e44784dbc6cb19aadcf9d1a815fc668933492f4d7648d4db35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v4.2.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking dyn-clone v1.0.13 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking utf8-width v0.1.6 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Checking clap_builder v4.3.24 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking clap v4.3.24 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cached_proc_macro v0.16.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.3 [INFO] [stderr] Checking cached v0.43.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking rexit v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/ReAPI/users.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `images::Image` [INFO] [stdout] --> src/ReAPI/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use images::Image; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `saved_posts::SavedPost` [INFO] [stdout] --> src/ReAPI/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use saved_posts::SavedPost; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subreddit::Post` [INFO] [stdout] --> src/ReAPI/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use subreddit::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::User` [INFO] [stdout] --> src/ReAPI/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use users::User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/ReAPI/users.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/cli.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub use clap::{Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `images::Image` [INFO] [stdout] --> src/ReAPI/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use images::Image; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subreddit::Post` [INFO] [stdout] --> src/ReAPI/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub use subreddit::Post; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `users::User` [INFO] [stdout] --> src/ReAPI/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use users::User; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/cli.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub use clap::{Args, Parser, Subcommand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash` [INFO] [stdout] --> src/image_log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash` [INFO] [stdout] --> src/image_log.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | csrf_token = String::from(i.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:111:55 [INFO] [stdout] | [INFO] [stdout] 111 | bearer_token = String::from(i.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | csrf_token = String::from(i.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:111:55 [INFO] [stdout] | [INFO] [stdout] 111 | bearer_token = String::from(i.as_str().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.57s [INFO] running `Command { std: "docker" "inspect" "2b293ce2ae3e16e44784dbc6cb19aadcf9d1a815fc668933492f4d7648d4db35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b293ce2ae3e16e44784dbc6cb19aadcf9d1a815fc668933492f4d7648d4db35", kill_on_drop: false }` [INFO] [stdout] 2b293ce2ae3e16e44784dbc6cb19aadcf9d1a815fc668933492f4d7648d4db35 [INFO] checking MPult/Rexit against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMPult%2FRexit" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MPult/Rexit on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MPult/Rexit [INFO] finished tweaking git repo https://github.com/MPult/Rexit [INFO] tweaked toml for git repo https://github.com/MPult/Rexit written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MPult/Rexit 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4539e208ee14cf00469993a63291b46543a3080b16b26787c8f8d7ca0c5de041 [INFO] running `Command { std: "docker" "start" "-a" "4539e208ee14cf00469993a63291b46543a3080b16b26787c8f8d7ca0c5de041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4539e208ee14cf00469993a63291b46543a3080b16b26787c8f8d7ca0c5de041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4539e208ee14cf00469993a63291b46543a3080b16b26787c8f8d7ca0c5de041", kill_on_drop: false }` [INFO] [stdout] 4539e208ee14cf00469993a63291b46543a3080b16b26787c8f8d7ca0c5de041 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0469df063cd928015ddaecd731552f17bcf8b0ea0a0ec50900c66b93910f95ba [INFO] running `Command { std: "docker" "start" "-a" "0469df063cd928015ddaecd731552f17bcf8b0ea0a0ec50900c66b93910f95ba", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling time-macros v0.2.14 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v4.2.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking utf8-width v0.1.6 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking dyn-clone v1.0.13 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking clap_builder v4.3.24 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking clap v4.3.24 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cached_proc_macro v0.16.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.3 [INFO] [stderr] Checking cached v0.43.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking rexit v1.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cli.rs (1 fix) [INFO] [stderr] Fixed src/image_log.rs (1 fix) [INFO] [stderr] Fixed src/ReAPI/users.rs (1 fix) [INFO] [stderr] Fixed src/ReAPI/login.rs (2 fixes) [INFO] [stderr] Fixed src/ReAPI/mod.rs (3 fixes) [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/ReAPI/mod.rs (1 fix) [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rexit v1.2.1 (/tmp/fixit) [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SavedPost` in module `ReAPI` [INFO] [stdout] --> src/export.rs:230:35 [INFO] [stdout] | [INFO] [stdout] 230 | let mut posts: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ not found in `ReAPI` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 178 + use crate::ReAPI::saved_posts::SavedPost; [INFO] [stdout] | [INFO] [stdout] help: if you import `SavedPost`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - let mut posts: Vec = Vec::new(); [INFO] [stdout] 230 + let mut posts: Vec = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SavedPost` in module `ReAPI` [INFO] [stdout] --> src/export.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | let post = ReAPI::SavedPost { [INFO] [stdout] | ^^^^^^^^^ not found in `ReAPI` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 178 + use crate::ReAPI::saved_posts::SavedPost; [INFO] [stdout] | [INFO] [stdout] help: if you import `SavedPost`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 232 - let post = ReAPI::SavedPost { [INFO] [stdout] 232 + let post = SavedPost { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `inquire` is imported redundantly [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use inquire::{self, Password, Text}; [INFO] [stdout] | ^^^^ the item `inquire` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `images` [INFO] [stdout] --> src/main.rs:139:41 [INFO] [stdout] | [INFO] [stdout] 139 | async fn init(debug: bool, token: bool, images: bool, out: PathBuf, auth: bool, redact: bool) -> Client { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: value assigned to `id` is never read [INFO] [stdout] --> src/ReAPI/images.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut id: Option = None; [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: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `noUsernames` should have a snake case name [INFO] [stdout] --> src/cli.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | noUsernames: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `no_usernames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/export.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if let ReAPI::Content::Message(text) = message.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noUsernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | noUsernames, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `noUsernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rexit` (bin "rexit" test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0469df063cd928015ddaecd731552f17bcf8b0ea0a0ec50900c66b93910f95ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0469df063cd928015ddaecd731552f17bcf8b0ea0a0ec50900c66b93910f95ba", kill_on_drop: false }` [INFO] [stdout] 0469df063cd928015ddaecd731552f17bcf8b0ea0a0ec50900c66b93910f95ba