[INFO] cloning repository https://github.com/sukeesh/zing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sukeesh/zing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukeesh%2Fzing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukeesh%2Fzing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75d5d42022b9989696f32125ac8a6984cf3673c [INFO] testing sukeesh/zing 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%2Fsukeesh%2Fzing" "/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/sukeesh/zing [INFO] finished tweaking git repo https://github.com/sukeesh/zing [INFO] tweaked toml for git repo https://github.com/sukeesh/zing written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sukeesh/zing 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/sukeesh/zing 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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6e986b76464a18b1dd3d0691713a2177adbb3542566b7fc4ce91483519522bf [INFO] running `Command { std: "docker" "start" "-a" "c6e986b76464a18b1dd3d0691713a2177adbb3542566b7fc4ce91483519522bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6e986b76464a18b1dd3d0691713a2177adbb3542566b7fc4ce91483519522bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e986b76464a18b1dd3d0691713a2177adbb3542566b7fc4ce91483519522bf", kill_on_drop: false }` [INFO] [stdout] c6e986b76464a18b1dd3d0691713a2177adbb3542566b7fc4ce91483519522bf [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=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] e6c9d5110dc6c5a8b844aa74ce6cd0f1d2cac73796199545813e21b55adad633 [INFO] running `Command { std: "docker" "start" "-a" "e6c9d5110dc6c5a8b844aa74ce6cd0f1d2cac73796199545813e21b55adad633", kill_on_drop: false }` [INFO] [stderr] warning: zing v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-bundle` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling emath v0.24.1 [INFO] [stderr] Compiling ecolor v0.24.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling epaint v0.24.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling egui v0.24.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling rfd v0.12.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling egui_glow v0.24.1 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling accesskit_winit v0.15.0 [INFO] [stderr] Compiling egui-winit v0.24.1 [INFO] [stderr] Compiling eframe v0.24.1 [INFO] [stderr] Compiling zing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/buffer/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [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: `Style` [INFO] [stdout] --> src/config/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Color32, Stroke, Style, Visuals}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> src/file_io/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/file_io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding` and `TextStyle` [INFO] [stdout] --> src/ui/editor.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, FontId, TextEdit, Ui, Vec2, Rounding, Stroke, TextStyle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutJob` and `TextFormat` [INFO] [stdout] --> src/ui/editor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use egui::text::{LayoutJob, TextFormat}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ui/editor.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | } else if (ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] | ^ [INFO] [stdout] 215 | ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl)) { [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] 214 ~ } else if ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] 215 ~ ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pos2`, `Rounding`, and `Stroke` [INFO] [stdout] --> src/ui/statusbar.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, Ui, Stroke, Rect, Pos2, FontId, Rounding, Vec2, Sense}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/ui/tabs.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Color32, Rect, Response, Sense, Stroke, Ui, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `editor::EditorView` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use editor::EditorView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbar::Toolbar` [INFO] [stdout] --> src/ui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toolbar::Toolbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statusbar::StatusBar` [INFO] [stdout] --> src/ui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use statusbar::StatusBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding`, `Stroke`, and `Ui` [INFO] [stdout] --> src/ui/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::{Context, Ui, Vec2, Rounding, Color32, Stroke}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_size` [INFO] [stdout] --> src/ui/editor.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let available_size = ui.available_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ui/mod.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn update_status(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | fn setup_menu_bar(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `len_lines`, `is_empty`, `slice`, `line`, and `line_col_to_char` are never used [INFO] [stdout] --> src/buffer/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextBuffer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_str(content: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn len_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn slice(&self, char_start: usize, char_end: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn line(&self, line_idx: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn line_col_to_char(&self, line: usize, col: usize) -> Result { [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 `line_spacing`, `tab_size`, and `use_spaces` are never read [INFO] [stdout] --> src/config/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EditorConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub line_spacing: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub tab_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | /// Whether to use spaces for tabs [INFO] [stdout] 39 | pub use_spaces: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditorConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_theme` are never used [INFO] [stdout] --> src/config/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EditorConfig { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 57 | /// Creates a new editor configuration with default settings. [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn with_theme(theme: Theme) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_buffer_to_file` is never used [INFO] [stdout] --> src/file_io/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn save_buffer_to_file(buffer: &mut TextBuffer, path: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status_timeout` is never read [INFO] [stdout] --> src/ui/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ZingApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | status_timeout: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZingApp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditorView` is never constructed [INFO] [stdout] --> src/ui/editor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EditorView; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tab` is never used [INFO] [stdout] --> src/ui/editor.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new_tab(app: &mut ZingApp) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusBar` is never constructed [INFO] [stdout] --> src/ui/statusbar.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StatusBar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Toolbar` is never constructed [INFO] [stdout] --> src/ui/toolbar.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Toolbar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_icon` is never used [INFO] [stdout] --> src/ui/toolbar.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn draw_icon(ui: &mut Ui, icon_type: &str, is_dark: bool, word_wrap: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &FILE_OP_RECEIVER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &raw const FILE_OP_RECEIVER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 41s [INFO] running `Command { std: "docker" "inspect" "e6c9d5110dc6c5a8b844aa74ce6cd0f1d2cac73796199545813e21b55adad633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c9d5110dc6c5a8b844aa74ce6cd0f1d2cac73796199545813e21b55adad633", kill_on_drop: false }` [INFO] [stdout] e6c9d5110dc6c5a8b844aa74ce6cd0f1d2cac73796199545813e21b55adad633 [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=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] 478c9ed48de675cb5de0023bc7c6bb209d00d6643918dbe45465e96e1915c15a [INFO] running `Command { std: "docker" "start" "-a" "478c9ed48de675cb5de0023bc7c6bb209d00d6643918dbe45465e96e1915c15a", kill_on_drop: false }` [INFO] [stderr] warning: zing v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-bundle` which is missing a lib target [INFO] [stderr] Compiling zing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/buffer/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [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: `Style` [INFO] [stdout] --> src/config/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use egui::{Color32, Stroke, Style, Visuals}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/config/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/file_io/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding` and `TextStyle` [INFO] [stdout] --> src/ui/editor.rs:3:49 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, FontId, TextEdit, Ui, Vec2, Rounding, Stroke, TextStyle}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutJob` and `TextFormat` [INFO] [stdout] --> src/ui/editor.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use egui::text::{LayoutJob, TextFormat}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ui/editor.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 214 | } else if (ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] | ^ [INFO] [stdout] 215 | ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl)) { [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] 214 ~ } else if ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stdout] 215 ~ ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pos2`, `Rounding`, and `Stroke` [INFO] [stdout] --> src/ui/statusbar.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{Color32, Ui, Stroke, Rect, Pos2, FontId, Rounding, Vec2, Sense}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stroke` [INFO] [stdout] --> src/ui/tabs.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Color32, Rect, Response, Sense, Stroke, Ui, Vec2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `editor::EditorView` [INFO] [stdout] --> src/ui/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use editor::EditorView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toolbar::Toolbar` [INFO] [stdout] --> src/ui/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use toolbar::Toolbar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `statusbar::StatusBar` [INFO] [stdout] --> src/ui/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use statusbar::StatusBar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rounding`, `Stroke`, and `Ui` [INFO] [stdout] --> src/ui/mod.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use egui::{Context, Ui, Vec2, Rounding, Color32, Stroke}; [INFO] [stdout] | ^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `available_size` [INFO] [stdout] --> src/ui/editor.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let available_size = ui.available_size(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/ui/mod.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn update_status(&mut self, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | fn setup_menu_bar(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/buffer/mod.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl TextBuffer { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn slice(&self, char_start: usize, char_end: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl EditorConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 57 | /// Creates a new editor configuration with default settings. [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status_timeout` is never read [INFO] [stdout] --> src/ui/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ZingApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | status_timeout: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZingApp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditorView` is never constructed [INFO] [stdout] --> src/ui/editor.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EditorView; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_tab` is never used [INFO] [stdout] --> src/ui/editor.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new_tab(app: &mut ZingApp) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusBar` is never constructed [INFO] [stdout] --> src/ui/statusbar.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct StatusBar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Toolbar` is never constructed [INFO] [stdout] --> src/ui/toolbar.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Toolbar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_icon` is never used [INFO] [stdout] --> src/ui/toolbar.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn draw_icon(ui: &mut Ui, icon_type: &str, is_dark: bool, word_wrap: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &FILE_OP_RECEIVER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 41 | if let Some(receiver) = &raw const FILE_OP_RECEIVER { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/ui/editor.rs:295:35 [INFO] [stdout] | [INFO] [stdout] 295 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "478c9ed48de675cb5de0023bc7c6bb209d00d6643918dbe45465e96e1915c15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478c9ed48de675cb5de0023bc7c6bb209d00d6643918dbe45465e96e1915c15a", kill_on_drop: false }` [INFO] [stdout] 478c9ed48de675cb5de0023bc7c6bb209d00d6643918dbe45465e96e1915c15a [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=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] 63097ad6086c7396ac76b36d7140ad6228e6f0fdb7685cca343230bffbe7829c [INFO] running `Command { std: "docker" "start" "-a" "63097ad6086c7396ac76b36d7140ad6228e6f0fdb7685cca343230bffbe7829c", kill_on_drop: false }` [INFO] [stderr] warning: zing v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-bundle` which is missing a lib target [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/buffer/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Style` [INFO] [stderr] --> src/config/mod.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | use egui::{Color32, Stroke, Style, Visuals}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/config/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/file_io/mod.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rounding` and `TextStyle` [INFO] [stderr] --> src/ui/editor.rs:3:49 [INFO] [stderr] | [INFO] [stderr] 3 | use egui::{Color32, FontId, TextEdit, Ui, Vec2, Rounding, Stroke, TextStyle}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LayoutJob` and `TextFormat` [INFO] [stderr] --> src/ui/editor.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use egui::text::{LayoutJob, TextFormat}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/ui/editor.rs:214:15 [INFO] [stderr] | [INFO] [stderr] 214 | } else if (ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stderr] | ^ [INFO] [stderr] 215 | ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl)) { [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] 214 ~ } else if ui.input(|i| i.key_pressed(egui::Key::Z) && i.modifiers.ctrl && i.modifiers.shift) || [INFO] [stderr] 215 ~ ui.input(|i| i.key_pressed(egui::Key::Y) && i.modifiers.ctrl) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Pos2`, `Rounding`, and `Stroke` [INFO] [stderr] --> src/ui/statusbar.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | use egui::{Color32, Ui, Stroke, Rect, Pos2, FontId, Rounding, Vec2, Sense}; [INFO] [stderr] | ^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stroke` [INFO] [stderr] --> src/ui/tabs.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | use egui::{Color32, Rect, Response, Sense, Stroke, Ui, Vec2}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `editor::EditorView` [INFO] [stderr] --> src/ui/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use editor::EditorView; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `toolbar::Toolbar` [INFO] [stderr] --> src/ui/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use toolbar::Toolbar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `statusbar::StatusBar` [INFO] [stderr] --> src/ui/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use statusbar::StatusBar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rounding`, `Stroke`, and `Ui` [INFO] [stderr] --> src/ui/mod.rs:15:21 [INFO] [stderr] | [INFO] [stderr] 15 | use egui::{Context, Ui, Vec2, Rounding, Color32, Stroke}; [INFO] [stderr] | ^^ ^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `available_size` [INFO] [stderr] --> src/ui/editor.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let available_size = ui.available_size(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_available_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_time` [INFO] [stderr] --> src/ui/mod.rs:89:37 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn update_status(&mut self, delta_time: f32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:117:34 [INFO] [stderr] | [INFO] [stderr] 117 | fn setup_menu_bar(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: method `slice` is never used [INFO] [stderr] --> src/buffer/mod.rs:247:12 [INFO] [stderr] | [INFO] [stderr] 45 | impl TextBuffer { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 247 | pub fn slice(&self, char_start: usize, char_end: usize) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/config/mod.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 56 | impl EditorConfig { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 57 | /// Creates a new editor configuration with default settings. [INFO] [stderr] 58 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `status_timeout` is never read [INFO] [stderr] --> src/ui/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct ZingApp { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 38 | status_timeout: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ZingApp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `EditorView` is never constructed [INFO] [stderr] --> src/ui/editor.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct EditorView; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `new_tab` is never used [INFO] [stderr] --> src/ui/editor.rs:384:8 [INFO] [stderr] | [INFO] [stderr] 384 | pub fn new_tab(app: &mut ZingApp) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StatusBar` is never constructed [INFO] [stderr] --> src/ui/statusbar.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct StatusBar; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Toolbar` is never constructed [INFO] [stderr] --> src/ui/toolbar.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Toolbar; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `draw_icon` is never used [INFO] [stderr] --> src/ui/toolbar.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | fn draw_icon(ui: &mut Ui, icon_type: &str, is_dark: bool, word_wrap: bool) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ui/editor.rs:41:33 [INFO] [stderr] | [INFO] [stderr] 41 | if let Some(receiver) = &FILE_OP_RECEIVER { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 41 | if let Some(receiver) = &raw const FILE_OP_RECEIVER { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ui/editor.rs:232:31 [INFO] [stderr] | [INFO] [stderr] 232 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/ui/editor.rs:295:35 [INFO] [stderr] | [INFO] [stderr] 295 | let sender = unsafe { FILE_OP_SENDER.clone().unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `zing` (bin "zing" test) generated 27 warnings (run `cargo fix --bin "zing" --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zing-d31deaf970a6ba41) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test buffer::tests::test_from_str ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_font_size_adjustments ... ok [INFO] [stdout] test config::tests::test_toggle_theme ... ok [INFO] [stdout] test config::tests::test_with_theme ... ok [INFO] [stdout] test buffer::tests::test_new_buffer ... ok [INFO] [stdout] test buffer::tests::test_undo_redo ... ok [INFO] [stdout] test file_io::tests::test_save_buffer ... ok [INFO] [stdout] test file_io::tests::test_load_file ... ok [INFO] [stdout] test buffer::tests::test_insert_remove ... FAILED [INFO] [stdout] test buffer::tests::test_line_operations ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- buffer::tests::test_insert_remove stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'buffer::tests::test_insert_remove' (26) panicked at src/buffer/mod.rs:360:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "Hello" [INFO] [stdout] right: "Hello!" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a1076fdb5e2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a1076fdb5e2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a1076fdb5e2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a1076fdb5e2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a1076fec69f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5a1076fec69f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5a1076fa6f51 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a1076fa6f51 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5a1076fb35e2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5a1076fb8d5f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5a1076fb8bf1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5a1076ef4e5e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5a1076ef4e5e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a1076fb941f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5a1076fb941f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5a1076fb927a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5a1076fb3719 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5a1076f9aaed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5a1076ff4480 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5a1076ff4283 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5a1076eaa29c - core::panicking::assert_failed::h01fdbfa1fec4fd19 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5a1076ec4bb9 - zing::buffer::tests::test_insert_remove::h9e0ce69e92d01503 [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/mod.rs:360:9 [INFO] [stdout] 22: 0x5a1076ec4c17 - zing::buffer::tests::test_insert_remove::{{closure}}::h378f218fe74fb554 [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/mod.rs:347:28 [INFO] [stdout] 23: 0x5a1076ea7e36 - core::ops::function::FnOnce::call_once::hd7d7776b477ad901 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a1076ef4c1b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a1076ef4c1b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a1076f0a885 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a1076f0a885 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a1076f0a885 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5a1076f0a885 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5a1076f0a885 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a1076f0a885 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a1076f0a885 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a1076ee1074 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a1076ee1074 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5a1076ee493a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5a1076ee493a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a1076ee493a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5a1076ee493a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5a1076ee493a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a1076ee493a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5a1076ee493a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a1076fae87f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5a1076fae87f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x758dbc6faaa4 - [INFO] [stdout] 45: 0x758dbc787a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- buffer::tests::test_line_operations stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'buffer::tests::test_line_operations' (27) panicked at src/buffer/mod.rs:394:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "Line 1\n" [INFO] [stdout] right: "Line 1" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a1076fdb5e2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a1076fdb5e2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a1076fdb5e2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a1076fdb5e2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a1076fec69f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5a1076fec69f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5a1076fa6f51 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a1076fa6f51 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5a1076fb35e2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5a1076fb8d5f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5a1076fb8bf1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5a1076ef4e5e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5a1076ef4e5e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a1076fb941f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5a1076fb941f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5a1076fb927a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5a1076fb3719 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5a1076f9aaed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5a1076ff4480 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5a1076ff4283 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5a1076eaa29c - core::panicking::assert_failed::h01fdbfa1fec4fd19 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5a1076ec4f58 - zing::buffer::tests::test_line_operations::hd437d6324fb3c8d8 [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/mod.rs:394:9 [INFO] [stdout] 22: 0x5a1076ec5bd7 - zing::buffer::tests::test_line_operations::{{closure}}::hb560c4fbcac30dfa [INFO] [stdout] at /opt/rustwide/workdir/src/buffer/mod.rs:390:30 [INFO] [stdout] 23: 0x5a1076ea7a96 - core::ops::function::FnOnce::call_once::h6caccde4f7d2a4bc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a1076ef4c1b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a1076ef4c1b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5a1076f0a885 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5a1076f0a885 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5a1076f0a885 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5a1076f0a885 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5a1076f0a885 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a1076f0a885 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5a1076f0a885 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5a1076ee1074 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5a1076ee1074 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5a1076ee493a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5a1076ee493a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5a1076ee493a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5a1076ee493a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5a1076ee493a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a1076ee493a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5a1076ee493a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a1076fae87f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5a1076fae87f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x758dbc6faaa4 - [INFO] [stdout] 45: 0x758dbc787a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] buffer::tests::test_insert_remove [INFO] [stdout] buffer::tests::test_line_operations [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin zing` [INFO] running `Command { std: "docker" "inspect" "63097ad6086c7396ac76b36d7140ad6228e6f0fdb7685cca343230bffbe7829c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63097ad6086c7396ac76b36d7140ad6228e6f0fdb7685cca343230bffbe7829c", kill_on_drop: false }` [INFO] [stdout] 63097ad6086c7396ac76b36d7140ad6228e6f0fdb7685cca343230bffbe7829c