[INFO] cloning repository https://github.com/ChrisRG/rulox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChrisRG/rulox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisRG%2Frulox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisRG%2Frulox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35dc17bee6a7904d7bb2bd9ade6c7ec5f11f309f [INFO] checking ChrisRG/rulox against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisRG%2Frulox" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisRG/rulox on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ChrisRG/rulox [INFO] finished tweaking git repo https://github.com/ChrisRG/rulox [INFO] tweaked toml for git repo https://github.com/ChrisRG/rulox written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/ChrisRG/rulox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb1a17cd8e0afde5cfa584b062bd8df82fbf30c649f02e415c061c71e402086f [INFO] running `Command { std: "docker" "start" "-a" "bb1a17cd8e0afde5cfa584b062bd8df82fbf30c649f02e415c061c71e402086f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb1a17cd8e0afde5cfa584b062bd8df82fbf30c649f02e415c061c71e402086f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1a17cd8e0afde5cfa584b062bd8df82fbf30c649f02e415c061c71e402086f", kill_on_drop: false }` [INFO] [stdout] bb1a17cd8e0afde5cfa584b062bd8df82fbf30c649f02e415c061c71e402086f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eff2a5cbeaa094d95f5d36e542db4e9e3294b9d845d03ffc03e51aad37a67a9f [INFO] running `Command { std: "docker" "start" "-a" "eff2a5cbeaa094d95f5d36e542db4e9e3294b9d845d03ffc03e51aad37a67a9f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.74 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.74 [INFO] [stderr] Checking rulox-core v0.1.0 (/opt/rustwide/workdir/rulox-core) [INFO] [stdout] warning: associated function is never used: `into_callable` [INFO] [stdout] --> rulox-core/src/rulox/ast.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_callable(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(parent: Option) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `define` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn define(&mut self, name: Rc, value: Value) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get(&self, name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn assign(&mut self, name: Rc, value: Value) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_at` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn assign_at( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ancestor` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn ancestor(&self, distance: &usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_cell` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn into_cell(self) -> EnvCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `EnvCell` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EnvCell = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Interpreter` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new() -> Interpreter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_environment` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_environment(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpret` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn interpret(&mut self, statements: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn evaluate(&mut self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn execute(&mut self, stmt: &Stmt) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_block` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn execute_block( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn resolve(&mut self, name: Rc, depth: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_print_result` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn add_print_result(&mut self, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_truthy` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn is_truthy(val: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_number` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn extract_number(val: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TypeError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | TypeError { val: String, msg: &'static str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UndefinedError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | UndefinedError { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CallableError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | CallableError { msg: &'static str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArityError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | ArityError { expected: usize, got: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | Return(Value), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_error` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | fn type_error(val: &Value, msg: &'static str) -> RuntimeError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Resolver` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Resolver<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(interpreter: &'a mut Interpreter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_source` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn resolve_source(&mut self, stmts: &Vec) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_stmt` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn resolve_stmt(&mut self, stmt: Stmt) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_expr` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn resolve_expr(&mut self, expr: Expr) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `begin_scope` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn begin_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end_scope` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn end_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn declare(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `define` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn define(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_local` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn resolve_local(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_function` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn resolve_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scanner` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scanner<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(source_code: String, rulox: &'a mut Rulox) -> Scanner<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn scan_tokens(mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_token` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn scan_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_token` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn add_token(&mut self, t_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_next` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn match_next(&mut self, expected_char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_second` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn peek_second(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_comment` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn string(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn number(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identifier` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `environments` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | environments: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parse_tree` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | parse_tree: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_stream` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | token_stream: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: String) -> Rulox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn run(&mut self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_environment` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_environment(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokenize` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error_line` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn error_line(&mut self, line: usize, msg: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rulox-web v0.1.0 (/opt/rustwide/workdir/rulox-web) [INFO] [stdout] warning: associated function is never used: `into_callable` [INFO] [stdout] --> rulox-core/src/rulox/ast.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn into_callable(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(parent: Option) -> Environment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `define` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn define(&mut self, name: Rc, value: Value) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get(&self, name: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn assign(&mut self, name: Rc, value: Value) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_at` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn assign_at( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ancestor` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn ancestor(&self, distance: &usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_cell` [INFO] [stdout] --> rulox-core/src/rulox/environment.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn into_cell(self) -> EnvCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `call` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> rulox-core/src/rulox/function.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `EnvCell` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EnvCell = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Interpreter` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new() -> Interpreter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_environment` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_environment(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interpret` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn interpret(&mut self, statements: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn evaluate(&mut self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn execute(&mut self, stmt: &Stmt) -> Result<(), RuntimeError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_block` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn execute_block( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn resolve(&mut self, name: Rc, depth: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_print_result` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn add_print_result(&mut self, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_truthy` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:297:4 [INFO] [stdout] | [INFO] [stdout] 297 | fn is_truthy(val: &Value) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_number` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:306:4 [INFO] [stdout] | [INFO] [stdout] 306 | fn extract_number(val: &Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TypeError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | TypeError { val: String, msg: &'static str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UndefinedError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | UndefinedError { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CallableError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | CallableError { msg: &'static str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArityError` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | ArityError { expected: usize, got: usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | Return(Value), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_error` [INFO] [stdout] --> rulox-core/src/rulox/interpreter.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | fn type_error(val: &Value, msg: &'static str) -> RuntimeError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Resolver` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Resolver<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(interpreter: &'a mut Interpreter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_source` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn resolve_source(&mut self, stmts: &Vec) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_stmt` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn resolve_stmt(&mut self, stmt: Stmt) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_expr` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn resolve_expr(&mut self, expr: Expr) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `begin_scope` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn begin_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end_scope` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | fn end_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `declare` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn declare(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `define` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn define(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_local` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn resolve_local(&mut self, name: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `resolve_function` [INFO] [stdout] --> rulox-core/src/rulox/resolver.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn resolve_function( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scanner` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Scanner<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(source_code: String, rulox: &'a mut Rulox) -> Scanner<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn scan_tokens(mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_at_end` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_token` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn scan_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_token` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | fn add_token(&mut self, t_type: TokenType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_next` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn match_next(&mut self, expected_char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_second` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn peek_second(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_comment` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn block_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `string` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn string(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn number(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `identifier` [INFO] [stdout] --> rulox-core/src/rulox/scanner.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `environments` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | environments: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parse_tree` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | parse_tree: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_stream` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | token_stream: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: String) -> Rulox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn run(&mut self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_environment` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn get_environment(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokenize` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn tokenize(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error_line` [INFO] [stdout] --> rulox-core/src/rulox/mod.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn error_line(&mut self, line: usize, msg: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `had_errors` [INFO] [stdout] --> rulox-web/src/rulox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | had_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> rulox-web/src/rulox.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `had_errors` [INFO] [stdout] --> rulox-web/src/rulox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | had_errors: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> rulox-web/src/rulox.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.50s [INFO] running `Command { std: "docker" "inspect" "eff2a5cbeaa094d95f5d36e542db4e9e3294b9d845d03ffc03e51aad37a67a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff2a5cbeaa094d95f5d36e542db4e9e3294b9d845d03ffc03e51aad37a67a9f", kill_on_drop: false }` [INFO] [stdout] eff2a5cbeaa094d95f5d36e542db4e9e3294b9d845d03ffc03e51aad37a67a9f