[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 master#3cdcdaf31b45f8045164aae9604573d23091970b for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevarj/roxt on toolchain 3cdcdaf31b45f8045164aae9604573d23091970b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3cdcdaf31b45f8045164aae9604573d23091970b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+3cdcdaf31b45f8045164aae9604573d23091970b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking trevarj/roxt against try#05804f728f276cf7ecedbf71c814df440d37f293 for pr-122267 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevarj/roxt on toolchain 05804f728f276cf7ecedbf71c814df440d37f293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+05804f728f276cf7ecedbf71c814df440d37f293" "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 argh_derive v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded argh_shared v0.1.1 [INFO] [stderr] Downloaded anyhow v1.0.31 [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 390a1f39cff247420e411b8ba773a12a786b0eedcafe9891b411b8987d37a21f [INFO] running `Command { std: "docker" "start" "-a" "390a1f39cff247420e411b8ba773a12a786b0eedcafe9891b411b8987d37a21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "390a1f39cff247420e411b8ba773a12a786b0eedcafe9891b411b8987d37a21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390a1f39cff247420e411b8ba773a12a786b0eedcafe9891b411b8987d37a21f", kill_on_drop: false }` [INFO] [stdout] 390a1f39cff247420e411b8ba773a12a786b0eedcafe9891b411b8987d37a21f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+05804f728f276cf7ecedbf71c814df440d37f293" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fef2765a95e3571da97a2b18507cc993f5cde640f451637db55d760c0340fa3 [INFO] running `Command { std: "docker" "start" "-a" "9fef2765a95e3571da97a2b18507cc993f5cde640f451637db55d760c0340fa3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 quote v1.0.7 [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: `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)]` 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: `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)]` 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`, `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: the item `Memory` is imported redundantly [INFO] [stdout] --> src/bytecode/compiler.rs:1045:32 [INFO] [stdout] | [INFO] [stdout] 1044 | use super::*; [INFO] [stdout] | -------- the item `Memory` is already imported here [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] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/interpreter/interpreter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/05804f728f276cf7ecedbf71c814df440d37f293/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/interpreter/interpreter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/05804f728f276cf7ecedbf71c814df440d37f293/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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] [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] [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: 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: 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 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)]` 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: `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)]` 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: `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)]` 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: `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: 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: `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)]` 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: 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)]` on by default [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: 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: 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: 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: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: `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: 12 warnings emitted [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] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [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)]` 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] [stderr] error: could not compile `roxt` (bin "roxtc") due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `roxt` (bin "roxtc" test) due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9fef2765a95e3571da97a2b18507cc993f5cde640f451637db55d760c0340fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fef2765a95e3571da97a2b18507cc993f5cde640f451637db55d760c0340fa3", kill_on_drop: false }` [INFO] [stdout] 9fef2765a95e3571da97a2b18507cc993f5cde640f451637db55d760c0340fa3