[INFO] cloning repository https://github.com/sethwalker/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sethwalker/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwalker%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwalker%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 006c6877dd147bb3592040025631a70bdb2d0260 [INFO] checking sethwalker/rlox against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwalker%2Frlox" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sethwalker/rlox on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sethwalker/rlox [INFO] finished tweaking git repo https://github.com/sethwalker/rlox [INFO] tweaked toml for git repo https://github.com/sethwalker/rlox written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sethwalker/rlox 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a458414d48eafb12d8856e32908d93d8f9416d4aa3d247f4d7b2a1ad04fc55a3 [INFO] running `Command { std: "docker" "start" "-a" "a458414d48eafb12d8856e32908d93d8f9416d4aa3d247f4d7b2a1ad04fc55a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a458414d48eafb12d8856e32908d93d8f9416d4aa3d247f4d7b2a1ad04fc55a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a458414d48eafb12d8856e32908d93d8f9416d4aa3d247f4d7b2a1ad04fc55a3", kill_on_drop: false }` [INFO] [stdout] a458414d48eafb12d8856e32908d93d8f9416d4aa3d247f4d7b2a1ad04fc55a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 133dd56e592425c7f9602cada9110257ca37c5e06523ab8168f00441b7aacfd1 [INFO] running `Command { std: "docker" "start" "-a" "133dd56e592425c7f9602cada9110257ca37c5e06523ab8168f00441b7aacfd1", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `paste` (lib) [INFO] running `Command { std: "docker" "inspect" "133dd56e592425c7f9602cada9110257ca37c5e06523ab8168f00441b7aacfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133dd56e592425c7f9602cada9110257ca37c5e06523ab8168f00441b7aacfd1", kill_on_drop: false }` [INFO] [stdout] 133dd56e592425c7f9602cada9110257ca37c5e06523ab8168f00441b7aacfd1 [INFO] checking sethwalker/rlox against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethwalker%2Frlox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sethwalker/rlox on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sethwalker/rlox [INFO] finished tweaking git repo https://github.com/sethwalker/rlox [INFO] tweaked toml for git repo https://github.com/sethwalker/rlox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sethwalker/rlox 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" "+2c70eb47850052381670935f807d41647a7dc992" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffa7c08541684ea5844693dfe41ce434feeeaa180d7ea002659d7fa0ee324e75 [INFO] running `Command { std: "docker" "start" "-a" "ffa7c08541684ea5844693dfe41ce434feeeaa180d7ea002659d7fa0ee324e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffa7c08541684ea5844693dfe41ce434feeeaa180d7ea002659d7fa0ee324e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa7c08541684ea5844693dfe41ce434feeeaa180d7ea002659d7fa0ee324e75", kill_on_drop: false }` [INFO] [stdout] ffa7c08541684ea5844693dfe41ce434feeeaa180d7ea002659d7fa0ee324e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c782531e18d2eb6350126bb202f247c4cd624334d9cb68a9add5d2ba7071f90 [INFO] running `Command { std: "docker" "start" "-a" "1c782531e18d2eb6350126bb202f247c4cd624334d9cb68a9add5d2ba7071f90", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/bin/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/bin/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `report` is never used [INFO] [stdout] --> src/bin/../lox/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lox { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn report(line: u32, whilst: String, message: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `report` is never used [INFO] [stdout] --> src/bin/../lox/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lox { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn report(line: u32, whilst: String, message: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Visitor` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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 `Visitor` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Visitor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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/bin/../lox/expr.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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 `Binary` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Binary, [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: enum `Expr` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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 `Binary` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Binary, [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: associated function `new` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl $class_name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new($($field_name: $field_type),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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 `Lox` is never constructed [INFO] [stdout] --> src/bin/../lox/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lox {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grouping` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | (Grouping, expression: Box), [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 `Literal` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | (Literal, value: Object), [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: unused variable: `line` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unary` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | (Unary, operator: Token, right: Box) [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: associated function `new` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl $class_name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new($($field_name: $field_type),*) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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: unused variable: `message` [INFO] [stdout] --> src/bin/../lox/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 32 | impl $base_name { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | pub fn accept(&self, visitor: &mut dyn Visitor) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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 `Grouping` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | (Grouping, expression: Box), [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: associated functions `run`, `report`, and `error` are never used [INFO] [stdout] --> src/bin/../lox/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lox { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 12 | pub fn run(source: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn report(line: u32, whilst: String, message: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Literal` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | (Literal, value: Object), [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: field `0` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Num(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/bin/../lox/scanner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scanner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unary` is never constructed [INFO] [stdout] --> src/bin/../lox/expr.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | (Unary, operator: Token, right: Box) [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: variants `Identifier` and `Keyword` are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept` is never used [INFO] [stdout] --> src/bin/../lox/expr.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 32 | impl $base_name { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | pub fn accept(&self, visitor: &mut dyn Visitor) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | / define_ast!( [INFO] [stdout] 52 | | Expr, [INFO] [stdout] 53 | | ( [INFO] [stdout] 54 | | Binary, [INFO] [stdout] ... | [INFO] [stdout] 59 | | (Unary, operator: Token, right: Box) [INFO] [stdout] 60 | | ); [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: field `0` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | Str(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Str(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bin/../lox/scanner.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Scanner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn scan_tokens(&mut self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn scan_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn is_alphanumeric(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn is_alpha(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn is_digit(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn number(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn string(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn peek_next(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn match_char(&mut self, expected: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn add_token(&mut self, ttype: TokenType, literal: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Num(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 57 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier` and `Keyword` are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 58 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | // Single-character tokens. [INFO] [stdout] 6 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Minus, [INFO] [stdout] 13 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: variants `Str`, `Identifier`, and `Keyword` are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 56 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | Num(f64), [INFO] [stdout] 58 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lox` is never constructed [INFO] [stdout] --> src/bin/../lox/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Lox {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `run`, `report`, and `error` are never used [INFO] [stdout] --> src/bin/../lox/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Lox { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 12 | pub fn run(source: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn report(line: u32, whilst: String, message: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn error(line: u32, message: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scanner` is never constructed [INFO] [stdout] --> src/bin/../lox/scanner.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Scanner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bin/../lox/scanner.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Scanner { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn is_at_end(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn scan_tokens(&mut self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn scan_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn identifier(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn is_alphanumeric(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn is_alpha(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn is_digit(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn number(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn string(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn peek_next(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn match_char(&mut self, expected: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn add_token(&mut self, ttype: TokenType, literal: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | // Single-character tokens. [INFO] [stdout] 6 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | Minus, [INFO] [stdout] 13 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 25 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | Eof, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Str`, `Identifier`, and `Keyword` are never constructed [INFO] [stdout] --> src/bin/../lox/token.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 56 | Str(String), [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | Num(f64), [INFO] [stdout] 58 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | Keyword(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `line` is never read [INFO] [stdout] --> src/bin/../lox/token.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "1c782531e18d2eb6350126bb202f247c4cd624334d9cb68a9add5d2ba7071f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c782531e18d2eb6350126bb202f247c4cd624334d9cb68a9add5d2ba7071f90", kill_on_drop: false }` [INFO] [stdout] 1c782531e18d2eb6350126bb202f247c4cd624334d9cb68a9add5d2ba7071f90