[INFO] cloning repository https://github.com/Somfic/som [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Somfic/som" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89cb48f90e7a645c82fc848fd42da5a3175c6b5c [INFO] checking Somfic/som against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Somfic/som [INFO] finished tweaking git repo https://github.com/Somfic/som [INFO] tweaked toml for git repo https://github.com/Somfic/som written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Somfic/som on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Somfic/som 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47487ffc30a1c7d17f3efd8f895f75f9e864e95a6a088e3b1ff62d7c6a05c360 [INFO] running `Command { std: "docker" "start" "-a" "47487ffc30a1c7d17f3efd8f895f75f9e864e95a6a088e3b1ff62d7c6a05c360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47487ffc30a1c7d17f3efd8f895f75f9e864e95a6a088e3b1ff62d7c6a05c360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47487ffc30a1c7d17f3efd8f895f75f9e864e95a6a088e3b1ff62d7c6a05c360", kill_on_drop: false }` [INFO] [stdout] 47487ffc30a1c7d17f3efd8f895f75f9e864e95a6a088e3b1ff62d7c6a05c360 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c74d8032ac6fb324d1d09f8dc954b43ac74396da78ccfe0af2c2021f4066695e [INFO] running `Command { std: "docker" "start" "-a" "c74d8032ac6fb324d1d09f8dc954b43ac74396da78ccfe0af2c2021f4066695e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling cranelift-srcgen v0.125.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cranelift-isle v0.125.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cranelift-codegen-shared v0.125.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking cranelift-bitset v0.125.1 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking wasmtime-internal-math v38.0.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking cranelift-entity v0.125.1 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.125.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking regalloc2 v0.13.2 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking cranelift-bforest v0.125.1 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Checking cranelift-control v0.125.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking clap_builder v4.5.50 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling cranelift-codegen-meta v0.125.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking wasmtime-internal-jit-icache-coherence v38.0.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking nucleo-matcher v0.3.1 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.125.1 [INFO] [stderr] Checking clap-file v0.2.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling cranelift-codegen v0.125.1 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking clap v4.5.50 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking cranelift-native v0.125.1 [INFO] [stderr] Checking cranelift-module v0.125.1 [INFO] [stderr] Checking cranelift-frontend v0.125.1 [INFO] [stderr] Checking cranelift-jit v0.125.1 [INFO] [stderr] Checking cranelift v0.125.1 [INFO] [stderr] Checking som v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cranelift::prelude::EntityRef` [INFO] [stdout] --> src/compiler/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | argument: (usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `struct_span` is never read [INFO] [stdout] --> src/errors.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | struct_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `constructor` is never read [INFO] [stdout] --> src/errors.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | constructor: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | argument: TypedExpression, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `signature` is never read [INFO] [stdout] --> src/errors.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | signature: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `function_span` is never read [INFO] [stdout] --> src/errors.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | function_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift::prelude::EntityRef` [INFO] [stdout] --> src/compiler/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::EntityRef; [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 variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/struct_constructor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | argument: (usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `struct_span` is never read [INFO] [stdout] --> src/errors.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | struct_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `constructor` is never read [INFO] [stdout] --> src/errors.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | constructor: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | argument: TypedExpression, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `signature` is never read [INFO] [stdout] --> src/errors.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | signature: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `function_span` is never read [INFO] [stdout] --> src/errors.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | function_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/expressions/unary/negative.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let (operand, operator) = match &expression.value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/lowering/tail_calls.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/struct_constructor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/expressions/unary/negative.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let (operand, operator) = match &expression.value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/type_declaration.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/type_declaration.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/type_declaration.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/type_declaration.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/type_declaration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/lowering/tail_calls.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_callee_identifier` is never used [INFO] [stdout] --> src/lowering/tail_calls.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_callee_identifier(expr: &TypedExpression) -> Option<&Identifier> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/type_declaration.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/type_declaration.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/type_declaration.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/type_declaration.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/type_declaration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_callee_identifier` is never used [INFO] [stdout] --> src/lowering/tail_calls.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_callee_identifier(expr: &TypedExpression) -> Option<&Identifier> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | b.iter(|| compile_source(black_box(s))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | b.iter(|| compile_source(black_box(factorial))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | b.iter(|| compile_source(black_box(fibonacci))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | b.iter(|| compile_source(black_box(nested_blocks))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | b.iter(|| compile_source(black_box(multiple_functions))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | b.iter(|| compile_source(black_box(complex_multiarg))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | b.iter(|| compile_source(black_box(ackermann))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | b.iter(|| compile_source(black_box(&many_vars))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | b.iter(|| compile_source(black_box(&long_arithmetic))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | b.iter(|| compile_source(black_box(nested_conditionals))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:214:34 [INFO] [stdout] | [INFO] [stdout] 214 | b.iter(|| compile_source(black_box(simple_while))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/compilation_bench.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | b.iter(|| compile_source(black_box(nested_while))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | b.iter(|| full_pipeline(black_box(calculator))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | b.iter(|| full_pipeline(black_box(fibonacci))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | group.bench_function("gcd", |b| b.iter(|| full_pipeline(black_box(gcd)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | b.iter(|| full_pipeline(black_box(ackermann))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | |b, prog| b.iter(|| full_pipeline(black_box(prog))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 127 | |b, prog| b.iter(|| full_pipeline(black_box(prog))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:176:63 [INFO] [stdout] | [INFO] [stdout] 176 | group.bench_function("small", |b| b.iter(|| full_pipeline(black_box(small)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:178:64 [INFO] [stdout] | [INFO] [stdout] 178 | group.bench_function("medium", |b| b.iter(|| full_pipeline(black_box(medium)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | group.bench_function("large", |b| b.iter(|| full_pipeline(black_box(large)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:209:47 [INFO] [stdout] | [INFO] [stdout] 209 | |b, prog| b.iter(|| full_pipeline(black_box(prog))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | b.iter(|| full_pipeline(black_box(nested_loop))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:278:61 [INFO] [stdout] | [INFO] [stdout] 278 | group.bench_function("gcd", |b| b.iter(|| full_pipeline(black_box(gcd)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:280:63 [INFO] [stdout] | [INFO] [stdout] 280 | group.bench_function("power", |b| b.iter(|| full_pipeline(black_box(power)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:282:65 [INFO] [stdout] | [INFO] [stdout] 282 | group.bench_function("collatz", |b| b.iter(|| full_pipeline(black_box(collatz)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/end_to_end_bench.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 285 | b.iter(|| full_pipeline(black_box(triangle))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | b.iter(|| execute_source(black_box(s))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | b.iter(|| execute_source(black_box(simple_call))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | b.iter(|| execute_source(black_box(nested_calls))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | b.iter(|| execute_source(black_box(many_params))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | b.iter(|| execute_source(black_box(prog))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | b.iter(|| execute_source(black_box(prog))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | b.iter(|| execute_source(black_box(prog))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | b.iter(|| execute_source(black_box(prog))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | |b, prog| b.iter(|| execute_source(black_box(prog))), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | b.iter(|| execute_source(black_box(simple_if))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 225 | b.iter(|| execute_source(black_box(nested_if))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | b.iter(|| execute_source(black_box(chained_if))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:270:62 [INFO] [stdout] | [INFO] [stdout] 270 | group.bench_function("gcd", |b| b.iter(|| execute_source(black_box(gcd)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | b.iter(|| execute_source(black_box(ackermann))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/execution_bench.rs:276:66 [INFO] [stdout] | [INFO] [stdout] 276 | group.bench_function("collatz", |b| b.iter(|| execute_source(black_box(collatz)))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `simple::run` [INFO] [stdout] --> src/cli/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use simple::run; [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 import: `simple::run` [INFO] [stdout] --> src/cli/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use simple::run; [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 import: `cranelift::prelude::EntityRef` [INFO] [stdout] --> src/compiler/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | argument: (usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `struct_span` is never read [INFO] [stdout] --> src/errors.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | struct_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `constructor` is never read [INFO] [stdout] --> src/errors.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | constructor: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | argument: TypedExpression, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `signature` is never read [INFO] [stdout] --> src/errors.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | signature: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `function_span` is never read [INFO] [stdout] --> src/errors.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | function_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/struct_constructor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/expressions/unary/negative.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let (operand, operator) = match &expression.value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/lowering/tail_calls.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/type_declaration.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/type_declaration.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/type_declaration.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/type_declaration.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/type_declaration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_panic` is never used [INFO] [stdout] --> src/cli/process_tree.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn handle_panic( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/simple.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(source: miette::NamedSource) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tail_call_params` and `is_closure` are never used [INFO] [stdout] --> src/compiler/environment.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'env> Environment<'env> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_tail_call_params(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn is_closure(&self, identifier: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unimplemented` is never constructed [INFO] [stdout] --> src/errors.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Unimplemented { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuntimeTrap` and `RuntimeError` are never constructed [INFO] [stdout] --> src/errors.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum RunnerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 242 | RuntimeTrap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argument` is never constructed [INFO] [stdout] --> src/expressions/function.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupExpression` is never constructed [INFO] [stdout] --> src/expressions/identifier.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_callee_identifier` is never used [INFO] [stdout] --> src/lowering/tail_calls.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_callee_identifier(expr: &TypedExpression) -> Option<&Identifier> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | Variable(VariableDeclarationStatement), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Variable(VariableDeclarationStatement), [INFO] [stdout] 76 + Variable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Extern(ExternDeclarationStatement), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 - Extern(ExternDeclarationStatement), [INFO] [stdout] 77 + Extern(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | Type(TypeDeclarationStatement), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 - Type(TypeDeclarationStatement), [INFO] [stdout] 78 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/module.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Declaration { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 82 | /// Get the identifier name of this declaration [INFO] [stdout] 83 | pub fn identifier(&self) -> &Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `declarations` is never read [INFO] [stdout] --> src/module.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub declarations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modules` and `get_imported_declarations` are never used [INFO] [stdout] --> src/module.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl ModuleLoader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn modules(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_imported_declarations(&self, module: &Module) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/parser/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'source> Parser<'source> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comma` and `Primary` are never constructed [INFO] [stdout] --> src/parser/lookup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BindingPower { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 7 | None = 0, [INFO] [stdout] 8 | Comma = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Primary = 11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingPower` 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: method `add_left_type_handler` is never used [INFO] [stdout] --> src/parser/lookup.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Lookup { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn add_left_type_handler(mut self, token: TokenKind, handler: LeftTypeHandler) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Waiting` is never constructed [INFO] [stdout] --> src/tui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ProcessState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 25 | Running, [INFO] [stdout] 26 | Waiting, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` 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: method `check` is never used [INFO] [stdout] --> src/type_checker/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TypeChecker { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn check(&mut self, statement: &Statement) -> Results { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_field_offset` is never used [INFO] [stdout] --> src/types/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl StructLayout { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_field_offset(&self, field_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cranelift::prelude::EntityRef` [INFO] [stdout] --> src/compiler/environment.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cranelift::prelude::EntityRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `range` is never read [INFO] [stdout] --> src/errors.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | range: (usize, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/errors.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `span` is never read [INFO] [stdout] --> src/errors.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `labels` is never read [INFO] [stdout] --> src/errors.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | labels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | argument: (usize, usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `struct_span` is never read [INFO] [stdout] --> src/errors.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | struct_span: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `field` is never read [INFO] [stdout] --> src/errors.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | field: Span, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `constructor` is never read [INFO] [stdout] --> src/errors.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | constructor: Span, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `argument` is never read [INFO] [stdout] --> src/errors.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | argument: TypedExpression, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `signature` is never read [INFO] [stdout] --> src/errors.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | signature: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `function_span` is never read [INFO] [stdout] --> src/errors.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | function_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `help` is never read [INFO] [stdout] --> src/errors.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | help: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bp` [INFO] [stdout] --> src/expressions/call.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse(parser: &mut Parser, expression: Expression, bp: BindingPower) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/conditional.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/identifier.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/boolean.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/boolean.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/integer.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/integer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/expressions/primary/unit.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/expressions/primary/unit.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/expressions/primary/unit.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | env: &mut crate::compiler::Environment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binding_power` [INFO] [stdout] --> src/expressions/struct_constructor.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | binding_power: BindingPower, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/expressions/unary/negative.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let (operand, operator) = match &expression.value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/lowering/tail_calls.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | expression: &TypedExpression, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/extern_declaration.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/extern_declaration.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/extern_declaration.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/extern_declaration.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_checker` [INFO] [stdout] --> src/statements/type_declaration.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | type_checker: &mut TypeChecker, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_checker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/statements/type_declaration.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | compiler: &mut Compiler, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statement` [INFO] [stdout] --> src/statements/type_declaration.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | statement: &TypedStatement, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/statements/type_declaration.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | body: &mut FunctionBuilder, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/statements/type_declaration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | env: &mut CompileEnvironment, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/comprehensive_integration.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let program = r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/comprehensive_integration.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let program = r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/integration.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let program = r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_panic` is never used [INFO] [stdout] --> src/cli/process_tree.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn handle_panic( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cli/simple.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(source: miette::NamedSource) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_tail_call_params` and `is_closure` are never used [INFO] [stdout] --> src/compiler/environment.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'env> Environment<'env> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_tail_call_params(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn is_closure(&self, identifier: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unimplemented` is never constructed [INFO] [stdout] --> src/errors.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 209 | pub enum CompilerError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 222 | Unimplemented { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuntimeTrap` and `RuntimeError` are never constructed [INFO] [stdout] --> src/errors.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum RunnerError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 242 | RuntimeTrap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunnerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Argument` is never constructed [INFO] [stdout] --> src/expressions/function.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Argument { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupExpression` is never constructed [INFO] [stdout] --> src/expressions/identifier.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GroupExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_callee_identifier` is never used [INFO] [stdout] --> src/lowering/tail_calls.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 245 | fn get_callee_identifier(expr: &TypedExpression) -> Option<&Identifier> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | Variable(VariableDeclarationStatement), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 76 - Variable(VariableDeclarationStatement), [INFO] [stdout] 76 + Variable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Extern(ExternDeclarationStatement), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 - Extern(ExternDeclarationStatement), [INFO] [stdout] 77 + Extern(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/module.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | Type(TypeDeclarationStatement), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Declaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 78 - Type(TypeDeclarationStatement), [INFO] [stdout] 78 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `identifier` is never used [INFO] [stdout] --> src/module.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Declaration { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 82 | /// Get the identifier name of this declaration [INFO] [stdout] 83 | pub fn identifier(&self) -> &Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `declarations` is never read [INFO] [stdout] --> src/module.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub declarations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modules` and `get_imported_declarations` are never used [INFO] [stdout] --> src/module.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl ModuleLoader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn modules(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn get_imported_declarations(&self, module: &Module) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/parser/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'source> Parser<'source> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Comma` and `Primary` are never constructed [INFO] [stdout] --> src/parser/lookup.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BindingPower { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 7 | None = 0, [INFO] [stdout] 8 | Comma = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Primary = 11, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BindingPower` 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: method `add_left_type_handler` is never used [INFO] [stdout] --> src/parser/lookup.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Lookup { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn add_left_type_handler(mut self, token: TokenKind, handler: LeftTypeHandler) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Waiting` is never constructed [INFO] [stdout] --> src/tui/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ProcessState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 25 | Running, [INFO] [stdout] 26 | Waiting, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcessState` 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: method `get_field_offset` is never used [INFO] [stdout] --> src/types/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl StructLayout { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_field_offset(&self, field_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.71s [INFO] running `Command { std: "docker" "inspect" "c74d8032ac6fb324d1d09f8dc954b43ac74396da78ccfe0af2c2021f4066695e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74d8032ac6fb324d1d09f8dc954b43ac74396da78ccfe0af2c2021f4066695e", kill_on_drop: false }` [INFO] [stdout] c74d8032ac6fb324d1d09f8dc954b43ac74396da78ccfe0af2c2021f4066695e