[INFO] cloning repository https://github.com/richwandell/rustjs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/rustjs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11dab4fb43817c73f05814e68b46ed13af33abbe [INFO] checking richwandell/rustjs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frustjs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rustjs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/rustjs [INFO] finished tweaking git repo https://github.com/richwandell/rustjs [INFO] tweaked toml for git repo https://github.com/richwandell/rustjs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/rustjs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", 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] f733d5096aab2781be76d6e7eff1e628b756064ec278bf6f8aaa6ee769fe1db6 [INFO] running `Command { std: "docker" "start" "-a" "f733d5096aab2781be76d6e7eff1e628b756064ec278bf6f8aaa6ee769fe1db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f733d5096aab2781be76d6e7eff1e628b756064ec278bf6f8aaa6ee769fe1db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f733d5096aab2781be76d6e7eff1e628b756064ec278bf6f8aaa6ee769fe1db6", kill_on_drop: false }` [INFO] [stdout] f733d5096aab2781be76d6e7eff1e628b756064ec278bf6f8aaa6ee769fe1db6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] cf52c3b564c6cae1227d0c621d8fd8ee97b4a119175a7b580f6dc5d5e868bf54 [INFO] running `Command { std: "docker" "start" "-a" "cf52c3b564c6cae1227d0c621d8fd8ee97b4a119175a7b580f6dc5d5e868bf54", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rustjs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler/tests/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Compiler` [INFO] [stdout] --> src/compiler/tests/math.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::{Compiler}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/math.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/tests/variables.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/variables.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/variables.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/tests/variables.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler/tests/variables.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/tests/functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler/tests/functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/functions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::compiler::Compiler` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::lexer::Lexer` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parser::Parser` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::compiler::op_codes::Op` [INFO] [stdout] --> src/compiler/tests/for_statements.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::compiler::op_codes::Op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Compiler` [INFO] [stdout] --> src/compiler/compiler.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Compiler { [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] --> src/compiler/compiler.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new() -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_binop` [INFO] [stdout] --> src/compiler/compiler.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn visit_binop(&mut self, a: Expression, op: Operator, b: Expression) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_ex` [INFO] [stdout] --> src/compiler/compiler.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn visit_ex(&mut self, ex: Expression) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit_st` [INFO] [stdout] --> src/compiler/compiler.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn visit_st(&mut self, st: Statement) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `visit` [INFO] [stdout] --> src/compiler/compiler.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | fn visit(&mut self, item: JSItem) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/compiler/compiler.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub(crate) fn compile(&mut self, ast: JSItem) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "cf52c3b564c6cae1227d0c621d8fd8ee97b4a119175a7b580f6dc5d5e868bf54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf52c3b564c6cae1227d0c621d8fd8ee97b4a119175a7b580f6dc5d5e868bf54", kill_on_drop: false }` [INFO] [stdout] cf52c3b564c6cae1227d0c621d8fd8ee97b4a119175a7b580f6dc5d5e868bf54