[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/06a7b994e0789bede1b7111d87c2bcf934e07239 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125741 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivanshuKantPrasad%2Flox" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShivanshuKantPrasad/lox on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "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-1-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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a185e54d6b522058eb31be56022b8addb63f3feacff0b051c85833f541934792 [INFO] running `Command { std: "docker" "start" "-a" "a185e54d6b522058eb31be56022b8addb63f3feacff0b051c85833f541934792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a185e54d6b522058eb31be56022b8addb63f3feacff0b051c85833f541934792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a185e54d6b522058eb31be56022b8addb63f3feacff0b051c85833f541934792", kill_on_drop: false }` [INFO] [stdout] a185e54d6b522058eb31be56022b8addb63f3feacff0b051c85833f541934792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33edbecc2ecf5bc15ff6b171721b709c35ddb9c5c5c59e8d5032a5cfa393d472 [INFO] running `Command { std: "docker" "start" "-a" "33edbecc2ecf5bc15ff6b171721b709c35ddb9c5c5c59e8d5032a5cfa393d472", 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: 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] [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: 12 warnings emitted [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] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "33edbecc2ecf5bc15ff6b171721b709c35ddb9c5c5c59e8d5032a5cfa393d472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33edbecc2ecf5bc15ff6b171721b709c35ddb9c5c5c59e8d5032a5cfa393d472", kill_on_drop: false }` [INFO] [stdout] 33edbecc2ecf5bc15ff6b171721b709c35ddb9c5c5c59e8d5032a5cfa393d472