[INFO] cloning repository https://github.com/KHN190/Starling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KHN190/Starling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKHN190%2FStarling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKHN190%2FStarling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 053b4dddeee4000a940dea7c98ae9a5bb194123e [INFO] checking KHN190/Starling against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKHN190%2FStarling" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KHN190/Starling on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KHN190/Starling [INFO] finished tweaking git repo https://github.com/KHN190/Starling [INFO] tweaked toml for git repo https://github.com/KHN190/Starling written to /workspace/builds/worker-107/source/Cargo.toml [INFO] crate git repo https://github.com/KHN190/Starling already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdb65e75a7b5f5daf2e946057edcbef5ae0cf6c2102b072e8dbc910ed8bd93e [INFO] running `Command { std: "docker" "start" "-a" "3cdb65e75a7b5f5daf2e946057edcbef5ae0cf6c2102b072e8dbc910ed8bd93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdb65e75a7b5f5daf2e946057edcbef5ae0cf6c2102b072e8dbc910ed8bd93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdb65e75a7b5f5daf2e946057edcbef5ae0cf6c2102b072e8dbc910ed8bd93e", kill_on_drop: false }` [INFO] [stdout] 3cdb65e75a7b5f5daf2e946057edcbef5ae0cf6c2102b072e8dbc910ed8bd93e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c65b78a43d71b86639f9e2f245f1f7d7c90e7f1ae9e76748a956e3cb125759d4 [INFO] running `Command { std: "docker" "start" "-a" "c65b78a43d71b86639f9e2f245f1f7d7c90e7f1ae9e76748a956e3cb125759d4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking starling v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/compile.rs (13 fixes) [INFO] [stdout] warning: variable `token_ty` is assigned to, but never used [INFO] [stdout] --> src/compile.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | let mut token_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_token_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_ty` is never read [INFO] [stdout] --> src/compile.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | token_ty = &kw.token_type; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | count -= offset; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_GC_STRESS` [INFO] [stdout] --> src/common.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const WREN_DEBUG_GC_STRESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_MEMORY` [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const WREN_DEBUG_TRACE_MEMORY: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_GC` [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const WREN_DEBUG_TRACE_GC: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_DUMP_COMPILED_CODE` [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const WREN_DEBUG_DUMP_COMPILED_CODE: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_INSTRUCTIONS` [INFO] [stdout] --> src/common.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const WREN_DEBUG_TRACE_INSTRUCTIONS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_MODULE_VARS` [INFO] [stdout] --> src/common.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const MAX_MODULE_VARS: i32 = 65536; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_PARAMETERS` [INFO] [stdout] --> src/common.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_PARAMETERS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_NAME` [INFO] [stdout] --> src/common.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) const MAX_METHOD_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_SIGNATURE` [INFO] [stdout] --> src/common.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const MAX_METHOD_SIGNATURE: i32 = MAX_METHOD_NAME + (MAX_PARAMETERS * 2) + 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_VARIABLE_NAME` [INFO] [stdout] --> src/common.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) const MAX_VARIABLE_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_FIELDS` [INFO] [stdout] --> src/common.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) const MAX_FIELDS: i32 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_LOCALS` [INFO] [stdout] --> src/compile.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const MAX_LOCALS: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UPVALUES` [INFO] [stdout] --> src/compile.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const MAX_UPVALUES: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_CONSTANTS` [INFO] [stdout] --> src/compile.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const MAX_CONSTANTS: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_JUMP` [INFO] [stdout] --> src/compile.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_JUMP: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_INTERPOLATION_NESTING` [INFO] [stdout] --> src/compile.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const MAX_INTERPOLATION_NESTING: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERROR_MESSAGE_SIZE` [INFO] [stdout] --> src/compile.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const ERROR_MESSAGE_SIZE: i32 = 80 + MAX_VARIABLE_NAME + 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `identifier` [INFO] [stdout] --> src/compile.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | identifier: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/compile.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/compile.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/compile.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/compile.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_name` [INFO] [stdout] --> src/compile.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn is_name(c: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/compile.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_error` [INFO] [stdout] --> src/compile.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn print_error(&self, _line: usize, _label: &str, _format: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex_error` [INFO] [stdout] --> src/compile.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn lex_error(&self, format: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_token_str` [INFO] [stdout] --> src/compile.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn read_token_str(&self, length: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_char` [INFO] [stdout] --> src/compile.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn peek_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_next_char` [INFO] [stdout] --> src/compile.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn peek_next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/compile.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_char` [INFO] [stdout] --> src/compile.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn match_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_token` [INFO] [stdout] --> src/compile.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn make_token(&self, _ty: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_char_token` [INFO] [stdout] --> src/compile.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn two_char_token(&self, _c: char, _two: Token, _one: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_line_comment` [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn skip_line_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_block_comment` [INFO] [stdout] --> src/compile.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn skip_block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_digit` [INFO] [stdout] --> src/compile.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn read_hex_digit(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_number` [INFO] [stdout] --> src/compile.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_number(&self, _is_hex: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_number` [INFO] [stdout] --> src/compile.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn read_hex_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_number` [INFO] [stdout] --> src/compile.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn read_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_name` [INFO] [stdout] --> src/compile.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | fn read_name(&mut self, ty: &TokenType, first_char: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_escape` [INFO] [stdout] --> src/compile.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn read_hex_escape(&self, _digits: i32, _description: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_unicode_escape` [INFO] [stdout] --> src/compile.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn read_unicode_escape(&self, _byte_buffer: &[i32], _length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw_string` [INFO] [stdout] --> src/compile.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_raw_string(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjModule` [INFO] [stdout] --> src/value.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct ObjModule { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjMap` [INFO] [stdout] --> src/value.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct ObjMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjFn` [INFO] [stdout] --> src/value.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct ObjFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjString` [INFO] [stdout] --> src/value.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct ObjString { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_VERSION_NUMBER` [INFO] [stdout] --> src/vm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WREN_VERSION_NUMBER: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wren_get_version_number` [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn wren_get_version_number() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrenVM` [INFO] [stdout] --> src/vm.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WrenVM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `token_ty` is assigned to, but never used [INFO] [stdout] --> src/compile.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | let mut token_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_token_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_ty` is never read [INFO] [stdout] --> src/compile.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | token_ty = &kw.token_type; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | count -= offset; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_GC_STRESS` [INFO] [stdout] --> src/common.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const WREN_DEBUG_GC_STRESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_MEMORY` [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const WREN_DEBUG_TRACE_MEMORY: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_GC` [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const WREN_DEBUG_TRACE_GC: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_DUMP_COMPILED_CODE` [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const WREN_DEBUG_DUMP_COMPILED_CODE: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_INSTRUCTIONS` [INFO] [stdout] --> src/common.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const WREN_DEBUG_TRACE_INSTRUCTIONS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_MODULE_VARS` [INFO] [stdout] --> src/common.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const MAX_MODULE_VARS: i32 = 65536; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_PARAMETERS` [INFO] [stdout] --> src/common.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_PARAMETERS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_NAME` [INFO] [stdout] --> src/common.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) const MAX_METHOD_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_SIGNATURE` [INFO] [stdout] --> src/common.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const MAX_METHOD_SIGNATURE: i32 = MAX_METHOD_NAME + (MAX_PARAMETERS * 2) + 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_VARIABLE_NAME` [INFO] [stdout] --> src/common.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) const MAX_VARIABLE_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_FIELDS` [INFO] [stdout] --> src/common.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) const MAX_FIELDS: i32 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_LOCALS` [INFO] [stdout] --> src/compile.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const MAX_LOCALS: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UPVALUES` [INFO] [stdout] --> src/compile.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const MAX_UPVALUES: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_CONSTANTS` [INFO] [stdout] --> src/compile.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const MAX_CONSTANTS: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_JUMP` [INFO] [stdout] --> src/compile.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_JUMP: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_INTERPOLATION_NESTING` [INFO] [stdout] --> src/compile.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const MAX_INTERPOLATION_NESTING: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERROR_MESSAGE_SIZE` [INFO] [stdout] --> src/compile.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const ERROR_MESSAGE_SIZE: i32 = 80 + MAX_VARIABLE_NAME + 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `identifier` [INFO] [stdout] --> src/compile.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | identifier: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/compile.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/compile.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/compile.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/compile.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_name` [INFO] [stdout] --> src/compile.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn is_name(c: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/compile.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_error` [INFO] [stdout] --> src/compile.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn print_error(&self, _line: usize, _label: &str, _format: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex_error` [INFO] [stdout] --> src/compile.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn lex_error(&self, format: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_token_str` [INFO] [stdout] --> src/compile.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn read_token_str(&self, length: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_char` [INFO] [stdout] --> src/compile.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn peek_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_next_char` [INFO] [stdout] --> src/compile.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn peek_next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/compile.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_char` [INFO] [stdout] --> src/compile.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn match_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_token` [INFO] [stdout] --> src/compile.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn make_token(&self, _ty: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_char_token` [INFO] [stdout] --> src/compile.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn two_char_token(&self, _c: char, _two: Token, _one: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_line_comment` [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn skip_line_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_block_comment` [INFO] [stdout] --> src/compile.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn skip_block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_digit` [INFO] [stdout] --> src/compile.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn read_hex_digit(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_number` [INFO] [stdout] --> src/compile.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_number(&self, _is_hex: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_number` [INFO] [stdout] --> src/compile.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn read_hex_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_number` [INFO] [stdout] --> src/compile.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn read_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_name` [INFO] [stdout] --> src/compile.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | fn read_name(&mut self, ty: &TokenType, first_char: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_escape` [INFO] [stdout] --> src/compile.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn read_hex_escape(&self, _digits: i32, _description: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_unicode_escape` [INFO] [stdout] --> src/compile.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn read_unicode_escape(&self, _byte_buffer: &[i32], _length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw_string` [INFO] [stdout] --> src/compile.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_raw_string(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjModule` [INFO] [stdout] --> src/value.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct ObjModule { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjMap` [INFO] [stdout] --> src/value.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct ObjMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjFn` [INFO] [stdout] --> src/value.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct ObjFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjString` [INFO] [stdout] --> src/value.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct ObjString { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_VERSION_NUMBER` [INFO] [stdout] --> src/vm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WREN_VERSION_NUMBER: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wren_get_version_number` [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn wren_get_version_number() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrenVM` [INFO] [stdout] --> src/vm.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WrenVM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.24s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking starling v0.4.0 (/tmp/fixit) [INFO] [stdout] warning: variable `token_ty` is assigned to, but never used [INFO] [stdout] --> src/compile.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | let mut token_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_token_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_ty` is never read [INFO] [stdout] --> src/compile.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | token_ty = &kw.token_type; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | count -= offset; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_GC_STRESS` [INFO] [stdout] --> src/common.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const WREN_DEBUG_GC_STRESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_MEMORY` [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const WREN_DEBUG_TRACE_MEMORY: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_GC` [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const WREN_DEBUG_TRACE_GC: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_DUMP_COMPILED_CODE` [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const WREN_DEBUG_DUMP_COMPILED_CODE: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_INSTRUCTIONS` [INFO] [stdout] --> src/common.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const WREN_DEBUG_TRACE_INSTRUCTIONS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_MODULE_VARS` [INFO] [stdout] --> src/common.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const MAX_MODULE_VARS: i32 = 65536; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_PARAMETERS` [INFO] [stdout] --> src/common.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_PARAMETERS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_NAME` [INFO] [stdout] --> src/common.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) const MAX_METHOD_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_SIGNATURE` [INFO] [stdout] --> src/common.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const MAX_METHOD_SIGNATURE: i32 = MAX_METHOD_NAME + (MAX_PARAMETERS * 2) + 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_VARIABLE_NAME` [INFO] [stdout] --> src/common.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) const MAX_VARIABLE_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_FIELDS` [INFO] [stdout] --> src/common.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) const MAX_FIELDS: i32 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_LOCALS` [INFO] [stdout] --> src/compile.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const MAX_LOCALS: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UPVALUES` [INFO] [stdout] --> src/compile.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const MAX_UPVALUES: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_CONSTANTS` [INFO] [stdout] --> src/compile.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const MAX_CONSTANTS: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_JUMP` [INFO] [stdout] --> src/compile.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_JUMP: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_INTERPOLATION_NESTING` [INFO] [stdout] --> src/compile.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const MAX_INTERPOLATION_NESTING: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERROR_MESSAGE_SIZE` [INFO] [stdout] --> src/compile.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const ERROR_MESSAGE_SIZE: i32 = 80 + MAX_VARIABLE_NAME + 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `identifier` [INFO] [stdout] --> src/compile.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | identifier: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/compile.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/compile.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/compile.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/compile.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_name` [INFO] [stdout] --> src/compile.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn is_name(c: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/compile.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_error` [INFO] [stdout] --> src/compile.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn print_error(&self, _line: usize, _label: &str, _format: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex_error` [INFO] [stdout] --> src/compile.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn lex_error(&self, format: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_token_str` [INFO] [stdout] --> src/compile.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn read_token_str(&self, length: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_char` [INFO] [stdout] --> src/compile.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn peek_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_next_char` [INFO] [stdout] --> src/compile.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn peek_next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/compile.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_char` [INFO] [stdout] --> src/compile.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn match_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_token` [INFO] [stdout] --> src/compile.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn make_token(&self, _ty: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_char_token` [INFO] [stdout] --> src/compile.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn two_char_token(&self, _c: char, _two: Token, _one: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_line_comment` [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn skip_line_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_block_comment` [INFO] [stdout] --> src/compile.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn skip_block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_digit` [INFO] [stdout] --> src/compile.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn read_hex_digit(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_number` [INFO] [stdout] --> src/compile.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_number(&self, _is_hex: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_number` [INFO] [stdout] --> src/compile.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn read_hex_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_number` [INFO] [stdout] --> src/compile.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn read_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_name` [INFO] [stdout] --> src/compile.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | fn read_name(&mut self, ty: &TokenType, first_char: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_escape` [INFO] [stdout] --> src/compile.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn read_hex_escape(&self, _digits: i32, _description: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_unicode_escape` [INFO] [stdout] --> src/compile.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn read_unicode_escape(&self, _byte_buffer: &[i32], _length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw_string` [INFO] [stdout] --> src/compile.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_raw_string(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjModule` [INFO] [stdout] --> src/value.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct ObjModule { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjMap` [INFO] [stdout] --> src/value.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct ObjMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjFn` [INFO] [stdout] --> src/value.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct ObjFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjString` [INFO] [stdout] --> src/value.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct ObjString { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_VERSION_NUMBER` [INFO] [stdout] --> src/vm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WREN_VERSION_NUMBER: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wren_get_version_number` [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn wren_get_version_number() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrenVM` [INFO] [stdout] --> src/vm.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WrenVM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `token_ty` is assigned to, but never used [INFO] [stdout] --> src/compile.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | let mut token_ty = ty.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_token_ty` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_ty` is never read [INFO] [stdout] --> src/compile.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | token_ty = &kw.token_type; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/compile.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | count -= offset; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_GC_STRESS` [INFO] [stdout] --> src/common.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) const WREN_DEBUG_GC_STRESS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_MEMORY` [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) const WREN_DEBUG_TRACE_MEMORY: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_GC` [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) const WREN_DEBUG_TRACE_GC: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_DUMP_COMPILED_CODE` [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const WREN_DEBUG_DUMP_COMPILED_CODE: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_DEBUG_TRACE_INSTRUCTIONS` [INFO] [stdout] --> src/common.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) const WREN_DEBUG_TRACE_INSTRUCTIONS: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_MODULE_VARS` [INFO] [stdout] --> src/common.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) const MAX_MODULE_VARS: i32 = 65536; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_PARAMETERS` [INFO] [stdout] --> src/common.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_PARAMETERS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_NAME` [INFO] [stdout] --> src/common.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) const MAX_METHOD_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_METHOD_SIGNATURE` [INFO] [stdout] --> src/common.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) const MAX_METHOD_SIGNATURE: i32 = MAX_METHOD_NAME + (MAX_PARAMETERS * 2) + 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_VARIABLE_NAME` [INFO] [stdout] --> src/common.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) const MAX_VARIABLE_NAME: i32 = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_FIELDS` [INFO] [stdout] --> src/common.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) const MAX_FIELDS: i32 = 255; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_LOCALS` [INFO] [stdout] --> src/compile.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) const MAX_LOCALS: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UPVALUES` [INFO] [stdout] --> src/compile.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) const MAX_UPVALUES: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_CONSTANTS` [INFO] [stdout] --> src/compile.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) const MAX_CONSTANTS: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_JUMP` [INFO] [stdout] --> src/compile.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) const MAX_JUMP: i32 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_INTERPOLATION_NESTING` [INFO] [stdout] --> src/compile.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) const MAX_INTERPOLATION_NESTING: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERROR_MESSAGE_SIZE` [INFO] [stdout] --> src/compile.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) const ERROR_MESSAGE_SIZE: i32 = 80 + MAX_VARIABLE_NAME + 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `identifier` [INFO] [stdout] --> src/compile.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | identifier: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/compile.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/compile.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/compile.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/compile.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_name` [INFO] [stdout] --> src/compile.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn is_name(c: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/compile.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn is_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_error` [INFO] [stdout] --> src/compile.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn print_error(&self, _line: usize, _label: &str, _format: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex_error` [INFO] [stdout] --> src/compile.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn lex_error(&self, format: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_token_str` [INFO] [stdout] --> src/compile.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn read_token_str(&self, length: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_char` [INFO] [stdout] --> src/compile.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn peek_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_next_char` [INFO] [stdout] --> src/compile.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | fn peek_next_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_char` [INFO] [stdout] --> src/compile.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | fn next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_char` [INFO] [stdout] --> src/compile.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | fn match_char(&mut self, c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_token` [INFO] [stdout] --> src/compile.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | fn make_token(&self, _ty: TokenType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `two_char_token` [INFO] [stdout] --> src/compile.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn two_char_token(&self, _c: char, _two: Token, _one: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_line_comment` [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn skip_line_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_block_comment` [INFO] [stdout] --> src/compile.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | fn skip_block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_digit` [INFO] [stdout] --> src/compile.rs:347:8 [INFO] [stdout] | [INFO] [stdout] 347 | fn read_hex_digit(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_number` [INFO] [stdout] --> src/compile.rs:367:8 [INFO] [stdout] | [INFO] [stdout] 367 | fn make_number(&self, _is_hex: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_number` [INFO] [stdout] --> src/compile.rs:372:8 [INFO] [stdout] | [INFO] [stdout] 372 | fn read_hex_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_number` [INFO] [stdout] --> src/compile.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn read_number(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_name` [INFO] [stdout] --> src/compile.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | fn read_name(&mut self, ty: &TokenType, first_char: char) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_hex_escape` [INFO] [stdout] --> src/compile.rs:440:8 [INFO] [stdout] | [INFO] [stdout] 440 | fn read_hex_escape(&self, _digits: i32, _description: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_unicode_escape` [INFO] [stdout] --> src/compile.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn read_unicode_escape(&self, _byte_buffer: &[i32], _length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_raw_string` [INFO] [stdout] --> src/compile.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn read_raw_string(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjModule` [INFO] [stdout] --> src/value.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct ObjModule { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjMap` [INFO] [stdout] --> src/value.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct ObjMap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjFn` [INFO] [stdout] --> src/value.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) struct ObjFn { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ObjString` [INFO] [stdout] --> src/value.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct ObjString { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WREN_VERSION_NUMBER` [INFO] [stdout] --> src/vm.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | const WREN_VERSION_NUMBER: &'static str = env!("CARGO_PKG_VERSION"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `wren_get_version_number` [INFO] [stdout] --> src/vm.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn wren_get_version_number() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrenVM` [INFO] [stdout] --> src/vm.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WrenVM; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "c65b78a43d71b86639f9e2f245f1f7d7c90e7f1ae9e76748a956e3cb125759d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65b78a43d71b86639f9e2f245f1f7d7c90e7f1ae9e76748a956e3cb125759d4", kill_on_drop: false }` [INFO] [stdout] c65b78a43d71b86639f9e2f245f1f7d7c90e7f1ae9e76748a956e3cb125759d4