[INFO] cloning repository https://github.com/jcklie/wukong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcklie/wukong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcklie%2Fwukong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcklie%2Fwukong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd319e7208b075529fb68375432ffb0941a7cf96 [INFO] testing jcklie/wukong 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%2Fjcklie%2Fwukong" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcklie/wukong 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/jcklie/wukong [INFO] finished tweaking git repo https://github.com/jcklie/wukong [INFO] tweaked toml for git repo https://github.com/jcklie/wukong written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate git repo https://github.com/jcklie/wukong 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] [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-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] eb76e6f60e0fa71c122c396c45deb50ea3b81b9996bfcc46b02d7399c5950f49 [INFO] running `Command { std: "docker" "start" "-a" "eb76e6f60e0fa71c122c396c45deb50ea3b81b9996bfcc46b02d7399c5950f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb76e6f60e0fa71c122c396c45deb50ea3b81b9996bfcc46b02d7399c5950f49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb76e6f60e0fa71c122c396c45deb50ea3b81b9996bfcc46b02d7399c5950f49", kill_on_drop: false }` [INFO] [stdout] eb76e6f60e0fa71c122c396c45deb50ea3b81b9996bfcc46b02d7399c5950f49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] 3451e30c5252c8ab265f2d4ac1f9ff78b2acfd0f041de7830c01b84f276241bf [INFO] running `Command { std: "docker" "start" "-a" "3451e30c5252c8ab265f2d4ac1f9ff78b2acfd0f041de7830c01b84f276241bf", kill_on_drop: false }` [INFO] [stderr] Compiling wukong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/lexer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{self, Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Lexer { [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/lexer.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn new>(input: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_char` [INFO] [stdout] --> src/lexer.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_char(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/lexer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn next_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ILLEGAL` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ILLEGAL, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `EOF` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `IDENT` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | IDENT, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `INT` [INFO] [stdout] --> src/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | INT, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `ASSIGN` [INFO] [stdout] --> src/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ASSIGN, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | PLUS, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | COMMA, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SEMICOLON, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `LPAREN` [INFO] [stdout] --> src/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | LPAREN, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `RPAREN` [INFO] [stdout] --> src/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | RPAREN, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `LBRACE` [INFO] [stdout] --> src/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LBRACE, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `RBRACE` [INFO] [stdout] --> src/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | RBRACE, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `FUNCTION` [INFO] [stdout] --> src/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | FUNCTION, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `LET` [INFO] [stdout] --> src/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LET, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "3451e30c5252c8ab265f2d4ac1f9ff78b2acfd0f041de7830c01b84f276241bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3451e30c5252c8ab265f2d4ac1f9ff78b2acfd0f041de7830c01b84f276241bf", kill_on_drop: false }` [INFO] [stdout] 3451e30c5252c8ab265f2d4ac1f9ff78b2acfd0f041de7830c01b84f276241bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] f45a814b6dd1c4a8c39d7e36a9ff14f28ca13e455a5d566d93937a3e47b4e777 [INFO] running `Command { std: "docker" "start" "-a" "f45a814b6dd1c4a8c39d7e36a9ff14f28ca13e455a5d566d93937a3e47b4e777", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wukong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/lexer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::{self, Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ILLEGAL` [INFO] [stdout] --> src/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ILLEGAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `EOF` [INFO] [stdout] --> src/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `IDENT` [INFO] [stdout] --> src/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | IDENT, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `INT` [INFO] [stdout] --> src/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | INT, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `FUNCTION` [INFO] [stdout] --> src/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | FUNCTION, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: `LET` [INFO] [stdout] --> src/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LET, [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/token.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Copy, Clone, 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.75s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/wukong-586ebe150a6b0971) [INFO] running `Command { std: "docker" "inspect" "f45a814b6dd1c4a8c39d7e36a9ff14f28ca13e455a5d566d93937a3e47b4e777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45a814b6dd1c4a8c39d7e36a9ff14f28ca13e455a5d566d93937a3e47b4e777", kill_on_drop: false }` [INFO] [stdout] f45a814b6dd1c4a8c39d7e36a9ff14f28ca13e455a5d566d93937a3e47b4e777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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] ed7116ad00891d41224c1077926b8911b397079b686a7bb85e810471a9a98290 [INFO] running `Command { std: "docker" "start" "-a" "ed7116ad00891d41224c1077926b8911b397079b686a7bb85e810471a9a98290", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Token` [INFO] [stderr] --> src/lexer.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::token::{self, Token}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ILLEGAL` [INFO] [stderr] --> src/token.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | ILLEGAL, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `EOF` [INFO] [stderr] --> src/token.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | EOF, [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `IDENT` [INFO] [stderr] --> src/token.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | IDENT, [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `INT` [INFO] [stderr] --> src/token.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | INT, [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `FUNCTION` [INFO] [stderr] --> src/token.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | FUNCTION, [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `LET` [INFO] [stderr] --> src/token.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | LET, [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/token.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Copy, Clone, 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: `wukong` (bin "wukong" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wukong-586ebe150a6b0971) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lexer::tests::test_next_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed7116ad00891d41224c1077926b8911b397079b686a7bb85e810471a9a98290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed7116ad00891d41224c1077926b8911b397079b686a7bb85e810471a9a98290", kill_on_drop: false }` [INFO] [stdout] ed7116ad00891d41224c1077926b8911b397079b686a7bb85e810471a9a98290