[INFO] cloning repository https://github.com/n4to4/interpreter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n4to4/interpreter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Finterpreter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Finterpreter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14ece5df4d2e1a7f60069af47418825a0d3bcc78 [INFO] building n4to4/interpreter-rs against try#434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 for pr-101591 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Finterpreter-rs" "/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/n4to4/interpreter-rs on toolchain 434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/n4to4/interpreter-rs [INFO] finished tweaking git repo https://github.com/n4to4/interpreter-rs [INFO] tweaked toml for git repo https://github.com/n4to4/interpreter-rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/n4to4/interpreter-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c1ad8871b98ef6c5c8080e33c0e5acf93a1261fa0051ed4fe293e7ab94a9a50 [INFO] running `Command { std: "docker" "start" "-a" "8c1ad8871b98ef6c5c8080e33c0e5acf93a1261fa0051ed4fe293e7ab94a9a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c1ad8871b98ef6c5c8080e33c0e5acf93a1261fa0051ed4fe293e7ab94a9a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1ad8871b98ef6c5c8080e33c0e5acf93a1261fa0051ed4fe293e7ab94a9a50", kill_on_drop: false }` [INFO] [stdout] 8c1ad8871b98ef6c5c8080e33c0e5acf93a1261fa0051ed4fe293e7ab94a9a50 [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" "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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d044a527fcb804a76dd7a78ebdb8ddfe70227dbdf938f6c629e1a01ab381cdaa [INFO] running `Command { std: "docker" "start" "-a" "d044a527fcb804a76dd7a78ebdb8ddfe70227dbdf938f6c629e1a01ab381cdaa", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling pretty_assertions v0.5.1 [INFO] [stderr] Compiling interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub statements: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub statements: Vec>, [INFO] [stdout] 24 + pub statements: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn as_statement(&self) -> &Statement; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn as_statement(&self) -> &Statement; [INFO] [stdout] 84 + fn as_statement(&self) -> &dyn Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | fn as_box_statement(self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - fn as_box_statement(self) -> Box; [INFO] [stdout] 85 + fn as_box_statement(self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:88:32 [INFO] [stdout] | [INFO] [stdout] 88 | fn as_statement(&self) -> &Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - fn as_statement(&self) -> &Statement { [INFO] [stdout] 88 + fn as_statement(&self) -> &dyn Statement { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | fn as_box_statement(self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - fn as_box_statement(self) -> Box { [INFO] [stdout] 92 + fn as_box_statement(self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:46:49 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn parse_statement(&mut self) -> Option> { [INFO] [stdout] 46 + fn parse_statement(&mut self) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repl.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let mut l = Lexer::new(line); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/ast.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ast.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `token_literal` is never used [INFO] [stdout] --> src/ast.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn token_literal(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(l: &'a mut Lexer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `next_token` is never used [INFO] [stdout] --> src/parser.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_program` is never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn parse_program(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_statement` is never used [INFO] [stdout] --> src/parser.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn parse_statement(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_let_statement` is never used [INFO] [stdout] --> src/parser.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn parse_let_statement(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `cur_token_is` is never used [INFO] [stdout] --> src/parser.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn cur_token_is(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `peek_token_is` is never used [INFO] [stdout] --> src/parser.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn peek_token_is(&self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expect_peek` is never used [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn expect_peek(&mut self, t: token::TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.41s [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "d044a527fcb804a76dd7a78ebdb8ddfe70227dbdf938f6c629e1a01ab381cdaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d044a527fcb804a76dd7a78ebdb8ddfe70227dbdf938f6c629e1a01ab381cdaa", kill_on_drop: false }` [INFO] [stdout] d044a527fcb804a76dd7a78ebdb8ddfe70227dbdf938f6c629e1a01ab381cdaa