[INFO] cloning repository https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodeSnowman%2Fwriting_an_interpreter_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodeSnowman%2Fwriting_an_interpreter_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0952a8d5bbdba06124f3cc94e5528daa4a81c828 [INFO] checking UnicodeSnowman/writing_an_interpreter_in_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnicodeSnowman%2Fwriting_an_interpreter_in_rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust 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/UnicodeSnowman/writing_an_interpreter_in_rust [INFO] finished tweaking git repo https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust [INFO] tweaked toml for git repo https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/UnicodeSnowman/writing_an_interpreter_in_rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc56cd32f1d648fefaf9949741e670b8a1afac493609c3d74e25c278a2e6ecc7 [INFO] running `Command { std: "docker" "start" "-a" "dc56cd32f1d648fefaf9949741e670b8a1afac493609c3d74e25c278a2e6ecc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc56cd32f1d648fefaf9949741e670b8a1afac493609c3d74e25c278a2e6ecc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc56cd32f1d648fefaf9949741e670b8a1afac493609c3d74e25c278a2e6ecc7", kill_on_drop: false }` [INFO] [stdout] dc56cd32f1d648fefaf9949741e670b8a1afac493609c3d74e25c278a2e6ecc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] ae8d6016304fea94f22d5230221cb52b0ed0e773033111eaf13fff56d4dcac0c [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" "ae8d6016304fea94f22d5230221cb52b0ed0e773033111eaf13fff56d4dcac0c", kill_on_drop: false }` [INFO] [stderr] Checking writing_an_interpreter_in_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | value: Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | value: Box [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blah` [INFO] [stdout] --> src/parser.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let blah = lexer.current_token(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blah` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blah` [INFO] [stdout] --> src/parser.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let blah = lexer.current_token(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blah` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Statement` in public interface (error E0445) [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn token_literal(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ast.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | name: Identifier<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ast.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | value: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | value: &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lexer` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | lexer: &'p mut Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `errors` [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | errors: Vec<&'p str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_token` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | current_token: Token<'p>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `peek_token` [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | peek_token: Token<'p> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/parser.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn next_token(&'p mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Statement` in public interface (error E0445) [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn token_literal(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/ast.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | name: Identifier<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ast.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | value: Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | value: &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lexer` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | lexer: &'p mut Lexer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `errors` [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | errors: Vec<&'p str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_token` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | current_token: Token<'p>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `peek_token` [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | peek_token: Token<'p> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/parser.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn next_token(&'p mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "ae8d6016304fea94f22d5230221cb52b0ed0e773033111eaf13fff56d4dcac0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8d6016304fea94f22d5230221cb52b0ed0e773033111eaf13fff56d4dcac0c", kill_on_drop: false }` [INFO] [stdout] ae8d6016304fea94f22d5230221cb52b0ed0e773033111eaf13fff56d4dcac0c