[INFO] cloning repository https://github.com/TateKennington/Rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TateKennington/Rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a221a7bfa7c46ef1a35761c718a67372d5787759 [INFO] checking TateKennington/Rlox against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTateKennington%2FRlox" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TateKennington/Rlox on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TateKennington/Rlox [INFO] finished tweaking git repo https://github.com/TateKennington/Rlox [INFO] tweaked toml for git repo https://github.com/TateKennington/Rlox written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/TateKennington/Rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab25dca354bce52c3f96722d511bf8b8d9d7517dedd223183684d3701ca00ae4 [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" "ab25dca354bce52c3f96722d511bf8b8d9d7517dedd223183684d3701ca00ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab25dca354bce52c3f96722d511bf8b8d9d7517dedd223183684d3701ca00ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab25dca354bce52c3f96722d511bf8b8d9d7517dedd223183684d3701ca00ae4", kill_on_drop: false }` [INFO] [stdout] ab25dca354bce52c3f96722d511bf8b8d9d7517dedd223183684d3701ca00ae4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96e43dbc5aa5c91d534984ac4a90bd093b4745649d64ffdf5cc25abb7c744dfc [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" "96e43dbc5aa5c91d534984ac4a90bd093b4745649d64ffdf5cc25abb7c744dfc", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/interpreter.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Unsupported Expr"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => panic!("Unsupported Statement"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Unsupported Expression"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/lox.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let program = parser.parse(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/lox/interpreter.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn interpret_literal(token: &Token, environment: &mut Environment) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/interpreter.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Unsupported Expr"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => panic!("Unsupported Statement"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Unsupported Expression"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/lox.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let program = parser.parse(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/lox/interpreter.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn interpret_literal(token: &Token, environment: &mut Environment) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_rpn` [INFO] [stdout] --> src/lox/expr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print_rpn(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_prompt` [INFO] [stdout] --> src/lox.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn run_prompt() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_file` [INFO] [stdout] --> src/lox.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_file(path: &String, output: &mut String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate_run` [INFO] [stdout] --> src/lox.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn evaluate_run(source: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_rpn` [INFO] [stdout] --> src/lox/expr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print_rpn(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_prompt` [INFO] [stdout] --> src/lox.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn run_prompt() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_file` [INFO] [stdout] --> src/lox.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_file(path: &String, output: &mut String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate_run` [INFO] [stdout] --> src/lox.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn evaluate_run(source: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lox/stmt.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write!(output, "{}", expr.interpret(environment)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lox/stmt.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write!(output, "{}", expr.interpret(environment)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lox::expr::Expr` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lox::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use lox::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lox::expr::Expr` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lox::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use lox::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/interpreter.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Unsupported Expr"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => panic!("Unsupported Statement"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Unsupported Expression"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/lox.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let program = parser.parse(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/lox/interpreter.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn interpret_literal(token: &Token, environment: &mut Environment) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/interpreter.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Unsupported Expr"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | _ => panic!("Unsupported Statement"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_rpn` [INFO] [stdout] --> src/lox/expr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print_rpn(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate_run` [INFO] [stdout] --> src/lox.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn evaluate_run(source: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lox/stmt.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Unsupported Expression"), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/lox.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let program = parser.parse(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `environment` [INFO] [stdout] --> src/lox/interpreter.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn interpret_literal(token: &Token, environment: &mut Environment) -> Value { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_environment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_rpn` [INFO] [stdout] --> src/lox/expr.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn print_rpn(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `evaluate_run` [INFO] [stdout] --> src/lox.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn evaluate_run(source: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lox/stmt.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write!(output, "{}", expr.interpret(environment)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lox/stmt.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | write!(output, "{}", expr.interpret(environment)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.96s [INFO] running `Command { std: "docker" "inspect" "96e43dbc5aa5c91d534984ac4a90bd093b4745649d64ffdf5cc25abb7c744dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e43dbc5aa5c91d534984ac4a90bd093b4745649d64ffdf5cc25abb7c744dfc", kill_on_drop: false }` [INFO] [stdout] 96e43dbc5aa5c91d534984ac4a90bd093b4745649d64ffdf5cc25abb7c744dfc