[INFO] cloning repository https://github.com/jackbm633/ZipSurf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackbm633/ZipSurf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbm633%2FZipSurf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbm633%2FZipSurf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c34b4df276dfcc77fe33632df58921dfd808ede [INFO] testing jackbm633/ZipSurf against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackbm633%2FZipSurf" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jackbm633/ZipSurf [INFO] finished tweaking git repo https://github.com/jackbm633/ZipSurf [INFO] tweaked toml for git repo https://github.com/jackbm633/ZipSurf written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jackbm633/ZipSurf on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jackbm633/ZipSurf 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96cf35d770e4ec8ddc9c058c1ed6403aad3f18a957bbaab95ebe0a9b93a7faaf [INFO] running `Command { std: "docker" "start" "-a" "96cf35d770e4ec8ddc9c058c1ed6403aad3f18a957bbaab95ebe0a9b93a7faaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96cf35d770e4ec8ddc9c058c1ed6403aad3f18a957bbaab95ebe0a9b93a7faaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96cf35d770e4ec8ddc9c058c1ed6403aad3f18a957bbaab95ebe0a9b93a7faaf", kill_on_drop: false }` [INFO] [stdout] 96cf35d770e4ec8ddc9c058c1ed6403aad3f18a957bbaab95ebe0a9b93a7faaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4544591139db54a298ebaf1e310c763ea1a83b74b1cd377d1ceba267dfed33a5 [INFO] running `Command { std: "docker" "start" "-a" "4544591139db54a298ebaf1e310c763ea1a83b74b1cd377d1ceba267dfed33a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling accesskit v0.21.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling accesskit_consumer v0.31.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling epaint_default_fonts v0.33.3 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling emath v0.33.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling ecolor v0.33.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling epaint v0.33.3 [INFO] [stderr] Compiling csscolorparser v0.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling zvariant_derive v5.8.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling egui v0.33.3 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling zvariant v5.8.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling webbrowser v1.0.6 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_xml v5.0.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.9 [INFO] [stderr] Compiling egui_glow v0.33.3 [INFO] [stderr] Compiling zbus_macros v5.12.0 [INFO] [stderr] Compiling zbus-lockstep v0.5.2 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling zbus v5.12.0 [INFO] [stderr] Compiling atspi-common v0.9.0 [INFO] [stderr] Compiling atspi-proxies v0.9.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.14.2 [INFO] [stderr] Compiling atspi-connection v0.9.0 [INFO] [stderr] Compiling atspi v0.25.0 [INFO] [stderr] Compiling accesskit_unix v0.17.2 [INFO] [stderr] Compiling accesskit_winit v0.29.2 [INFO] [stderr] Compiling egui-winit v0.33.3 [INFO] [stderr] Compiling eframe v0.33.3 [INFO] [stderr] Compiling ZipSurf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/tab.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::cmp::max; [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: `HEIGHT` [INFO] [stdout] --> src/tab.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::layout::{LayoutNode, HEIGHT, VSTEP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/tab.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | use egui::{Color32, Context, Galley, Pos2, Rect, Stroke, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::epaint::StrokeKind` [INFO] [stdout] --> src/tab.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use eframe::epaint::StrokeKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/layout.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | else if (!layout_node.borrow().children.is_empty()) { [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] 667 - else if (!layout_node.borrow().children.is_empty()) { [INFO] [stdout] 667 + else if !layout_node.borrow().children.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/css_parser.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if (why == Some(';')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 327 - if (why == Some(';')) { [INFO] [stdout] 327 + if why == Some(';') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/browser.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/browser.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::emath::{Pos2, Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/browser.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stdout] 226 + tab.click(pos - Vec2::new(0.0, self.chrome.borrow().bottom()) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::emath::Vec2` [INFO] [stdout] --> src/chrome.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::emath::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StrokeKind` and `Stroke` [INFO] [stdout] --> src/chrome.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use eframe::epaint::{FontFamily, FontId, Stroke, StrokeKind}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::WidgetText::Galley` [INFO] [stdout] --> src/chrome.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use egui::WidgetText::Galley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HEIGHT` and `LayoutNode` [INFO] [stdout] --> src/chrome.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::layout::{LayoutNode, HEIGHT, WIDTH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::url::Url` [INFO] [stdout] --> src/chrome.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::url::Url; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/chrome.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | self.line_height = line_height;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/chrome.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stdout] 144 + if Rc::ptr_eq(tab_rc, current_tab) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextBuffer` [INFO] [stdout] --> src/layout.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use egui::{Context, Galley, Rect, TextBuffer, Vec2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/url.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn resolve(&self, mut url: &mut str) -> Result { [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: value assigned to `y` is never read [INFO] [stdout] --> src/layout.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let mut y: f32 = 0.0; [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: `offset` [INFO] [stdout] --> src/layout.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn paint(&self, offset: Vec2) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chrome.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(browser: Weak>, ctx: &egui::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tab_height` [INFO] [stdout] --> src/chrome.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let tab_height = self.line_height; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_list` is never read [INFO] [stdout] --> src/layout.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LayoutNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) display_list: Rc>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/layout.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct TextLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 786 | pub galley: Arc, [INFO] [stdout] 787 | pub color: Color32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_tag` is never used [INFO] [stdout] --> src/selector.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Selector { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn new_tag(tag: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `browser` is never read [INFO] [stdout] --> src/chrome.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Chrome { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub(crate) browser: Weak>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/rect.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Rect { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 9 | fn new(left: f32, top: f32, right: f32, bottom: f32) -> Rect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "4544591139db54a298ebaf1e310c763ea1a83b74b1cd377d1ceba267dfed33a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4544591139db54a298ebaf1e310c763ea1a83b74b1cd377d1ceba267dfed33a5", kill_on_drop: false }` [INFO] [stdout] 4544591139db54a298ebaf1e310c763ea1a83b74b1cd377d1ceba267dfed33a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1db1d0970c08593d121398ed0044d264930e68a0bbf9bc5dcfc1add7a379851d [INFO] running `Command { std: "docker" "start" "-a" "1db1d0970c08593d121398ed0044d264930e68a0bbf9bc5dcfc1add7a379851d", kill_on_drop: false }` [INFO] [stderr] Compiling ZipSurf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/tab.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::cmp::max; [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: `HEIGHT` [INFO] [stdout] --> src/tab.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::layout::{LayoutNode, HEIGHT, VSTEP}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/tab.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | use egui::{Color32, Context, Galley, Pos2, Rect, Stroke, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::epaint::StrokeKind` [INFO] [stdout] --> src/tab.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use eframe::epaint::StrokeKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/layout.rs:667:25 [INFO] [stdout] | [INFO] [stdout] 667 | else if (!layout_node.borrow().children.is_empty()) { [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] 667 - else if (!layout_node.borrow().children.is_empty()) { [INFO] [stdout] 667 + else if !layout_node.borrow().children.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/css_parser.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 327 | if (why == Some(';')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 327 - if (why == Some(';')) { [INFO] [stdout] 327 + if why == Some(';') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/browser.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rect` [INFO] [stdout] --> src/browser.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::emath::{Pos2, Rect}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/browser.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stdout] 226 + tab.click(pos - Vec2::new(0.0, self.chrome.borrow().bottom()) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eframe::emath::Vec2` [INFO] [stdout] --> src/chrome.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use eframe::emath::Vec2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StrokeKind` and `Stroke` [INFO] [stdout] --> src/chrome.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use eframe::epaint::{FontFamily, FontId, Stroke, StrokeKind}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::WidgetText::Galley` [INFO] [stdout] --> src/chrome.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use egui::WidgetText::Galley; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HEIGHT` and `LayoutNode` [INFO] [stdout] --> src/chrome.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::layout::{LayoutNode, HEIGHT, WIDTH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::url::Url` [INFO] [stdout] --> src/chrome.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::url::Url; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/chrome.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | self.line_height = line_height;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/chrome.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stdout] 144 + if Rc::ptr_eq(tab_rc, current_tab) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextBuffer` [INFO] [stdout] --> src/layout.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use egui::{Context, Galley, Rect, TextBuffer, Vec2}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/url.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn resolve(&self, mut url: &mut str) -> Result { [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: value assigned to `y` is never read [INFO] [stdout] --> src/layout.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | let mut y: f32 = 0.0; [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: `offset` [INFO] [stdout] --> src/layout.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | pub fn paint(&self, offset: Vec2) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chrome.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(browser: Weak>, ctx: &egui::Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tab_height` [INFO] [stdout] --> src/chrome.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let tab_height = self.line_height; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `display_list` is never read [INFO] [stdout] --> src/layout.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct LayoutNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) display_list: Rc>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/layout.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 785 | pub struct TextLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 786 | pub galley: Arc, [INFO] [stdout] 787 | pub color: Color32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_tag` is never used [INFO] [stdout] --> src/selector.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Selector { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn new_tag(tag: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `browser` is never read [INFO] [stdout] --> src/chrome.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Chrome { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | pub(crate) browser: Weak>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rect` is never constructed [INFO] [stdout] --> src/rect.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Rect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Rect { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 9 | fn new(left: f32, top: f32, right: f32, bottom: f32) -> Rect [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "1db1d0970c08593d121398ed0044d264930e68a0bbf9bc5dcfc1add7a379851d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db1d0970c08593d121398ed0044d264930e68a0bbf9bc5dcfc1add7a379851d", kill_on_drop: false }` [INFO] [stdout] 1db1d0970c08593d121398ed0044d264930e68a0bbf9bc5dcfc1add7a379851d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fd2993ad77a1abf01413967a14cabfa846d28dc6d6831f9a76ccfea1a685f0b [INFO] running `Command { std: "docker" "start" "-a" "4fd2993ad77a1abf01413967a14cabfa846d28dc6d6831f9a76ccfea1a685f0b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/tab.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HEIGHT` [INFO] [stderr] --> src/tab.rs:42:33 [INFO] [stderr] | [INFO] [stderr] 42 | use crate::layout::{LayoutNode, HEIGHT, VSTEP}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stroke` [INFO] [stderr] --> src/tab.rs:46:50 [INFO] [stderr] | [INFO] [stderr] 46 | use egui::{Color32, Context, Galley, Pos2, Rect, Stroke, Vec2}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `eframe::epaint::StrokeKind` [INFO] [stderr] --> src/tab.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | use eframe::epaint::StrokeKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/layout.rs:667:25 [INFO] [stderr] | [INFO] [stderr] 667 | else if (!layout_node.borrow().children.is_empty()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 667 - else if (!layout_node.borrow().children.is_empty()) { [INFO] [stderr] 667 + else if !layout_node.borrow().children.is_empty() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/css_parser.rs:327:12 [INFO] [stderr] | [INFO] [stderr] 327 | if (why == Some(';')) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 327 - if (why == Some(';')) { [INFO] [stderr] 327 + if why == Some(';') { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `RefMut` [INFO] [stderr] --> src/browser.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cell::{RefCell, RefMut}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rect` [INFO] [stderr] --> src/browser.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use eframe::emath::{Pos2, Rect}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around method argument [INFO] [stderr] --> src/browser.rs:226:27 [INFO] [stderr] | [INFO] [stderr] 226 | tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 226 - tab.click((pos - Vec2::new(0.0, self.chrome.borrow().bottom()))); [INFO] [stderr] 226 + tab.click(pos - Vec2::new(0.0, self.chrome.borrow().bottom()) ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `eframe::emath::Vec2` [INFO] [stderr] --> src/chrome.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use eframe::emath::Vec2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StrokeKind` and `Stroke` [INFO] [stderr] --> src/chrome.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use eframe::epaint::{FontFamily, FontId, Stroke, StrokeKind}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `egui::WidgetText::Galley` [INFO] [stderr] --> src/chrome.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use egui::WidgetText::Galley; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HEIGHT` and `LayoutNode` [INFO] [stderr] --> src/chrome.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::layout::{LayoutNode, HEIGHT, WIDTH}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::url::Url` [INFO] [stderr] --> src/chrome.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::url::Url; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/chrome.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | self.line_height = line_height;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/chrome.rs:144:16 [INFO] [stderr] | [INFO] [stderr] 144 | if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 144 - if (Rc::ptr_eq(tab_rc, current_tab)) { [INFO] [stderr] 144 + if Rc::ptr_eq(tab_rc, current_tab) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `TextBuffer` [INFO] [stderr] --> src/layout.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | use egui::{Context, Galley, Rect, TextBuffer, Vec2}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/url.rs:171:27 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn resolve(&self, mut url: &mut str) -> Result { [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: value assigned to `y` is never read [INFO] [stderr] --> src/layout.rs:341:30 [INFO] [stderr] | [INFO] [stderr] 341 | let mut y: f32 = 0.0; [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: unused variable: `offset` [INFO] [stderr] --> src/layout.rs:512:25 [INFO] [stderr] | [INFO] [stderr] 512 | pub fn paint(&self, offset: Vec2) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chrome.rs:30:49 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn new(browser: Weak>, ctx: &egui::Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tab_height` [INFO] [stderr] --> src/chrome.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | let tab_height = self.line_height; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tab_height` [INFO] [stderr] [INFO] [stderr] warning: field `display_list` is never read [INFO] [stderr] --> src/layout.rs:63:16 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct LayoutNode { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 63 | pub(crate) display_list: Rc>> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `color` is never read [INFO] [stderr] --> src/layout.rs:787:9 [INFO] [stderr] | [INFO] [stderr] 785 | pub struct TextLayout { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 786 | pub galley: Arc, [INFO] [stderr] 787 | pub color: Color32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TextLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new_tag` is never used [INFO] [stderr] --> src/selector.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 62 | impl Selector { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 78 | fn new_tag(tag: String) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `browser` is never read [INFO] [stderr] --> src/chrome.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Chrome { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 14 | pub(crate) browser: Weak>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Rect` is never constructed [INFO] [stderr] --> src/rect.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | struct Rect { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/rect.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 8 | impl Rect { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 9 | fn new(left: f32, top: f32, right: f32, bottom: f32) -> Rect [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `ZipSurf` (bin "ZipSurf" test) generated 28 warnings (run `cargo fix --bin "ZipSurf" -p ZipSurf --tests` to apply 19 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ZipSurf-ddad8f83732ad47e) [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" "4fd2993ad77a1abf01413967a14cabfa846d28dc6d6831f9a76ccfea1a685f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd2993ad77a1abf01413967a14cabfa846d28dc6d6831f9a76ccfea1a685f0b", kill_on_drop: false }` [INFO] [stdout] 4fd2993ad77a1abf01413967a14cabfa846d28dc6d6831f9a76ccfea1a685f0b