[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevarj%2Froxt" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trevarj/roxt on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06029e259199ad76f323526da5f6e1f5ab19c5d5576649c850138a938939e936 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06029e259199ad76f323526da5f6e1f5ab19c5d5576649c850138a938939e936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06029e259199ad76f323526da5f6e1f5ab19c5d5576649c850138a938939e936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06029e259199ad76f323526da5f6e1f5ab19c5d5576649c850138a938939e936", kill_on_drop: false }` [INFO] [stdout] 06029e259199ad76f323526da5f6e1f5ab19c5d5576649c850138a938939e936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 308db474eb2395cc1199fe490c9df454bdb7773afbfa6d6cfe60d828c9c79a0b [INFO] running `Command { std: "docker" "start" "-a" "308db474eb2395cc1199fe490c9df454bdb7773afbfa6d6cfe60d828c9c79a0b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Compiling heck v0.3.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)]` 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] = note: `#[warn(unused_imports)]` 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)]` 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: 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 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 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: `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: `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: `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: `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 is never constructed: `UnsupportedAssignment` [INFO] [stdout] --> src/interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | UnsupportedAssignment { type_a: String, type_b: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SyntaxError` [INFO] [stdout] --> src/interpreter/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsingVarInOwnInitializer` [INFO] [stdout] --> src/interpreter/resolver.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UsingVarInOwnInitializer { id: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(unused_variables)]` on by default [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] [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: 10 warnings emitted [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] = note: `#[warn(unused_variables)]` on by default [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] [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: variant is never constructed: `UnsupportedAssignment` [INFO] [stdout] --> src/interpreter/interpreter.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | UnsupportedAssignment { type_a: String, type_b: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SyntaxError` [INFO] [stdout] --> src/interpreter/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SyntaxError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UsingVarInOwnInitializer` [INFO] [stdout] --> src/interpreter/resolver.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UsingVarInOwnInitializer { id: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parser_setup` [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] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.63s [INFO] running `Command { std: "docker" "inspect" "308db474eb2395cc1199fe490c9df454bdb7773afbfa6d6cfe60d828c9c79a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308db474eb2395cc1199fe490c9df454bdb7773afbfa6d6cfe60d828c9c79a0b", kill_on_drop: false }` [INFO] [stdout] 308db474eb2395cc1199fe490c9df454bdb7773afbfa6d6cfe60d828c9c79a0b