[INFO] cloning repository https://github.com/janaSunrise/zelda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janaSunrise/zelda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjanaSunrise%2Fzelda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjanaSunrise%2Fzelda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4050167c6ed4b6a67aabe12136b8065232b5101e [INFO] checking janaSunrise/zelda against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjanaSunrise%2Fzelda" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/janaSunrise/zelda [INFO] finished tweaking git repo https://github.com/janaSunrise/zelda [INFO] tweaked toml for git repo https://github.com/janaSunrise/zelda written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/janaSunrise/zelda on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/janaSunrise/zelda 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74b82cffed95a525e5d8a981d1581297fe79b4404e3270c4e8b1cc61bc1f488f [INFO] running `Command { std: "docker" "start" "-a" "74b82cffed95a525e5d8a981d1581297fe79b4404e3270c4e8b1cc61bc1f488f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74b82cffed95a525e5d8a981d1581297fe79b4404e3270c4e8b1cc61bc1f488f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b82cffed95a525e5d8a981d1581297fe79b4404e3270c4e8b1cc61bc1f488f", kill_on_drop: false }` [INFO] [stdout] 74b82cffed95a525e5d8a981d1581297fe79b4404e3270c4e8b1cc61bc1f488f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa53d1e9fdc1cc541be9217b6a2471076ce9b303eafd1547ae21b015a06abd7 [INFO] running `Command { std: "docker" "start" "-a" "ffa53d1e9fdc1cc541be9217b6a2471076ce9b303eafd1547ae21b015a06abd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Compiling phf v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking oxc_data_structures v0.110.0 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking clap_builder v4.5.55 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling zerocopy v0.8.37 [INFO] [stderr] Checking oxc_estree v0.110.0 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Compiling dragonbox_ecma v0.1.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking oxc_allocator v0.110.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking supports-hyperlinks v3.2.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking terminal_size v0.4.3 [INFO] [stderr] Checking comfy-table v7.2.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling oxc-miette-derive v2.7.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Compiling oxc_ast_macros v0.110.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.37 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking oxc-miette v2.7.0 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking oxc_span v0.110.0 [INFO] [stderr] Checking oxc_diagnostics v0.110.0 [INFO] [stderr] Checking oxc_regular_expression v0.110.0 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking clap v4.5.55 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking oxc_index v4.1.0 [INFO] [stderr] Checking insta v1.46.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking oxc_syntax v0.110.0 [INFO] [stderr] Checking oxc_ast v0.110.0 [INFO] [stderr] Checking ts-conformance v0.1.0 (/opt/rustwide/workdir/ts-conformance) [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking oxc_ecmascript v0.110.0 [INFO] [stderr] Checking oxc_parser v0.110.0 [INFO] [stderr] Checking zelda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `warning`, `with_related`, and `is_error` are never used [INFO] [stdout] --> src/checker/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl TypeError { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn warning(message: impl Into, span: Span, code: u32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn with_related(mut self, message: impl Into, span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn is_error(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arena` is never used [INFO] [stdout] --> src/checker/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl<'a> Checker<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn arena(&self) -> &TypeArena { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED` is never used [INFO] [stdout] --> src/errors.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const EXPECTED: Diagnostic = Diagnostic::new(1005, "'{0}' expected."); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPER_IN_NON_DERIVED` is never used [INFO] [stdout] --> src/errors.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const SUPER_IN_NON_DERIVED: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REST_PARAM_MUST_BE_LAST` is never used [INFO] [stdout] --> src/errors.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const REST_PARAM_MUST_BE_LAST: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTINUE_OUTSIDE_LOOP` is never used [INFO] [stdout] --> src/errors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const CONTINUE_OUTSIDE_LOOP: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BREAK_OUTSIDE_LOOP` is never used [INFO] [stdout] --> src/errors.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const BREAK_OUTSIDE_LOOP: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_OUTSIDE_FUNCTION` is never used [INFO] [stdout] --> src/errors.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const RETURN_OUTSIDE_FUNCTION: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_WITH_BODY` is never used [INFO] [stdout] --> src/errors.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ABSTRACT_WITH_BODY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_EXPORTED_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NO_EXPORTED_MEMBER: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_DEFAULT_EXPORT` is never used [INFO] [stdout] --> src/errors.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const NO_DEFAULT_EXPORT: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCULAR_BASE_TYPE` is never used [INFO] [stdout] --> src/errors.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CIRCULAR_BASE_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTENDS_NON_CLASS` is never used [INFO] [stdout] --> src/errors.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const EXTENDS_NON_CLASS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLEMENTS_NON_CLASS` is never used [INFO] [stdout] --> src/errors.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const IMPLEMENTS_NON_CLASS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCULAR_CONSTRAINT` is never used [INFO] [stdout] --> src/errors.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CIRCULAR_CONSTRAINT: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERIC_ARITY` is never used [INFO] [stdout] --> src/errors.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const GENERIC_ARITY: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_GENERIC` is never used [INFO] [stdout] --> src/errors.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub const NOT_GENERIC: Diagnostic = Diagnostic::new(2315, "Type '{0}' is not generic."); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIVATE_PROPERTY` is never used [INFO] [stdout] --> src/errors.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const PRIVATE_PROPERTY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_CALLABLE` is never used [INFO] [stdout] --> src/errors.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub const NOT_CALLABLE: Diagnostic = Diagnostic::new(2349, "This expression is not callable."); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_CONVERSION_MISTAKE` is never used [INFO] [stdout] --> src/errors.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub const TYPE_CONVERSION_MISTAKE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_ARITHMETIC_ANY_NUMBER` is never used [INFO] [stdout] --> src/errors.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub const LEFT_ARITHMETIC_ANY_NUMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_ARITHMETIC_ANY_NUMBER` is never used [INFO] [stdout] --> src/errors.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub const RIGHT_ARITHMETIC_ANY_NUMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPERATOR_CANNOT_BE_APPLIED` is never used [INFO] [stdout] --> src/errors.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | pub const OPERATOR_CANNOT_BE_APPLIED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_CONSTRUCTABLE` is never used [INFO] [stdout] --> src/errors.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const NOT_CONSTRUCTABLE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUST_RETURN_VALUE` is never used [INFO] [stdout] --> src/errors.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | pub const MUST_RETURN_VALUE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPER_BEFORE_THIS` is never used [INFO] [stdout] --> src/errors.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const SUPER_BEFORE_THIS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DERIVED_NEEDS_SUPER` is never used [INFO] [stdout] --> src/errors.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | pub const DERIVED_NEEDS_SUPER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GETTER_MUST_RETURN` is never used [INFO] [stdout] --> src/errors.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | pub const GETTER_MUST_RETURN: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCESSOR_TYPE_MISMATCH` is never used [INFO] [stdout] --> src/errors.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ACCESSOR_TYPE_MISMATCH: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERLOAD_NOT_COMPATIBLE` is never used [INFO] [stdout] --> src/errors.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | pub const OVERLOAD_NOT_COMPATIBLE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INCORRECTLY_EXTENDS` is never used [INFO] [stdout] --> src/errors.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const INCORRECTLY_EXTENDS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_INCORRECTLY_EXTENDS` is never used [INFO] [stdout] --> src/errors.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub const STATIC_INCORRECTLY_EXTENDS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLEMENTS_INVALID_TYPE` is never used [INFO] [stdout] --> src/errors.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | pub const IMPLEMENTS_INVALID_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTECTED_PROPERTY` is never used [INFO] [stdout] --> src/errors.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | pub const PROTECTED_PROPERTY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_INSTANTIATE` is never used [INFO] [stdout] --> src/errors.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | pub const ABSTRACT_INSTANTIATE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_IN_NON_ABSTRACT` is never used [INFO] [stdout] --> src/errors.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub const ABSTRACT_IN_NON_ABSTRACT: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MISSING_ABSTRACT_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | pub const MISSING_ABSTRACT_MEMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_NULL` is never used [INFO] [stdout] --> src/errors.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub const POSSIBLY_NULL: Diagnostic = Diagnostic::new(2531, "Object is possibly 'null'."); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const POSSIBLY_UNDEFINED: Diagnostic = Diagnostic::new(2532, "Object is possibly 'undefined'."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_NULL_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | pub const POSSIBLY_NULL_UNDEFINED: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_INDEX_TYPE` is never used [INFO] [stdout] --> src/errors.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub const INVALID_INDEX_TYPE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READONLY_INDEX` is never used [INFO] [stdout] --> src/errors.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub const READONLY_INDEX: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRONG_ARG_COUNT_RANGE` is never used [INFO] [stdout] --> src/errors.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | pub const WRONG_ARG_COUNT_RANGE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOO_FEW_ARGS` is never used [INFO] [stdout] --> src/errors.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | pub const TOO_FEW_ARGS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_COMMON_PROPERTIES` is never used [INFO] [stdout] --> src/errors.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub const NO_COMMON_PROPERTIES: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROPERTY_USED_BEFORE_ASSIGNED` is never used [INFO] [stdout] --> src/errors.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | pub const PROPERTY_USED_BEFORE_ASSIGNED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CANNOT_FIND_NAME_SUGGESTION` is never used [INFO] [stdout] --> src/errors.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | pub const CANNOT_FIND_NAME_SUGGESTION: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_THIS` is never used [INFO] [stdout] --> src/errors.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | pub const IMPLICIT_ANY_THIS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_USED_AS_VALUE` is never used [INFO] [stdout] --> src/errors.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub const TYPE_USED_AS_VALUE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_USED_AS_TYPE` is never used [INFO] [stdout] --> src/errors.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub const VALUE_USED_AS_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THIS_NOT_ASSIGNABLE` is never used [INFO] [stdout] --> src/errors.rs:254:11 [INFO] [stdout] | [INFO] [stdout] 254 | pub const THIS_NOT_ASSIGNABLE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_NULL` is never used [INFO] [stdout] --> src/errors.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | pub const INVOKE_POSSIBLY_NULL: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | pub const INVOKE_POSSIBLY_UNDEFINED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_NULL_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | pub const INVOKE_POSSIBLY_NULL_UNDEFINED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_OVERLOAD_MATCH` is never used [INFO] [stdout] --> src/errors.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | pub const NO_OVERLOAD_MATCH: Diagnostic = Diagnostic::new(2769, "No overload matches this call."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST_OVERLOAD_ERROR` is never used [INFO] [stdout] --> src/errors.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | pub const LAST_OVERLOAD_ERROR: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_VAR` is never used [INFO] [stdout] --> src/errors.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | pub const IMPLICIT_ANY_VAR: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_PARAM` is never used [INFO] [stdout] --> src/errors.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | pub const IMPLICIT_ANY_PARAM: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | pub const IMPLICIT_ANY_MEMBER: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_RETURN` is never used [INFO] [stdout] --> src/errors.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 299 | pub const IMPLICIT_ANY_RETURN: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_INDEX_SIGNATURE` is never used [INFO] [stdout] --> src/errors.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | pub const NO_INDEX_SIGNATURE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_SOME_LOCATIONS` is never used [INFO] [stdout] --> src/errors.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | pub const IMPLICIT_ANY_SOME_LOCATIONS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_INDEX` is never used [INFO] [stdout] --> src/errors.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | pub const IMPLICIT_ANY_INDEX: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `source`, and `is_declaration` are never read [INFO] [stdout] --> src/project/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ModuleInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 29 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub is_declaration: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `preload_files` is never used [INFO] [stdout] --> src/project/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Project { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn preload_files(&self, paths: &[PathBuf]) -> FxHashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CircularDependency` is never constructed [INFO] [stdout] --> src/resolver/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ResolveError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | CircularDependency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolveError` 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: methods `with_paths` and `with_base_url` are never used [INFO] [stdout] --> src/resolver/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ResolverConfig { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn with_paths(mut self, paths: Vec<(String, Vec)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn with_base_url(mut self, base_url: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Interface` is never constructed [INFO] [stdout] --> src/symbols.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ScopeKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `kind` are never read [INFO] [stdout] --> src/symbols.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 32 | pub id: ScopeId, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub kind: ScopeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `kind`, and `scope` are never read [INFO] [stdout] --> src/symbols.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Symbol { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 68 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub ty: TypeId, [INFO] [stdout] 70 | pub kind: SymbolKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | pub span: Span, // Location in source code [INFO] [stdout] 72 | pub scope: ScopeId, // Which scope it's declared in [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` 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: methods `get_type`, `intern`, `resolve`, `resolve_type`, `get`, and `current` are never used [INFO] [stdout] --> src/symbols.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_type(&self, id: TypeId) -> &crate::types::Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn intern(&mut self, ty: crate::types::Type) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn resolve(&self, name: &str, span: Span) -> Result<&Symbol, UndefinedSymbolError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn resolve_type(&self, name: &str, span: Span) -> Result<&Symbol, UndefinedSymbolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn get(&self, id: SymbolId) -> &Symbol { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn current(&self) -> &Scope { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lib` is never read [INFO] [stdout] --> src/tsconfig.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CompilerOptions { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub lib: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/types/mod.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 509 | impl Type { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 510 | /// Create an object type with the given properties. [INFO] [stdout] 511 | pub fn object(properties: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn object_with_extends(properties: Vec, extends: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn generic_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 545 | pub fn function(params: Vec, return_type: TypeId) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn generic_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | pub fn array(element_type: TypeId) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | pub fn union(types: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | pub fn intersection(types: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn type_ref(name: impl Into, type_args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn is_primitive(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn simplify(self, arena: &TypeArena) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types/mod.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1137 | impl TypePredicate { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1138 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_raw` and `as_raw` are never used [INFO] [stdout] --> src/types/arena.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl TypeId { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub const fn from_raw(value: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub const fn as_raw(self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/types/arena.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct PrimitiveTypes { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 69 | pub string: TypeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | pub number: TypeId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | pub boolean: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub null: TypeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | pub undefined: TypeId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | pub void: TypeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | pub any: TypeId, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | pub unknown: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | pub never: TypeId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | pub true_literal: TypeId, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 79 | pub false_literal: TypeId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimitiveTypes` 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: field `primitives` is never read [INFO] [stdout] --> src/types/arena.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct TypeArena { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | primitives: PrimitiveTypes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeArena` 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: multiple methods are never used [INFO] [stdout] --> src/types/arena.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl TypeArena { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn primitives(&self) -> &PrimitiveTypes { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn try_get(&self, id: TypeId) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn primitive_id(&self, ty: &Type) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn intern_fast(&mut self, ty: Type) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn generic_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn object_with_extends(&mut self, properties: Vec, extends: Vec) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn generic_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn string_literal(&mut self, value: impl Into) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn number_literal(&mut self, value: f64) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn keyof(&mut self, inner: TypeId) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn indexed_access(&mut self, object_type: TypeId, index_type: TypeId) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn mapped_type( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn conditional_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn infer_type(&mut self, name: impl Into, constraint: Option) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn type_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub fn template_literal_type(&mut self, texts: Vec, types: Vec) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn class_constructor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `arena` is never used [INFO] [stdout] --> src/checker/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 320 | impl<'a> Checker<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn arena(&self) -> &TypeArena { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXPECTED` is never used [INFO] [stdout] --> src/errors.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const EXPECTED: Diagnostic = Diagnostic::new(1005, "'{0}' expected."); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPER_IN_NON_DERIVED` is never used [INFO] [stdout] --> src/errors.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const SUPER_IN_NON_DERIVED: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REST_PARAM_MUST_BE_LAST` is never used [INFO] [stdout] --> src/errors.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const REST_PARAM_MUST_BE_LAST: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTINUE_OUTSIDE_LOOP` is never used [INFO] [stdout] --> src/errors.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const CONTINUE_OUTSIDE_LOOP: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BREAK_OUTSIDE_LOOP` is never used [INFO] [stdout] --> src/errors.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const BREAK_OUTSIDE_LOOP: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETURN_OUTSIDE_FUNCTION` is never used [INFO] [stdout] --> src/errors.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const RETURN_OUTSIDE_FUNCTION: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_WITH_BODY` is never used [INFO] [stdout] --> src/errors.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const ABSTRACT_WITH_BODY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_EXPORTED_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NO_EXPORTED_MEMBER: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_DEFAULT_EXPORT` is never used [INFO] [stdout] --> src/errors.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const NO_DEFAULT_EXPORT: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCULAR_BASE_TYPE` is never used [INFO] [stdout] --> src/errors.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const CIRCULAR_BASE_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXTENDS_NON_CLASS` is never used [INFO] [stdout] --> src/errors.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const EXTENDS_NON_CLASS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLEMENTS_NON_CLASS` is never used [INFO] [stdout] --> src/errors.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const IMPLEMENTS_NON_CLASS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIRCULAR_CONSTRAINT` is never used [INFO] [stdout] --> src/errors.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CIRCULAR_CONSTRAINT: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERIC_ARITY` is never used [INFO] [stdout] --> src/errors.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | pub const GENERIC_ARITY: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_GENERIC` is never used [INFO] [stdout] --> src/errors.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub const NOT_GENERIC: Diagnostic = Diagnostic::new(2315, "Type '{0}' is not generic."); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIVATE_PROPERTY` is never used [INFO] [stdout] --> src/errors.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | pub const PRIVATE_PROPERTY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_CONVERSION_MISTAKE` is never used [INFO] [stdout] --> src/errors.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub const TYPE_CONVERSION_MISTAKE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEFT_ARITHMETIC_ANY_NUMBER` is never used [INFO] [stdout] --> src/errors.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | pub const LEFT_ARITHMETIC_ANY_NUMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RIGHT_ARITHMETIC_ANY_NUMBER` is never used [INFO] [stdout] --> src/errors.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub const RIGHT_ARITHMETIC_ANY_NUMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPERATOR_CANNOT_BE_APPLIED` is never used [INFO] [stdout] --> src/errors.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | pub const OPERATOR_CANNOT_BE_APPLIED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOT_CONSTRUCTABLE` is never used [INFO] [stdout] --> src/errors.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | pub const NOT_CONSTRUCTABLE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUST_RETURN_VALUE` is never used [INFO] [stdout] --> src/errors.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | pub const MUST_RETURN_VALUE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPER_BEFORE_THIS` is never used [INFO] [stdout] --> src/errors.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const SUPER_BEFORE_THIS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DERIVED_NEEDS_SUPER` is never used [INFO] [stdout] --> src/errors.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | pub const DERIVED_NEEDS_SUPER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GETTER_MUST_RETURN` is never used [INFO] [stdout] --> src/errors.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | pub const GETTER_MUST_RETURN: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACCESSOR_TYPE_MISMATCH` is never used [INFO] [stdout] --> src/errors.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub const ACCESSOR_TYPE_MISMATCH: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OVERLOAD_NOT_COMPATIBLE` is never used [INFO] [stdout] --> src/errors.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | pub const OVERLOAD_NOT_COMPATIBLE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INCORRECTLY_EXTENDS` is never used [INFO] [stdout] --> src/errors.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const INCORRECTLY_EXTENDS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATIC_INCORRECTLY_EXTENDS` is never used [INFO] [stdout] --> src/errors.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub const STATIC_INCORRECTLY_EXTENDS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLEMENTS_INVALID_TYPE` is never used [INFO] [stdout] --> src/errors.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | pub const IMPLEMENTS_INVALID_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROTECTED_PROPERTY` is never used [INFO] [stdout] --> src/errors.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | pub const PROTECTED_PROPERTY: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_INSTANTIATE` is never used [INFO] [stdout] --> src/errors.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | pub const ABSTRACT_INSTANTIATE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ABSTRACT_IN_NON_ABSTRACT` is never used [INFO] [stdout] --> src/errors.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 192 | pub const ABSTRACT_IN_NON_ABSTRACT: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MISSING_ABSTRACT_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:196:11 [INFO] [stdout] | [INFO] [stdout] 196 | pub const MISSING_ABSTRACT_MEMBER: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_NULL` is never used [INFO] [stdout] --> src/errors.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub const POSSIBLY_NULL: Diagnostic = Diagnostic::new(2531, "Object is possibly 'null'."); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const POSSIBLY_UNDEFINED: Diagnostic = Diagnostic::new(2532, "Object is possibly 'undefined'."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSSIBLY_NULL_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | pub const POSSIBLY_NULL_UNDEFINED: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_INDEX_TYPE` is never used [INFO] [stdout] --> src/errors.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 204 | pub const INVALID_INDEX_TYPE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READONLY_INDEX` is never used [INFO] [stdout] --> src/errors.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | pub const READONLY_INDEX: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WRONG_ARG_COUNT_RANGE` is never used [INFO] [stdout] --> src/errors.rs:210:11 [INFO] [stdout] | [INFO] [stdout] 210 | pub const WRONG_ARG_COUNT_RANGE: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOO_FEW_ARGS` is never used [INFO] [stdout] --> src/errors.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | pub const TOO_FEW_ARGS: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_COMMON_PROPERTIES` is never used [INFO] [stdout] --> src/errors.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | pub const NO_COMMON_PROPERTIES: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROPERTY_USED_BEFORE_ASSIGNED` is never used [INFO] [stdout] --> src/errors.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | pub const PROPERTY_USED_BEFORE_ASSIGNED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CANNOT_FIND_NAME_SUGGESTION` is never used [INFO] [stdout] --> src/errors.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | pub const CANNOT_FIND_NAME_SUGGESTION: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_THIS` is never used [INFO] [stdout] --> src/errors.rs:242:11 [INFO] [stdout] | [INFO] [stdout] 242 | pub const IMPLICIT_ANY_THIS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TYPE_USED_AS_VALUE` is never used [INFO] [stdout] --> src/errors.rs:246:11 [INFO] [stdout] | [INFO] [stdout] 246 | pub const TYPE_USED_AS_VALUE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_USED_AS_TYPE` is never used [INFO] [stdout] --> src/errors.rs:250:11 [INFO] [stdout] | [INFO] [stdout] 250 | pub const VALUE_USED_AS_TYPE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THIS_NOT_ASSIGNABLE` is never used [INFO] [stdout] --> src/errors.rs:254:11 [INFO] [stdout] | [INFO] [stdout] 254 | pub const THIS_NOT_ASSIGNABLE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_NULL` is never used [INFO] [stdout] --> src/errors.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | pub const INVOKE_POSSIBLY_NULL: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 265 | pub const INVOKE_POSSIBLY_UNDEFINED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVOKE_POSSIBLY_NULL_UNDEFINED` is never used [INFO] [stdout] --> src/errors.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | pub const INVOKE_POSSIBLY_NULL_UNDEFINED: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_OVERLOAD_MATCH` is never used [INFO] [stdout] --> src/errors.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | pub const NO_OVERLOAD_MATCH: Diagnostic = Diagnostic::new(2769, "No overload matches this call."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAST_OVERLOAD_ERROR` is never used [INFO] [stdout] --> src/errors.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | pub const LAST_OVERLOAD_ERROR: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_VAR` is never used [INFO] [stdout] --> src/errors.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 293 | pub const IMPLICIT_ANY_VAR: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_PARAM` is never used [INFO] [stdout] --> src/errors.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | pub const IMPLICIT_ANY_PARAM: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_MEMBER` is never used [INFO] [stdout] --> src/errors.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 297 | pub const IMPLICIT_ANY_MEMBER: Diagnostic = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_RETURN` is never used [INFO] [stdout] --> src/errors.rs:299:11 [INFO] [stdout] | [INFO] [stdout] 299 | pub const IMPLICIT_ANY_RETURN: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_INDEX_SIGNATURE` is never used [INFO] [stdout] --> src/errors.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | pub const NO_INDEX_SIGNATURE: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_SOME_LOCATIONS` is never used [INFO] [stdout] --> src/errors.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | pub const IMPLICIT_ANY_SOME_LOCATIONS: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMPLICIT_ANY_INDEX` is never used [INFO] [stdout] --> src/errors.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | pub const IMPLICIT_ANY_INDEX: Diagnostic = Diagnostic::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `source`, and `is_declaration` are never read [INFO] [stdout] --> src/project/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ModuleInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 29 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub source: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub is_declaration: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModuleInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `preload_files` is never used [INFO] [stdout] --> src/project/mod.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Project { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn preload_files(&self, paths: &[PathBuf]) -> FxHashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CircularDependency` is never constructed [INFO] [stdout] --> src/resolver/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum ResolveError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | CircularDependency { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolveError` 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: variant `Interface` is never constructed [INFO] [stdout] --> src/symbols.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ScopeKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScopeKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `kind` are never read [INFO] [stdout] --> src/symbols.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Scope { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 32 | pub id: ScopeId, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | pub kind: ScopeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` 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: field `scope` is never read [INFO] [stdout] --> src/symbols.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Symbol { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub scope: ScopeId, // Which scope it's declared in [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` 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: methods `get_type`, `intern`, `resolve_type`, `get`, and `current` are never used [INFO] [stdout] --> src/symbols.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl SymbolTable { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_type(&self, id: TypeId) -> &crate::types::Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn intern(&mut self, ty: crate::types::Type) -> TypeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn resolve_type(&self, name: &str, span: Span) -> Result<&Symbol, UndefinedSymbolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn get(&self, id: SymbolId) -> &Symbol { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn current(&self) -> &Scope { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `object_with_extends` and `generic_object` are never used [INFO] [stdout] --> src/types/mod.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 509 | impl Type { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 521 | pub fn object_with_extends(properties: Vec, extends: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn generic_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types/mod.rs:1138:12 [INFO] [stdout] | [INFO] [stdout] 1137 | impl TypePredicate { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1138 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw` is never used [INFO] [stdout] --> src/types/arena.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl TypeId { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub const fn from_raw(value: u32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/types/arena.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl TypeArena { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn try_get(&self, id: TypeId) -> Option<&Type> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn intern_fast(&mut self, ty: Type) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn generic_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn object_with_extends(&mut self, properties: Vec, extends: Vec) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn generic_object( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn string_literal(&mut self, value: impl Into) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn number_literal(&mut self, value: f64) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn keyof(&mut self, inner: TypeId) -> TypeId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn indexed_access(&mut self, object_type: TypeId, index_type: TypeId) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn mapped_type( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn conditional_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn infer_type(&mut self, name: impl Into, constraint: Option) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn type_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub fn template_literal_type(&mut self, texts: Vec, types: Vec) -> TypeId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn class_constructor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.33s [INFO] running `Command { std: "docker" "inspect" "ffa53d1e9fdc1cc541be9217b6a2471076ce9b303eafd1547ae21b015a06abd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa53d1e9fdc1cc541be9217b6a2471076ce9b303eafd1547ae21b015a06abd7", kill_on_drop: false }` [INFO] [stdout] ffa53d1e9fdc1cc541be9217b6a2471076ce9b303eafd1547ae21b015a06abd7