[INFO] cloning repository https://github.com/monaqa/satysfi-language-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monaqa/satysfi-language-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Fsatysfi-language-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Fsatysfi-language-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c48b59c248b5e4deb6dc9cd6a2a0df27af53bbce [INFO] building monaqa/satysfi-language-server against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonaqa%2Fsatysfi-language-server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/monaqa/satysfi-language-server on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/monaqa/satysfi-language-server [INFO] finished tweaking git repo https://github.com/monaqa/satysfi-language-server [INFO] tweaked toml for git repo https://github.com/monaqa/satysfi-language-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/monaqa/satysfi-language-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lsp-types v0.91.1 [INFO] [stderr] Downloaded lspower-macros v0.2.1 [INFO] [stderr] Downloaded satysfi-parser v0.0.3 [INFO] [stderr] Downloaded lspower v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e1db9b962cb6d866ed4d00f30bae8b07e3e15d5e1846458baabc52728c53133 [INFO] running `Command { std: "docker" "start" "-a" "3e1db9b962cb6d866ed4d00f30bae8b07e3e15d5e1846458baabc52728c53133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e1db9b962cb6d866ed4d00f30bae8b07e3e15d5e1846458baabc52728c53133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1db9b962cb6d866ed4d00f30bae8b07e3e15d5e1846458baabc52728c53133", kill_on_drop: false }` [INFO] [stdout] 3e1db9b962cb6d866ed4d00f30bae8b07e3e15d5e1846458baabc52728c53133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76bbdb36acb65d8456c6d219544f24e5481e311ec32417702fab7a5a8a4487af [INFO] running `Command { std: "docker" "start" "-a" "76bbdb36acb65d8456c6d219544f24e5481e311ec32417702fab7a5a8a4487af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simplelog v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling lspower-macros v0.2.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling satysfi-parser v0.0.3 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling lsp-types v0.91.1 [INFO] [stderr] Compiling lspower v1.4.0 [INFO] [stderr] Compiling satysfi-language-server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `info` [INFO] [stdout] --> src/language_server/completion.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/documents.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/documents.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use lspower::lsp::{Position, Url}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_text` [INFO] [stdout] --> src/documents.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | program_text, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `program_text: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_modules` [INFO] [stdout] --> src/documents.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_modules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `diagnostics` are never read [INFO] [stdout] --> src/language_server.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | /// A collection of diagnostics from different sources. [INFO] [stdout] 82 | diagnostics: DiagnosticCollection, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/language_server/diagnostics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiagnosticCollection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 11 | map: HashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCollection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Variant` is never constructed [INFO] [stdout] --> src/documents.rs:1105:5 [INFO] [stdout] | [INFO] [stdout] 1096 | pub enum ComponentBody { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1105 | Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/documents.rs:1143:5 [INFO] [stdout] | [INFO] [stdout] 1140 | pub struct OpenModule { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1143 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types` is never used [INFO] [stdout] --> src/documents.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn types(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/documents.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn variants(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types_external` is never used [INFO] [stdout] --> src/documents.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn types_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants_external` is never used [INFO] [stdout] --> src/documents.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map_types` is never used [INFO] [stdout] --> src/documents.rs:668:8 [INFO] [stdout] | [INFO] [stdout] 668 | fn map_types<'b>(&self, program_text: &'b ProgramText) -> HashMap<&'b str, &Signature> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "76bbdb36acb65d8456c6d219544f24e5481e311ec32417702fab7a5a8a4487af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bbdb36acb65d8456c6d219544f24e5481e311ec32417702fab7a5a8a4487af", kill_on_drop: false }` [INFO] [stdout] 76bbdb36acb65d8456c6d219544f24e5481e311ec32417702fab7a5a8a4487af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f7120873ab2506f4d0e98a9f7b638338a369763525b6a5b3cee16fbc99b1a59 [INFO] running `Command { std: "docker" "start" "-a" "5f7120873ab2506f4d0e98a9f7b638338a369763525b6a5b3cee16fbc99b1a59", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `debug`, `info` [INFO] [stdout] --> src/language_server/completion.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/documents.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/documents.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use lspower::lsp::{Position, Url}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_text` [INFO] [stdout] --> src/documents.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | program_text, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `program_text: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_modules` [INFO] [stdout] --> src/documents.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_modules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `diagnostics` are never read [INFO] [stdout] --> src/language_server.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | /// A collection of diagnostics from different sources. [INFO] [stdout] 82 | diagnostics: DiagnosticCollection, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/language_server/diagnostics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiagnosticCollection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 11 | map: HashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCollection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Variant` is never constructed [INFO] [stdout] --> src/documents.rs:1105:5 [INFO] [stdout] | [INFO] [stdout] 1096 | pub enum ComponentBody { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1105 | Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling satysfi-language-server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/documents.rs:1143:5 [INFO] [stdout] | [INFO] [stdout] 1140 | pub struct OpenModule { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1143 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types` is never used [INFO] [stdout] --> src/documents.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn types(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/documents.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn variants(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types_external` is never used [INFO] [stdout] --> src/documents.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn types_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants_external` is never used [INFO] [stdout] --> src/documents.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map_types` is never used [INFO] [stdout] --> src/documents.rs:668:8 [INFO] [stdout] | [INFO] [stdout] 668 | fn map_types<'b>(&self, program_text: &'b ProgramText) -> HashMap<&'b str, &Signature> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info` [INFO] [stdout] --> src/language_server/completion.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/documents.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/documents.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use lspower::lsp::{Position, Url}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_text` [INFO] [stdout] --> src/documents.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | program_text, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `program_text: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_modules` [INFO] [stdout] --> src/documents.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_modules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `diagnostics` are never read [INFO] [stdout] --> src/language_server.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | /// A collection of diagnostics from different sources. [INFO] [stdout] 82 | diagnostics: DiagnosticCollection, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Inner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> src/language_server/diagnostics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DiagnosticCollection { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 11 | map: HashMap>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCollection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Variant` is never constructed [INFO] [stdout] --> src/documents.rs:1105:5 [INFO] [stdout] | [INFO] [stdout] 1096 | pub enum ComponentBody { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 1105 | Variant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/documents.rs:1143:5 [INFO] [stdout] | [INFO] [stdout] 1140 | pub struct OpenModule { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1143 | url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpenModule` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types` is never used [INFO] [stdout] --> src/documents.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn types(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants` is never used [INFO] [stdout] --> src/documents.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn variants(&self) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `types_external` is never used [INFO] [stdout] --> src/documents.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 362 | pub fn types_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `variants_external` is never used [INFO] [stdout] --> src/documents.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn variants_external(&self, open_modules: &[String]) -> Vec<&Component> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `map_types` is never used [INFO] [stdout] --> src/documents.rs:668:8 [INFO] [stdout] | [INFO] [stdout] 668 | fn map_types<'b>(&self, program_text: &'b ProgramText) -> HashMap<&'b str, &Signature> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "5f7120873ab2506f4d0e98a9f7b638338a369763525b6a5b3cee16fbc99b1a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f7120873ab2506f4d0e98a9f7b638338a369763525b6a5b3cee16fbc99b1a59", kill_on_drop: false }` [INFO] [stdout] 5f7120873ab2506f4d0e98a9f7b638338a369763525b6a5b3cee16fbc99b1a59