[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] 44300ad7f3aea5816bf6b9834fbf5eb21cb7e539 [INFO] checking jeppester/rust-interpreter against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/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/jeppester/rust-interpreter on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eb041003f2a2244fb9a36e698431b96addfc6ea4700e600ae001ed12a45df31 [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" "7eb041003f2a2244fb9a36e698431b96addfc6ea4700e600ae001ed12a45df31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eb041003f2a2244fb9a36e698431b96addfc6ea4700e600ae001ed12a45df31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb041003f2a2244fb9a36e698431b96addfc6ea4700e600ae001ed12a45df31", kill_on_drop: false }` [INFO] [stdout] 7eb041003f2a2244fb9a36e698431b96addfc6ea4700e600ae001ed12a45df31 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 079c0db84c5b0083828f7f4653f225b57747f5b92c3873200224df46cb140d8d [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" "079c0db84c5b0083828f7f4653f225b57747f5b92c3873200224df46cb140d8d", kill_on_drop: false }` [INFO] [stderr] Checking monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/test_support/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / macro_rules! match_or_fail { [INFO] [stdout] 3 | | ($expression:expr, $matcher:pat => $result:expr) => { [INFO] [stdout] 4 | | match $expression { [INFO] [stdout] 5 | | $matcher => $result, [INFO] [stdout] ... | [INFO] [stdout] 8 | | } [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/test_support/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | ref e => panic!("Expected match for:\n\t{}\nGot:\n\t{:?}", stringify!($matcher), e), [INFO] [stdout] | ^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] ::: src/eval/tests.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let error_message = match_or_fail!(error, EvalError(m) => m); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | matches any value [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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: 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: `to_string` [INFO] [stdout] --> src/ast/block_statement.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [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: `to_string` [INFO] [stdout] --> src/ast/boolean_literal.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/call_expression.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/function_literal.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/identifier.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/if_expression.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/infix_expression.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/integer_literal.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/let_statement.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: `to_string` [INFO] [stdout] --> src/ast/let_statement.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [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: `to_string` [INFO] [stdout] --> src/ast/prefix_expression.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/return_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | 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/ast/return_statement.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/string_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: `to_string` [INFO] [stdout] --> src/ast/string_literal.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | 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/ast/mod.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockStatement` [INFO] [stdout] --> src/ast/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | 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/ast/mod.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | 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/ast/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [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/string_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/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | 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:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | 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:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "079c0db84c5b0083828f7f4653f225b57747f5b92c3873200224df46cb140d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079c0db84c5b0083828f7f4653f225b57747f5b92c3873200224df46cb140d8d", kill_on_drop: false }` [INFO] [stdout] 079c0db84c5b0083828f7f4653f225b57747f5b92c3873200224df46cb140d8d