[INFO] cloning repository https://github.com/IceRabbit1999/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IceRabbit1999/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceRabbit1999%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceRabbit1999%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 477d0ba5b0fdb809d633a1fac65dc8792f08eb4c [INFO] building IceRabbit1999/lox 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%2FIceRabbit1999%2Flox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IceRabbit1999/lox 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/IceRabbit1999/lox [INFO] finished tweaking git repo https://github.com/IceRabbit1999/lox [INFO] tweaked toml for git repo https://github.com/IceRabbit1999/lox written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IceRabbit1999/lox 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 447f43871b0fe24f6a03173c0df03c14ab3b93c3337d7ced78380f2a81120832 [INFO] running `Command { std: "docker" "start" "-a" "447f43871b0fe24f6a03173c0df03c14ab3b93c3337d7ced78380f2a81120832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "447f43871b0fe24f6a03173c0df03c14ab3b93c3337d7ced78380f2a81120832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447f43871b0fe24f6a03173c0df03c14ab3b93c3337d7ced78380f2a81120832", kill_on_drop: false }` [INFO] [stdout] 447f43871b0fe24f6a03173c0df03c14ab3b93c3337d7ced78380f2a81120832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b695009372d1258665196e0e54fda96cdb98ab46a2fdf37f30e834a3f9b07e7b [INFO] running `Command { std: "docker" "start" "-a" "b695009372d1258665196e0e54fda96cdb98ab46a2fdf37f30e834a3f9b07e7b", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 16 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | Group(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Number(Number), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Print(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Variable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Clone`, 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 `evaluate`, `evaluate_binary`, and `evaluate_unary` are never used [INFO] [stdout] --> src/evaluating.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl AstNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 6 | pub fn evaluate(&self) -> EvaluateResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn evaluate_binary(&self) -> EvaluateResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn evaluate_unary(&self) -> EvaluateResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EvaluateResult` is never used [INFO] [stdout] --> src/evaluating.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum EvaluateResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvaluateResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lexing` is never used [INFO] [stdout] --> src/lexing.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lexing(path: &str) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parsing.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/parsing.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_var`, `add_var`, `expire`, and `forward` are never used [INFO] [stdout] --> src/parsing.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Scope { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 44 | pub fn get_var( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_var( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn expire(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn forward(self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_var`, `add_var`, `forward_scope`, and `expire_scope` are never used [INFO] [stdout] --> src/parsing.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 84 | fn get_var( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_var( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn forward_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn expire_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsing.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 108 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn parse(&mut self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn program(&mut self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn declaration(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn var_declaration(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn statement(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn print_statement(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn block(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn expression(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn assignment(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn equality(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn comparison(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn term(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn factor(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn unary(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn primary(&mut self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | fn peek(&self) -> &TokenType { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn next(&self) -> Option<&TokenType> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn forward(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 12 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | Tab, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | NewLine, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | Number(Number), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | KeyWord(KeyWord), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_char` and `is_skippable` are never used [INFO] [stdout] --> src/token.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl TokenType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 78 | pub fn from_char(s: char) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_skippable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer` and `Float` are never constructed [INFO] [stdout] --> src/token.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum Number { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 146 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 147 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Number` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] running `Command { std: "docker" "inspect" "b695009372d1258665196e0e54fda96cdb98ab46a2fdf37f30e834a3f9b07e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b695009372d1258665196e0e54fda96cdb98ab46a2fdf37f30e834a3f9b07e7b", kill_on_drop: false }` [INFO] [stdout] b695009372d1258665196e0e54fda96cdb98ab46a2fdf37f30e834a3f9b07e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99014a683d3549284f65ced6b711f43ee3f229a8a5848fe88bd3fcb1f2f1e76e [INFO] running `Command { std: "docker" "start" "-a" "99014a683d3549284f65ced6b711f43ee3f229a8a5848fe88bd3fcb1f2f1e76e", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "99014a683d3549284f65ced6b711f43ee3f229a8a5848fe88bd3fcb1f2f1e76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99014a683d3549284f65ced6b711f43ee3f229a8a5848fe88bd3fcb1f2f1e76e", kill_on_drop: false }` [INFO] [stdout] 99014a683d3549284f65ced6b711f43ee3f229a8a5848fe88bd3fcb1f2f1e76e