[INFO] cloning repository https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewDMorgan%2FTermEdit--Bad-Terminal-Editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewDMorgan%2FTermEdit--Bad-Terminal-Editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e098f8e77d8295b52ad01471b9e0ec57d956f2b3 [INFO] testing AndrewDMorgan/TermEdit--Bad-Terminal-Editor against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewDMorgan%2FTermEdit--Bad-Terminal-Editor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor [INFO] finished tweaking git repo https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor [INFO] tweaked toml for git repo https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 142 packages to latest Rust 1.91.0-nightly compatible versions [INFO] [stderr] Adding mlua v0.10.5 (available: v0.11.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded vte v0.15.0 [INFO] [stderr] Downloaded error-code v3.3.2 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded arboard v3.6.1 [INFO] [stderr] Downloaded mlua-sys v0.6.8 [INFO] [stderr] Downloaded clipboard-win v5.4.1 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded mlua v0.10.5 [INFO] [stderr] Downloaded objc2 v0.6.2 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded luau0-src v0.12.3+luau663 [INFO] [stderr] Downloaded pxfm v0.1.23 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0af9fc4d66e6a7bde9ac30a6e884aecf6bf141b44abcf9af87153787d1ac19a1 [INFO] running `Command { std: "docker" "start" "-a" "0af9fc4d66e6a7bde9ac30a6e884aecf6bf141b44abcf9af87153787d1ac19a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af9fc4d66e6a7bde9ac30a6e884aecf6bf141b44abcf9af87153787d1ac19a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af9fc4d66e6a7bde9ac30a6e884aecf6bf141b44abcf9af87153787d1ac19a1", kill_on_drop: false }` [INFO] [stdout] 0af9fc4d66e6a7bde9ac30a6e884aecf6bf141b44abcf9af87153787d1ac19a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b796087b87ed639cd5e9a87671d4c7de0fa87d0f1721a673f4e1d209c3c3d8d [INFO] running `Command { std: "docker" "start" "-a" "9b796087b87ed639cd5e9a87671d4c7de0fa87d0f1721a673f4e1d209c3c3d8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling luau0-src v0.12.3+luau663 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling pxfm v0.1.23 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling vte v0.15.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling mlua-sys v0.6.8 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling mlua v0.10.5 [INFO] [stderr] Compiling proc_macros v0.1.0 (/opt/rustwide/workdir/proc_macros) [INFO] [stderr] Compiling TermEdit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossterm::tty::IsTty` [INFO] [stdout] --> src/languageServer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::tty::IsTty; [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 variable: `request` [INFO] [stdout] --> src/languageServer.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let request = self.GetRequest(&event); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/CodeTabs.rs:1597:13 [INFO] [stdout] | [INFO] [stdout] 1596 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 1597 | / for _ in 0..self.shiftCache as usize { [INFO] [stdout] 1598 | | self.scrollCache.remove(0); [INFO] [stdout] 1599 | | self.resetCache.remove(0); [INFO] [stdout] 1600 | | self.resetCache.push(true); [INFO] [stdout] 1601 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/CodeTabs.rs:1605:13 [INFO] [stdout] | [INFO] [stdout] 1604 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 1605 | / for _ in 0..(-self.shiftCache) as usize { [INFO] [stdout] 1606 | | let size = self.scrollCache.len() - 1; [INFO] [stdout] 1607 | | self.scrollCache.remove(size); [INFO] [stdout] ... | [INFO] [stdout] 1610 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathway` [INFO] [stdout] --> src/languageServer.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | RustEvents::Workspace (pathway) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathway` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/languageServer.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/languageServer.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/languageServer.rs:250:62 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:278:47 [INFO] [stdout] | [INFO] [stdout] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/languageServer.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | RustEvents::OpenedFile (path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filePath` [INFO] [stdout] --> src/languageServer.rs:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | RustEvents::Workspace (filePath) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/languageServer.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/languageServer.rs:300:46 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:300:51 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/languageServer.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:303:38 [INFO] [stdout] | [INFO] [stdout] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:315:43 [INFO] [stdout] | [INFO] [stdout] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:319:41 [INFO] [stdout] | [INFO] [stdout] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/languageServer.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | RustEvents::OpenedFile (path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/languageServer.rs:290:43 [INFO] [stdout] | [INFO] [stdout] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filePath` [INFO] [stdout] --> src/languageServer.rs:290:61 [INFO] [stdout] | [INFO] [stdout] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `default`, and `highlight` are never read [INFO] [stdout] --> src/Colors.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ColorBindings <'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub command: ColorType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub default: ColorType, // for default items (usually white) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub highlight: ColorType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorBindings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LoadJson` is never used [INFO] [stdout] --> src/DataManager.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn LoadJson (fileName: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Generic` and `Lifetime` are never constructed [INFO] [stdout] --> src/TokenInfo.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum OutlineType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 166 | Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutlineType` 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: fields `resultType` and `public` are never read [INFO] [stdout] --> src/TokenInfo.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OutlineKeyword { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 175 | pub resultType: Option , // for function outputs [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub public: Option , // true == public; false == private (or None) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutlineKeyword` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/languageServer.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | fn GetResponse (&mut self) -> std::borrow::Cow { [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] 130 | fn GetResponse (&mut self) -> std::borrow::Cow <'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "9b796087b87ed639cd5e9a87671d4c7de0fa87d0f1721a673f4e1d209c3c3d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b796087b87ed639cd5e9a87671d4c7de0fa87d0f1721a673f4e1d209c3c3d8d", kill_on_drop: false }` [INFO] [stdout] 9b796087b87ed639cd5e9a87671d4c7de0fa87d0f1721a673f4e1d209c3c3d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00e437ac5774d79f1ad613f23e3b058e368ced5c8743ca08a2567e03d514fc63 [INFO] running `Command { std: "docker" "start" "-a" "00e437ac5774d79f1ad613f23e3b058e368ced5c8743ca08a2567e03d514fc63", kill_on_drop: false }` [INFO] [stderr] Compiling TermEdit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossterm::tty::IsTty` [INFO] [stdout] --> src/languageServer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossterm::tty::IsTty; [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 variable: `request` [INFO] [stdout] --> src/languageServer.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | let request = self.GetRequest(&event); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/CodeTabs.rs:1597:13 [INFO] [stdout] | [INFO] [stdout] 1596 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 1597 | / for _ in 0..self.shiftCache as usize { [INFO] [stdout] 1598 | | self.scrollCache.remove(0); [INFO] [stdout] 1599 | | self.resetCache.remove(0); [INFO] [stdout] 1600 | | self.resetCache.push(true); [INFO] [stdout] 1601 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/CodeTabs.rs:1605:13 [INFO] [stdout] | [INFO] [stdout] 1604 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 1605 | / for _ in 0..(-self.shiftCache) as usize { [INFO] [stdout] 1606 | | let size = self.scrollCache.len() - 1; [INFO] [stdout] 1607 | | self.scrollCache.remove(size); [INFO] [stdout] ... | [INFO] [stdout] 1610 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathway` [INFO] [stdout] --> src/languageServer.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | RustEvents::Workspace (pathway) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathway` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/languageServer.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/languageServer.rs:250:46 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/languageServer.rs:250:62 [INFO] [stdout] | [INFO] [stdout] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:262:38 [INFO] [stdout] | [INFO] [stdout] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:278:41 [INFO] [stdout] | [INFO] [stdout] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:278:47 [INFO] [stdout] | [INFO] [stdout] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/languageServer.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | RustEvents::OpenedFile (path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filePath` [INFO] [stdout] --> src/languageServer.rs:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | RustEvents::Workspace (filePath) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/languageServer.rs:300:39 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/languageServer.rs:300:46 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:300:51 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/languageServer.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:303:32 [INFO] [stdout] | [INFO] [stdout] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:303:38 [INFO] [stdout] | [INFO] [stdout] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:315:43 [INFO] [stdout] | [INFO] [stdout] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/languageServer.rs:319:41 [INFO] [stdout] | [INFO] [stdout] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `charIndex` [INFO] [stdout] --> src/languageServer.rs:319:47 [INFO] [stdout] | [INFO] [stdout] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/languageServer.rs:323:37 [INFO] [stdout] | [INFO] [stdout] 323 | RustEvents::OpenedFile (path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/languageServer.rs:290:43 [INFO] [stdout] | [INFO] [stdout] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filePath` [INFO] [stdout] --> src/languageServer.rs:290:61 [INFO] [stdout] | [INFO] [stdout] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command`, `default`, and `highlight` are never read [INFO] [stdout] --> src/Colors.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ColorBindings <'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub command: ColorType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub default: ColorType, // for default items (usually white) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub highlight: ColorType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorBindings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `LoadJson` is never used [INFO] [stdout] --> src/DataManager.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn LoadJson (fileName: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Generic` and `Lifetime` are never constructed [INFO] [stdout] --> src/TokenInfo.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum OutlineType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 166 | Lifetime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutlineType` 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: fields `resultType` and `public` are never read [INFO] [stdout] --> src/TokenInfo.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct OutlineKeyword { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 175 | pub resultType: Option , // for function outputs [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub public: Option , // true == public; false == private (or None) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutlineKeyword` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/languageServer.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | fn GetResponse (&mut self) -> std::borrow::Cow { [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] 130 | fn GetResponse (&mut self) -> std::borrow::Cow <'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "00e437ac5774d79f1ad613f23e3b058e368ced5c8743ca08a2567e03d514fc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e437ac5774d79f1ad613f23e3b058e368ced5c8743ca08a2567e03d514fc63", kill_on_drop: false }` [INFO] [stdout] 00e437ac5774d79f1ad613f23e3b058e368ced5c8743ca08a2567e03d514fc63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89e046f8caaa3d26decbf92d87024e5203601c6bc9d79e89e10b907465a1163e [INFO] running `Command { std: "docker" "start" "-a" "89e046f8caaa3d26decbf92d87024e5203601c6bc9d79e89e10b907465a1163e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crossterm::tty::IsTty` [INFO] [stderr] --> src/languageServer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crossterm::tty::IsTty; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/languageServer.rs:415:17 [INFO] [stderr] | [INFO] [stderr] 415 | let request = self.GetRequest(&event); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/CodeTabs.rs:1597:13 [INFO] [stderr] | [INFO] [stderr] 1596 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] 1597 | / for _ in 0..self.shiftCache as usize { [INFO] [stderr] 1598 | | self.scrollCache.remove(0); [INFO] [stderr] 1599 | | self.resetCache.remove(0); [INFO] [stderr] 1600 | | self.resetCache.push(true); [INFO] [stderr] 1601 | | } [INFO] [stderr] | |_____________^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/CodeTabs.rs:1605:13 [INFO] [stderr] | [INFO] [stderr] 1604 | return; [INFO] [stderr] | ------ any code following this expression is unreachable [INFO] [stderr] 1605 | / for _ in 0..(-self.shiftCache) as usize { [INFO] [stderr] 1606 | | let size = self.scrollCache.len() - 1; [INFO] [stderr] 1607 | | self.scrollCache.remove(size); [INFO] [stderr] ... | [INFO] [stderr] 1610 | | } [INFO] [stderr] | |_____________^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pathway` [INFO] [stderr] --> src/languageServer.rs:246:36 [INFO] [stderr] | [INFO] [stderr] 246 | RustEvents::Workspace (pathway) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathway` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/languageServer.rs:250:39 [INFO] [stderr] | [INFO] [stderr] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/languageServer.rs:250:46 [INFO] [stderr] | [INFO] [stderr] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:250:51 [INFO] [stderr] | [INFO] [stderr] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/languageServer.rs:250:62 [INFO] [stderr] | [INFO] [stderr] 250 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:262:32 [INFO] [stderr] | [INFO] [stderr] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:262:38 [INFO] [stderr] | [INFO] [stderr] 262 | RustEvents::Hover (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:274:37 [INFO] [stderr] | [INFO] [stderr] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:274:43 [INFO] [stderr] | [INFO] [stderr] 274 | RustEvents::Completion (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:278:41 [INFO] [stderr] | [INFO] [stderr] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:278:47 [INFO] [stderr] | [INFO] [stderr] 278 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/languageServer.rs:282:37 [INFO] [stderr] | [INFO] [stderr] 282 | RustEvents::OpenedFile (path) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filePath` [INFO] [stderr] --> src/languageServer.rs:296:36 [INFO] [stderr] | [INFO] [stderr] 296 | RustEvents::Workspace (filePath) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/languageServer.rs:300:39 [INFO] [stderr] | [INFO] [stderr] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/languageServer.rs:300:46 [INFO] [stderr] | [INFO] [stderr] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:300:51 [INFO] [stderr] | [INFO] [stderr] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `text` [INFO] [stderr] --> src/languageServer.rs:300:62 [INFO] [stderr] | [INFO] [stderr] 300 | RustEvents::UpdatedLines (start, end, charIndex, text) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:303:32 [INFO] [stderr] | [INFO] [stderr] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:303:38 [INFO] [stderr] | [INFO] [stderr] 303 | RustEvents::Hover (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:315:37 [INFO] [stderr] | [INFO] [stderr] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:315:43 [INFO] [stderr] | [INFO] [stderr] 315 | RustEvents::Completion (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line` [INFO] [stderr] --> src/languageServer.rs:319:41 [INFO] [stderr] | [INFO] [stderr] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `charIndex` [INFO] [stderr] --> src/languageServer.rs:319:47 [INFO] [stderr] | [INFO] [stderr] 319 | RustEvents::GotoDefinition (line, charIndex) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_charIndex` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/languageServer.rs:323:37 [INFO] [stderr] | [INFO] [stderr] 323 | RustEvents::OpenedFile (path) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/languageServer.rs:290:43 [INFO] [stderr] | [INFO] [stderr] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filePath` [INFO] [stderr] --> src/languageServer.rs:290:61 [INFO] [stderr] | [INFO] [stderr] 290 | fn ParseResponse (event: &RustEvents, response: String, filePath: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filePath` [INFO] [stderr] [INFO] [stderr] warning: fields `command`, `default`, and `highlight` are never read [INFO] [stderr] --> src/Colors.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct ColorBindings <'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub command: ColorType, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 19 | pub default: ColorType, // for default items (usually white) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | pub highlight: ColorType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ColorBindings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `LoadJson` is never used [INFO] [stderr] --> src/DataManager.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn LoadJson (fileName: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Generic` and `Lifetime` are never constructed [INFO] [stderr] --> src/TokenInfo.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 158 | pub enum OutlineType { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 165 | Generic, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 166 | Lifetime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OutlineType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `resultType` and `public` are never read [INFO] [stderr] --> src/TokenInfo.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 171 | pub struct OutlineKeyword { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 175 | pub resultType: Option , // for function outputs [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub public: Option , // true == public; false == private (or None) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OutlineKeyword` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/languageServer.rs:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | fn GetResponse (&mut self) -> std::borrow::Cow { [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] 130 | fn GetResponse (&mut self) -> std::borrow::Cow <'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `TermEdit` (bin "TermEdit" test) generated 35 warnings (run `cargo fix --bin "TermEdit" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/TermEdit-ead0a5c2d069a893) [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" "89e046f8caaa3d26decbf92d87024e5203601c6bc9d79e89e10b907465a1163e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e046f8caaa3d26decbf92d87024e5203601c6bc9d79e89e10b907465a1163e", kill_on_drop: false }` [INFO] [stdout] 89e046f8caaa3d26decbf92d87024e5203601c6bc9d79e89e10b907465a1163e