[INFO] cloning repository https://github.com/GremJax/SlotBox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GremJax/SlotBox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGremJax%2FSlotBox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGremJax%2FSlotBox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd8c2655ce510511c0a37c257763b13c2079cdac [INFO] checking GremJax/SlotBox against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGremJax%2FSlotBox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/GremJax/SlotBox [INFO] finished tweaking git repo https://github.com/GremJax/SlotBox [INFO] tweaked toml for git repo https://github.com/GremJax/SlotBox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/GremJax/SlotBox on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/GremJax/SlotBox 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6353aec6d9e546a867688e82414f81b491f6578273cd29669a280ec3f76d0a07 [INFO] running `Command { std: "docker" "start" "-a" "6353aec6d9e546a867688e82414f81b491f6578273cd29669a280ec3f76d0a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6353aec6d9e546a867688e82414f81b491f6578273cd29669a280ec3f76d0a07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6353aec6d9e546a867688e82414f81b491f6578273cd29669a280ec3f76d0a07", kill_on_drop: false }` [INFO] [stdout] 6353aec6d9e546a867688e82414f81b491f6578273cd29669a280ec3f76d0a07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6870254331a2899929053ff3f239e79ed8daf2bc8ba1bcc806af0a0054ab761 [INFO] running `Command { std: "docker" "start" "-a" "e6870254331a2899929053ff3f239e79ed8daf2bc8ba1bcc806af0a0054ab761", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking Azimuth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashSet` and `fs` [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs}; [INFO] [stdout] | ^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolvedStatement`, `Symbol`, and `loader::Loader` [INFO] [stdout] --> src/main.rs:5:122 [INFO] [stdout] | [INFO] [stdout] 5 | ...jectInfo, ResolvedAttachment, ResolvedExpression, ResolvedFunctionBody, ResolvedStatement, ShapeInfo, StaticInfo, Symbol}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | ...r::Span, loader::Loader, parser::{Identifier, MappingKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/parser.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompileError` and `LocalId` [INFO] [stdout] --> src/parser.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::analyzer::{CompileError, LocalId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OBJECT_INSTANCE` and `ShapeInstance` [INFO] [stdout] --> src/parser.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::executor::{OBJECT_INSTANCE, ShapeInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionSignature` and `Function` [INFO] [stdout] --> src/parser.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{AzimuthFlags, Function, FunctionSignature, NumKind, Number, Value, ValueKind, intrinsic}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `fs` [INFO] [stdout] --> src/main.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs}; [INFO] [stdout] | ^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolvedStatement`, `Symbol`, and `loader::Loader` [INFO] [stdout] --> src/main.rs:5:122 [INFO] [stdout] | [INFO] [stdout] 5 | ...jectInfo, ResolvedAttachment, ResolvedExpression, ResolvedFunctionBody, ResolvedStatement, ShapeInfo, StaticInfo, Symbol}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 6 | ...r::Span, loader::Loader, parser::{Identifier, MappingKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawMapping` and `ValueKind` [INFO] [stdout] --> src/loader.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, ValueKind, analyzer::CompileError, lexer::{self, Span}, parser::{self, Annotation, EnumValue, Expression, Identifier, ParseError, ParsedAtlas, RawAttachment, RawMapping, S... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/parser.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/analyzer.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumDefinition` and `analyzer` [INFO] [stdout] --> src/analyzer.rs:3:170 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, analyzer, executor::{self, OBJECT_INSTANCE, ShapeInstance}, intrinsic::IntrinsicOp, lexer::{self, Span}, loader::{EnumDefinition, L... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompileError` and `LocalId` [INFO] [stdout] --> src/parser.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::analyzer::{CompileError, LocalId}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OBJECT_INSTANCE` and `ShapeInstance` [INFO] [stdout] --> src/parser.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::executor::{OBJECT_INSTANCE, ShapeInstance}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawAzimuth` [INFO] [stdout] --> src/analyzer.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use parser::{RawAzimuth, Expression, Statement, ShapeExpression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionSignature` and `Function` [INFO] [stdout] --> src/parser.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{AzimuthFlags, Function, FunctionSignature, NumKind, Number, Value, ValueKind, intrinsic}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RawMapping` and `ValueKind` [INFO] [stdout] --> src/loader.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, ValueKind, analyzer::CompileError, lexer::{self, Span}, parser::{self, Annotation, EnumValue, Expression, Identifier, ParseError, ParsedAtlas, RawAttachment, RawMapping, S... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/analyzer.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumDefinition` and `analyzer` [INFO] [stdout] --> src/analyzer.rs:3:170 [INFO] [stdout] | [INFO] [stdout] 3 | ...d, analyzer, executor::{self, OBJECT_INSTANCE, ShapeInstance}, intrinsic::IntrinsicOp, lexer::{self, Span}, loader::{EnumDefinition, L... [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Analyzer` and `ObjectInfo` [INFO] [stdout] --> src/executor.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::{Analyzer, LocalId, ObjectInfo, ResolvedAttachment, ResolvedFunctionBody, StaticInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mapping`, `ObjectId`, and `executor` [INFO] [stdout] --> src/executor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Mapping, ObjectId, Number, Runtime, ShapeId, Value, ValueKind, executor, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/executor.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fs, usize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/intrinsic.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io, string, time::{SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `ShapeExpression`, and `Statement` [INFO] [stdout] --> src/intrinsic.rs:4:134 [INFO] [stdout] | [INFO] [stdout] 4 | ...f, RuntimeError}, lexer::Span, parser::{Expression, ParseError, ShapeExpression, Statement}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawAzimuth` [INFO] [stdout] --> src/analyzer.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use parser::{RawAzimuth, Expression, Statement, ShapeExpression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Analyzer` and `ObjectInfo` [INFO] [stdout] --> src/executor.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::analyzer::{Analyzer, LocalId, ObjectInfo, ResolvedAttachment, ResolvedFunctionBody, StaticInfo}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mapping`, `ObjectId`, and `executor` [INFO] [stdout] --> src/executor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Mapping, ObjectId, Number, Runtime, ShapeId, Value, ValueKind, executor, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/executor.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{fs, usize}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/intrinsic.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env, io, string, time::{SystemTime, UNIX_EPOCH}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `ShapeExpression`, and `Statement` [INFO] [stdout] --> src/intrinsic.rs:4:134 [INFO] [stdout] | [INFO] [stdout] 4 | ...f, RuntimeError}, lexer::Span, parser::{Expression, ParseError, ShapeExpression, Statement}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lexer.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let span= self.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | Primitive(_, kind) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | Array(_, expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/parser.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | FunctionSignature(_, signature) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/lexer.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let span= self.span(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | other => todo!() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser.rs:868:21 [INFO] [stdout] | [INFO] [stdout] 868 | let span = token.span.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/parser.rs:237:26 [INFO] [stdout] | [INFO] [stdout] 237 | Primitive(_, kind) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/parser.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | Array(_, expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/parser.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | FunctionSignature(_, signature) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser.rs:1419:25 [INFO] [stdout] | [INFO] [stdout] 1419 | let span = token.span.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:1925:31 [INFO] [stdout] | [INFO] [stdout] 1925 | pub fn parse_atlas_dependency(tokens: &mut PeekableTokens) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspace` [INFO] [stdout] --> src/parser.rs:1938:9 [INFO] [stdout] | [INFO] [stdout] 1938 | let subspace = match token { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/parser.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | other => todo!() [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser.rs:868:21 [INFO] [stdout] | [INFO] [stdout] 868 | let span = token.span.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/loader.rs:325:42 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn resolve_atlas_location(&self, span: Span, location: AtlasLocation) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/loader.rs:329:44 [INFO] [stdout] | [INFO] [stdout] 329 | AtlasLocation::LocalDirectory{ path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/loader.rs:332:45 [INFO] [stdout] | [INFO] [stdout] 332 | AtlasLocation::DiskDepdencency{ path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/loader.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | AtlasLocation::NetDependency{ url, version } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `url: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/loader.rs:335:48 [INFO] [stdout] | [INFO] [stdout] 335 | AtlasLocation::NetDependency{ url, version } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser.rs:1419:25 [INFO] [stdout] | [INFO] [stdout] 1419 | let span = token.span.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:1925:31 [INFO] [stdout] | [INFO] [stdout] 1925 | pub fn parse_atlas_dependency(tokens: &mut PeekableTokens) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspace` [INFO] [stdout] --> src/parser.rs:1938:9 [INFO] [stdout] | [INFO] [stdout] 1938 | let subspace = match token { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/loader.rs:325:42 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn resolve_atlas_location(&self, span: Span, location: AtlasLocation) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/loader.rs:329:44 [INFO] [stdout] | [INFO] [stdout] 329 | AtlasLocation::LocalDirectory{ path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/loader.rs:332:45 [INFO] [stdout] | [INFO] [stdout] 332 | AtlasLocation::DiskDepdencency{ path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/loader.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | AtlasLocation::NetDependency{ url, version } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `url: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/loader.rs:335:48 [INFO] [stdout] | [INFO] [stdout] 335 | AtlasLocation::NetDependency{ url, version } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `version: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/analyzer.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 475 | info => !info.flags.is_const, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 476 | _ => false [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/analyzer.rs:473:45 [INFO] [stdout] | [INFO] [stdout] 473 | ResolvedExpression::Variable(_, symbol) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/analyzer.rs:478:47 [INFO] [stdout] | [INFO] [stdout] 478 | ResolvedExpression::ArrayAccess { target, .. } => true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/analyzer.rs:527:49 [INFO] [stdout] | [INFO] [stdout] 527 | ResolvedExpression::Variable(_, symbol) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qualifier` [INFO] [stdout] --> src/analyzer.rs:1032:14 [INFO] [stdout] | [INFO] [stdout] 1032 | let (qualifier, parents, inst) = match &shape { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qualifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/analyzer.rs:1112:25 [INFO] [stdout] | [INFO] [stdout] 1112 | ... other => return Err(CompileError::Error{span:enum_value.span.clone(), message:format!("Enum value must have definition: {:?}... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/analyzer.rs:1416:29 [INFO] [stdout] | [INFO] [stdout] 1416 | ... _ => panic!("Couldnt do number conversion") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/analyzer.rs:1416:29 [INFO] [stdout] | [INFO] [stdout] 1405 | ... NumKind::Float64 => float_binop!(span, left.to_f64().unwrap(), right.to_f64().unwrap(), operator, f64), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 1406 | ... NumKind::Float32 => float_binop!(span, left.to_f32().unwrap(), right.to_f32().unwrap(), operator, f32), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 1407 | ... NumKind::UInt64 => numeric_binop!(span, left.to_u64().unwrap(), right.to_u64().unwrap(), operator, u64), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 1408 | ... NumKind::Int64 => numeric_binop!(span, left.to_i64().unwrap(), right.to_i64().unwrap(), operator, i64), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1416 | ... _ => panic!("Couldnt do number conversion") [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/analyzer.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 475 | info => !info.flags.is_const, [INFO] [stdout] | ---- matches any value [INFO] [stdout] 476 | _ => false [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/analyzer.rs:473:45 [INFO] [stdout] | [INFO] [stdout] 473 | ResolvedExpression::Variable(_, symbol) => true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/analyzer.rs:478:47 [INFO] [stdout] | [INFO] [stdout] 478 | ResolvedExpression::ArrayAccess { target, .. } => true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/analyzer.rs:527:49 [INFO] [stdout] | [INFO] [stdout] 527 | ResolvedExpression::Variable(_, symbol) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1196:31 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/analyzer.rs:1196:37 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/analyzer.rs:1196:43 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1273:32 [INFO] [stdout] | [INFO] [stdout] 1273 | Expression::Option(span, option) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/analyzer.rs:1273:38 [INFO] [stdout] | [INFO] [stdout] 1273 | Expression::Option(span, option) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_kind` [INFO] [stdout] --> src/analyzer.rs:1492:35 [INFO] [stdout] | [INFO] [stdout] 1492 | let (access_kind, value_kind) = match target.kind() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1636:36 [INFO] [stdout] | [INFO] [stdout] 1636 | Expression::Reflection(span, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1639:56 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/analyzer.rs:1639:62 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/analyzer.rs:1639:70 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `member: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/analyzer.rs:1639:78 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chained` [INFO] [stdout] --> src/analyzer.rs:1639:88 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `chained: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qualifier` [INFO] [stdout] --> src/analyzer.rs:1032:14 [INFO] [stdout] | [INFO] [stdout] 1032 | let (qualifier, parents, inst) = match &shape { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_qualifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/analyzer.rs:1112:25 [INFO] [stdout] | [INFO] [stdout] 1112 | ... other => return Err(CompileError::Error{span:enum_value.span.clone(), message:format!("Enum value must have definition: {:?}... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/analyzer.rs:1416:29 [INFO] [stdout] | [INFO] [stdout] 1416 | ... _ => panic!("Couldnt do number conversion") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/analyzer.rs:1416:29 [INFO] [stdout] | [INFO] [stdout] 1405 | ... NumKind::Float64 => float_binop!(span, left.to_f64().unwrap(), right.to_f64().unwrap(), operator, f64), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 1406 | ... NumKind::Float32 => float_binop!(span, left.to_f32().unwrap(), right.to_f32().unwrap(), operator, f32), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 1407 | ... NumKind::UInt64 => numeric_binop!(span, left.to_u64().unwrap(), right.to_u64().unwrap(), operator, u64), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 1408 | ... NumKind::Int64 => numeric_binop!(span, left.to_i64().unwrap(), right.to_i64().unwrap(), operator, i64), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1416 | ... _ => panic!("Couldnt do number conversion") [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/analyzer.rs:1756:39 [INFO] [stdout] | [INFO] [stdout] 1756 | pub fn get_azimuth_with_id(&self, scope:ScopeId, id:AzimuthId) -> Option<&AzimuthInfo> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/analyzer.rs:2315:19 [INFO] [stdout] | [INFO] [stdout] 2315 | for (loc, namespace, namespace_id) in &load_order { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/executor.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn evaluate_shape(runtime: &Runtime, shape:ResolvedShapeExpression) -> ValueKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | ... _ => return Err(RuntimeError::Error{span:span.clone(), message:format!("Couldnt do number conversion: {:?} to {:?}", left, ri... [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 336 | ... NumKind::Float64 => float_binop!(span, left.to_f64().unwrap(), right.to_f64().unwrap(), op, f64), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 337 | ... NumKind::Float32 => float_binop!(span, left.to_f32().unwrap(), right.to_f32().unwrap(), op, f32), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 338 | ... NumKind::UInt64 => numeric_binop!(span, left.to_u64().unwrap(), right.to_u64().unwrap(), op, u64), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 339 | ... NumKind::Int64 => numeric_binop!(span, left.to_i64().unwrap(), right.to_i64().unwrap(), op, i64), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 347 | ... _ => return Err(RuntimeError::Error{span:span.clone(), message:format!("Couldnt do number conversion: {:?} to {:?}", left, ri... [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1196:31 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/analyzer.rs:1196:37 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/analyzer.rs:1196:43 [INFO] [stdout] | [INFO] [stdout] 1196 | Expression::Range(span, from, to) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1273:32 [INFO] [stdout] | [INFO] [stdout] 1273 | Expression::Option(span, option) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/analyzer.rs:1273:38 [INFO] [stdout] | [INFO] [stdout] 1273 | Expression::Option(span, option) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_kind` [INFO] [stdout] --> src/analyzer.rs:1492:35 [INFO] [stdout] | [INFO] [stdout] 1492 | let (access_kind, value_kind) = match target.kind() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1636:36 [INFO] [stdout] | [INFO] [stdout] 1636 | Expression::Reflection(span, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/analyzer.rs:1639:56 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/analyzer.rs:1639:62 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/analyzer.rs:1639:70 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `member: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/analyzer.rs:1639:78 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chained` [INFO] [stdout] --> src/analyzer.rs:1639:88 [INFO] [stdout] | [INFO] [stdout] 1639 | ResolvedExpression::MemberAccess { span, target, member, optional, chained } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `chained: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> src/analyzer.rs:1756:39 [INFO] [stdout] | [INFO] [stdout] 1756 | pub fn get_azimuth_with_id(&self, scope:ScopeId, id:AzimuthId) -> Option<&AzimuthInfo> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | ResolvedExpression::Option(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | ResolvedExpression::Shape(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ResolvedExpression::Reflection(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:233:42 [INFO] [stdout] | [INFO] [stdout] 233 | ResolvedExpression::StringFormat(span, expressions) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | (Value::Range(start, end, by, inclusive, kind), Value::Number(index)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:644:39 [INFO] [stdout] | [INFO] [stdout] 644 | ResolvedExpression::Function{ span, has_self, input_types, output_type, func, captures } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/executor.rs:671:65 [INFO] [stdout] | [INFO] [stdout] 671 | ResolvedExpression::MemberAccess{ span, target, member, optional, chained} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/executor.rs:680:63 [INFO] [stdout] | [INFO] [stdout] 680 | ResolvedExpression::ArrayAccess{ span, target, index, optional, chained} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | other => return Err(RuntimeError::Error{span:Span::default(), message:format!("Invalid statement: {:?}", other)}) [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 751 | ResolvedStatement::Expression { span, expr } => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 755 | ResolvedStatement::Print { span, expr } => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 764 | ResolvedStatement::DeclareLocal { span, info, value } => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 773 | ResolvedStatement::Detach { span, object, shape } => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1016 | other => return Err(RuntimeError::Error{span:Span::default(), message:format!("Invalid statement: {:?}", other)}) [INFO] [stdout] | ^^^^^ ...and 14 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/analyzer.rs:2315:19 [INFO] [stdout] | [INFO] [stdout] 2315 | for (loc, namespace, namespace_id) in &load_order { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/executor.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn evaluate_shape(runtime: &Runtime, shape:ResolvedShapeExpression) -> ValueKind { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | ... _ => return Err(RuntimeError::Error{span:span.clone(), message:format!("Couldnt do number conversion: {:?} to {:?}", left, ri... [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 336 | ... NumKind::Float64 => float_binop!(span, left.to_f64().unwrap(), right.to_f64().unwrap(), op, f64), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 337 | ... NumKind::Float32 => float_binop!(span, left.to_f32().unwrap(), right.to_f32().unwrap(), op, f32), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 338 | ... NumKind::UInt64 => numeric_binop!(span, left.to_u64().unwrap(), right.to_u64().unwrap(), op, u64), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 339 | ... NumKind::Int64 => numeric_binop!(span, left.to_i64().unwrap(), right.to_i64().unwrap(), op, i64), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 347 | ... _ => return Err(RuntimeError::Error{span:span.clone(), message:format!("Couldnt do number conversion: {:?} to {:?}", left, ri... [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:828:47 [INFO] [stdout] | [INFO] [stdout] 828 | Value::Pointer(object_id, az, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/executor.rs:831:32 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/executor.rs:831:40 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:831:48 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:834:35 [INFO] [stdout] | [INFO] [stdout] 834 | Value::Local(loc, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/intrinsic.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | ... (other, index) => Err(RuntimeError::TypeMismatch{span:input.span, found: other.clone(), expected: ValueKind::Array(Box::new(Va... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/intrinsic.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | ... (other, index) => Err(RuntimeError::TypeMismatch{span:input.span, found: other.clone(), expected: ValueKind::Array(Box::new(Va... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | fn io_readline(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn io_args(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | fn random_int(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | fn benchmarking_get_time(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | _ => todo!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 199 | Number::UInt8(_) => NumKind::UInt8, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 200 | Number::UInt16(_) => NumKind::UInt16, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 201 | Number::UInt32(_) => NumKind::UInt32, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 202 | Number::UInt64(_) => NumKind::UInt64, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 210 | _ => todo!() [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | ResolvedExpression::Option(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | ResolvedExpression::Shape(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 207 | ResolvedExpression::Reflection(span,_) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:233:42 [INFO] [stdout] | [INFO] [stdout] 233 | ResolvedExpression::StringFormat(span, expressions) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:465:58 [INFO] [stdout] | [INFO] [stdout] 465 | (Value::Range(start, end, by, inclusive, kind), Value::Number(index)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/executor.rs:644:39 [INFO] [stdout] | [INFO] [stdout] 644 | ResolvedExpression::Function{ span, has_self, input_types, output_type, func, captures } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/executor.rs:671:65 [INFO] [stdout] | [INFO] [stdout] 671 | ResolvedExpression::MemberAccess{ span, target, member, optional, chained} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional` [INFO] [stdout] --> src/executor.rs:680:63 [INFO] [stdout] | [INFO] [stdout] 680 | ResolvedExpression::ArrayAccess{ span, target, index, optional, chained} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `optional: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/executor.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | other => return Err(RuntimeError::Error{span:Span::default(), message:format!("Invalid statement: {:?}", other)}) [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/executor.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 751 | ResolvedStatement::Expression { span, expr } => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 755 | ResolvedStatement::Print { span, expr } => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 764 | ResolvedStatement::DeclareLocal { span, info, value } => { [INFO] [stdout] | ----------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 773 | ResolvedStatement::Detach { span, object, shape } => { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1016 | other => return Err(RuntimeError::Error{span:Span::default(), message:format!("Invalid statement: {:?}", other)}) [INFO] [stdout] | ^^^^^ ...and 14 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by` [INFO] [stdout] --> src/main.rs:512:38 [INFO] [stdout] | [INFO] [stdout] 512 | Value::Range(start, end, by, inclusive, _) => [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:828:47 [INFO] [stdout] | [INFO] [stdout] 828 | Value::Pointer(object_id, az, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/executor.rs:831:32 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/executor.rs:831:40 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:831:48 [INFO] [stdout] | [INFO] [stdout] 831 | Value::Element(target, access, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/executor.rs:834:35 [INFO] [stdout] | [INFO] [stdout] 834 | Value::Local(loc, kind) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/intrinsic.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | ... (other, index) => Err(RuntimeError::TypeMismatch{span:input.span, found: other.clone(), expected: ValueKind::Array(Box::new(Va... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/intrinsic.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | ... (other, index) => Err(RuntimeError::TypeMismatch{span:input.span, found: other.clone(), expected: ValueKind::Array(Box::new(Va... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | fn io_readline(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn io_args(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | fn random_int(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/intrinsic.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | fn benchmarking_get_time(input: IntrinsicParameters) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:1018:117 [INFO] [stdout] | [INFO] [stdout] 1018 | ...t_mapping.iter().find(|(st, map)| st.azimuth == azimuth_id)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | let shape = match self.get_shape(azimuth.shape_id) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `az` [INFO] [stdout] --> src/main.rs:1207:17 [INFO] [stdout] | [INFO] [stdout] 1207 | let az = self.get_azimuth(azimuth_id).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_az` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:1398:39 [INFO] [stdout] | [INFO] [stdout] 1398 | MappingTo::Expression(expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | _ => todo!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 199 | Number::UInt8(_) => NumKind::UInt8, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 200 | Number::UInt16(_) => NumKind::UInt16, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 201 | Number::UInt32(_) => NumKind::UInt32, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 202 | Number::UInt64(_) => NumKind::UInt64, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 210 | _ => todo!() [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `azimuths` [INFO] [stdout] --> src/main.rs:1441:34 [INFO] [stdout] | [INFO] [stdout] 1441 | MappingTo::Chain(azimuths, _) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_azimuths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:1444:39 [INFO] [stdout] | [INFO] [stdout] 1444 | MappingTo::Expression(expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/main.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 471 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 472 | fn is(&self, kind: &ValueKind) -> bool { self.kind() == *kind } [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 `get_slot_state_id_mut` is never used [INFO] [stdout] --> src/main.rs:803:8 [INFO] [stdout] | [INFO] [stdout] 746 | impl Object { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 803 | fn get_slot_state_id_mut(&mut self, azimuth: AzimuthId) -> Option<&mut MappingTo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:1274:8 [INFO] [stdout] | [INFO] [stdout] 860 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1274 | fn get_azimuth_mut(&mut self, id: AzimuthId) -> Option<&mut AzimuthInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1282 | fn get_shape_mut(&mut self, id: ShapeId) -> Option<&mut ShapeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1353 | fn clear_locals(&mut self, ids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1452 | fn get_slot_value_array_element(&self, object_id: ObjectId, slot: AzimuthId, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1489 | fn set_slot_value_array(&mut self, span:Span, object_id: ObjectId, slot: AzimuthId, values: Vec, kind: ValueKind) -> Re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1492 | fn set_slot_value_array_element(&mut self, object_id: ObjectId, slot: AzimuthId, index: usize, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1539 | fn unseal(&mut self, object_id: ObjectId) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `by` [INFO] [stdout] --> src/main.rs:512:38 [INFO] [stdout] | [INFO] [stdout] 512 | Value::Range(start, end, by, inclusive, _) => [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Presence` is never used [INFO] [stdout] --> src/parser.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Presence { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SymbolId` is never used [INFO] [stdout] --> src/analyzer.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 171 | enum SymbolId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/analyzer.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, Hash, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 205 | Intrinsic(IntrinsicOp), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:1018:117 [INFO] [stdout] | [INFO] [stdout] 1018 | ...t_mapping.iter().find(|(st, map)| st.azimuth == azimuth_id)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | let shape = match self.get_shape(azimuth.shape_id) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `az` [INFO] [stdout] --> src/main.rs:1207:17 [INFO] [stdout] | [INFO] [stdout] 1207 | let az = self.get_azimuth(azimuth_id).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_az` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:1398:39 [INFO] [stdout] | [INFO] [stdout] 1398 | MappingTo::Expression(expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `azimuths` [INFO] [stdout] --> src/main.rs:1441:34 [INFO] [stdout] | [INFO] [stdout] 1441 | MappingTo::Chain(azimuths, _) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_azimuths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:1444:39 [INFO] [stdout] | [INFO] [stdout] 1444 | MappingTo::Expression(expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is` is never used [INFO] [stdout] --> src/main.rs:472:8 [INFO] [stdout] | [INFO] [stdout] 471 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 472 | fn is(&self, kind: &ValueKind) -> bool { self.kind() == *kind } [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 `get_slot_state_id_mut` is never used [INFO] [stdout] --> src/main.rs:803:8 [INFO] [stdout] | [INFO] [stdout] 746 | impl Object { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 803 | fn get_slot_state_id_mut(&mut self, azimuth: AzimuthId) -> Option<&mut MappingTo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/main.rs:1274:8 [INFO] [stdout] | [INFO] [stdout] 860 | impl Runtime { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1274 | fn get_azimuth_mut(&mut self, id: AzimuthId) -> Option<&mut AzimuthInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1282 | fn get_shape_mut(&mut self, id: ShapeId) -> Option<&mut ShapeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1353 | fn clear_locals(&mut self, ids: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1452 | fn get_slot_value_array_element(&self, object_id: ObjectId, slot: AzimuthId, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1489 | fn set_slot_value_array(&mut self, span:Span, object_id: ObjectId, slot: AzimuthId, values: Vec, kind: ValueKind) -> Re... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1492 | fn set_slot_value_array_element(&mut self, object_id: ObjectId, slot: AzimuthId, index: usize, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1539 | fn unseal(&mut self, object_id: ObjectId) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Presence` is never used [INFO] [stdout] --> src/parser.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | enum Presence { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SymbolId` is never used [INFO] [stdout] --> src/analyzer.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 171 | enum SymbolId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/analyzer.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Debug, Clone, Hash, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 205 | Intrinsic(IntrinsicOp), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.98s [INFO] running `Command { std: "docker" "inspect" "e6870254331a2899929053ff3f239e79ed8daf2bc8ba1bcc806af0a0054ab761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6870254331a2899929053ff3f239e79ed8daf2bc8ba1bcc806af0a0054ab761", kill_on_drop: false }` [INFO] [stdout] e6870254331a2899929053ff3f239e79ed8daf2bc8ba1bcc806af0a0054ab761