[INFO] cloning repository https://github.com/gabriel128/relox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabriel128/relox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aabbbc4b6f500ec1134ea524759d31315dca25c7 [INFO] building gabriel128/relox 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%2Fgabriel128%2Frelox" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel128/relox 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/gabriel128/relox [INFO] finished tweaking git repo https://github.com/gabriel128/relox [INFO] tweaked toml for git repo https://github.com/gabriel128/relox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gabriel128/relox 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 544e2adf0f53bb243ed400ec9c00003b843c00ab29ef4dbd7480a936a822b3d1 [INFO] running `Command { std: "docker" "start" "-a" "544e2adf0f53bb243ed400ec9c00003b843c00ab29ef4dbd7480a936a822b3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "544e2adf0f53bb243ed400ec9c00003b843c00ab29ef4dbd7480a936a822b3d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544e2adf0f53bb243ed400ec9c00003b843c00ab29ef4dbd7480a936a822b3d1", kill_on_drop: false }` [INFO] [stdout] 544e2adf0f53bb243ed400ec9c00003b843c00ab29ef4dbd7480a936a822b3d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cdaf5a05e0e6d14fceb7f91eaa8981dfdbf350dbf1029530cc243ca1fb799cdc [INFO] running `Command { std: "docker" "start" "-a" "cdaf5a05e0e6d14fceb7f91eaa8981dfdbf350dbf1029530cc243ca1fb799cdc", kill_on_drop: false }` [INFO] [stderr] Compiling relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Not` is never constructed [INFO] [stdout] --> src/bytecode/chunk.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OpCode { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool`, `String`, `Number`, and `Nil` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ExprLiteral { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 6 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Number(f32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprLiteral` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Literal`, `Grouping`, `Binary`, and `Unary` are never constructed [INFO] [stdout] --> src/grammar/expr.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | Literal(ExprLiteral), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Grouping(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Unary(Token, Box), // More efficient ? Binary(Box<(Expr<'a>, Expr<'a>)>, &'a Token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 27 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn one_or_many(&mut self, token_types: Vec, mut f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn expression(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn equality(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn comparison(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn term(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn factor(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn unary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn primary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn consume(&mut self, token_type: TokenType, message: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "cdaf5a05e0e6d14fceb7f91eaa8981dfdbf350dbf1029530cc243ca1fb799cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdaf5a05e0e6d14fceb7f91eaa8981dfdbf350dbf1029530cc243ca1fb799cdc", kill_on_drop: false }` [INFO] [stdout] cdaf5a05e0e6d14fceb7f91eaa8981dfdbf350dbf1029530cc243ca1fb799cdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] aa395007b16a62263e690c9b9efca32955899002d3d072a3b74b589f38628f26 [INFO] running `Command { std: "docker" "start" "-a" "aa395007b16a62263e690c9b9efca32955899002d3d072a3b74b589f38628f26", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `is_empty` and `dissasemble` are never used [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Chunk { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Or`, `And`, `Equality`, `Comparison`, `Call`, and `Primary` are never constructed [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | Or, // or [INFO] [stdout] | ^^ [INFO] [stdout] 15 | And, // and [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Equality, // == != [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Comparison, // < > <= >= [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Call, // . () [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Scanner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "aa395007b16a62263e690c9b9efca32955899002d3d072a3b74b589f38628f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa395007b16a62263e690c9b9efca32955899002d3d072a3b74b589f38628f26", kill_on_drop: false }` [INFO] [stdout] aa395007b16a62263e690c9b9efca32955899002d3d072a3b74b589f38628f26