[INFO] cloning repository https://github.com/prestonbourne/lox_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prestonbourne/lox_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonbourne%2Flox_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonbourne%2Flox_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c591f5b15648f04b4ce7f110bf1038f577738974 [INFO] checking prestonbourne/lox_rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonbourne%2Flox_rs" "/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/prestonbourne/lox_rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prestonbourne/lox_rs [INFO] finished tweaking git repo https://github.com/prestonbourne/lox_rs [INFO] tweaked toml for git repo https://github.com/prestonbourne/lox_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/prestonbourne/lox_rs 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3058a879efe9c444e1af400da81461990772944c0cd319029b097cbfed40afa1 [INFO] running `Command { std: "docker" "start" "-a" "3058a879efe9c444e1af400da81461990772944c0cd319029b097cbfed40afa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3058a879efe9c444e1af400da81461990772944c0cd319029b097cbfed40afa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3058a879efe9c444e1af400da81461990772944c0cd319029b097cbfed40afa1", kill_on_drop: false }` [INFO] [stdout] 3058a879efe9c444e1af400da81461990772944c0cd319029b097cbfed40afa1 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a4eec6695a983ac98e2107e5b16b30ab3192b8a27e521cbaa2f10f66e55381 [INFO] running `Command { std: "docker" "start" "-a" "54a4eec6695a983ac98e2107e5b16b30ab3192b8a27e521cbaa2f10f66e55381", kill_on_drop: false }` [INFO] [stderr] Checking lox_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `error` and `report` are never used [INFO] [stdout] --> src/lox/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] 6 | This(SourceLocation), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Call(Box, SourceLocation, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Get(Box, Symbol), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Grouping(Box), [INFO] [stdout] 12 | Variable(Symbol), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Assign(Symbol, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Logical(Box, LogicalOp, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Set(Box, Symbol, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Super(SourceLocation, Symbol), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Subscript { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | SetItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Lambda(LambdaDecl), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `line` and `col` are never read [INFO] [stdout] --> src/lox/expr.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub col: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` 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 `Or` and `And` are never constructed [INFO] [stdout] --> src/lox/expr.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum LogicalOp { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOp` 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: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct FunDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDecl` 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: fields `params` and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct LambdaDecl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaDecl` 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: fields `name`, `superclass`, and `methods` are never read [INFO] [stdout] --> src/lox/expr.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ClassDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub superclass: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pub methods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDecl` 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: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 73 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | FunDecl(FunDecl), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | ClassDecl(ClassDecl), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 77 | Print(Expr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | VarDecl(Symbol, Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | Return(SourceLocation, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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: method `synchronize` is never used [INFO] [stdout] --> src/lox/parser.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/lox/parser.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 278 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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: method `report` is never used [INFO] [stdout] --> src/lox/parser.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl ParserError { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | fn report(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stringify_ast` is never used [INFO] [stdout] --> src/lox/parser.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn stringify_ast(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_identifier` is never used [INFO] [stdout] --> src/lox/scanner.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Scanner { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_identifier(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interpreter { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error` and `report` are never used [INFO] [stdout] --> src/lox/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] 6 | This(SourceLocation), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Call(Box, SourceLocation, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Get(Box, Symbol), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Grouping(Box), [INFO] [stdout] 12 | Variable(Symbol), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Assign(Symbol, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Logical(Box, LogicalOp, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Set(Box, Symbol, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Super(SourceLocation, Symbol), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Subscript { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | SetItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Lambda(LambdaDecl), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `line` and `col` are never read [INFO] [stdout] --> src/lox/expr.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub col: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` 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 `Or` and `And` are never constructed [INFO] [stdout] --> src/lox/expr.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum LogicalOp { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOp` 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: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct FunDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDecl` 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: fields `params` and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct LambdaDecl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaDecl` 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: fields `name`, `superclass`, and `methods` are never read [INFO] [stdout] --> src/lox/expr.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ClassDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub superclass: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pub methods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDecl` 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: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 73 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | FunDecl(FunDecl), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | ClassDecl(ClassDecl), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 77 | Print(Expr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | VarDecl(Symbol, Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | Return(SourceLocation, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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: method `synchronize` is never used [INFO] [stdout] --> src/lox/parser.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/lox/parser.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 278 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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: method `report` is never used [INFO] [stdout] --> src/lox/parser.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl ParserError { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | fn report(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stringify_ast` is never used [INFO] [stdout] --> src/lox/parser.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn stringify_ast(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_identifier` is never used [INFO] [stdout] --> src/lox/scanner.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Scanner { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_identifier(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interpreter { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "54a4eec6695a983ac98e2107e5b16b30ab3192b8a27e521cbaa2f10f66e55381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a4eec6695a983ac98e2107e5b16b30ab3192b8a27e521cbaa2f10f66e55381", kill_on_drop: false }` [INFO] [stdout] 54a4eec6695a983ac98e2107e5b16b30ab3192b8a27e521cbaa2f10f66e55381 [INFO] checking prestonbourne/lox_rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonbourne%2Flox_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prestonbourne/lox_rs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prestonbourne/lox_rs [INFO] finished tweaking git repo https://github.com/prestonbourne/lox_rs [INFO] tweaked toml for git repo https://github.com/prestonbourne/lox_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prestonbourne/lox_rs 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41c63b2577365ca34f11c12fda24761dbec7ea6c10224975028e9f1049b8708b [INFO] running `Command { std: "docker" "start" "-a" "41c63b2577365ca34f11c12fda24761dbec7ea6c10224975028e9f1049b8708b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41c63b2577365ca34f11c12fda24761dbec7ea6c10224975028e9f1049b8708b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c63b2577365ca34f11c12fda24761dbec7ea6c10224975028e9f1049b8708b", kill_on_drop: false }` [INFO] [stdout] 41c63b2577365ca34f11c12fda24761dbec7ea6c10224975028e9f1049b8708b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2fba1506558f63aa051cda31a9457103f013bc4f7d4512184914d22f94a028e [INFO] running `Command { std: "docker" "start" "-a" "f2fba1506558f63aa051cda31a9457103f013bc4f7d4512184914d22f94a028e", kill_on_drop: false }` [INFO] [stderr] Checking lox_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `error` and `report` are never used [INFO] [stdout] --> src/lox/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] 6 | This(SourceLocation), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Call(Box, SourceLocation, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Get(Box, Symbol), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Grouping(Box), [INFO] [stdout] 12 | Variable(Symbol), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Assign(Symbol, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Logical(Box, LogicalOp, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Set(Box, Symbol, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Super(SourceLocation, Symbol), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Subscript { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | SetItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Lambda(LambdaDecl), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `line` and `col` are never read [INFO] [stdout] --> src/lox/expr.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub col: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` 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 `Or` and `And` are never constructed [INFO] [stdout] --> src/lox/expr.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum LogicalOp { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOp` 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: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct FunDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDecl` 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: fields `params` and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct LambdaDecl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaDecl` 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: fields `name`, `superclass`, and `methods` are never read [INFO] [stdout] --> src/lox/expr.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ClassDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub superclass: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pub methods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDecl` 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: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 73 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | FunDecl(FunDecl), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | ClassDecl(ClassDecl), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 77 | Print(Expr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | VarDecl(Symbol, Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | Return(SourceLocation, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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: method `synchronize` is never used [INFO] [stdout] --> src/lox/parser.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/lox/parser.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 278 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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: method `report` is never used [INFO] [stdout] --> src/lox/parser.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl ParserError { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | fn report(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stringify_ast` is never used [INFO] [stdout] --> src/lox/parser.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn stringify_ast(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_identifier` is never used [INFO] [stdout] --> src/lox/scanner.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Scanner { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_identifier(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interpreter { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error` and `report` are never used [INFO] [stdout] --> src/lox/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lox { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn error(&mut self, line: usize, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn report(&mut self, line: usize, location: &str, message: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Literal(Literal), [INFO] [stdout] 6 | This(SourceLocation), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Call(Box, SourceLocation, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Get(Box, Symbol), [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | Grouping(Box), [INFO] [stdout] 12 | Variable(Symbol), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Assign(Symbol, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | Logical(Box, LogicalOp, Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Set(Box, Symbol, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Super(SourceLocation, Symbol), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | List(Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Subscript { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | SetItem { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | Lambda(LambdaDecl), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: fields `line` and `col` are never read [INFO] [stdout] --> src/lox/expr.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct SourceLocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 34 | pub line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub col: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceLocation` 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 `Or` and `And` are never constructed [INFO] [stdout] --> src/lox/expr.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum LogicalOp { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOp` 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: fields `name`, `params`, and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct FunDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunDecl` 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: fields `params` and `body` are never read [INFO] [stdout] --> src/lox/expr.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct LambdaDecl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LambdaDecl` 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: fields `name`, `superclass`, and `methods` are never read [INFO] [stdout] --> src/lox/expr.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ClassDecl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub superclass: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 68 | pub methods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassDecl` 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: multiple variants are never constructed [INFO] [stdout] --> src/lox/expr.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 73 | Expr(Expr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | FunDecl(FunDecl), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 75 | ClassDecl(ClassDecl), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 76 | If(Expr, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] 77 | Print(Expr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | VarDecl(Symbol, Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | Block(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | Return(SourceLocation, Option), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 81 | While(Expr, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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: method `synchronize` is never used [INFO] [stdout] --> src/lox/parser.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/lox/parser.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct ParserError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 278 | token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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: method `report` is never used [INFO] [stdout] --> src/lox/parser.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl ParserError { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 304 | fn report(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stringify_ast` is never used [INFO] [stdout] --> src/lox/parser.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn stringify_ast(expr: &Expr) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_identifier` is never used [INFO] [stdout] --> src/lox/scanner.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Scanner { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_identifier(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lox/interpreter.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Interpreter { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "f2fba1506558f63aa051cda31a9457103f013bc4f7d4512184914d22f94a028e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2fba1506558f63aa051cda31a9457103f013bc4f7d4512184914d22f94a028e", kill_on_drop: false }` [INFO] [stdout] f2fba1506558f63aa051cda31a9457103f013bc4f7d4512184914d22f94a028e