[INFO] cloning repository https://github.com/shunrin824/VRCJoinNotificator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shunrin824/VRCJoinNotificator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunrin824%2FVRCJoinNotificator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunrin824%2FVRCJoinNotificator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e9d2aba84e7041dfa0c1dc18228c4b1157c1385 [INFO] building shunrin824/VRCJoinNotificator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshunrin824%2FVRCJoinNotificator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shunrin824/VRCJoinNotificator [INFO] finished tweaking git repo https://github.com/shunrin824/VRCJoinNotificator [INFO] tweaked toml for git repo https://github.com/shunrin824/VRCJoinNotificator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shunrin824/VRCJoinNotificator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shunrin824/VRCJoinNotificator 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.47 [INFO] [stderr] Downloaded js-sys v0.3.74 [INFO] [stderr] Downloaded wasm-bindgen v0.2.97 [INFO] [stderr] Downloaded windows-core v0.57.0 [INFO] [stderr] Downloaded windows-implement v0.57.0 [INFO] [stderr] Downloaded windows-interface v0.57.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.97 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.97 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded web-sys v0.3.74 [INFO] [stderr] Downloaded webp v0.3.0 [INFO] [stderr] Downloaded libwebp-sys v0.9.6 [INFO] [stderr] Downloaded windows v0.57.0 [INFO] [stderr] Downloaded openssl-src v300.5.1+3.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96b1b363444d84c105f1857d99368ff1c538a1b33e98de7e0465eed9243d2ab9 [INFO] running `Command { std: "docker" "start" "-a" "96b1b363444d84c105f1857d99368ff1c538a1b33e98de7e0465eed9243d2ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b1b363444d84c105f1857d99368ff1c538a1b33e98de7e0465eed9243d2ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b1b363444d84c105f1857d99368ff1c538a1b33e98de7e0465eed9243d2ab9", kill_on_drop: false }` [INFO] [stdout] 96b1b363444d84c105f1857d99368ff1c538a1b33e98de7e0465eed9243d2ab9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed7f2e9bb17de568b72ac76cfe406799239fd547b4528b64c346ae4488f97851 [INFO] running `Command { std: "docker" "start" "-a" "ed7f2e9bb17de568b72ac76cfe406799239fd547b4528b64c346ae4488f97851", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libwebp-sys v0.9.6 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling zerovec v0.10.4 [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 tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling webp v0.3.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling VRCJoinNotificator v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fmt::format` and `thread` [INFO] [stdout] --> src/main.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | collections::VecDeque, env::current_exe, fmt::format, fs::exists, path::PathBuf, thread, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/function.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Write`, and `self` [INFO] [stdout] --> src/function.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | io::{self, BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Reader` [INFO] [stdout] --> src/./image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/./image.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error::Error, fs::File, io::Write}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (content.contains("type: requestInvite")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (content.contains("type: requestInvite")) { [INFO] [stdout] 16 + if content.contains("type: requestInvite") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | } else if (content.contains("type: invite")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - } else if (content.contains("type: invite")) { [INFO] [stdout] 18 + } else if content.contains("type: invite") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (content.contains("username:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (content.contains("username:")) { [INFO] [stdout] 21 + if content.contains("username:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (user_name.len() >= 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (user_name.len() >= 2) { [INFO] [stdout] 31 + if user_name.len() >= 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/idms.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | base64::encode(&format!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/./image.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./webhook.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut user_name: &str; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/./webhook.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_part` is never read [INFO] [stdout] --> src/./webhook.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file_part: 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: `resp` [INFO] [stdout] --> src/idms.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let resp = client [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/idms.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/idms.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/function.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | io::{self, BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/./image.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./image.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn less10mb_webp(input_path: &str, output_path: &str, mut output_max_reso: u32) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `upload_datas` is never read [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut upload_datas: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `log_lines` is never read [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut log_lines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `upload_datas` is never read [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | upload_datas = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut max_pic_convert_threads: usize; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_path_prefix` is never used [INFO] [stdout] --> src/function.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strip_path_prefix(path: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_path` is never used [INFO] [stdout] --> src/function.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn format_path(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_windows_path` is never used [INFO] [stdout] --> src/function.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn normalize_windows_path(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_drive_prefix` is never used [INFO] [stdout] --> src/function.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn strip_drive_prefix(path: &PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_push` is never used [INFO] [stdout] --> src/function.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn user_push(users_name: &mut Vec, user_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_remove` is never used [INFO] [stdout] --> src/function.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn user_remove(users_name: &mut Vec, user_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rm_id` is never used [INFO] [stdout] --> src/function.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn rm_id(user_name: String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invite_format` is never used [INFO] [stdout] --> src/./webhook.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn invite_format(content: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discord_webhook_text` is never used [INFO] [stdout] --> src/./webhook.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn discord_webhook_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discord_webhook_file` is never used [INFO] [stdout] --> src/./webhook.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn discord_webhook_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_print` is never used [INFO] [stdout] --> src/function.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn debug_print(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less10mb_webp` is never used [INFO] [stdout] --> src/./image.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn less10mb_webp(input_path: &str, output_path: &str, mut output_max_reso: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_png2webp` is never used [INFO] [stdout] --> src/./image.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_png2webp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | webhook::invite_format(&log_line).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = webhook::invite_format(&log_line).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./image.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | convert_png2webp(input_path, output_path, output_max_reso, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = convert_png2webp(input_path, output_path, output_max_reso, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./image.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | convert_png2webp(input_path, output_path, output_max_reso, output_quality); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = convert_png2webp(input_path, output_path, output_max_reso, output_quality); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 31s [INFO] running `Command { std: "docker" "inspect" "ed7f2e9bb17de568b72ac76cfe406799239fd547b4528b64c346ae4488f97851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7f2e9bb17de568b72ac76cfe406799239fd547b4528b64c346ae4488f97851", kill_on_drop: false }` [INFO] [stdout] ed7f2e9bb17de568b72ac76cfe406799239fd547b4528b64c346ae4488f97851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d6156c44cde33ce77f0711c43736167904f8a5b7267fe178ca6d034c32c409a [INFO] running `Command { std: "docker" "start" "-a" "4d6156c44cde33ce77f0711c43736167904f8a5b7267fe178ca6d034c32c409a", kill_on_drop: false }` [INFO] [stderr] Compiling VRCJoinNotificator v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fmt::format` and `thread` [INFO] [stdout] --> src/main.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | collections::VecDeque, env::current_exe, fmt::format, fs::exists, path::PathBuf, thread, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/function.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Write`, and `self` [INFO] [stdout] --> src/function.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | io::{self, BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Reader` [INFO] [stdout] --> src/./image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/./image.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{error::Error, fs::File, io::Write}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (content.contains("type: requestInvite")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (content.contains("type: requestInvite")) { [INFO] [stdout] 16 + if content.contains("type: requestInvite") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | } else if (content.contains("type: invite")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - } else if (content.contains("type: invite")) { [INFO] [stdout] 18 + } else if content.contains("type: invite") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | if (content.contains("username:")) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if (content.contains("username:")) { [INFO] [stdout] 21 + if content.contains("username:") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/./webhook.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if (user_name.len() >= 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - if (user_name.len() >= 2) { [INFO] [stdout] 31 + if user_name.len() >= 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/idms.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | base64::encode(&format!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `image::io::Reader`: this type has been moved and renamed to image::ImageReader [INFO] [stdout] --> src/./image.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./webhook.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut user_name: &str; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/./webhook.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file_part` is never read [INFO] [stdout] --> src/./webhook.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file_part: 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: `resp` [INFO] [stdout] --> src/idms.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let resp = client [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/idms.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resp` [INFO] [stdout] --> src/idms.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let resp = client.post(url).multipart(form).send().await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_resp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/function.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | io::{self, BufRead, BufReader, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/./image.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{io::Reader, DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/./image.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn less10mb_webp(input_path: &str, output_path: &str, mut output_max_reso: u32) { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `upload_datas` is never read [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let mut upload_datas: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `log_lines` is never read [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let mut log_lines: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `upload_datas` is never read [INFO] [stdout] --> src/main.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | upload_datas = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let mut max_pic_convert_threads: usize; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_path_prefix` is never used [INFO] [stdout] --> src/function.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn strip_path_prefix(path: &Path) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_path` is never used [INFO] [stdout] --> src/function.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn format_path(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_windows_path` is never used [INFO] [stdout] --> src/function.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn normalize_windows_path(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_drive_prefix` is never used [INFO] [stdout] --> src/function.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn strip_drive_prefix(path: &PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_push` is never used [INFO] [stdout] --> src/function.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn user_push(users_name: &mut Vec, user_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_remove` is never used [INFO] [stdout] --> src/function.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn user_remove(users_name: &mut Vec, user_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rm_id` is never used [INFO] [stdout] --> src/function.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn rm_id(user_name: String) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invite_format` is never used [INFO] [stdout] --> src/./webhook.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn invite_format(content: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discord_webhook_text` is never used [INFO] [stdout] --> src/./webhook.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn discord_webhook_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discord_webhook_file` is never used [INFO] [stdout] --> src/./webhook.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn discord_webhook_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_print` is never used [INFO] [stdout] --> src/function.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn debug_print(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less10mb_webp` is never used [INFO] [stdout] --> src/./image.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn less10mb_webp(input_path: &str, output_path: &str, mut output_max_reso: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_png2webp` is never used [INFO] [stdout] --> src/./image.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn convert_png2webp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | webhook::invite_format(&log_line).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = webhook::invite_format(&log_line).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./image.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | convert_png2webp(input_path, output_path, output_max_reso, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = convert_png2webp(input_path, output_path, output_max_reso, 0.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/./image.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | convert_png2webp(input_path, output_path, output_max_reso, output_quality); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = convert_png2webp(input_path, output_path, output_max_reso, output_quality); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "4d6156c44cde33ce77f0711c43736167904f8a5b7267fe178ca6d034c32c409a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6156c44cde33ce77f0711c43736167904f8a5b7267fe178ca6d034c32c409a", kill_on_drop: false }` [INFO] [stdout] 4d6156c44cde33ce77f0711c43736167904f8a5b7267fe178ca6d034c32c409a