[INFO] cloning repository https://github.com/jufer002/lox-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jufer002/lox-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5306e472cacacce9e6eef880be21ccac1d3e3d6c [INFO] building jufer002/lox-interpreter against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjufer002%2Flox-interpreter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jufer002/lox-interpreter on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] finished tweaking git repo https://github.com/jufer002/lox-interpreter [INFO] tweaked toml for git repo https://github.com/jufer002/lox-interpreter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jufer002/lox-interpreter 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.4 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d58c4d61ceb4fffe08d52f2d96359ecdd8de75c81bbc9b4f8912d5cdd6dc4bee [INFO] running `Command { std: "docker" "start" "-a" "d58c4d61ceb4fffe08d52f2d96359ecdd8de75c81bbc9b4f8912d5cdd6dc4bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d58c4d61ceb4fffe08d52f2d96359ecdd8de75c81bbc9b4f8912d5cdd6dc4bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58c4d61ceb4fffe08d52f2d96359ecdd8de75c81bbc9b4f8912d5cdd6dc4bee", kill_on_drop: false }` [INFO] [stdout] d58c4d61ceb4fffe08d52f2d96359ecdd8de75c81bbc9b4f8912d5cdd6dc4bee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 102c9b5ebd0a66e3efb376b56302e7ccfd37859b783bd232ec3b95daf24e5a53 [INFO] running `Command { std: "docker" "start" "-a" "102c9b5ebd0a66e3efb376b56302e7ccfd37859b783bd232ec3b95daf24e5a53", kill_on_drop: false }` [INFO] [stderr] Compiling lox-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "102c9b5ebd0a66e3efb376b56302e7ccfd37859b783bd232ec3b95daf24e5a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102c9b5ebd0a66e3efb376b56302e7ccfd37859b783bd232ec3b95daf24e5a53", kill_on_drop: false }` [INFO] [stdout] 102c9b5ebd0a66e3efb376b56302e7ccfd37859b783bd232ec3b95daf24e5a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be07b36347f1a563a54136dc5f3595254cb53e259f7a95de3109cf60620038d [INFO] running `Command { std: "docker" "start" "-a" "7be07b36347f1a563a54136dc5f3595254cb53e259f7a95de3109cf60620038d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling lox-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `False`, `True`, and `Nil` are never constructed [INFO] [stdout] --> src/lexer.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum LitType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tokens` and `curr` are never read [INFO] [stdout] --> src/parser.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | curr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn consume(&mut self, tok_types: &[TokenType]) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn check(&self, tok_type: &TokenType) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn peek(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn prev(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn expression(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn equality(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn comparison(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn term(&mut self) -> Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn factor(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn unary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn primary(&mut self) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op_type` and `str_val` are never used [INFO] [stdout] --> src/lexer.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn op_type(&self) -> Option<&OpType> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn str_val(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "7be07b36347f1a563a54136dc5f3595254cb53e259f7a95de3109cf60620038d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be07b36347f1a563a54136dc5f3595254cb53e259f7a95de3109cf60620038d", kill_on_drop: false }` [INFO] [stdout] 7be07b36347f1a563a54136dc5f3595254cb53e259f7a95de3109cf60620038d