[INFO] cloning repository https://github.com/tolziplohu/pika [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tolziplohu/pika" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fpika", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fpika'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52d90d5e00460f7a328c5e2b0231f6bd8992a13f [INFO] checking tolziplohu/pika against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fpika" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tolziplohu/pika on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tolziplohu/pika [INFO] finished tweaking git repo https://github.com/tolziplohu/pika [INFO] tweaked toml for git repo https://github.com/tolziplohu/pika written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tolziplohu/pika already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rowan v0.15.11 [INFO] [stderr] Downloaded salsa-macros v0.16.0 [INFO] [stderr] Downloaded ariadne v0.3.0 [INFO] [stderr] Downloaded lsp-types v0.94.1 [INFO] [stderr] Downloaded lsp-server v0.7.4 [INFO] [stderr] Downloaded str_indices v0.4.1 [INFO] [stderr] Downloaded salsa v0.16.1 [INFO] [stderr] Downloaded ropey v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57aacc69223faecdec53c3e6136d6c3211d88634977d7610b56e5a0e3efbdba0 [INFO] running `Command { std: "docker" "start" "-a" "57aacc69223faecdec53c3e6136d6c3211d88634977d7610b56e5a0e3efbdba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57aacc69223faecdec53c3e6136d6c3211d88634977d7610b56e5a0e3efbdba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57aacc69223faecdec53c3e6136d6c3211d88634977d7610b56e5a0e3efbdba0", kill_on_drop: false }` [INFO] [stdout] 57aacc69223faecdec53c3e6136d6c3211d88634977d7610b56e5a0e3efbdba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1876009dc8a1d34a23a87295bb91ccffcaefba899d9e0996e7f4b477c22d7b35 [INFO] running `Command { std: "docker" "start" "-a" "1876009dc8a1d34a23a87295bb91ccffcaefba899d9e0996e7f4b477c22d7b35", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking str_indices v0.4.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ropey v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking rowan v0.15.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking lsp-server v0.7.4 [INFO] [stderr] Checking pika2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/elab/var.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/parsing/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SplitId` is imported redundantly [INFO] [stdout] --> src/parsing/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{lexer::*, SplitId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ---------------- the item `SplitId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParserExt` is imported redundantly [INFO] [stdout] --> src/server.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `ParserExt` is already imported here [INFO] [stdout] 12 | use crate::elab::{ElabDatabase, Elaborator}; [INFO] [stdout] 13 | use crate::parsing::{Parser, ParserDatabase, ParserExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/elab/var.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/parsing/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SplitId` is imported redundantly [INFO] [stdout] --> src/parsing/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{lexer::*, SplitId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ---------------- the item `SplitId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParserExt` is imported redundantly [INFO] [stdout] --> src/server.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `ParserExt` is already imported here [INFO] [stdout] 12 | use crate::elab::{ElabDatabase, Elaborator}; [INFO] [stdout] 13 | use crate::parsing::{Parser, ParserDatabase, ParserExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/elab/pattern.rs:615:61 [INFO] [stdout] | [INFO] [stdout] 615 | fn column_select_heuristic(&self, top_row: &input::Row, rows: &[input::Row]) -> PVar { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/elab/pattern.rs:615:61 [INFO] [stdout] | [INFO] [stdout] 615 | fn column_select_heuristic(&self, top_row: &input::Row, rows: &[input::Row]) -> PVar { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/pattern.rs:1429:9 [INFO] [stdout] | [INFO] [stdout] 1429 | env: &mut HashMap, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/elab/pattern.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | params: &mut Vec>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/pattern.rs:1429:9 [INFO] [stdout] | [INFO] [stdout] 1429 | env: &mut HashMap, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/elab/pattern.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | params: &mut Vec>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/val.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn app(mut self, x: Elim, env: &mut Env) -> Val { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/val.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn app(mut self, x: Elim, env: &mut Env) -> Val { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_response(&mut self, msg: lsp::Response) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/server.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let (id, params): (_, GotoDefinitionParams) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fallback_repr` is never used [INFO] [stdout] --> src/common.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Def { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 45 | pub fn fallback_repr(self, db: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `def_file` is never used [INFO] [stdout] --> src/elab/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn def_file(db: &dyn Elaborator, def: Def) -> File { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/elab/mod.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 443 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SpineNonVariable` and `SpineDuplicate` are never constructed [INFO] [stdout] --> src/elab/metas.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum MetaSolveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | SpineNonVariable(Expr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | SpineNonApp(Elim), [INFO] [stdout] 181 | SpineDuplicate(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F64` and `F32` are never constructed [INFO] [stdout] --> src/elab/term.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 192 | F64(u64), [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | /// Stores a u32 representation of the bits of the f32 [INFO] [stdout] 194 | F32(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: associated function `zero` is never used [INFO] [stdout] --> src/elab/var.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Idx { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn zero() -> Idx { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/elab/var.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Lvl { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 35 | pub fn as_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/elab/var.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inaccessible` is never used [INFO] [stdout] --> src/parsing/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait ParserExt: Parser { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn inaccessible(&self, name: SName) -> SName { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unexpected` and `Other` are never constructed [INFO] [stdout] --> src/parsing/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Expected(Cow<'static, str>, Option>), [INFO] [stdout] 11 | Unexpected(Cow<'static, str>, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | NonAssoc(Tok, Tok, RelSpan), [INFO] [stdout] 13 | Other(Cow<'static, str>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `COLOR5` and `is_empty` are never used [INFO] [stdout] --> src/pretty.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 58 | impl Doc { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub const COLOR5: ariadne::Color = ariadne::Color::Fixed(158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | [INFO] [stdout] 67 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialization_params` is never read [INFO] [stdout] --> src/server.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | initialization_params: InitializeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_response(&mut self, msg: lsp::Response) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/server.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let (id, params): (_, GotoDefinitionParams) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fallback_repr` is never used [INFO] [stdout] --> src/common.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Def { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 45 | pub fn fallback_repr(self, db: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `def_file` is never used [INFO] [stdout] --> src/elab/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn def_file(db: &dyn Elaborator, def: Def) -> File { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/elab/mod.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 443 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SpineNonVariable` and `SpineDuplicate` are never constructed [INFO] [stdout] --> src/elab/metas.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum MetaSolveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | SpineNonVariable(Expr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | SpineNonApp(Elim), [INFO] [stdout] 181 | SpineDuplicate(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F64` and `F32` are never constructed [INFO] [stdout] --> src/elab/term.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 192 | F64(u64), [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | /// Stores a u32 representation of the bits of the f32 [INFO] [stdout] 194 | F32(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: associated function `zero` is never used [INFO] [stdout] --> src/elab/var.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Idx { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn zero() -> Idx { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/elab/var.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Lvl { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 35 | pub fn as_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/elab/var.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inaccessible` is never used [INFO] [stdout] --> src/parsing/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait ParserExt: Parser { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn inaccessible(&self, name: SName) -> SName { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unexpected` and `Other` are never constructed [INFO] [stdout] --> src/parsing/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Expected(Cow<'static, str>, Option>), [INFO] [stdout] 11 | Unexpected(Cow<'static, str>, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | NonAssoc(Tok, Tok, RelSpan), [INFO] [stdout] 13 | Other(Cow<'static, str>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `COLOR5` and `is_empty` are never used [INFO] [stdout] --> src/pretty.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 58 | impl Doc { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub const COLOR5: ariadne::Color = ariadne::Color::Fixed(158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | [INFO] [stdout] 67 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialization_params` is never read [INFO] [stdout] --> src/server.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | initialization_params: InitializeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.05s [INFO] running `Command { std: "docker" "inspect" "1876009dc8a1d34a23a87295bb91ccffcaefba899d9e0996e7f4b477c22d7b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1876009dc8a1d34a23a87295bb91ccffcaefba899d9e0996e7f4b477c22d7b35", kill_on_drop: false }` [INFO] [stdout] 1876009dc8a1d34a23a87295bb91ccffcaefba899d9e0996e7f4b477c22d7b35 [INFO] checking tolziplohu/pika against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftolziplohu%2Fpika" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tolziplohu/pika on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tolziplohu/pika [INFO] finished tweaking git repo https://github.com/tolziplohu/pika [INFO] tweaked toml for git repo https://github.com/tolziplohu/pika written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tolziplohu/pika already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d94681bb40250e22b9dfacd376550b188945d6dd56e02857e7a01cadb1b27d8 [INFO] running `Command { std: "docker" "start" "-a" "0d94681bb40250e22b9dfacd376550b188945d6dd56e02857e7a01cadb1b27d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d94681bb40250e22b9dfacd376550b188945d6dd56e02857e7a01cadb1b27d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d94681bb40250e22b9dfacd376550b188945d6dd56e02857e7a01cadb1b27d8", kill_on_drop: false }` [INFO] [stdout] 0d94681bb40250e22b9dfacd376550b188945d6dd56e02857e7a01cadb1b27d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b32afe05bb3c0750497573b0c7d9f2ab898ec3fe035f9419d02ab6740a395c [INFO] running `Command { std: "docker" "start" "-a" "17b32afe05bb3c0750497573b0c7d9f2ab898ec3fe035f9419d02ab6740a395c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking str_indices v0.4.1 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking ropey v1.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking rowan v0.15.11 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling salsa-macros v0.16.0 [INFO] [stderr] Checking salsa v0.16.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking lsp-server v0.7.4 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking pika2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/elab/var.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/parsing/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SplitId` is imported redundantly [INFO] [stdout] --> src/parsing/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{lexer::*, SplitId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ---------------- the item `SplitId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParserExt` is imported redundantly [INFO] [stdout] --> src/server.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `ParserExt` is already imported here [INFO] [stdout] 12 | use crate::elab::{ElabDatabase, Elaborator}; [INFO] [stdout] 13 | use crate::parsing::{Parser, ParserDatabase, ParserExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ariadne::Fmt` [INFO] [stdout] --> src/common.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use ariadne::Fmt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/elab/var.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VecDeque` is imported redundantly [INFO] [stdout] --> src/parsing/lexer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::common::*; [INFO] [stdout] | ---------------- the item `VecDeque` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SplitId` is imported redundantly [INFO] [stdout] --> src/parsing/parser.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{lexer::*, SplitId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | use crate::common::*; [INFO] [stdout] | ---------------- the item `SplitId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ParserExt` is imported redundantly [INFO] [stdout] --> src/server.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::common::*; [INFO] [stdout] | ---------------- the item `ParserExt` is already imported here [INFO] [stdout] 12 | use crate::elab::{ElabDatabase, Elaborator}; [INFO] [stdout] 13 | use crate::parsing::{Parser, ParserDatabase, ParserExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/elab/pattern.rs:615:61 [INFO] [stdout] | [INFO] [stdout] 615 | fn column_select_heuristic(&self, top_row: &input::Row, rows: &[input::Row]) -> PVar { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/pattern.rs:1429:9 [INFO] [stdout] | [INFO] [stdout] 1429 | env: &mut HashMap, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/elab/pattern.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | params: &mut Vec>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/elab/pattern.rs:615:61 [INFO] [stdout] | [INFO] [stdout] 615 | fn column_select_heuristic(&self, top_row: &input::Row, rows: &[input::Row]) -> PVar { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/val.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn app(mut self, x: Elim, env: &mut Env) -> Val { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/pattern.rs:1429:9 [INFO] [stdout] | [INFO] [stdout] 1429 | env: &mut HashMap, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/elab/pattern.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | params: &mut Vec>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/elab/val.rs:305:40 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn app(mut self, x: Elim, env: &mut Env) -> Val { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_response(&mut self, msg: lsp::Response) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/server.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let (id, params): (_, GotoDefinitionParams) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fallback_repr` is never used [INFO] [stdout] --> src/common.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Def { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 45 | pub fn fallback_repr(self, db: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `def_file` is never used [INFO] [stdout] --> src/elab/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn def_file(db: &dyn Elaborator, def: Def) -> File { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/elab/mod.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 443 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SpineNonVariable` and `SpineDuplicate` are never constructed [INFO] [stdout] --> src/elab/metas.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum MetaSolveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | SpineNonVariable(Expr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | SpineNonApp(Elim), [INFO] [stdout] 181 | SpineDuplicate(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F64` and `F32` are never constructed [INFO] [stdout] --> src/elab/term.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 192 | F64(u64), [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | /// Stores a u32 representation of the bits of the f32 [INFO] [stdout] 194 | F32(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: associated function `zero` is never used [INFO] [stdout] --> src/elab/var.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Idx { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn zero() -> Idx { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/elab/var.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Lvl { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 35 | pub fn as_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/elab/var.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inaccessible` is never used [INFO] [stdout] --> src/parsing/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait ParserExt: Parser { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn inaccessible(&self, name: SName) -> SName { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unexpected` and `Other` are never constructed [INFO] [stdout] --> src/parsing/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Expected(Cow<'static, str>, Option>), [INFO] [stdout] 11 | Unexpected(Cow<'static, str>, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | NonAssoc(Tok, Tok, RelSpan), [INFO] [stdout] 13 | Other(Cow<'static, str>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `COLOR5` and `is_empty` are never used [INFO] [stdout] --> src/pretty.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 58 | impl Doc { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub const COLOR5: ariadne::Color = ariadne::Color::Fixed(158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | [INFO] [stdout] 67 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialization_params` is never read [INFO] [stdout] --> src/server.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | initialization_params: InitializeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_response(&mut self, msg: lsp::Response) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/server.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | let (id, params): (_, GotoDefinitionParams) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fallback_repr` is never used [INFO] [stdout] --> src/common.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Def { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 45 | pub fn fallback_repr(self, db: &T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `def_file` is never used [INFO] [stdout] --> src/elab/mod.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn def_file(db: &dyn Elaborator, def: Def) -> File { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/elab/mod.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 443 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SpineNonVariable` and `SpineDuplicate` are never constructed [INFO] [stdout] --> src/elab/metas.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum MetaSolveError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 179 | SpineNonVariable(Expr), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | SpineNonApp(Elim), [INFO] [stdout] 181 | SpineDuplicate(Name), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F64` and `F32` are never constructed [INFO] [stdout] --> src/elab/term.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 186 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 192 | F64(u64), [INFO] [stdout] | ^^^ [INFO] [stdout] 193 | /// Stores a u32 representation of the bits of the f32 [INFO] [stdout] 194 | F32(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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: associated function `zero` is never used [INFO] [stdout] --> src/elab/var.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Idx { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn zero() -> Idx { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_u32` is never used [INFO] [stdout] --> src/elab/var.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Lvl { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 35 | pub fn as_u32(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/elab/var.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Env { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inaccessible` is never used [INFO] [stdout] --> src/parsing/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait ParserExt: Parser { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 130 | fn inaccessible(&self, name: SName) -> SName { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unexpected` and `Other` are never constructed [INFO] [stdout] --> src/parsing/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 10 | Expected(Cow<'static, str>, Option>), [INFO] [stdout] 11 | Unexpected(Cow<'static, str>, Option>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | NonAssoc(Tok, Tok, RelSpan), [INFO] [stdout] 13 | Other(Cow<'static, str>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `COLOR5` and `is_empty` are never used [INFO] [stdout] --> src/pretty.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 58 | impl Doc { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub const COLOR5: ariadne::Color = ariadne::Color::Fixed(158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 66 | [INFO] [stdout] 67 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initialization_params` is never read [INFO] [stdout] --> src/server.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | initialization_params: InitializeParams, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.04s [INFO] running `Command { std: "docker" "inspect" "17b32afe05bb3c0750497573b0c7d9f2ab898ec3fe035f9419d02ab6740a395c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b32afe05bb3c0750497573b0c7d9f2ab898ec3fe035f9419d02ab6740a395c", kill_on_drop: false }` [INFO] [stdout] 17b32afe05bb3c0750497573b0c7d9f2ab898ec3fe035f9419d02ab6740a395c