[INFO] cloning repository https://github.com/TylerDMielke/rust_lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TylerDMielke/rust_lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerDMielke%2Frust_lexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerDMielke%2Frust_lexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b8d48fab3b238655ab1e2a64ede0fa7583b3e2c [INFO] testing TylerDMielke/rust_lexer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTylerDMielke%2Frust_lexer" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TylerDMielke/rust_lexer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TylerDMielke/rust_lexer [INFO] finished tweaking git repo https://github.com/TylerDMielke/rust_lexer [INFO] tweaked toml for git repo https://github.com/TylerDMielke/rust_lexer written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/TylerDMielke/rust_lexer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8acf77b3a6d23702f9771be22cd9d201939a6cf1061ce10948f2815ed02c9139 [INFO] running `Command { std: "docker" "start" "-a" "8acf77b3a6d23702f9771be22cd9d201939a6cf1061ce10948f2815ed02c9139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8acf77b3a6d23702f9771be22cd9d201939a6cf1061ce10948f2815ed02c9139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8acf77b3a6d23702f9771be22cd9d201939a6cf1061ce10948f2815ed02c9139", kill_on_drop: false }` [INFO] [stdout] 8acf77b3a6d23702f9771be22cd9d201939a6cf1061ce10948f2815ed02c9139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 702b39c330b7fc8c15fc6b9aeda8f63d4962755941512f97101f38ff2d158edc [INFO] running `Command { std: "docker" "start" "-a" "702b39c330b7fc8c15fc6b9aeda8f63d4962755941512f97101f38ff2d158edc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let contents = fs::read_to_string(file).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scanner` [INFO] [stdout] --> src/scanner.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Scanner <'a>{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scanner.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(scan_str: &str) -> Scanner { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scan_tokens` [INFO] [stdout] --> src/scanner.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn scan_tokens(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_token` [INFO] [stdout] --> src/scanner.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn build_token(&mut self, next_char: char) -> Token { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cursor` [INFO] [stdout] --> src/cursor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cursor <'a>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EOF_CHAR` [INFO] [stdout] --> src/cursor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const EOF_CHAR: char = '\0'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cursor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(input: &'a str) -> Cursor<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/cursor.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/cursor.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn advance(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `chars` [INFO] [stdout] --> src/cursor.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn chars(&self) -> Chars<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Token` [INFO] [stdout] --> src/token.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/token.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(token_type: TokenType, lexeme: String, line: usize) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_str` [INFO] [stdout] --> src/token.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn as_str(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_type_as_str` [INFO] [stdout] --> src/token.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn token_type_as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParen` [INFO] [stdout] --> src/token.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | LeftParen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `RightParen` [INFO] [stdout] --> src/token.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | RightParen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `LeftBrace` [INFO] [stdout] --> src/token.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | LeftBrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `RightBrace` [INFO] [stdout] --> src/token.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Comma` [INFO] [stdout] --> src/token.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Dot` [INFO] [stdout] --> src/token.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Minus` [INFO] [stdout] --> src/token.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Plus` [INFO] [stdout] --> src/token.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `SemiColon` [INFO] [stdout] --> src/token.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Slash` [INFO] [stdout] --> src/token.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Star` [INFO] [stdout] --> src/token.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Bang` [INFO] [stdout] --> src/token.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `BangEqual` [INFO] [stdout] --> src/token.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Equal` [INFO] [stdout] --> src/token.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `EqualEqual` [INFO] [stdout] --> src/token.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Greater` [INFO] [stdout] --> src/token.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `GreatEqual` [INFO] [stdout] --> src/token.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | GreatEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Less` [INFO] [stdout] --> src/token.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `LessEqual` [INFO] [stdout] --> src/token.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Comment` [INFO] [stdout] --> src/token.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `String` [INFO] [stdout] --> src/token.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | If, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `WhiteSpace` [INFO] [stdout] --> src/token.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | WhiteSpace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: `Unknown` [INFO] [stdout] --> src/token.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.08s [INFO] running `Command { std: "docker" "inspect" "702b39c330b7fc8c15fc6b9aeda8f63d4962755941512f97101f38ff2d158edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702b39c330b7fc8c15fc6b9aeda8f63d4962755941512f97101f38ff2d158edc", kill_on_drop: false }` [INFO] [stdout] 702b39c330b7fc8c15fc6b9aeda8f63d4962755941512f97101f38ff2d158edc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e524a8e6731bd65d46306d66ab7dacd22721270323c1a5a32fc7c97411b7e55 [INFO] running `Command { std: "docker" "start" "-a" "7e524a8e6731bd65d46306d66ab7dacd22721270323c1a5a32fc7c97411b7e55", kill_on_drop: false }` [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let contents = fs::read_to_string(file).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `initial_len` [INFO] [stdout] --> src/cursor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | initial_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EqualEqual` [INFO] [stdout] --> src/token.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | Fun, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | If, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | This, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq)] [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "7e524a8e6731bd65d46306d66ab7dacd22721270323c1a5a32fc7c97411b7e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e524a8e6731bd65d46306d66ab7dacd22721270323c1a5a32fc7c97411b7e55", kill_on_drop: false }` [INFO] [stdout] 7e524a8e6731bd65d46306d66ab7dacd22721270323c1a5a32fc7c97411b7e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0cdc3699f1b1c345f2206bb33f8cb36bfd97b10a65cef4615ab65ecb38211a3b [INFO] running `Command { std: "docker" "start" "-a" "0cdc3699f1b1c345f2206bb33f8cb36bfd97b10a65cef4615ab65ecb38211a3b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> src/main.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let contents = fs::read_to_string(file).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `initial_len` [INFO] [stderr] --> src/cursor.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | initial_len: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EqualEqual` [INFO] [stderr] --> src/token.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | EqualEqual, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | Identifier, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | Number, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | And, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | Class, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | Else, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | False, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | Fun, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | For, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | If, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | Nil, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | Or, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | Print, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | Return, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | Super, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | This, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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] [stderr] --> src/token.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | True, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | Var, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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/token.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | While, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TokenType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Debug, PartialEq, Eq)] [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: `lexer` (bin "lexer" test) generated 21 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lexer-a68d0c7e4e9655c1) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cursor::test::test_chars ... ok [INFO] [stdout] test cursor::test::test_advance ... ok [INFO] [stdout] test scanner::test::test_scan_tokens ... ok [INFO] [stdout] test cursor::test::test_peek ... ok [INFO] [stdout] test token::test::test_as_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cdc3699f1b1c345f2206bb33f8cb36bfd97b10a65cef4615ab65ecb38211a3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdc3699f1b1c345f2206bb33f8cb36bfd97b10a65cef4615ab65ecb38211a3b", kill_on_drop: false }` [INFO] [stdout] 0cdc3699f1b1c345f2206bb33f8cb36bfd97b10a65cef4615ab65ecb38211a3b