[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] testing Jaco26/rlox1 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaco26%2Frlox1" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jaco26/rlox1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f806dbf7d62d7d532750ef951c22f522eecce6673553756d03a7c37a0c304024 [INFO] running `Command { std: "docker" "start" "-a" "f806dbf7d62d7d532750ef951c22f522eecce6673553756d03a7c37a0c304024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f806dbf7d62d7d532750ef951c22f522eecce6673553756d03a7c37a0c304024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f806dbf7d62d7d532750ef951c22f522eecce6673553756d03a7c37a0c304024", kill_on_drop: false }` [INFO] [stdout] f806dbf7d62d7d532750ef951c22f522eecce6673553756d03a7c37a0c304024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72f66686eb4615c03a1b99733aa7a6dd2551773c0be602625faaaae97965f697 [INFO] running `Command { std: "docker" "start" "-a" "72f66686eb4615c03a1b99733aa7a6dd2551773c0be602625faaaae97965f697", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "72f66686eb4615c03a1b99733aa7a6dd2551773c0be602625faaaae97965f697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72f66686eb4615c03a1b99733aa7a6dd2551773c0be602625faaaae97965f697", kill_on_drop: false }` [INFO] [stdout] 72f66686eb4615c03a1b99733aa7a6dd2551773c0be602625faaaae97965f697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ec60621f880d8e938c0d9c2bfaef422fecd98024bbb27e36896c259964a122 [INFO] running `Command { std: "docker" "start" "-a" "93ec60621f880d8e938c0d9c2bfaef422fecd98024bbb27e36896c259964a122", kill_on_drop: false }` [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: 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] [stderr] Compiling rlox1 v0.1.0 (/opt/rustwide/workdir) [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: 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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox1-ad1dc3e98d975781) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox1-10ce8c000c59dd2b) [INFO] running `Command { std: "docker" "inspect" "93ec60621f880d8e938c0d9c2bfaef422fecd98024bbb27e36896c259964a122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ec60621f880d8e938c0d9c2bfaef422fecd98024bbb27e36896c259964a122", kill_on_drop: false }` [INFO] [stdout] 93ec60621f880d8e938c0d9c2bfaef422fecd98024bbb27e36896c259964a122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b83c491d3c772ffd205890baf9d0507c509f4dd8f7099b857deb67d4c382e918 [INFO] running `Command { std: "docker" "start" "-a" "b83c491d3c772ffd205890baf9d0507c509f4dd8f7099b857deb67d4c382e918", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::util::ternary` [INFO] [stderr] --> src/scanner.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::util::ternary; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lexeme` [INFO] [stderr] --> src/scanner.rs:179:3 [INFO] [stderr] | [INFO] [stderr] 179 | lexeme: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `kind` [INFO] [stderr] --> src/scanner.rs:188:3 [INFO] [stderr] | [INFO] [stderr] 188 | kind: TokenKind, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `literal` [INFO] [stderr] --> src/scanner.rs:193:3 [INFO] [stderr] | [INFO] [stderr] 193 | literal: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `line` [INFO] [stderr] --> src/scanner.rs:197:3 [INFO] [stderr] | [INFO] [stderr] 197 | line: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_string` [INFO] [stderr] --> src/scanner.rs:205:10 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/scanner.rs:223:3 [INFO] [stderr] | [INFO] [stderr] 223 | Identifier, Str, Number, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/scanner.rs:223:20 [INFO] [stderr] | [INFO] [stderr] 223 | Identifier, Str, Number, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `And` [INFO] [stderr] --> src/scanner.rs:226:3 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Class` [INFO] [stderr] --> src/scanner.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Else` [INFO] [stderr] --> src/scanner.rs:226:15 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `False` [INFO] [stderr] --> src/scanner.rs:226:21 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Fun` [INFO] [stderr] --> src/scanner.rs:226:28 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `For` [INFO] [stderr] --> src/scanner.rs:226:33 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `If` [INFO] [stderr] --> src/scanner.rs:226:38 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Nil` [INFO] [stderr] --> src/scanner.rs:226:42 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Or` [INFO] [stderr] --> src/scanner.rs:226:47 [INFO] [stderr] | [INFO] [stderr] 226 | And, Class, Else, False, Fun, For, If, Nil, Or, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Print` [INFO] [stderr] --> src/scanner.rs:227:3 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Return` [INFO] [stderr] --> src/scanner.rs:227:10 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Super` [INFO] [stderr] --> src/scanner.rs:227:18 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `This` [INFO] [stderr] --> src/scanner.rs:227:25 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `True` [INFO] [stdout] [INFO] [stderr] --> src/scanner.rs:227:31 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Var` [INFO] [stderr] --> src/scanner.rs:227:37 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `While` [INFO] [stderr] --> src/scanner.rs:227:42 [INFO] [stderr] | [INFO] [stderr] 227 | Print, Return, Super, This, True, Var, While, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:210:10 [INFO] [stderr] | [INFO] [stderr] 210 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/scanner.rs:237:3 [INFO] [stderr] | [INFO] [stderr] 237 | Number(f64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/scanner.rs:238:3 [INFO] [stderr] | [INFO] [stderr] 238 | Identifier(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/scanner.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ternary` [INFO] [stderr] --> src/util.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn ternary(condition: bool, if_true: T, if_false: T) -> T { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rlox1` (lib) generated 27 warnings [INFO] [stderr] warning: `rlox1` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rlox1-ad1dc3e98d975781) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox1-10ce8c000c59dd2b) [INFO] [stdout] [INFO] [stderr] Doc-tests rlox1 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b83c491d3c772ffd205890baf9d0507c509f4dd8f7099b857deb67d4c382e918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83c491d3c772ffd205890baf9d0507c509f4dd8f7099b857deb67d4c382e918", kill_on_drop: false }` [INFO] [stdout] b83c491d3c772ffd205890baf9d0507c509f4dd8f7099b857deb67d4c382e918