[INFO] cloning repository https://github.com/Hina-Kagiyama/nbterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hina-Kagiyama/nbterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHina-Kagiyama%2Fnbterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHina-Kagiyama%2Fnbterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f92382cc457c31f77ce5a69ebc1a690de27d47c [INFO] testing Hina-Kagiyama/nbterm/2f92382cc457c31f77ce5a69ebc1a690de27d47c against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHina-Kagiyama%2Fnbterm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hina-Kagiyama/nbterm [INFO] finished tweaking git repo https://github.com/Hina-Kagiyama/nbterm [INFO] tweaked toml for git repo https://github.com/Hina-Kagiyama/nbterm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hina-Kagiyama/nbterm on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hina-Kagiyama/nbterm 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded tower-lsp-macros v0.9.0 [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded auto_impl v1.3.0 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded tower-lsp v0.20.0 [INFO] [stderr] Downloaded tree-sitter v0.25.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 472de2cb4f19514754a15c35e8a294311dd99e59dd0fa760f7d1837febf65857 [INFO] running `Command { std: "docker" "start" "-a" "472de2cb4f19514754a15c35e8a294311dd99e59dd0fa760f7d1837febf65857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "472de2cb4f19514754a15c35e8a294311dd99e59dd0fa760f7d1837febf65857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472de2cb4f19514754a15c35e8a294311dd99e59dd0fa760f7d1837febf65857", kill_on_drop: false }` [INFO] [stdout] 472de2cb4f19514754a15c35e8a294311dd99e59dd0fa760f7d1837febf65857 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6540f95bccfb7d31934354b10941099c1f6f33576567d38097c7835eb09e44bd [INFO] running `Command { std: "docker" "start" "-a" "6540f95bccfb7d31934354b10941099c1f6f33576567d38097c7835eb09e44bd", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling tree-sitter v0.25.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling lsp-types v0.94.1 [INFO] [stderr] Compiling lsp-types v0.97.0 [INFO] [stderr] Compiling tower-lsp v0.20.0 [INFO] [stderr] Compiling nbterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `slice::Iter` [INFO] [stdout] --> src/tui/editor_commands.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{path::PathBuf, slice::Iter}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0571]: `break` with value from a `while` loop [INFO] [stdout] --> src/tui/app.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 97 | while !self.leaving { [INFO] [stdout] | ------------------- you can't `break` with a value in a `while` loop [INFO] [stdout] ... [INFO] [stdout] 244 | event::KeyCode::Char('q') => break Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^ can only break with a value inside `loop` or breakable block [INFO] [stdout] | [INFO] [stdout] help: use `break` on its own without a value inside this `while` loop [INFO] [stdout] | [INFO] [stdout] 244 - event::KeyCode::Char('q') => break Ok(()), [INFO] [stdout] 244 + event::KeyCode::Char('q') => break, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/tui/app.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / while !self.leaving { [INFO] [stdout] 98 | | terminal.draw(|f| { [INFO] [stdout] 99 | | let area = f.area(); [INFO] [stdout] ... | [INFO] [stdout] 249 | | }?; [INFO] [stdout] | |__________^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/event_translator.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut visual_mode_event_map: HashMap<(K, M), EditorCommand> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/event_translator.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut visual_line_mode_event_map: HashMap<(K, M), EditorCommand> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/event_translator.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut visual_block_mode_event_map: HashMap<(K, M), EditorCommand> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/event_translator.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut command_mode_event_map: HashMap<(K, M), EditorCommand> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tui/event_translator.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ui_cursor_mode_event_map: HashMap<(K, M), EditorCommand> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `InputMode::Replace` not covered [INFO] [stdout] --> src/tui/event_translator.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | match input_mode { [INFO] [stdout] | ^^^^^^^^^^ pattern `InputMode::Replace` not covered [INFO] [stdout] | [INFO] [stdout] note: `InputMode` defined here [INFO] [stdout] --> src/tui/input_mode.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum InputMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Replace, [INFO] [stdout] | ------- not covered [INFO] [stdout] = note: the matched value is of type `InputMode` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 84 ~ InputMode::UICursor => self.ui_cursor_mode_event_map.get(&key).cloned(), [INFO] [stdout] 85 ~ InputMode::Replace => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0277, E0571. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nbterm` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6540f95bccfb7d31934354b10941099c1f6f33576567d38097c7835eb09e44bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6540f95bccfb7d31934354b10941099c1f6f33576567d38097c7835eb09e44bd", kill_on_drop: false }` [INFO] [stdout] 6540f95bccfb7d31934354b10941099c1f6f33576567d38097c7835eb09e44bd