[INFO] cloning repository https://github.com/Jaco26/rlox1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jaco26/rlox1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 606d613018c6b20c7db49270b7b93ba54004847c [INFO] checking Jaco26/rlox1 against try#4e3d7541a523df82cea75064e44e60ae9a008bcb for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco26/rlox1 on toolchain 4e3d7541a523df82cea75064e44e60ae9a008bcb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jaco26/rlox1 [INFO] finished tweaking git repo https://github.com/Jaco26/rlox1 [INFO] tweaked toml for git repo https://github.com/Jaco26/rlox1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Jaco26/rlox1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b6075bab159ef5e02a38cd05a2d931c603a7a3d333575c00d30d56ced12fa7f [INFO] running `Command { std: "docker" "start" "-a" "1b6075bab159ef5e02a38cd05a2d931c603a7a3d333575c00d30d56ced12fa7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b6075bab159ef5e02a38cd05a2d931c603a7a3d333575c00d30d56ced12fa7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6075bab159ef5e02a38cd05a2d931c603a7a3d333575c00d30d56ced12fa7f", kill_on_drop: false }` [INFO] [stdout] 1b6075bab159ef5e02a38cd05a2d931c603a7a3d333575c00d30d56ced12fa7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 542347a86f95f028d7461fc7a3f30f508b1b61f5de617410d433956e4ade4106 [INFO] running `Command { std: "docker" "start" "-a" "542347a86f95f028d7461fc7a3f30f508b1b61f5de617410d433956e4ade4106", kill_on_drop: false }` [INFO] [stderr] Checking rlox1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::ternary` [INFO] [stdout] --> src/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::ternary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::ternary` [INFO] [stdout] --> src/scanner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::ternary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lexeme` [INFO] [stdout] --> src/scanner.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | lexeme: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/scanner.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | kind: TokenKind, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `literal` [INFO] [stdout] --> src/scanner.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | literal: Option, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> src/scanner.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | line: usize, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/scanner.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/scanner.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/scanner.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/scanner.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Class` [INFO] [stdout] --> src/scanner.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/scanner.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/scanner.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fun` [INFO] [stdout] --> src/scanner.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `For` [INFO] [stdout] --> src/scanner.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/scanner.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/scanner.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/scanner.rs:226:47 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/scanner.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/scanner.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Super` [INFO] [stdout] --> src/scanner.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `This` [INFO] [stdout] --> src/scanner.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/scanner.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/scanner.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lexeme` [INFO] [stdout] --> src/scanner.rs:179:3 [INFO] [stdout] | [INFO] [stdout] 179 | lexeme: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `While` [INFO] [stdout] --> src/scanner.rs:227:42 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/scanner.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | kind: TokenKind, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/scanner.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 237 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `literal` [INFO] [stdout] --> src/scanner.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | literal: Option, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/scanner.rs:238:3 [INFO] [stdout] | [INFO] [stdout] 238 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ternary` [INFO] [stdout] --> src/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ternary(condition: bool, if_true: T, if_false: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> src/scanner.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | line: usize, [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] --> src/scanner.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/scanner.rs:205:10 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/scanner.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/scanner.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | Identifier, Str, Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `And` [INFO] [stdout] --> src/scanner.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Class` [INFO] [stdout] --> src/scanner.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/scanner.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/scanner.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fun` [INFO] [stdout] --> src/scanner.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `For` [INFO] [stdout] --> src/scanner.rs:226:33 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/scanner.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/scanner.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/scanner.rs:226:47 [INFO] [stdout] | [INFO] [stdout] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/scanner.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/scanner.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Super` [INFO] [stdout] --> src/scanner.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `This` [INFO] [stdout] --> src/scanner.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/scanner.rs:227:31 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/scanner.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `While` [INFO] [stdout] --> src/scanner.rs:227:42 [INFO] [stdout] | [INFO] [stdout] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/scanner.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 237 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/scanner.rs:238:3 [INFO] [stdout] | [INFO] [stdout] 238 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/scanner.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ternary` [INFO] [stdout] --> src/util.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ternary(condition: bool, if_true: T, if_false: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.45s [INFO] running `Command { std: "docker" "inspect" "542347a86f95f028d7461fc7a3f30f508b1b61f5de617410d433956e4ade4106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "542347a86f95f028d7461fc7a3f30f508b1b61f5de617410d433956e4ade4106", kill_on_drop: false }` [INFO] [stdout] 542347a86f95f028d7461fc7a3f30f508b1b61f5de617410d433956e4ade4106