[INFO] cloning repository https://github.com/Robert-M-Lucas/whython-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Robert-M-Lucas/whython-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91ab77ff31a3a4ee6db3592ebcdc9289421234a8 [INFO] checking Robert-M-Lucas/whython-8/91ab77ff31a3a4ee6db3592ebcdc9289421234a8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobert-M-Lucas%2Fwhython-8" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Robert-M-Lucas/whython-8 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Robert-M-Lucas/whython-8 [INFO] finished tweaking git repo https://github.com/Robert-M-Lucas/whython-8 [INFO] tweaked toml for git repo https://github.com/Robert-M-Lucas/whython-8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Robert-M-Lucas/whython-8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unique-type-id-derive v1.3.0 [INFO] [stderr] Downloaded b-box v0.1.0 [INFO] [stderr] Downloaded brownstone v3.0.0 [INFO] [stderr] Downloaded unique-type-id v1.3.0 [INFO] [stderr] Downloaded termsize v0.1.9 [INFO] [stderr] Downloaded derive-getters v0.5.0 [INFO] [stderr] Downloaded nom-supreme v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd519f0161f591dd2c1232015c7d299809c0ddb61abe515592791a32f68003c [INFO] running `Command { std: "docker" "start" "-a" "5bd519f0161f591dd2c1232015c7d299809c0ddb61abe515592791a32f68003c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd519f0161f591dd2c1232015c7d299809c0ddb61abe515592791a32f68003c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd519f0161f591dd2c1232015c7d299809c0ddb61abe515592791a32f68003c", kill_on_drop: false }` [INFO] [stdout] 5bd519f0161f591dd2c1232015c7d299809c0ddb61abe515592791a32f68003c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35e8d5d554a8338d77ed4340b9555730bfad3463df3e38b9bfe14109775a564f [INFO] running `Command { std: "docker" "start" "-a" "35e8d5d554a8338d77ed4340b9555730bfad3463df3e38b9bfe14109775a564f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.11 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking brownstone v3.0.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking termsize v0.1.9 [INFO] [stderr] Checking b-box v0.1.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking nom-supreme v0.8.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling unique-type-id-derive v1.3.0 [INFO] [stderr] Compiling color-print-proc-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling derive-getters v0.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking unique-type-id v1.3.0 [INFO] [stderr] Checking color-print v0.3.6 [INFO] [stderr] Checking clap v4.5.11 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking whython-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `derive_getters::Getters` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_getters::Getters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derive_getters::Getters` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_getters::Getters; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_function_signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_function_signatures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::root::compiler::global_tracker::GlobalTracker` [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::root::compiler::global_tracker::GlobalTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_tracker` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | global_tracker: &GlobalTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_file` [INFO] [stdout] --> src/root/name_resolver/resolve.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | main_file: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/root/parser/path_storage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let Some(last) = path_span.chars().last() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_tracker` [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | global_tracker: &GlobalTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_tracker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_file` [INFO] [stdout] --> src/root/name_resolver/resolve.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | main_file: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toplevel` is never used [INFO] [stdout] --> src/root/assembler/assembly_builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AssemblyBuilder { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn toplevel(&mut self, line: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `functions_mut` is never used [INFO] [stdout] --> src/root/compiler/global_tracker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn functions_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | File(FileID), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_local_variable_unnamed` is never used [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl GlobalTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn add_local_variable_unnamed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct UserType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToLocation` is never used [INFO] [stdout] --> src/root/parser/location.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_location`, `from_span`, and `into_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> ToLocation<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn from_location(location: Location) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_span(span: Span<'a>) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn into_location(self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/root/parser/location.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum ErrorLocation { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none` and `has_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl LocationTyped { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn none() -> LocationTyped { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn has_location(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_simple` and `into_inner` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UnresolvedTypeRefToken { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn from_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_inner(self) -> FullNameToken { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl FullNameToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn into_evaluable(self) -> EvaluableToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | StaticAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is 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] 124 | StaticAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | DynamicAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is 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] 125 | DynamicAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable_token` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl FullNameTokens { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 129 | pub fn into_evaluable_token(self) -> EvaluableTokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IfToken { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_initialisation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct InitialisationToken { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisationToken` 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 `is_prefix_opt_t` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl OperatorToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 60 | pub fn is_prefix_opt_t(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_prefix_op` and `is_infix_op` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl OperatorTokens { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 97 | pub fn is_prefix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_infix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_while.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WhileToken { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_indirection` and `immediate` are never used [INFO] [stdout] --> src/root/shared/common.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TypeID { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 11 | pub fn with_indirection(self, elements: usize, indirection: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn immediate(self, elements: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plus` and `minus` are never used [INFO] [stdout] --> src/root/shared/common.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Indirection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn plus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn minus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_array` is never used [INFO] [stdout] --> src/root/shared/common.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TypeRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/into.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/new.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last` [INFO] [stdout] --> src/root/parser/path_storage.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let Some(last) = path_span.chars().last() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toplevel` is never used [INFO] [stdout] --> src/root/assembler/assembly_builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AssemblyBuilder { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn toplevel(&mut self, line: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `functions_mut` is never used [INFO] [stdout] --> src/root/compiler/global_tracker.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> GlobalTracker<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn functions_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | File(FileID), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 | File(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_local_variable_unnamed` is never used [INFO] [stdout] --> src/root/name_resolver/name_resolvers.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl GlobalTable { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn add_local_variable_unnamed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/name_resolver/resolve_names.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct UserType { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToLocation` is never used [INFO] [stdout] --> src/root/parser/location.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_location`, `from_span`, and `into_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> ToLocation<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn from_location(location: Location) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_span(span: Span<'a>) -> ToLocation<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn into_location(self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/root/parser/location.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum ErrorLocation { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none` and `has_location` are never used [INFO] [stdout] --> src/root/parser/location.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl LocationTyped { [INFO] [stdout] | ---------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn none() -> LocationTyped { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn has_location(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_simple` and `into_inner` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UnresolvedTypeRefToken { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 62 | pub fn from_simple( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn into_inner(self) -> FullNameToken { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl FullNameToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn into_evaluable(self) -> EvaluableToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | StaticAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is 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] 124 | StaticAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | DynamicAccess(Box, SimpleNameToken), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FullNameTokens` has a derived impl for the trait `Debug`, but this is 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] 125 | DynamicAccess(Box, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_evaluable_token` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_evaluable.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl FullNameTokens { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 129 | pub fn into_evaluable_token(self) -> EvaluableTokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_if.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IfToken { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_initialisation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct InitialisationToken { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitialisationToken` 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 `is_prefix_opt_t` is never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl OperatorToken { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 60 | pub fn is_prefix_opt_t(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_prefix_op` and `is_infix_op` are never used [INFO] [stdout] --> src/root/parser/parse_function/parse_operator.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl OperatorTokens { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 97 | pub fn is_prefix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn is_infix_op(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/root/parser/parse_function/parse_while.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WhileToken { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileToken` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_indirection` and `immediate` are never used [INFO] [stdout] --> src/root/shared/common.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TypeID { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 11 | pub fn with_indirection(self, elements: usize, indirection: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn immediate(self, elements: usize) -> TypeRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `plus` and `minus` are never used [INFO] [stdout] --> src/root/shared/common.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Indirection { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn plus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn minus(&self, amount: usize) -> Indirection { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_array` is never used [INFO] [stdout] --> src/root/shared/common.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TypeRef { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/into.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `args:` in this pattern is redundant [INFO] [stdout] --> src/root/compiler/evaluation/new.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | args: args, [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.52s [INFO] running `Command { std: "docker" "inspect" "35e8d5d554a8338d77ed4340b9555730bfad3463df3e38b9bfe14109775a564f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e8d5d554a8338d77ed4340b9555730bfad3463df3e38b9bfe14109775a564f", kill_on_drop: false }` [INFO] [stdout] 35e8d5d554a8338d77ed4340b9555730bfad3463df3e38b9bfe14109775a564f