[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] 80364812fb02b51d8191b8ade3ba0145ad04dcf1 [INFO] building MPult/Rexit against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMPult%2FRexit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MPult/Rexit on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.1 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded cached_proc_macro v0.16.0 [INFO] [stderr] Downloaded anstyle-wincon v1.0.2 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded cached v0.43.0 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded inquire v0.6.2 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded idna v0.3.0 [INFO] [stderr] Downloaded async-compression v0.4.18 [INFO] [stderr] Downloaded clap_builder v4.3.24 [INFO] [stderr] Downloaded newline-converter v0.2.2 [INFO] [stderr] Downloaded clap v4.3.24 [INFO] [stderr] Downloaded console v0.15.10 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded html-escape v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac3c35fb6a23103eff16b4820c7058f9e7dc9fddabab058a4b893b10df2a0c07 [INFO] running `Command { std: "docker" "start" "-a" "ac3c35fb6a23103eff16b4820c7058f9e7dc9fddabab058a4b893b10df2a0c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3c35fb6a23103eff16b4820c7058f9e7dc9fddabab058a4b893b10df2a0c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3c35fb6a23103eff16b4820c7058f9e7dc9fddabab058a4b893b10df2a0c07", kill_on_drop: false }` [INFO] [stdout] ac3c35fb6a23103eff16b4820c7058f9e7dc9fddabab058a4b893b10df2a0c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee14698425665da1018219c7f870e125bb5a289d2f06aff1f5dd291e824da625 [INFO] running `Command { std: "docker" "start" "-a" "ee14698425665da1018219c7f870e125bb5a289d2f06aff1f5dd291e824da625", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling clap_builder v4.3.24 [INFO] [stderr] Compiling newline-converter v0.2.2 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling console v0.15.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling cached_proc_macro v0.16.0 [INFO] [stderr] Compiling clap v4.3.24 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling inquire v0.6.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling cached v0.43.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling rexit v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/ReAPI/login.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Client; [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 imports: `trace` and `warn` [INFO] [stdout] --> src/ReAPI/rooms.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, trace, warn, debug}; [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: `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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `no_usernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | no_usernames, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_usernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_usernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | no_usernames, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_usernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:120:55 [INFO] [stdout] | [INFO] [stdout] 120 | 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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "ee14698425665da1018219c7f870e125bb5a289d2f06aff1f5dd291e824da625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee14698425665da1018219c7f870e125bb5a289d2f06aff1f5dd291e824da625", kill_on_drop: false }` [INFO] [stdout] ee14698425665da1018219c7f870e125bb5a289d2f06aff1f5dd291e824da625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d56c12be6f71518baeea9c6572c5d48b99e33fff6b3117521bbc1218b818486f [INFO] running `Command { std: "docker" "start" "-a" "d56c12be6f71518baeea9c6572c5d48b99e33fff6b3117521bbc1218b818486f", kill_on_drop: false }` [INFO] [stderr] Compiling rexit v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/ReAPI/login.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Client; [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 imports: `trace` and `warn` [INFO] [stdout] --> src/ReAPI/rooms.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{info, trace, warn, debug}; [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: `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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `no_usernames` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | no_usernames, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_usernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_usernames` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | no_usernames, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_usernames: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ReAPI/login.rs:120:55 [INFO] [stdout] | [INFO] [stdout] 120 | 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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "d56c12be6f71518baeea9c6572c5d48b99e33fff6b3117521bbc1218b818486f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d56c12be6f71518baeea9c6572c5d48b99e33fff6b3117521bbc1218b818486f", kill_on_drop: false }` [INFO] [stdout] d56c12be6f71518baeea9c6572c5d48b99e33fff6b3117521bbc1218b818486f