[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] building AndrewDMorgan/TermEdit--Bad-Terminal-Editor against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewDMorgan%2FTermEdit--Bad-Terminal-Editor" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AndrewDMorgan/TermEdit--Bad-Terminal-Editor on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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.92.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua-sys v0.6.8 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded windows-targets v0.53.4 [INFO] [stderr] Downloaded libloading v0.8.9 [INFO] [stderr] Downloaded clipboard-win v5.4.1 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded gethostname v1.0.2 [INFO] [stderr] Downloaded arboard v3.6.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.21 [INFO] [stderr] Downloaded vte v0.15.0 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded x11rb v0.13.2 [INFO] [stderr] Downloaded mlua v0.10.5 [INFO] [stderr] Downloaded image v0.25.8 [INFO] [stderr] Downloaded objc2 v0.6.2 [INFO] [stderr] Downloaded x11rb-protocol v0.13.2 [INFO] [stderr] Downloaded luau0-src v0.12.3+luau663 [INFO] [stderr] Downloaded pxfm v0.1.24 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c6e01c8f950ec10d136dff62bf3ea736b2e0f3788c847b128a405d39b2cdd2 [INFO] running `Command { std: "docker" "start" "-a" "82c6e01c8f950ec10d136dff62bf3ea736b2e0f3788c847b128a405d39b2cdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c6e01c8f950ec10d136dff62bf3ea736b2e0f3788c847b128a405d39b2cdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c6e01c8f950ec10d136dff62bf3ea736b2e0f3788c847b128a405d39b2cdd2", kill_on_drop: false }` [INFO] [stdout] 82c6e01c8f950ec10d136dff62bf3ea736b2e0f3788c847b128a405d39b2cdd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fd2868b4acb718a1f1b51a9cde9206001edf557ae97233e6675070e62cfc8af [INFO] running `Command { std: "docker" "start" "-a" "6fd2868b4acb718a1f1b51a9cde9206001edf557ae97233e6675070e62cfc8af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling vte v0.15.0 [INFO] [stderr] Compiling luau0-src v0.12.3+luau663 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mlua-sys v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [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 21s [INFO] running `Command { std: "docker" "inspect" "6fd2868b4acb718a1f1b51a9cde9206001edf557ae97233e6675070e62cfc8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd2868b4acb718a1f1b51a9cde9206001edf557ae97233e6675070e62cfc8af", kill_on_drop: false }` [INFO] [stdout] 6fd2868b4acb718a1f1b51a9cde9206001edf557ae97233e6675070e62cfc8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9419c8e273dea8758058946c8ee376e0a802e40af30cf7e6b254678e8fa4be4f [INFO] running `Command { std: "docker" "start" "-a" "9419c8e273dea8758058946c8ee376e0a802e40af30cf7e6b254678e8fa4be4f", 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.87s [INFO] running `Command { std: "docker" "inspect" "9419c8e273dea8758058946c8ee376e0a802e40af30cf7e6b254678e8fa4be4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9419c8e273dea8758058946c8ee376e0a802e40af30cf7e6b254678e8fa4be4f", kill_on_drop: false }` [INFO] [stdout] 9419c8e273dea8758058946c8ee376e0a802e40af30cf7e6b254678e8fa4be4f