[INFO] cloning repository https://github.com/joseyose/hackernews-egui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joseyose/hackernews-egui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernews-egui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernews-egui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4d103a97a4ff838133ef5bd6a917ec1a365ed64 [INFO] testing joseyose/hackernews-egui against beta-2025-09-21 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoseyose%2Fhackernews-egui" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joseyose/hackernews-egui [INFO] finished tweaking git repo https://github.com/joseyose/hackernews-egui [INFO] tweaked toml for git repo https://github.com/joseyose/hackernews-egui written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joseyose/hackernews-egui on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joseyose/hackernews-egui 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5807d7a19ddcaf09dd86d01d066fd6cf9b711de7425cf0636a6ca0d8a13ad82 [INFO] running `Command { std: "docker" "start" "-a" "a5807d7a19ddcaf09dd86d01d066fd6cf9b711de7425cf0636a6ca0d8a13ad82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5807d7a19ddcaf09dd86d01d066fd6cf9b711de7425cf0636a6ca0d8a13ad82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5807d7a19ddcaf09dd86d01d066fd6cf9b711de7425cf0636a6ca0d8a13ad82", kill_on_drop: false }` [INFO] [stdout] a5807d7a19ddcaf09dd86d01d066fd6cf9b711de7425cf0636a6ca0d8a13ad82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3136c0bf203550f5b3ce031b2a8b64ca14dd8c603fd9c9c7a34b30c5cf2355 [INFO] running `Command { std: "docker" "start" "-a" "7c3136c0bf203550f5b3ce031b2a8b64ca14dd8c603fd9c9c7a34b30c5cf2355", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling winnow v0.5.17 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling ab_glyph v0.2.22 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling async-executor v1.6.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling accesskit_consumer v0.15.2 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling webbrowser v0.8.12 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling web-time v0.2.2 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling enumflags2_derive v0.7.8 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling blocking v1.4.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling ecolor v0.23.0 [INFO] [stderr] Compiling emath v0.23.0 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling epaint v0.23.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling egui v0.23.0 [INFO] [stderr] Compiling enumflags2 v0.7.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling arboard v3.2.1 [INFO] [stderr] Compiling egui_glow v0.23.0 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling hackernewsapi v0.1.0 (https://github.com/joseyose/hackernewsapi?branch=main#20b1c374) [INFO] [stderr] Compiling atspi v0.10.1 [INFO] [stderr] Compiling accesskit_unix v0.5.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling accesskit_winit v0.14.4 [INFO] [stderr] Compiling egui-winit v0.23.0 [INFO] [stderr] Compiling eframe v0.23.0 [INFO] [stderr] Compiling hackernews_gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Align2`, `Button`, `Color32`, `FontId`, `NativeOptions`, `NumExt`, `Pos2`, `Rect`, `Response`, `RichText`, `Sense`, `Stroke`, `TextFormat`, `TextStyle`, `Ui`, `Vec2`, `WidgetText`, `Widget`, `lerp`, `menu::bar`, `pos2`, `run_native`, `style::WidgetVisuals`, `text::LayoutJob`, and `vec2` [INFO] [stdout] --> src/app.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | global_dark_light_mode_switch, menu::bar, style::WidgetVisuals, Button, CentralPanel, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | FontData, FontDefinitions, Response, RichText, ScrollArea, Sense, SidePanel, TextFormat, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | TextStyle, TopBottomPanel, Ui, Widget, WidgetText, [INFO] [stdout] | ^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | emath::{lerp, Align2, NumExt}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 8 | epaint::{pos2, text::LayoutJob, vec2, Color32, FontFamily, FontId, Pos2, Rect, Stroke, Vec2}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] 9 | run_native, App, NativeOptions, [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: `tracing::instrument::WithSubscriber` [INFO] [stdout] --> src/app.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::instrument::WithSubscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hackernewsapi::HackerNewsAPI` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hackernewsapi::HackerNewsAPI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut style = (*cc.egui_ctx.style()).clone(); [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: `frame` [INFO] [stdout] --> src/app.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, ctx: &eframe::egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/app.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | for (index, i) in stories.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut is_open = self.open || ctx.memory(|mem| mem.everything_is_visible()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/storycard_widget.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | let (rect, response) = ui.allocate_at_least(desired_size, Sense::click()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/storycard_widget.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let padding = rect_expanded.shrink2(button_padding); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `author`, `desc`, and `url` are never read [INFO] [stdout] --> src/app.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct StoryCardData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 168 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 170 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoryCardData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / eframe::run_native( [INFO] [stdout] 25 | | "HackerNews-egui", [INFO] [stdout] 26 | | native_options, [INFO] [stdout] 27 | | Box::new(|cc| Box::new(HackerNewsEgui::new(cc))), [INFO] [stdout] 28 | | ); [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] 24 | let _ = eframe::run_native( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 28s [INFO] running `Command { std: "docker" "inspect" "7c3136c0bf203550f5b3ce031b2a8b64ca14dd8c603fd9c9c7a34b30c5cf2355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3136c0bf203550f5b3ce031b2a8b64ca14dd8c603fd9c9c7a34b30c5cf2355", kill_on_drop: false }` [INFO] [stdout] 7c3136c0bf203550f5b3ce031b2a8b64ca14dd8c603fd9c9c7a34b30c5cf2355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 253e1f98204e50bf6d31996bc2ea3de7083bd18b47234bad2120e7a16175d9c6 [INFO] running `Command { std: "docker" "start" "-a" "253e1f98204e50bf6d31996bc2ea3de7083bd18b47234bad2120e7a16175d9c6", kill_on_drop: false }` [INFO] [stderr] Compiling hackernews_gui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Align2`, `Button`, `Color32`, `FontId`, `NativeOptions`, `NumExt`, `Pos2`, `Rect`, `Response`, `RichText`, `Sense`, `Stroke`, `TextFormat`, `TextStyle`, `Ui`, `Vec2`, `WidgetText`, `Widget`, `lerp`, `menu::bar`, `pos2`, `run_native`, `style::WidgetVisuals`, `text::LayoutJob`, and `vec2` [INFO] [stdout] --> src/app.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | global_dark_light_mode_switch, menu::bar, style::WidgetVisuals, Button, CentralPanel, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | FontData, FontDefinitions, Response, RichText, ScrollArea, Sense, SidePanel, TextFormat, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | TextStyle, TopBottomPanel, Ui, Widget, WidgetText, [INFO] [stdout] | ^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | emath::{lerp, Align2, NumExt}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 8 | epaint::{pos2, text::LayoutJob, vec2, Color32, FontFamily, FontId, Pos2, Rect, Stroke, Vec2}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^ [INFO] [stdout] 9 | run_native, App, NativeOptions, [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: `tracing::instrument::WithSubscriber` [INFO] [stdout] --> src/app.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::instrument::WithSubscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hackernewsapi::HackerNewsAPI` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hackernewsapi::HackerNewsAPI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut style = (*cc.egui_ctx.style()).clone(); [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: `frame` [INFO] [stdout] --> src/app.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | fn update(&mut self, ctx: &eframe::egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/app.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | for (index, i) in stories.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut is_open = self.open || ctx.memory(|mem| mem.everything_is_visible()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/storycard_widget.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | let (rect, response) = ui.allocate_at_least(desired_size, Sense::click()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/storycard_widget.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let padding = rect_expanded.shrink2(button_padding); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `author`, `desc`, and `url` are never read [INFO] [stdout] --> src/app.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 166 | struct StoryCardData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 167 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 168 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 170 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoryCardData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / eframe::run_native( [INFO] [stdout] 25 | | "HackerNews-egui", [INFO] [stdout] 26 | | native_options, [INFO] [stdout] 27 | | Box::new(|cc| Box::new(HackerNewsEgui::new(cc))), [INFO] [stdout] 28 | | ); [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] 24 | let _ = eframe::run_native( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "253e1f98204e50bf6d31996bc2ea3de7083bd18b47234bad2120e7a16175d9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253e1f98204e50bf6d31996bc2ea3de7083bd18b47234bad2120e7a16175d9c6", kill_on_drop: false }` [INFO] [stdout] 253e1f98204e50bf6d31996bc2ea3de7083bd18b47234bad2120e7a16175d9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63c49ef62457ccd5dfa865efb1c2c8216810266e4eb4c8f5ce398cc72048e074 [INFO] running `Command { std: "docker" "start" "-a" "63c49ef62457ccd5dfa865efb1c2c8216810266e4eb4c8f5ce398cc72048e074", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Align2`, `Button`, `Color32`, `FontId`, `NativeOptions`, `NumExt`, `Pos2`, `Rect`, `Response`, `RichText`, `Sense`, `Stroke`, `TextFormat`, `TextStyle`, `Ui`, `Vec2`, `WidgetText`, `Widget`, `lerp`, `menu::bar`, `pos2`, `run_native`, `style::WidgetVisuals`, `text::LayoutJob`, and `vec2` [INFO] [stderr] --> src/app.rs:3:40 [INFO] [stderr] | [INFO] [stderr] 3 | global_dark_light_mode_switch, menu::bar, style::WidgetVisuals, Button, CentralPanel, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] 4 | FontData, FontDefinitions, Response, RichText, ScrollArea, Sense, SidePanel, TextFormat, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stderr] 5 | TextStyle, TopBottomPanel, Ui, Widget, WidgetText, [INFO] [stderr] | ^^^^^^^^^ ^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 6 | }, [INFO] [stderr] 7 | emath::{lerp, Align2, NumExt}, [INFO] [stderr] | ^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] 8 | epaint::{pos2, text::LayoutJob, vec2, Color32, FontFamily, FontId, Pos2, Rect, Stroke, Vec2}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^^ [INFO] [stderr] 9 | run_native, App, NativeOptions, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::instrument::WithSubscriber` [INFO] [stderr] --> src/app.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing::instrument::WithSubscriber; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hackernewsapi::HackerNewsAPI` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use hackernewsapi::HackerNewsAPI; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | let mut style = (*cc.egui_ctx.style()).clone(); [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: `frame` [INFO] [stderr] --> src/app.rs:75:55 [INFO] [stderr] | [INFO] [stderr] 75 | fn update(&mut self, ctx: &eframe::egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/app.rs:148:37 [INFO] [stderr] | [INFO] [stderr] 148 | for (index, i) in stories.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/app.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | let mut is_open = self.open || ctx.memory(|mem| mem.everything_is_visible()); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rect` [INFO] [stderr] --> src/storycard_widget.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | let (rect, response) = ui.allocate_at_least(desired_size, Sense::click()); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `padding` [INFO] [stderr] --> src/storycard_widget.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | let padding = rect_expanded.shrink2(button_padding); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stderr] [INFO] [stderr] warning: fields `title`, `author`, `desc`, and `url` are never read [INFO] [stderr] --> src/app.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 166 | struct StoryCardData { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 167 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 168 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 169 | desc: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 170 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StoryCardData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / eframe::run_native( [INFO] [stderr] 25 | | "HackerNews-egui", [INFO] [stderr] 26 | | native_options, [INFO] [stderr] 27 | | Box::new(|cc| Box::new(HackerNewsEgui::new(cc))), [INFO] [stderr] 28 | | ); [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] 24 | let _ = eframe::run_native( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `hackernews_gui` (bin "hackernews_gui" test) generated 11 warnings (run `cargo fix --bin "hackernews_gui" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hackernews_gui-77aea5ab6b74f455) [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63c49ef62457ccd5dfa865efb1c2c8216810266e4eb4c8f5ce398cc72048e074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63c49ef62457ccd5dfa865efb1c2c8216810266e4eb4c8f5ce398cc72048e074", kill_on_drop: false }` [INFO] [stdout] 63c49ef62457ccd5dfa865efb1c2c8216810266e4eb4c8f5ce398cc72048e074