[INFO] cloning repository https://github.com/bradford-hamilton/monkey-lang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bradford-hamilton/monkey-lang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradford-hamilton%2Fmonkey-lang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradford-hamilton%2Fmonkey-lang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9baab902d4f0d377b40c71d31fd1cd99d3b9baef [INFO] checking bradford-hamilton/monkey-lang-rs/9baab902d4f0d377b40c71d31fd1cd99d3b9baef against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradford-hamilton%2Fmonkey-lang-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bradford-hamilton/monkey-lang-rs on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bradford-hamilton/monkey-lang-rs [INFO] finished tweaking git repo https://github.com/bradford-hamilton/monkey-lang-rs [INFO] tweaked toml for git repo https://github.com/bradford-hamilton/monkey-lang-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bradford-hamilton/monkey-lang-rs 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b8e061b19e59be41797bff9ebd0331b01f7a920649f1369f88fa004a0c6cb8e [INFO] running `Command { std: "docker" "start" "-a" "4b8e061b19e59be41797bff9ebd0331b01f7a920649f1369f88fa004a0c6cb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b8e061b19e59be41797bff9ebd0331b01f7a920649f1369f88fa004a0c6cb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8e061b19e59be41797bff9ebd0331b01f7a920649f1369f88fa004a0c6cb8e", kill_on_drop: false }` [INFO] [stdout] 4b8e061b19e59be41797bff9ebd0331b01f7a920649f1369f88fa004a0c6cb8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18bb5c549d931f4a6b505108f1e7faaa2bd80eb410cdaf5981cfb2cca6fe2543 [INFO] running `Command { std: "docker" "start" "-a" "18bb5c549d931f4a6b505108f1e7faaa2bd80eb410cdaf5981cfb2cca6fe2543", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking monkey-lang-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/vm.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | Array, Boolean, Closure, CompiledFunc, Error, HashKey, HashMp, Integer, Null, Object, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/parser.rs:4:69 [INFO] [stdout] | [INFO] [stdout] 4 | IndexExpression, InfixExpression, IntegerLiteral, LetStatement, Node, PrefixExpression, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_builtin_by_name` is never used [INFO] [stdout] --> src/builtins.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_builtin_by_name(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bytecode.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instructions { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt_instruction` is never used [INFO] [stdout] --> src/bytecode.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn fmt_instruction(definition: &Definition, operands: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_operands` is never used [INFO] [stdout] --> src/bytecode.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_operands(def: &Definition, ins: &[u8]) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bytecode.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 112 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_u8` is never used [INFO] [stdout] --> src/bytecode.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl Opcode { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 189 | pub fn to_u8(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/bytecode.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn lookup(op: Opcode) -> Result<&'static Definition, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `store` and `outer` are never read [INFO] [stdout] --> src/environment.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Environment { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | store: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | outer: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_enclosed`, `get`, and `set` are never used [INFO] [stdout] --> src/environment.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_enclosed(outer: Rc>) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn set(&mut self, name: String, val: Rc) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/object.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | pub env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/symbol_table.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl SymbolScope { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 20 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_global_state` and `last_popped_stack_element` are never used [INFO] [stdout] --> src/vm.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> VirtualMachine<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new_with_global_state(bytecode: Bytecode<'a>, state: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn last_popped_stack_element(&self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bytecode.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instructions { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt_instruction` is never used [INFO] [stdout] --> src/bytecode.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn fmt_instruction(definition: &Definition, operands: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_operands` is never used [INFO] [stdout] --> src/bytecode.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_operands(def: &Definition, ins: &[u8]) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/bytecode.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 112 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_u8` is never used [INFO] [stdout] --> src/bytecode.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl Opcode { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 189 | pub fn to_u8(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup` is never used [INFO] [stdout] --> src/bytecode.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn lookup(op: Opcode) -> Result<&'static Definition, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/object.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 186 | pub env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/symbol_table.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl SymbolScope { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 20 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_global_state` is never used [INFO] [stdout] --> src/vm.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> VirtualMachine<'a> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn new_with_global_state(bytecode: Bytecode<'a>, state: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "18bb5c549d931f4a6b505108f1e7faaa2bd80eb410cdaf5981cfb2cca6fe2543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18bb5c549d931f4a6b505108f1e7faaa2bd80eb410cdaf5981cfb2cca6fe2543", kill_on_drop: false }` [INFO] [stdout] 18bb5c549d931f4a6b505108f1e7faaa2bd80eb410cdaf5981cfb2cca6fe2543