[INFO] cloning repository https://github.com/commonkestrel/fate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/commonkestrel/fate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Ffate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Ffate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e30e6be94b384fb24893307cca7fae5e48d37f22 [INFO] checking commonkestrel/fate/e30e6be94b384fb24893307cca7fae5e48d37f22 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcommonkestrel%2Ffate" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/commonkestrel/fate on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/commonkestrel/fate [INFO] finished tweaking git repo https://github.com/commonkestrel/fate [INFO] tweaked toml for git repo https://github.com/commonkestrel/fate written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/commonkestrel/fate 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded auto_impl v1.1.2 [INFO] [stderr] Downloaded winnow v0.5.39 [INFO] [stderr] Downloaded toml_edit v0.22.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba2a5121705a32e92887a3ea7383f48a8873023bb4605284a5f46eb0221e96c [INFO] running `Command { std: "docker" "start" "-a" "cba2a5121705a32e92887a3ea7383f48a8873023bb4605284a5f46eb0221e96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba2a5121705a32e92887a3ea7383f48a8873023bb4605284a5f46eb0221e96c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba2a5121705a32e92887a3ea7383f48a8873023bb4605284a5f46eb0221e96c", kill_on_drop: false }` [INFO] [stdout] cba2a5121705a32e92887a3ea7383f48a8873023bb4605284a5f46eb0221e96c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcaf3bc819855bb8507559501c480fee69079f0af133afaf13f3e51c265d0fcb [INFO] running `Command { std: "docker" "start" "-a" "dcaf3bc819855bb8507559501c480fee69079f0af133afaf13f3e51c265d0fcb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking value-bag v1.7.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking futures-lite v2.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking winnow v0.5.39 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Compiling auto_impl v1.1.2 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Checking async-codec-lite v0.0.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-io v2.3.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.4 [INFO] [stderr] Checking git2 v0.18.2 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking toml v0.8.10 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking fate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/build.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | cfg::{Config, ConfigError, ProjectType}, debug, error [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `spanned_debug` [INFO] [stdout] --> src/build/syntax/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | spanned_debug, spanned_error, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/build.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | cfg::{Config, ConfigError, ProjectType}, debug, error [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `spanned_debug` [INFO] [stdout] --> src/build/syntax/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | spanned_debug, spanned_error, Token, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeBounds`, `RangeInclusive`, and `collections::HashMap` [INFO] [stdout] --> src/build/syntax/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ops::{Deref, Range, RangeBounds, RangeInclusive}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeBounds`, `RangeInclusive`, and `collections::HashMap` [INFO] [stdout] --> src/build/syntax/parse.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | ops::{Deref, Range, RangeBounds, RangeInclusive}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Break`, `Comma`, `Continue`, `DoubleColon`, `Eq`, `Expr`, `For`, `Let`, `Mut`, `Return`, `Semicolon`, and `self` [INFO] [stdout] --> src/build/syntax/parse.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | ast::{Enum, Expr, FnDefinition, Interface, Static, Struct, Union, Use, Visibility}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | lex::{self, Delimeter, Keyword, Punctuation, Token, TokenStream}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | token::{ [INFO] [stdout] 13 | Break, CloseBrace, CloseBracket, CloseParen, Comma, Continue, DoubleColon, Eq, For, Gt, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^ ^^^ [INFO] [stdout] 14 | Ident, Let, Lt, Mut, OpenBrace, OpenBracket, OpenParen, Return, Semicolon, [INFO] [stdout] | ^^^ ^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Break`, `Comma`, `Continue`, `DoubleColon`, `Eq`, `Expr`, `For`, `Let`, `Mut`, `Return`, `Semicolon`, and `self` [INFO] [stdout] --> src/build/syntax/parse.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | ast::{Enum, Expr, FnDefinition, Interface, Static, Struct, Union, Use, Visibility}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | lex::{self, Delimeter, Keyword, Punctuation, Token, TokenStream}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | token::{ [INFO] [stdout] 13 | Break, CloseBrace, CloseBracket, CloseParen, Comma, Continue, DoubleColon, Eq, For, Gt, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^ ^^^ [INFO] [stdout] 14 | Ident, Let, Lt, Mut, OpenBrace, OpenBracket, OpenParen, Return, Semicolon, [INFO] [stdout] | ^^^ ^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `spanned_debug`, and `warn` [INFO] [stdout] --> src/build/syntax/parse.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | ...olTable, debug, diagnostic::{Diagnostic, Reporter}, error, span::{Lookup, Span, Spanned}, spanned_debug, spanned_error, warn, Token [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `spanned_debug`, and `warn` [INFO] [stdout] --> src/build/syntax/parse.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | ...olTable, debug, diagnostic::{Diagnostic, Reporter}, error, span::{Lookup, Span, Spanned}, spanned_debug, spanned_error, warn, Token [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/build/syntax/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error, spanned_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/build/syntax/token.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{error, spanned_error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ast::typed` [INFO] [stdout] --> src/build/frontend/type_resolution.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::ast::typed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ast::typed` [INFO] [stdout] --> src/build/frontend/type_resolution.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::ast::typed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/build.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reporter` [INFO] [stdout] --> src/build.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/build.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reporter` [INFO] [stdout] --> src/build.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let (namespace, mut reporter) = match parse::parse( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lsp.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn start(args: LspArgs) -> Result<(), LspError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lsp.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn start(args: LspArgs) -> Result<(), LspError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/build/syntax/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | slice::SliceIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/build/deps.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn download_dependency(url: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/build/syntax/parse.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | slice::SliceIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/build/deps.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn download_dependency(url: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/build/syntax/ast.rs:932:38 [INFO] [stdout] | [INFO] [stdout] 932 | Expr::NamedConstructor { ident, fields } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `ident: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/build/syntax/ast.rs:1665:41 [INFO] [stdout] | [INFO] [stdout] 1665 | ... let description = tok.inner().description(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_span` [INFO] [stdout] --> src/build/syntax/ast.rs:1666:41 [INFO] [stdout] | [INFO] [stdout] 1666 | ... let next_span = tok.span().clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/build/syntax/ast.rs:932:38 [INFO] [stdout] | [INFO] [stdout] 932 | Expr::NamedConstructor { ident, fields } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `ident: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/build/syntax/ast.rs:1665:41 [INFO] [stdout] | [INFO] [stdout] 1665 | ... let description = tok.inner().description(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_span` [INFO] [stdout] --> src/build/syntax/ast.rs:1666:41 [INFO] [stdout] | [INFO] [stdout] 1666 | ... let next_span = tok.span().clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/build/syntax/lex.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/build/syntax/lex.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/build/syntax/lex.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_bytes` is never used [INFO] [stdout] --> src/build/ascii.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AsciiStr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn into_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepGraph` is never constructed [INFO] [stdout] --> src/build/depgraph.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DepGraph { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_node`, `register_dependency`, and `mark_resolved` are never used [INFO] [stdout] --> src/build/depgraph.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DepGraph { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 12 | pub fn register_node(&mut self, node: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn register_dependency(&mut self, node: T, dependency: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn mark_resolved(&self, node: &T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepGraphIterator` is never constructed [INFO] [stdout] --> src/build/depgraph.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DepGraphIterator<'a, T: Eq + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_dependency` is never used [INFO] [stdout] --> src/build/deps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn download_dependency(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fate_home` is never used [INFO] [stdout] --> src/build/deps.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn fate_home() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stream`, `peek2`, and `peek_offset` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn peek_offset(&self, offset: usize) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Bubble` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | pub trait Bubble { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | / delimeterized!( [INFO] [stdout] 466 | | "parenthesized", [INFO] [stdout] 467 | | Parenthesized, [INFO] [stdout] 468 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 473 | | "parenthesis" [INFO] [stdout] 474 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parenthesized` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | parenthesized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | / delimeterized!( [INFO] [stdout] 476 | | "bracketed", [INFO] [stdout] 477 | | Bracketed, [INFO] [stdout] 478 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 483 | | "bracket" [INFO] [stdout] 484 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracketed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | bracketed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | / delimeterized!( [INFO] [stdout] 486 | | "braced", [INFO] [stdout] 487 | | Braced, [INFO] [stdout] 488 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 493 | | "brace" [INFO] [stdout] 494 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `braced` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | braced, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | / delimeterized!( [INFO] [stdout] 496 | | "arrowed", [INFO] [stdout] 497 | | Arrowed, [INFO] [stdout] 498 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 503 | | "arrow" [INFO] [stdout] 504 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arrowed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | arrowed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `first` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 518 | impl Punctuated { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn resolve() {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reserve_ty`, `populate_ty`, `insert_ty`, and `insert_fn` are never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reserve_ty(&mut self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn populate_ty(&mut self, id: TypeId, value: Type) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn insert_ty(&mut self, value: Type) -> TypeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn insert_fn(&mut self, func: Function) -> FnId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `methods` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Type { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 98 | inner: TypeInner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | methods: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_method` is never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 103 | pub fn add_method(&mut self, ident: Spanned, func: FnId) -> Result<(), Diagnostic> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/build/frontend/type_resolution.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum TypeInner { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 123 | Struct(Struct), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | Enum(Enum), [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | Fn(FnSignature), [INFO] [stdout] | ^^ [INFO] [stdout] 126 | Pointer(Ptr), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 127 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 128 | Array(Array), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | Primitive(Primitive), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `fields` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Struct { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | fields: IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `varients` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 139 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | varients: IndexMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Void`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> src/build/frontend/type_resolution.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum Varient { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 144 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | Tuple(TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | Struct(IndexMap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vis`, `ident`, `params`, and `ret` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct FnSignature { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 150 | vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 151 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | ret: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Ptr { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 157 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `len` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Array { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 162 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 163 | len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LibDatabase` is never constructed [INFO] [stdout] --> src/build/frontend/lib_resolution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LibDatabase { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lib` is never constructed [INFO] [stdout] --> src/build/frontend/lib_resolution.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lib { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/build/frontend/ast/typed.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn resolve() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Namespace` is never constructed [INFO] [stdout] --> src/build/frontend/ast/typed.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Namespace {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Struct` is never constructed [INFO] [stdout] --> src/build/frontend/ast/typed.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Struct {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/build/backend/codegen.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_flib` is never used [INFO] [stdout] --> src/build/backend/linker.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_flib() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_bytes` is never used [INFO] [stdout] --> src/build/ascii.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AsciiStr { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn into_bytes(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepGraph` is never constructed [INFO] [stdout] --> src/build/depgraph.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DepGraph { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_node`, `register_dependency`, and `mark_resolved` are never used [INFO] [stdout] --> src/build/depgraph.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DepGraph { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 12 | pub fn register_node(&mut self, node: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn register_dependency(&mut self, node: T, dependency: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub async fn mark_resolved(&self, node: &T) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepGraphIterator` is never constructed [INFO] [stdout] --> src/build/depgraph.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DepGraphIterator<'a, T: Eq + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_dependency` is never used [INFO] [stdout] --> src/build/deps.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn download_dependency(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fate_home` is never used [INFO] [stdout] --> src/build/deps.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn fate_home() -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_string` is never used [INFO] [stdout] --> src/build/syntax/lex.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn lex_string(content: &str, source: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stream`, `peek2`, and `peek_offset` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl<'a> Cursor<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn stream(&self) -> &[Spanned] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn peek2(&self) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn peek_offset(&self, offset: usize) -> Option<&Spanned> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Bubble` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:304:11 [INFO] [stdout] | [INFO] [stdout] 304 | pub trait Bubble { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | / delimeterized!( [INFO] [stdout] 466 | | "parenthesized", [INFO] [stdout] 467 | | Parenthesized, [INFO] [stdout] 468 | | parenthesized, [INFO] [stdout] ... | [INFO] [stdout] 473 | | "parenthesis" [INFO] [stdout] 474 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parenthesized` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | parenthesized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | / delimeterized!( [INFO] [stdout] 476 | | "bracketed", [INFO] [stdout] 477 | | Bracketed, [INFO] [stdout] 478 | | bracketed, [INFO] [stdout] ... | [INFO] [stdout] 483 | | "bracket" [INFO] [stdout] 484 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracketed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | bracketed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | / delimeterized!( [INFO] [stdout] 486 | | "braced", [INFO] [stdout] 487 | | Braced, [INFO] [stdout] 488 | | braced, [INFO] [stdout] ... | [INFO] [stdout] 493 | | "brace" [INFO] [stdout] 494 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `braced` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | braced, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_inner` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 335 | impl $struct { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | / delimeterized!( [INFO] [stdout] 496 | | "arrowed", [INFO] [stdout] 497 | | Arrowed, [INFO] [stdout] 498 | | arrowed, [INFO] [stdout] ... | [INFO] [stdout] 503 | | "arrow" [INFO] [stdout] 504 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arrowed` is never used [INFO] [stdout] --> src/build/syntax/parse.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | arrowed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `delimeterized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `first` are never used [INFO] [stdout] --> src/build/syntax/parse.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 518 | impl Punctuated { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 543 | pub fn first(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn resolve() {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reserve_ty`, `populate_ty`, `insert_ty`, and `insert_fn` are never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reserve_ty(&mut self) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn populate_ty(&mut self, id: TypeId, value: Type) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn insert_ty(&mut self, value: Type) -> TypeId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn insert_fn(&mut self, func: Function) -> FnId { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `methods` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Type { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 98 | inner: TypeInner, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | methods: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_method` is never used [INFO] [stdout] --> src/build/frontend/type_resolution.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Type { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 103 | pub fn add_method(&mut self, ident: Spanned, func: FnId) -> Result<(), Diagnostic> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/build/frontend/type_resolution.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum TypeInner { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 123 | Struct(Struct), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 124 | Enum(Enum), [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | Fn(FnSignature), [INFO] [stdout] | ^^ [INFO] [stdout] 126 | Pointer(Ptr), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 127 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 128 | Array(Array), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | Primitive(Primitive), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `fields` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Struct { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 134 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 135 | fields: IndexMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ident` and `varients` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 139 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 140 | varients: IndexMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Void`, `Tuple`, and `Struct` are never constructed [INFO] [stdout] --> src/build/frontend/type_resolution.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum Varient { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 144 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 145 | Tuple(TypeId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 146 | Struct(IndexMap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vis`, `ident`, `params`, and `ret` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct FnSignature { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 150 | vis: Visibility, [INFO] [stdout] | ^^^ [INFO] [stdout] 151 | ident: Spanned, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | ret: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mutability` and `ty` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Ptr { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 157 | mutability: Mutability, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 158 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ty` and `len` are never read [INFO] [stdout] --> src/build/frontend/type_resolution.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Array { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 162 | ty: TypeId, [INFO] [stdout] | ^^ [INFO] [stdout] 163 | len: u16, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LibDatabase` is never constructed [INFO] [stdout] --> src/build/frontend/lib_resolution.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LibDatabase { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lib` is never constructed [INFO] [stdout] --> src/build/frontend/lib_resolution.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Lib { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve` is never used [INFO] [stdout] --> src/build/frontend/ast/typed.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn resolve() -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Namespace` is never constructed [INFO] [stdout] --> src/build/frontend/ast/typed.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Namespace {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Struct` is never constructed [INFO] [stdout] --> src/build/frontend/ast/typed.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Struct {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/build/backend/codegen.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_flib` is never used [INFO] [stdout] --> src/build/backend/linker.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_flib() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.32s [INFO] running `Command { std: "docker" "inspect" "dcaf3bc819855bb8507559501c480fee69079f0af133afaf13f3e51c265d0fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcaf3bc819855bb8507559501c480fee69079f0af133afaf13f3e51c265d0fcb", kill_on_drop: false }` [INFO] [stdout] dcaf3bc819855bb8507559501c480fee69079f0af133afaf13f3e51c265d0fcb