[INFO] cloning repository https://github.com/ShivanshuKantPrasad/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShivanshuKantPrasad/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivanshuKantPrasad%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivanshuKantPrasad%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06a7b994e0789bede1b7111d87c2bcf934e07239 [INFO] testing ShivanshuKantPrasad/lox against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivanshuKantPrasad%2Flox" "/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/ShivanshuKantPrasad/lox on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShivanshuKantPrasad/lox [INFO] finished tweaking git repo https://github.com/ShivanshuKantPrasad/lox [INFO] tweaked toml for git repo https://github.com/ShivanshuKantPrasad/lox written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ShivanshuKantPrasad/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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd833b40f6059a24867f00c9f6dc9aa8b3018e5742f3826faa88f48cfd712266 [INFO] running `Command { std: "docker" "start" "-a" "dd833b40f6059a24867f00c9f6dc9aa8b3018e5742f3826faa88f48cfd712266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd833b40f6059a24867f00c9f6dc9aa8b3018e5742f3826faa88f48cfd712266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd833b40f6059a24867f00c9f6dc9aa8b3018e5742f3826faa88f48cfd712266", kill_on_drop: false }` [INFO] [stdout] dd833b40f6059a24867f00c9f6dc9aa8b3018e5742f3826faa88f48cfd712266 [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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b60576693b8547c19586522acfa6c97b5ee5a2eda778d7e6392cc63362788f [INFO] running `Command { std: "docker" "start" "-a" "32b60576693b8547c19586522acfa6c97b5ee5a2eda778d7e6392cc63362788f", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::any::Any` [INFO] [stdout] --> src/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/expr.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let x: Box = Box::new("Hello".to_string()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/expr.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/expr.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/ast.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 9 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 10 | pub fn accept(&self, paste!([<$class:lower _visitor>]): &dyn ExprVisitor) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExprVisitor` is never used [INFO] [stdout] --> src/ast.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | paste!(pub trait [< $class Visitor >] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupingExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LiteralExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/ast.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 25 | impl [< $rule Expr >]{ [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 26 | pub fn accept(&self, visitor: &dyn[< $class Visitor>]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Break` is never constructed [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 1.74s [INFO] running `Command { std: "docker" "inspect" "32b60576693b8547c19586522acfa6c97b5ee5a2eda778d7e6392cc63362788f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b60576693b8547c19586522acfa6c97b5ee5a2eda778d7e6392cc63362788f", kill_on_drop: false }` [INFO] [stdout] 32b60576693b8547c19586522acfa6c97b5ee5a2eda778d7e6392cc63362788f [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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c515622ebf0260fdbb5b34decd5bc1f90a0476e93cf30b9e7b2cdac957e2bf2 [INFO] running `Command { std: "docker" "start" "-a" "6c515622ebf0260fdbb5b34decd5bc1f90a0476e93cf30b9e7b2cdac957e2bf2", kill_on_drop: false }` [INFO] [stderr] Compiling lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::any::Any` [INFO] [stdout] --> src/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/expr.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let x: Box = Box::new("Hello".to_string()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/expr.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/expr.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/ast.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 9 | impl Expr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 10 | pub fn accept(&self, paste!([<$class:lower _visitor>]): &dyn ExprVisitor) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExprVisitor` is never used [INFO] [stdout] --> src/ast.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | paste!(pub trait [< $class Visitor >] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupingExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LiteralExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryExpr` is never constructed [INFO] [stdout] --> src/ast.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/ast.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 25 | impl [< $rule Expr >]{ [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 26 | pub fn accept(&self, visitor: &dyn[< $class Visitor>]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / define_ast!( [INFO] [stdout] 10 | | Expr, [INFO] [stdout] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stdout] 12 | | (Grouping -> expression : Box), [INFO] [stdout] 13 | | (Literal -> value : Token), [INFO] [stdout] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stdout] 15 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Break` is never constructed [INFO] [stdout] --> src/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "6c515622ebf0260fdbb5b34decd5bc1f90a0476e93cf30b9e7b2cdac957e2bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c515622ebf0260fdbb5b34decd5bc1f90a0476e93cf30b9e7b2cdac957e2bf2", kill_on_drop: false }` [INFO] [stdout] 6c515622ebf0260fdbb5b34decd5bc1f90a0476e93cf30b9e7b2cdac957e2bf2 [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=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3388facb588686eb09c198e6bc1c6543b49ad257398772996e3ca9d7b37a8b5a [INFO] running `Command { std: "docker" "start" "-a" "3388facb588686eb09c198e6bc1c6543b49ad257398772996e3ca9d7b37a8b5a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `core::any::Any` [INFO] [stderr] --> src/expr.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use core::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/expr.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | let x: Box = Box::new("Hello".to_string()); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/expr.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn main() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Expr` is never used [INFO] [stderr] --> src/expr.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | Expr, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `accept` is never used [INFO] [stderr] --> src/ast.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 9 | impl Expr { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 10 | pub fn accept(&self, paste!([<$class:lower _visitor>]): &dyn ExprVisitor) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait `ExprVisitor` is never used [INFO] [stderr] --> src/ast.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | paste!(pub trait [< $class Visitor >] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `BinaryExpr` is never constructed [INFO] [stderr] --> src/ast.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `GroupingExpr` is never constructed [INFO] [stderr] --> src/ast.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `LiteralExpr` is never constructed [INFO] [stderr] --> src/ast.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `UnaryExpr` is never constructed [INFO] [stderr] --> src/ast.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | paste!($(pub struct [<$rule Expr>] { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `accept` is never used [INFO] [stderr] --> src/ast.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 25 | impl [< $rule Expr >]{ [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] 26 | pub fn accept(&self, visitor: &dyn[< $class Visitor>]) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/expr.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / define_ast!( [INFO] [stderr] 10 | | Expr, [INFO] [stderr] 11 | | (Binary -> left : Box , operator : Token, right : Box), [INFO] [stderr] 12 | | (Grouping -> expression : Box), [INFO] [stderr] 13 | | (Literal -> value : Token), [INFO] [stderr] 14 | | (Unary -> operator : Token, right : Box) [INFO] [stderr] 15 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `define_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant `Break` is never constructed [INFO] [stderr] --> src/token.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Token { [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 6 | Break, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `lox` (bin "lox" test) generated 12 warnings (run `cargo fix --bin "lox" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lox-de54ac2aae3a6d3d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3388facb588686eb09c198e6bc1c6543b49ad257398772996e3ca9d7b37a8b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3388facb588686eb09c198e6bc1c6543b49ad257398772996e3ca9d7b37a8b5a", kill_on_drop: false }` [INFO] [stdout] 3388facb588686eb09c198e6bc1c6543b49ad257398772996e3ca9d7b37a8b5a