[INFO] cloning repository https://github.com/JJP0/URLScan-Portable-GUI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JJP0/URLScan-Portable-GUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJP0%2FURLScan-Portable-GUI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJP0%2FURLScan-Portable-GUI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0358ed969baf24b7a3e12de39882a4662e8d01e4 [INFO] testing JJP0/URLScan-Portable-GUI against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJJP0%2FURLScan-Portable-GUI" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JJP0/URLScan-Portable-GUI [INFO] finished tweaking git repo https://github.com/JJP0/URLScan-Portable-GUI [INFO] tweaked toml for git repo https://github.com/JJP0/URLScan-Portable-GUI written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JJP0/URLScan-Portable-GUI on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JJP0/URLScan-Portable-GUI 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4e89f08c2d493b74c84231b368641cf83f9cbc2b75c135b6cd06f683648d3e1 [INFO] running `Command { std: "docker" "start" "-a" "d4e89f08c2d493b74c84231b368641cf83f9cbc2b75c135b6cd06f683648d3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4e89f08c2d493b74c84231b368641cf83f9cbc2b75c135b6cd06f683648d3e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e89f08c2d493b74c84231b368641cf83f9cbc2b75c135b6cd06f683648d3e1", kill_on_drop: false }` [INFO] [stdout] d4e89f08c2d493b74c84231b368641cf83f9cbc2b75c135b6cd06f683648d3e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0c5a5896d1144b83419a44511db69e353d4ebb9011b8e41d29e38f68abb93f8 [INFO] running `Command { std: "docker" "start" "-a" "e0c5a5896d1144b83419a44511db69e353d4ebb9011b8e41d29e38f68abb93f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling accesskit v0.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling x11rb v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling x11rb-protocol v0.12.0 [INFO] [stderr] Compiling accesskit_consumer v0.13.0 [INFO] [stderr] Compiling gethostname v0.3.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling webbrowser v0.8.12 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling ecolor v0.21.0 [INFO] [stderr] Compiling emath v0.21.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling epaint v0.21.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling egui v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling arboard v3.3.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling enumflags2 v0.7.8 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling egui_glow v0.21.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling atspi-macros v0.1.4 [INFO] [stderr] Compiling atspi v0.8.7 [INFO] [stderr] Compiling accesskit_unix v0.2.0 [INFO] [stderr] Compiling accesskit_winit v0.10.0 [INFO] [stderr] Compiling egui-winit v0.21.1 [INFO] [stderr] Compiling eframe v0.21.3 [INFO] [stderr] Compiling urlscan-portable-window v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color32`, `widgets::Separator`, and `widgets::Spinner` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::egui::{menu, Color32, widgets::Separator, widgets::Spinner}; [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: `reqwest` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `client` [INFO] [stdout] --> src/functions.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use mini_redis::{client, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::StatusCode` [INFO] [stdout] --> src/functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/functions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_response` [INFO] [stdout] --> src/functions.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let error_response: ErrorResponse = serde_json::from_str(&body)?;//.expect("Failed to deserialize error response"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/functions.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let mut file = OpenOptions::new().write(true).truncate(true).open("results.json")?; [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: `err` [INFO] [stdout] --> src/main.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `*self.url_search_uuid` is never read [INFO] [stdout] --> src/main.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | ... self.url_search_uuid = String::new(); [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: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remaining_public_scans` and `remaining_private_scans` are never read [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct MyApp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | [INFO] [stdout] 53 | remaining_public_scans: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | remaining_private_scans: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stats` is never constructed [INFO] [stdout] --> src/functions.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/functions.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct SuccessResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | uuid: String, [INFO] [stdout] 91 | api: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | visibility: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | result: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | options: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 97 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuccessResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `description`, `status`, and `errors` are never read [INFO] [stdout] --> src/functions.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 102 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 104 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `detail`, and `status` are never read [INFO] [stdout] --> src/functions.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct ErrorDetail { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | detail: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiResponse` is never used [INFO] [stdout] --> src/functions.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | enum ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | functions::remove_all_text_from_json_file(); [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] 172 | let _ = functions::remove_all_text_from_json_file(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stdout] --> src/functions.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stdout] --> src/functions.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 244 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "e0c5a5896d1144b83419a44511db69e353d4ebb9011b8e41d29e38f68abb93f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c5a5896d1144b83419a44511db69e353d4ebb9011b8e41d29e38f68abb93f8", kill_on_drop: false }` [INFO] [stdout] e0c5a5896d1144b83419a44511db69e353d4ebb9011b8e41d29e38f68abb93f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15c72d338727ae8f3f30de879535ef63a6e5251f127db0d0412915fc105afcd7 [INFO] running `Command { std: "docker" "start" "-a" "15c72d338727ae8f3f30de879535ef63a6e5251f127db0d0412915fc105afcd7", kill_on_drop: false }` [INFO] [stderr] Compiling urlscan-portable-window v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color32`, `widgets::Separator`, and `widgets::Spinner` [INFO] [stdout] --> src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::egui::{menu, Color32, widgets::Separator, widgets::Spinner}; [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: `reqwest` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/main.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `client` [INFO] [stdout] --> src/functions.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use mini_redis::{client, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::StatusCode` [INFO] [stdout] --> src/functions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use reqwest::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::type_name` [INFO] [stdout] --> src/functions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::any::type_name; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error_response` [INFO] [stdout] --> src/functions.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let error_response: ErrorResponse = serde_json::from_str(&body)?;//.expect("Failed to deserialize error response"); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/functions.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | let mut file = OpenOptions::new().write(true).truncate(true).open("results.json")?; [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: `err` [INFO] [stdout] --> src/main.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `*self.url_search_uuid` is never read [INFO] [stdout] --> src/main.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | ... self.url_search_uuid = String::new(); [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: struct `SearchResponse` is never constructed [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct SearchResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remaining_public_scans` and `remaining_private_scans` are never read [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct MyApp { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 52 | [INFO] [stdout] 53 | remaining_public_scans: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | remaining_private_scans: i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stats` is never constructed [INFO] [stdout] --> src/functions.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Stats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/functions.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct SuccessResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 90 | uuid: String, [INFO] [stdout] 91 | api: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | visibility: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 93 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | result: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 95 | options: serde_json::Value, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 96 | country: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 97 | message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuccessResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `description`, `status`, and `errors` are never read [INFO] [stdout] --> src/functions.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | struct ErrorResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 102 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 103 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 104 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `detail`, and `status` are never read [INFO] [stdout] --> src/functions.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | struct ErrorDetail { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 110 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | detail: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 112 | status: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiResponse` is never used [INFO] [stdout] --> src/functions.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | enum ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | functions::remove_all_text_from_json_file(); [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] 172 | let _ = functions::remove_all_text_from_json_file(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stdout] --> src/functions.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stdout] --> src/functions.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 244 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.48s [INFO] running `Command { std: "docker" "inspect" "15c72d338727ae8f3f30de879535ef63a6e5251f127db0d0412915fc105afcd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c72d338727ae8f3f30de879535ef63a6e5251f127db0d0412915fc105afcd7", kill_on_drop: false }` [INFO] [stdout] 15c72d338727ae8f3f30de879535ef63a6e5251f127db0d0412915fc105afcd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b91e0bd309a0b64c5fa330bbc96976a895e720ce7c44b7cf4a225976e31eb43 [INFO] running `Command { std: "docker" "start" "-a" "0b91e0bd309a0b64c5fa330bbc96976a895e720ce7c44b7cf4a225976e31eb43", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Color32`, `widgets::Separator`, and `widgets::Spinner` [INFO] [stderr] --> src/main.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use eframe::egui::{menu, Color32, widgets::Separator, widgets::Spinner}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use reqwest; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Value` and `json` [INFO] [stderr] --> src/main.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::{json, Value}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/main.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/functions.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Result` and `client` [INFO] [stderr] --> src/functions.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use mini_redis::{client, Result}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::StatusCode` [INFO] [stderr] --> src/functions.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use reqwest::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::type_name` [INFO] [stderr] --> src/functions.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::any::type_name; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error_response` [INFO] [stderr] --> src/functions.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | let error_response: ErrorResponse = serde_json::from_str(&body)?;//.expect("Failed to deserialize error response"); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/functions.rs:331:9 [INFO] [stderr] | [INFO] [stderr] 331 | let mut file = OpenOptions::new().write(true).truncate(true).open("results.json")?; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:186:33 [INFO] [stderr] | [INFO] [stderr] 186 | ... Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `*self.url_search_uuid` is never read [INFO] [stderr] --> src/main.rs:181:33 [INFO] [stderr] | [INFO] [stderr] 181 | ... self.url_search_uuid = String::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SearchResponse` is never constructed [INFO] [stderr] --> src/main.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | struct SearchResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `remaining_public_scans` and `remaining_private_scans` are never read [INFO] [stderr] --> src/main.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 51 | struct MyApp { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 52 | [INFO] [stderr] 53 | remaining_public_scans: i8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | remaining_private_scans: i8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stats` is never constructed [INFO] [stderr] --> src/functions.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Stats { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/functions.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 89 | struct SuccessResponse { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 90 | uuid: String, [INFO] [stderr] 91 | api: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 92 | visibility: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 93 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 94 | result: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 95 | options: serde_json::Value, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 96 | country: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 97 | message: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SuccessResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message`, `description`, `status`, and `errors` are never read [INFO] [stderr] --> src/functions.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 101 | struct ErrorResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 102 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 103 | description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 104 | status: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 105 | errors: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `title`, `detail`, and `status` are never read [INFO] [stderr] --> src/functions.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 109 | struct ErrorDetail { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 110 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 111 | detail: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 112 | status: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `ApiResponse` is never used [INFO] [stderr] --> src/functions.rs:116:6 [INFO] [stderr] | [INFO] [stderr] 116 | enum ApiResponse { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | functions::remove_all_text_from_json_file(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 172 | let _ = functions::remove_all_text_from_json_file(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stderr] --> src/functions.rs:185:6 [INFO] [stderr] | [INFO] [stderr] 185 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `CUSTOM_HEADER` should have a snake case name [INFO] [stderr] --> src/functions.rs:244:6 [INFO] [stderr] | [INFO] [stderr] 244 | let CUSTOM_HEADER: &'static str = "api-key"; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `custom_header` [INFO] [stderr] [INFO] [stderr] warning: `urlscan-portable-window` (bin "urlscan-portable-window" test) generated 22 warnings (run `cargo fix --bin "urlscan-portable-window" -p urlscan-portable-window --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/urlscan_portable_window-93a8d37071890c9e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b91e0bd309a0b64c5fa330bbc96976a895e720ce7c44b7cf4a225976e31eb43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b91e0bd309a0b64c5fa330bbc96976a895e720ce7c44b7cf4a225976e31eb43", kill_on_drop: false }` [INFO] [stdout] 0b91e0bd309a0b64c5fa330bbc96976a895e720ce7c44b7cf4a225976e31eb43