[INFO] cloning repository https://github.com/jeppester/rust-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeppester/rust-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f50c02e85aae215253099b951b3ae5363c36224 [INFO] checking jeppester/rust-interpreter against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] finished tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] tweaked toml for git repo https://github.com/jeppester/rust-interpreter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jeppester/rust-interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c24047c539aa651a7c6979cf62e6cfb126282d22be154979bc06e1a20afb1097 [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" "c24047c539aa651a7c6979cf62e6cfb126282d22be154979bc06e1a20afb1097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c24047c539aa651a7c6979cf62e6cfb126282d22be154979bc06e1a20afb1097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c24047c539aa651a7c6979cf62e6cfb126282d22be154979bc06e1a20afb1097", kill_on_drop: false }` [INFO] [stdout] c24047c539aa651a7c6979cf62e6cfb126282d22be154979bc06e1a20afb1097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ee0bf8606b5fa93cc3078b8f79814a94946db16fc49f95f7bf5db3c3a6fdd13 [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" "8ee0bf8606b5fa93cc3078b8f79814a94946db16fc49f95f7bf5db3c3a6fdd13", kill_on_drop: false }` [INFO] [stderr] Checking monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `node` in this scope [INFO] [stdout] --> src/evaluator/tests.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | eval(node: program) [INFO] [stdout] | ^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found local variable `program` [INFO] [stdout] --> src/evaluator/tests.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | eval(node: program) [INFO] [stdout] | ^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/evaluator/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn eval(node: &Statement) -> impl Object { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [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: `token_literal` [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockStatement` [INFO] [stdout] --> src/ast/mod.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/object/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn to_string(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eval` [INFO] [stdout] --> src/evaluator/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn eval(node: &Statement) -> impl Object { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monkey-interpreter`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8ee0bf8606b5fa93cc3078b8f79814a94946db16fc49f95f7bf5db3c3a6fdd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee0bf8606b5fa93cc3078b8f79814a94946db16fc49f95f7bf5db3c3a6fdd13", kill_on_drop: false }` [INFO] [stdout] 8ee0bf8606b5fa93cc3078b8f79814a94946db16fc49f95f7bf5db3c3a6fdd13