[INFO] cloning repository https://github.com/stino220802/cim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stino220802/cim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstino220802%2Fcim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstino220802%2Fcim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b813cf5384be8151c52d9603385598f71e29797 [INFO] testing stino220802/cim against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstino220802%2Fcim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stino220802/cim [INFO] finished tweaking git repo https://github.com/stino220802/cim [INFO] tweaked toml for git repo https://github.com/stino220802/cim written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stino220802/cim on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stino220802/cim 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded deranged v0.4.1 [INFO] [stderr] Downloaded xi-rope v0.3.0 [INFO] [stderr] Downloaded egui-wgpu v0.31.1 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded wgpu-types v24.0.0 [INFO] [stderr] Downloaded accesskit_windows v0.24.1 [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] [stderr] Downloaded bit-vec v0.8.0 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded bytemuck_derive v1.8.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded wgpu v24.0.1 [INFO] [stderr] Downloaded wgpu-hal v24.0.2 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] [stderr] Downloaded eframe v0.31.1 [INFO] [stderr] Downloaded accesskit_atspi_common v0.10.1 [INFO] [stderr] Downloaded egui-winit v0.31.1 [INFO] [stderr] Downloaded derive_more v2.0.1 [INFO] [stderr] Downloaded glow v0.16.0 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded derive_more-impl v2.0.1 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded accesskit_winit v0.23.1 [INFO] [stderr] Downloaded egui_glow v0.31.1 [INFO] [stderr] Downloaded accesskit v0.17.1 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded onig v6.4.0 [INFO] [stderr] Downloaded accesskit_macos v0.18.1 [INFO] [stderr] Downloaded plist v1.7.1 [INFO] [stderr] Downloaded quick-xml v0.32.0 [INFO] [stderr] Downloaded bytecount v0.5.1 [INFO] [stderr] Downloaded naga v24.0.0 [INFO] [stderr] Downloaded async-trait v0.1.87 [INFO] [stderr] Downloaded accesskit_unix v0.13.1 [INFO] [stderr] Downloaded metal v0.31.0 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] [stderr] Downloaded wgpu-core v24.0.2 [INFO] [stderr] Downloaded accesskit_consumer v0.26.0 [INFO] [stderr] Downloaded onig_sys v69.8.1 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24898fb4ab0abe3c46a8a5ffec668e0c128d9ee9f6e9a7ad373258be545e5051 [INFO] running `Command { std: "docker" "start" "-a" "24898fb4ab0abe3c46a8a5ffec668e0c128d9ee9f6e9a7ad373258be545e5051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24898fb4ab0abe3c46a8a5ffec668e0c128d9ee9f6e9a7ad373258be545e5051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24898fb4ab0abe3c46a8a5ffec668e0c128d9ee9f6e9a7ad373258be545e5051", kill_on_drop: false }` [INFO] [stdout] 24898fb4ab0abe3c46a8a5ffec668e0c128d9ee9f6e9a7ad373258be545e5051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36e5ec3f2198af7ad153b537087c6e97c2e3c039ccd979f0cd0cb9b76f77bf83 [INFO] running `Command { std: "docker" "start" "-a" "36e5ec3f2198af7ad153b537087c6e97c2e3c039ccd979f0cd0cb9b76f77bf83", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling accesskit v0.17.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling accesskit_consumer v0.26.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling emath v0.31.1 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling ecolor v0.31.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling epaint v0.31.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling egui v0.31.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling glow v0.16.0 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling plist v1.7.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling webbrowser v1.0.4 [INFO] [stderr] Compiling wayland-protocols v0.32.6 [INFO] [stderr] Compiling wayland-cursor v0.31.8 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling bytecount v0.5.1 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling xi-rope v0.3.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling egui_glow v0.31.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.6 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.6 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.10.1 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.13.1 [INFO] [stderr] Compiling accesskit_winit v0.23.1 [INFO] [stderr] Compiling egui-winit v0.31.1 [INFO] [stderr] Compiling eframe v0.31.1 [INFO] [stderr] Compiling cim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/buffer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/ui.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_char_len` [INFO] [stdout] --> src/editor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let line_char_len = line_slice.to_string().chars().count() as u16; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_char_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_length` [INFO] [stdout] --> src/ui.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let line_length = line.trim_end_matches(&['\r', '\n'][..]).chars().count(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_length` [INFO] [stdout] --> src/ui.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let visible_length = visible_part.chars().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `remove_char` are never used [INFO] [stdout] --> src/buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RopeTextBuffer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn remove_char(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SaveExit` is never constructed [INFO] [stdout] --> src/editor.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum EditorAction { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | SaveExit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_key_event` is never read [INFO] [stdout] --> src/editor.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CimEditor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub last_key_event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_line_length` and `total_lines` are never used [INFO] [stdout] --> src/editor.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl CimEditor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn current_line_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub fn total_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph { [INFO] [stdout] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph { [INFO] [stdout] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | fn build_highlighted_text(app: &CimEditor) -> Text { [INFO] [stdout] | ^^^^^^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn build_highlighted_text(app: &CimEditor) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "36e5ec3f2198af7ad153b537087c6e97c2e3c039ccd979f0cd0cb9b76f77bf83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e5ec3f2198af7ad153b537087c6e97c2e3c039ccd979f0cd0cb9b76f77bf83", kill_on_drop: false }` [INFO] [stdout] 36e5ec3f2198af7ad153b537087c6e97c2e3c039ccd979f0cd0cb9b76f77bf83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62784b4bb9978ac0b1cb037796075f632c9b964751ab531e5b27769d8cb68d46 [INFO] running `Command { std: "docker" "start" "-a" "62784b4bb9978ac0b1cb037796075f632c9b964751ab531e5b27769d8cb68d46", kill_on_drop: false }` [INFO] [stderr] Compiling cim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/buffer.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/ui.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_char_len` [INFO] [stdout] --> src/editor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let line_char_len = line_slice.to_string().chars().count() as u16; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_char_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_length` [INFO] [stdout] --> src/ui.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let line_length = line.trim_end_matches(&['\r', '\n'][..]).chars().count(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_length` [INFO] [stdout] --> src/ui.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let visible_length = visible_part.chars().count(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `text` and `remove_char` are never used [INFO] [stdout] --> src/buffer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RopeTextBuffer { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn remove_char(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SaveExit` is never constructed [INFO] [stdout] --> src/editor.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum EditorAction { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | SaveExit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_key_event` is never read [INFO] [stdout] --> src/editor.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct CimEditor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub last_key_event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_line_length` and `total_lines` are never used [INFO] [stdout] --> src/editor.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl CimEditor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn current_line_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub fn total_lines(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph { [INFO] [stdout] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph { [INFO] [stdout] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | fn build_highlighted_text(app: &CimEditor) -> Text { [INFO] [stdout] | ^^^^^^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn build_highlighted_text(app: &CimEditor) -> Text<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "62784b4bb9978ac0b1cb037796075f632c9b964751ab531e5b27769d8cb68d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62784b4bb9978ac0b1cb037796075f632c9b964751ab531e5b27769d8cb68d46", kill_on_drop: false }` [INFO] [stdout] 62784b4bb9978ac0b1cb037796075f632c9b964751ab531e5b27769d8cb68d46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e97eb9d267f2f851bd28933a24b6a3204132176fd962068c03f4cf5036ba626 [INFO] running `Command { std: "docker" "start" "-a" "2e97eb9d267f2f851bd28933a24b6a3204132176fd962068c03f4cf5036ba626", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/buffer.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::OpenOptions` [INFO] [stderr] --> src/ui.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs::OpenOptions; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/ui.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Local` [INFO] [stderr] --> src/ui.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use chrono::Local; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_char_len` [INFO] [stderr] --> src/editor.rs:237:13 [INFO] [stderr] | [INFO] [stderr] 237 | let line_char_len = line_slice.to_string().chars().count() as u16; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_char_len` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_length` [INFO] [stderr] --> src/ui.rs:166:13 [INFO] [stderr] | [INFO] [stderr] 166 | let line_length = line.trim_end_matches(&['\r', '\n'][..]).chars().count(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visible_length` [INFO] [stderr] --> src/ui.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | let visible_length = visible_part.chars().count(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_length` [INFO] [stderr] [INFO] [stderr] warning: methods `text` and `remove_char` are never used [INFO] [stderr] --> src/buffer.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RopeTextBuffer { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn text(&self) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn remove_char(&mut self, pos: usize) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `SaveExit` is never constructed [INFO] [stderr] --> src/editor.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum EditorAction { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 13 | SaveExit, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `last_key_event` is never read [INFO] [stderr] --> src/editor.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct CimEditor { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | pub last_key_event: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `current_line_length` and `total_lines` are never used [INFO] [stderr] --> src/editor.rs:517:12 [INFO] [stderr] | [INFO] [stderr] 52 | impl CimEditor { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 517 | pub fn current_line_length(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 535 | pub fn total_lines(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph { [INFO] [stderr] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | fn render_line_numbers(app: &CimEditor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:100:26 [INFO] [stderr] | [INFO] [stderr] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph { [INFO] [stderr] | ^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 100 | fn build_status_bar(app: &CimEditor) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ui.rs:138:32 [INFO] [stderr] | [INFO] [stderr] 138 | fn build_highlighted_text(app: &CimEditor) -> Text { [INFO] [stderr] | ^^^^^^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 138 | fn build_highlighted_text(app: &CimEditor) -> Text<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cim` (bin "cim" test) generated 14 warnings (run `cargo fix --bin "cim" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cim-ce332b9cc36dfd76) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e97eb9d267f2f851bd28933a24b6a3204132176fd962068c03f4cf5036ba626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e97eb9d267f2f851bd28933a24b6a3204132176fd962068c03f4cf5036ba626", kill_on_drop: false }` [INFO] [stdout] 2e97eb9d267f2f851bd28933a24b6a3204132176fd962068c03f4cf5036ba626