[INFO] cloning repository https://github.com/trevarj/roxt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trevarj/roxt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01dba387a9df83688586280d208da54a6b55726f [INFO] checking trevarj/roxt against try#9961e55b3687a6d0b2bab4af0e5e81494b09be81 for pr-139087-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trevarj/roxt [INFO] finished tweaking git repo https://github.com/trevarj/roxt [INFO] tweaked toml for git repo https://github.com/trevarj/roxt written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trevarj/roxt on toolchain 9961e55b3687a6d0b2bab4af0e5e81494b09be81 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trevarj/roxt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded argh_shared v0.1.1 [INFO] [stderr] Downloaded argh_derive v0.1.1 [INFO] [stderr] Downloaded argh v0.1.3 [INFO] [stderr] Downloaded syn v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc6a5d7193bc443524af088f1bf6df7b0c354835c9de582d7e952f178ebca872 [INFO] running `Command { std: "docker" "start" "-a" "dc6a5d7193bc443524af088f1bf6df7b0c354835c9de582d7e952f178ebca872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc6a5d7193bc443524af088f1bf6df7b0c354835c9de582d7e952f178ebca872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6a5d7193bc443524af088f1bf6df7b0c354835c9de582d7e952f178ebca872", kill_on_drop: false }` [INFO] [stdout] dc6a5d7193bc443524af088f1bf6df7b0c354835c9de582d7e952f178ebca872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9961e55b3687a6d0b2bab4af0e5e81494b09be81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c4024d2ea16e6b7e1be9a909485e2ac6418a744a468fc537f40cd7418f5c0cb [INFO] running `Command { std: "docker" "start" "-a" "8c4024d2ea16e6b7e1be9a909485e2ac6418a744a468fc537f40cd7418f5c0cb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking argh v0.1.3 [INFO] [stderr] Checking roxt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::tokens::TokenType` [INFO] [stdout] --> src/interpreter/resolver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::tokens::TokenType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `peekable_next_if` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/interpreter/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(peekable_next_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterpretError` [INFO] [stdout] --> src/bytecode/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use vm::{InterpretError, VM}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/bytecode/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpValue` [INFO] [stdout] --> src/bytecode/vm.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | compiler::{Compiler, UpValue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tokens::TokenType` [INFO] [stdout] --> src/interpreter/resolver.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::tokens::TokenType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/interpreter/resolver.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interpreter::Interpreter` [INFO] [stdout] --> src/interpreter/resolver.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | use crate::{interpreter::Interpreter, lexer::*, parser::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterpretError` [INFO] [stdout] --> src/bytecode/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use vm::{InterpretError, VM}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/bytecode/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `chunk::OpCode` and `vm::VM` [INFO] [stdout] --> src/bytecode/compiler.rs:1045:17 [INFO] [stdout] | [INFO] [stdout] 1045 | use crate::{chunk::OpCode, memory::Memory, vm::VM}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UpValue` [INFO] [stdout] --> src/bytecode/vm.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | compiler::{Compiler, UpValue}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/bytecode/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `option_filter` [INFO] [stdout] | [INFO] [stdout] 1 - #![feature(drain_filter)] [INFO] [stdout] 1 + #![feature(option_filter)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `peekable_next_if` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/interpreter/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(peekable_next_if)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/bytecode/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a feature with a similar name: `option_filter` [INFO] [stdout] | [INFO] [stdout] 1 - #![feature(drain_filter)] [INFO] [stdout] 1 + #![feature(option_filter)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/interpreter.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | if let Atom::Function(id, params, stmt, closure) = callee { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/interpreter/interpreter.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:35 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Binary(lhs, op, rhs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | if let Expr::Binary(lhs, op, rhs) = expr { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedAssignment` is never constructed [INFO] [stdout] --> src/interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum RuntimeError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | UnsupportedAssignment { type_a: String, type_b: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SyntaxError` is never constructed [INFO] [stdout] --> src/interpreter/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 8 | #[error("Syntax error found.")] [INFO] [stdout] 9 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UsingVarInOwnInitializer` is never constructed [INFO] [stdout] --> src/interpreter/resolver.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 12 | #[error("Cannot read local variable {id:?} in its own initializer.")] [INFO] [stdout] 13 | UsingVarInOwnInitializer { id: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn make_constant(&mut self, value: Value, line: usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/interpreter/interpreter.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | if let Atom::Function(id, params, stmt, closure) = callee { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:387:32 [INFO] [stdout] | [INFO] [stdout] 387 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/interpreter/interpreter.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | env: &Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:143:47 [INFO] [stdout] | [INFO] [stdout] 143 | fn make_constant(&mut self, value: Value, line: usize) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:35 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/interpreter/interpreter.rs:413:59 [INFO] [stdout] | [INFO] [stdout] 413 | (Atom::Identifier(a, _), Atom::Identifier(b, _)) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/interpreter/interpreter.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let result = interpreter.interpret(program).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:340:32 [INFO] [stdout] | [INFO] [stdout] 340 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:387:32 [INFO] [stdout] | [INFO] [stdout] 387 | for (ident, depth, is_captured) in self.state.locals.iter().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | let line = self.peek()?.line(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:1028:32 [INFO] [stdout] | [INFO] [stdout] 1028 | for (idx, (l_ident, depth, is_captured)) in locals.iter().enumerate().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bytecode/compiler.rs:1013:13 [INFO] [stdout] | [INFO] [stdout] 1013 | let line = self.peek()?.line(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_captured` [INFO] [stdout] --> src/bytecode/compiler.rs:1028:32 [INFO] [stdout] | [INFO] [stdout] 1028 | for (idx, (l_ident, depth, is_captured)) in locals.iter().enumerate().rev() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | Expr::Binary(lhs, op, rhs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/interpreter/resolver.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | if let Expr::Binary(lhs, op, rhs) = expr { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnsupportedAssignment` is never constructed [INFO] [stdout] --> src/interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum RuntimeError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 20 | UnsupportedAssignment { type_a: String, type_b: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SyntaxError` is never constructed [INFO] [stdout] --> src/interpreter/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 8 | #[error("Syntax error found.")] [INFO] [stdout] 9 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UsingVarInOwnInitializer` is never constructed [INFO] [stdout] --> src/interpreter/resolver.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResolverError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 12 | #[error("Cannot read local variable {id:?} in its own initializer.")] [INFO] [stdout] 13 | UsingVarInOwnInitializer { id: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parser_setup` is never used [INFO] [stdout] --> src/interpreter/resolver.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn parser_setup(input: &str) -> Parser { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roxt` (bin "roxtc") due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roxt` (bin "roxtc" test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c4024d2ea16e6b7e1be9a909485e2ac6418a744a468fc537f40cd7418f5c0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c4024d2ea16e6b7e1be9a909485e2ac6418a744a468fc537f40cd7418f5c0cb", kill_on_drop: false }` [INFO] [stdout] 8c4024d2ea16e6b7e1be9a909485e2ac6418a744a468fc537f40cd7418f5c0cb