[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] testing gabriel128/relox against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel128%2Frelox" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel128/relox on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bedf45a72e9ba44016a5b516ee41d299b835946338213d0e27c7daf27f2bac4 [INFO] running `Command { std: "docker" "start" "-a" "8bedf45a72e9ba44016a5b516ee41d299b835946338213d0e27c7daf27f2bac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bedf45a72e9ba44016a5b516ee41d299b835946338213d0e27c7daf27f2bac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bedf45a72e9ba44016a5b516ee41d299b835946338213d0e27c7daf27f2bac4", kill_on_drop: false }` [INFO] [stdout] 8bedf45a72e9ba44016a5b516ee41d299b835946338213d0e27c7daf27f2bac4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0de9e999fe3e5d34757b095ae8d14663f8d26f5984638bf3eb53487dfd0a92c7 [INFO] running `Command { std: "docker" "start" "-a" "0de9e999fe3e5d34757b095ae8d14663f8d26f5984638bf3eb53487dfd0a92c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse(&mut self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one_or_many` [INFO] [stdout] --> src/parser/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn one_or_many(&mut self, token_types: Vec, mut f: F) -> Result> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expression` [INFO] [stdout] --> src/parser/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn expression(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `equality` [INFO] [stdout] --> src/parser/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn equality(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comparison` [INFO] [stdout] --> src/parser/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn comparison(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `term` [INFO] [stdout] --> src/parser/mod.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn term(&mut self) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `factor` [INFO] [stdout] --> src/parser/mod.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn factor(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unary` [INFO] [stdout] --> src/parser/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn unary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primary` [INFO] [stdout] --> src/parser/mod.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn primary(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume` [INFO] [stdout] --> src/parser/mod.rs:161:8 [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 is never read: `errors` [INFO] [stdout] --> src/scanner/mod.rs:15:5 [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] --> src/scanner/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Not` [INFO] [stdout] --> src/bytecode/chunk.rs:19:5 [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] --> src/bytecode/chunk.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dissasemble` [INFO] [stdout] --> src/bytecode/chunk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Or, // or [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/bytecode/compiler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | And, // and [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equality` [INFO] [stdout] --> src/bytecode/compiler.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Equality, // == != [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/bytecode/compiler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Comparison, // < > <= >= [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/bytecode/compiler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Call, // . () [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primary` [INFO] [stdout] --> src/bytecode/compiler.rs:22:5 [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/grammar/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Bool(bool), [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] --> src/grammar/expr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/grammar/expr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | String(String), [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] --> src/grammar/expr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/grammar/expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Number(f32), [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] --> src/grammar/expr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/grammar/expr.rs:9:5 [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] --> src/grammar/expr.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/grammar/expr.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Literal(ExprLiteral), [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] --> src/grammar/expr.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Grouping` [INFO] [stdout] --> src/grammar/expr.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Grouping(Box), [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] --> src/grammar/expr.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Binary` [INFO] [stdout] --> src/grammar/expr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Binary(Box, Token, Box), [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] --> src/grammar/expr.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unary` [INFO] [stdout] --> src/grammar/expr.rs:17:5 [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] --> src/grammar/expr.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "0de9e999fe3e5d34757b095ae8d14663f8d26f5984638bf3eb53487dfd0a92c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de9e999fe3e5d34757b095ae8d14663f8d26f5984638bf3eb53487dfd0a92c7", kill_on_drop: false }` [INFO] [stdout] 0de9e999fe3e5d34757b095ae8d14663f8d26f5984638bf3eb53487dfd0a92c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30a98f61e90f7862616074ae3ed3930b1cebd08ece3819017bd613bb778534dd [INFO] running `Command { std: "docker" "start" "-a" "30a98f61e90f7862616074ae3ed3930b1cebd08ece3819017bd613bb778534dd", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling relox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `errors` [INFO] [stdout] --> src/scanner/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | errors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/bytecode/chunk.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dissasemble` [INFO] [stdout] --> src/bytecode/chunk.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn dissasemble(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/bytecode/compiler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Or, // or [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/bytecode/compiler.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | And, // and [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equality` [INFO] [stdout] --> src/bytecode/compiler.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Equality, // == != [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/bytecode/compiler.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Comparison, // < > <= >= [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/bytecode/compiler.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Call, // . () [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primary` [INFO] [stdout] --> src/bytecode/compiler.rs:22:5 [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] --> src/bytecode/compiler.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "30a98f61e90f7862616074ae3ed3930b1cebd08ece3819017bd613bb778534dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a98f61e90f7862616074ae3ed3930b1cebd08ece3819017bd613bb778534dd", kill_on_drop: false }` [INFO] [stdout] 30a98f61e90f7862616074ae3ed3930b1cebd08ece3819017bd613bb778534dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] abd73e3499d435207c04e4824fb76640a63240625e18513e6fc142d57f43b055 [INFO] running `Command { std: "docker" "start" "-a" "abd73e3499d435207c04e4824fb76640a63240625e18513e6fc142d57f43b055", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `errors` [INFO] [stderr] --> src/scanner/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | errors: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner/mod.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_empty` [INFO] [stderr] --> src/bytecode/chunk.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dissasemble` [INFO] [stderr] --> src/bytecode/chunk.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn dissasemble(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Or` [INFO] [stderr] --> src/bytecode/compiler.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Or, // or [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `And` [INFO] [stderr] --> src/bytecode/compiler.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | And, // and [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equality` [INFO] [stderr] --> src/bytecode/compiler.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Equality, // == != [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Comparison` [INFO] [stderr] --> src/bytecode/compiler.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Comparison, // < > <= >= [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/bytecode/compiler.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | Call, // . () [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Primary` [INFO] [stderr] --> src/bytecode/compiler.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | Primary, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bytecode/compiler.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `relox` (bin "relox" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/relox-72b08d99775513f1) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test bytecode::chunk::tests::test_chunk ... ok [INFO] [stdout] test bytecode::vm::tests::test_add_mult ... ok [INFO] [stdout] test bytecode::compiler::tests::test_syntax_errors ... ok [INFO] [stdout] test bytecode::compiler::tests::test_booleans ... ok [INFO] [stdout] test bytecode::compiler::tests::test_syntax_errors2 ... ok [INFO] [stdout] test bytecode::compiler::tests::test_boolean_grouping ... ok [INFO] [stdout] test bytecode::vm::tests::test_division ... ok [INFO] [stdout] test bytecode::vm::tests::test_addition ... ok [INFO] [stdout] test bytecode::compiler::tests::test_simple_addition ... ok [INFO] [stdout] test bytecode::vm::tests::test_mult ... ok [INFO] [stdout] test bytecode::compiler::tests::test_simple_substraction ... ok [INFO] [stdout] test bytecode::compiler::tests::test_addition_with_mult ... ok [INFO] [stdout] test bytecode::vm::tests::test_negation ... ok [INFO] [stdout] test bytecode::compiler::tests::test_addition_with_mult2 ... ok [INFO] [stdout] test bytecode::vm::tests::test_not ... ok [INFO] [stdout] test bytecode::vm::tests::test_not_not ... ok [INFO] [stdout] test bytecode::vm::tests::test_noting_a_not_boolean ... ok [INFO] [stdout] test bytecode::vm::tests::test_subsraction ... ok [INFO] [stdout] test bytecode::compiler::tests::test_parens1 ... ok [INFO] [stdout] test bytecode::vm::tests::test_vm_stack ... ok [INFO] [stdout] test eval::interpreted_eval::tests::test_grouping_eval ... ok [INFO] [stdout] test bytecode::compiler::tests::test_parens2 ... ok [INFO] [stdout] test eval::interpreted_eval::tests::test_unary_number_eval ... ok [INFO] [stdout] test eval::interpreted_eval::tests::test_unary_bool_eval ... ok [INFO] [stdout] test scanner::test::number_followed_by_something ... ok [INFO] [stdout] test parser::tests::test_parsing_random0 ... ok [INFO] [stdout] test eval::interpreted_eval::tests::test_binary_eval ... ok [INFO] [stdout] test scanner::test::number_with_parens ... ok [INFO] [stdout] test parser::tests::test_grouping2 ... ok [INFO] [stdout] test parser::tests::test_string_equality ... ok [INFO] [stdout] test parser::tests::test_parsing_random1 ... ok [INFO] [stdout] test parser::tests::test_grouping_equality ... ok [INFO] [stdout] test scanner::test::number_sum ... ok [INFO] [stdout] test scanner::test::multiple_char ... ok [INFO] [stdout] test scanner::test::keywords_and_identifiers ... ok [INFO] [stdout] test scanner::test::number_sum_with_parens ... ok [INFO] [stdout] test scanner::test::simple_parens ... ok [INFO] [stdout] test scanner::test::strings ... ok [INFO] [stdout] test scanner::test::mix_of_stuff ... ok [INFO] [stdout] test scanner::test::numbers ... ok [INFO] [stdout] test scanner::test::single_chars ... ok [INFO] [stdout] test parser::tests::test_parsing_random2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "abd73e3499d435207c04e4824fb76640a63240625e18513e6fc142d57f43b055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd73e3499d435207c04e4824fb76640a63240625e18513e6fc142d57f43b055", kill_on_drop: false }` [INFO] [stdout] abd73e3499d435207c04e4824fb76640a63240625e18513e6fc142d57f43b055