[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] checking ShivanshuKantPrasad/lox against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivanshuKantPrasad%2Flox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShivanshuKantPrasad/lox on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "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-0-tc2/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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a590c51ac7e9be2ce42cd38f230d5b7804a4e09cecfee0d7ebd8469803245df [INFO] running `Command { std: "docker" "start" "-a" "9a590c51ac7e9be2ce42cd38f230d5b7804a4e09cecfee0d7ebd8469803245df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a590c51ac7e9be2ce42cd38f230d5b7804a4e09cecfee0d7ebd8469803245df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a590c51ac7e9be2ce42cd38f230d5b7804a4e09cecfee0d7ebd8469803245df", kill_on_drop: false }` [INFO] [stdout] 9a590c51ac7e9be2ce42cd38f230d5b7804a4e09cecfee0d7ebd8469803245df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66feea56b08706518440e986c6c499bc6289023582e1b9a1b7b6754a23a78634 [INFO] running `Command { std: "docker" "start" "-a" "66feea56b08706518440e986c6c499bc6289023582e1b9a1b7b6754a23a78634", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Checking 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 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: 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: 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: 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: 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: 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: 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: 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] [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 0.44s [INFO] running `Command { std: "docker" "inspect" "66feea56b08706518440e986c6c499bc6289023582e1b9a1b7b6754a23a78634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66feea56b08706518440e986c6c499bc6289023582e1b9a1b7b6754a23a78634", kill_on_drop: false }` [INFO] [stdout] 66feea56b08706518440e986c6c499bc6289023582e1b9a1b7b6754a23a78634