[INFO] cloning repository https://github.com/Trivaxy/sculk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trivaxy/sculk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fcee3fad140c5205b657c58261bdf54c37c7327 [INFO] checking Trivaxy/sculk against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrivaxy%2Fsculk" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Trivaxy/sculk [INFO] finished tweaking git repo https://github.com/Trivaxy/sculk [INFO] tweaked toml for git repo https://github.com/Trivaxy/sculk written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Trivaxy/sculk on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Trivaxy/sculk 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ariadne v0.3.0 [INFO] [stderr] Downloaded intset v1.0.2 [INFO] [stderr] Downloaded dpc v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa156c7def01876a50b7549a259ca79074685bc89733a6dc06d27f81f6839c74 [INFO] running `Command { std: "docker" "start" "-a" "fa156c7def01876a50b7549a259ca79074685bc89733a6dc06d27f81f6839c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa156c7def01876a50b7549a259ca79074685bc89733a6dc06d27f81f6839c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa156c7def01876a50b7549a259ca79074685bc89733a6dc06d27f81f6839c74", kill_on_drop: false }` [INFO] [stdout] fa156c7def01876a50b7549a259ca79074685bc89733a6dc06d27f81f6839c74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 817a0394593f23f9af219e69cb338438e6da74a08e8e06339b694e4d5b1a8655 [INFO] running `Command { std: "docker" "start" "-a" "817a0394593f23f9af219e69cb338438e6da74a08e8e06339b694e4d5b1a8655", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking intset v1.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking by_address v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking dpc v0.2.5 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking sculk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `expect_toks` [INFO] [stdout] --> src/parser.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | macro_rules! expect_toks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `expect_toks` [INFO] [stdout] --> src/parser.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | macro_rules! expect_toks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ANON_FUNC_COUNT` is never used [INFO] [stdout] --> src/backend/codegen.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static ANON_FUNC_COUNT: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actions` is never used [INFO] [stdout] --> src/backend/codegen.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 532 | impl CompiledFunction { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn actions(&self) -> &[CommandAction] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GreenValue` is never used [INFO] [stdout] --> src/backend/codegen.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 555 | enum GreenValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ModifyValue` and `EnterBlock` are never constructed [INFO] [stdout] --> src/backend/ir.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 144 | ModifyValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | EnterBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_function` is never used [INFO] [stdout] --> src/backend/ir.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 474 | impl<'a> IrFunctionBuilder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 565 | fn compile_function(&mut self, body: &'a [ParserNode]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/backend/type_pool.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypePool { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_struct` is never used [INFO] [stdout] --> src/backend/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SculkType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_struct(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `field_by_idx`, `field_count`, and `function_idx` are never used [INFO] [stdout] --> src/backend/types.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl StructDef { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn field_by_idx(&self, idx: usize) -> &FieldDef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn field_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn function_idx(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:858:21 [INFO] [stdout] | [INFO] [stdout] 858 | UnknownVariable(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 858 - UnknownVariable(String), [INFO] [stdout] 858 + UnknownVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:860:28 [INFO] [stdout] | [INFO] [stdout] 860 | VariableAlreadyDefined(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 860 - VariableAlreadyDefined(String), [INFO] [stdout] 860 + VariableAlreadyDefined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `callee_span` is never read [INFO] [stdout] --> src/backend/validate.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 878 | NotEnoughArguments { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 879 | callee_span: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/backend/validate.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 887 | ComparisonOperatorTypeMismatch { [INFO] [stdout] | ------------------------------ fields in this variant [INFO] [stdout] 888 | lhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] 889 | rhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/backend/validate.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 892 | LogicalOperatorTypeMismatch { [INFO] [stdout] | --------------------------- fields in this variant [INFO] [stdout] 893 | lhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] 894 | rhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:909:17 [INFO] [stdout] | [INFO] [stdout] 909 | UnknownType(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 909 - UnknownType(String), [INFO] [stdout] 909 + UnknownType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownFunction` and `AmbiguousCall` are never constructed [INFO] [stdout] --> src/backend/validate.rs:859:5 [INFO] [stdout] | [INFO] [stdout] 854 | pub enum ValidationErrorKind { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 859 | UnknownFunction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 907 | AmbiguousCall(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current`, `line`, and `col` are never used [INFO] [stdout] --> src/lexer.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl<'a> TokenStream<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_num`, `is_typed_identifier`, `as_num`, and `as_block` are never used [INFO] [stdout] --> src/parser.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl ParserNode { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 147 | pub fn is_num(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_typed_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn as_num(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn as_block(&self) -> &[ParserNode] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `errors` is never used [INFO] [stdout] --> src/parser.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 932 | pub fn errors(&self) -> &[ParseError] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionDefinition` is never constructed [INFO] [stdout] --> src/parser.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | pub struct FunctionDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ANON_FUNC_COUNT` is never used [INFO] [stdout] --> src/backend/codegen.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | static ANON_FUNC_COUNT: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `actions` is never used [INFO] [stdout] --> src/backend/codegen.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 532 | impl CompiledFunction { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn actions(&self) -> &[CommandAction] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GreenValue` is never used [INFO] [stdout] --> src/backend/codegen.rs:555:6 [INFO] [stdout] | [INFO] [stdout] 555 | enum GreenValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ModifyValue` and `EnterBlock` are never constructed [INFO] [stdout] --> src/backend/ir.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 144 | ModifyValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | EnterBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `compile_function` is never used [INFO] [stdout] --> src/backend/ir.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 474 | impl<'a> IrFunctionBuilder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 565 | fn compile_function(&mut self, body: &'a [ParserNode]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `iter_mut` are never used [INFO] [stdout] --> src/backend/type_pool.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypePool { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn iter_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_struct` is never used [INFO] [stdout] --> src/backend/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SculkType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn is_struct(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `field_by_idx`, `field_count`, and `function_idx` are never used [INFO] [stdout] --> src/backend/types.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl StructDef { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn field_by_idx(&self, idx: usize) -> &FieldDef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn field_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn function_idx(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:858:21 [INFO] [stdout] | [INFO] [stdout] 858 | UnknownVariable(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 858 - UnknownVariable(String), [INFO] [stdout] 858 + UnknownVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:966:8 [INFO] [stdout] | [INFO] [stdout] 965 | impl FunctionDefinition { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 966 | fn new(name: String, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:860:28 [INFO] [stdout] | [INFO] [stdout] 860 | VariableAlreadyDefined(String), [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 860 - VariableAlreadyDefined(String), [INFO] [stdout] 860 + VariableAlreadyDefined(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectorTarget` is never used [INFO] [stdout] --> src/parser.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | pub enum SelectorTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `callee_span` is never read [INFO] [stdout] --> src/backend/validate.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 878 | NotEnoughArguments { [INFO] [stdout] | ------------------ field in this variant [INFO] [stdout] 879 | callee_span: Range, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/backend/validate.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 887 | ComparisonOperatorTypeMismatch { [INFO] [stdout] | ------------------------------ fields in this variant [INFO] [stdout] 888 | lhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] 889 | rhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/backend/validate.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 892 | LogicalOperatorTypeMismatch { [INFO] [stdout] | --------------------------- fields in this variant [INFO] [stdout] 893 | lhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] 894 | rhs: TypeKey, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/backend/validate.rs:909:17 [INFO] [stdout] | [INFO] [stdout] 909 | UnknownType(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 909 - UnknownType(String), [INFO] [stdout] 909 + UnknownType(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnknownFunction` and `AmbiguousCall` are never constructed [INFO] [stdout] --> src/backend/validate.rs:859:5 [INFO] [stdout] | [INFO] [stdout] 854 | pub enum ValidationErrorKind { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 859 | UnknownFunction(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 907 | AmbiguousCall(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current`, `line`, and `col` are never used [INFO] [stdout] --> src/lexer.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl<'a> TokenStream<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn line(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn col(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_num`, `is_typed_identifier`, `as_num`, and `as_block` are never used [INFO] [stdout] --> src/parser.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl ParserNode { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 147 | pub fn is_num(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_typed_identifier(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn as_num(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn as_block(&self) -> &[ParserNode] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/validate.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn validate_program(mut self, ast: &'a ParserNode) -> ValidatorOutput { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn validate_program(mut self, ast: &'a ParserNode) -> ValidatorOutput<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `errors` is never used [INFO] [stdout] --> src/parser.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 932 | pub fn errors(&self) -> &[ParseError] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionDefinition` is never constructed [INFO] [stdout] --> src/parser.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | pub struct FunctionDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/validate.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | fn resolver(&self) -> Resolver { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 596 | fn resolver(&self) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn next(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn next(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:966:8 [INFO] [stdout] | [INFO] [stdout] 965 | impl FunctionDefinition { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 966 | fn new(name: String, args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SelectorTarget` is never used [INFO] [stdout] --> src/parser.rs:991:10 [INFO] [stdout] | [INFO] [stdout] 991 | pub enum SelectorTarget { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn peek(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 194 | pub fn peek(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/validate.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn validate_program(mut self, ast: &'a ParserNode) -> ValidatorOutput { [INFO] [stdout] | ^^ --------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | pub fn validate_program(mut self, ast: &'a ParserNode) -> ValidatorOutput<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backend/validate.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | fn resolver(&self) -> Resolver { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 596 | fn resolver(&self) -> Resolver<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn next(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn next(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn peek(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 194 | pub fn peek(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 198 | pub fn current(&mut self) -> Option<&Token<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.83s [INFO] running `Command { std: "docker" "inspect" "817a0394593f23f9af219e69cb338438e6da74a08e8e06339b694e4d5b1a8655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817a0394593f23f9af219e69cb338438e6da74a08e8e06339b694e4d5b1a8655", kill_on_drop: false }` [INFO] [stdout] 817a0394593f23f9af219e69cb338438e6da74a08e8e06339b694e4d5b1a8655