[INFO] cloning repository https://github.com/RetroRick/snippet_generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RetroRick/snippet_generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetroRick%2Fsnippet_generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetroRick%2Fsnippet_generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66e450076991c9bc2163bf73ee0c94df6c7a64f1 [INFO] testing RetroRick/snippet_generator 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%2FRetroRick%2Fsnippet_generator" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RetroRick/snippet_generator 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/RetroRick/snippet_generator [INFO] finished tweaking git repo https://github.com/RetroRick/snippet_generator [INFO] tweaked toml for git repo https://github.com/RetroRick/snippet_generator written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/RetroRick/snippet_generator 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 566e87a0e5dc78f0ec4177a642f4a3407414296323d65ac6789490d496e3e318 [INFO] running `Command { std: "docker" "start" "-a" "566e87a0e5dc78f0ec4177a642f4a3407414296323d65ac6789490d496e3e318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "566e87a0e5dc78f0ec4177a642f4a3407414296323d65ac6789490d496e3e318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566e87a0e5dc78f0ec4177a642f4a3407414296323d65ac6789490d496e3e318", kill_on_drop: false }` [INFO] [stdout] 566e87a0e5dc78f0ec4177a642f4a3407414296323d65ac6789490d496e3e318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 2d5f418447474830854b598c028cf9ef69cf02ec60e715064ccc45e910e149ae [INFO] running `Command { std: "docker" "start" "-a" "2d5f418447474830854b598c028cf9ef69cf02ec60e715064ccc45e910e149ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling snippet_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `LBracket` [INFO] [stdout] --> src/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RBracket` [INFO] [stdout] --> src/tokenizer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LSquareBracket` [INFO] [stdout] --> src/tokenizer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RSquareBracket` [INFO] [stdout] --> src/tokenizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LParenthesis` [INFO] [stdout] --> src/tokenizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | LParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RParenthesis` [INFO] [stdout] --> src/tokenizer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Colon` [INFO] [stdout] --> src/tokenizer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Hashtag` [INFO] [stdout] --> src/tokenizer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Hashtag, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `FSlash` [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FSlash, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Asterisk` [INFO] [stdout] --> src/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Underscore` [INFO] [stdout] --> src/tokenizer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Underscore, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `At` [INFO] [stdout] --> src/tokenizer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | At [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: struct is never constructed: `ValidTokenMapper` [INFO] [stdout] --> src/tokenizer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ValidTokenMapper{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tokenizer.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn new() -> ValidTokenMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_token` [INFO] [stdout] --> src/tokenizer.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn validate_token(ch: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `Command { std: "docker" "inspect" "2d5f418447474830854b598c028cf9ef69cf02ec60e715064ccc45e910e149ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d5f418447474830854b598c028cf9ef69cf02ec60e715064ccc45e910e149ae", kill_on_drop: false }` [INFO] [stdout] 2d5f418447474830854b598c028cf9ef69cf02ec60e715064ccc45e910e149ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] d7e6a4294c7fe047989de2a664821b9704b968ba6ada9d593291aacc0bb62203 [INFO] running `Command { std: "docker" "start" "-a" "d7e6a4294c7fe047989de2a664821b9704b968ba6ada9d593291aacc0bb62203", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling snippet_generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `LBracket` [INFO] [stdout] --> src/tokenizer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RBracket` [INFO] [stdout] --> src/tokenizer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LSquareBracket` [INFO] [stdout] --> src/tokenizer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RSquareBracket` [INFO] [stdout] --> src/tokenizer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | RSquareBracket, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LParenthesis` [INFO] [stdout] --> src/tokenizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | LParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RParenthesis` [INFO] [stdout] --> src/tokenizer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Colon` [INFO] [stdout] --> src/tokenizer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Hashtag` [INFO] [stdout] --> src/tokenizer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Hashtag, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `FSlash` [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | FSlash, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Asterisk` [INFO] [stdout] --> src/tokenizer.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Underscore` [INFO] [stdout] --> src/tokenizer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Underscore, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `At` [INFO] [stdout] --> src/tokenizer.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | At [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tokenizer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: struct is never constructed: `ValidTokenMapper` [INFO] [stdout] --> src/tokenizer.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct ValidTokenMapper{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tokenizer.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn new() -> ValidTokenMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_token` [INFO] [stdout] --> src/tokenizer.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn validate_token(ch: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/snippet_generator-1f435af66a85d3b4) [INFO] running `Command { std: "docker" "inspect" "d7e6a4294c7fe047989de2a664821b9704b968ba6ada9d593291aacc0bb62203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e6a4294c7fe047989de2a664821b9704b968ba6ada9d593291aacc0bb62203", kill_on_drop: false }` [INFO] [stdout] d7e6a4294c7fe047989de2a664821b9704b968ba6ada9d593291aacc0bb62203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 87daed6524fe92af2fa4c6c161a854cc7590d860b2b246fc63918a8cba2a57b6 [INFO] running `Command { std: "docker" "start" "-a" "87daed6524fe92af2fa4c6c161a854cc7590d860b2b246fc63918a8cba2a57b6", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `LBracket` [INFO] [stderr] --> src/tokenizer.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | LBracket, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RBracket` [INFO] [stderr] --> src/tokenizer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | RBracket, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LSquareBracket` [INFO] [stderr] --> src/tokenizer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | LSquareBracket, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RSquareBracket` [INFO] [stderr] --> src/tokenizer.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | RSquareBracket, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `LParenthesis` [INFO] [stderr] --> src/tokenizer.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | LParenthesis, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `RParenthesis` [INFO] [stderr] --> src/tokenizer.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | RParenthesis, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Colon` [INFO] [stderr] --> src/tokenizer.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Colon, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Hashtag` [INFO] [stderr] --> src/tokenizer.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Hashtag, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `FSlash` [INFO] [stderr] --> src/tokenizer.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | FSlash, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Asterisk` [INFO] [stderr] --> src/tokenizer.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Asterisk, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `Underscore` [INFO] [stderr] --> src/tokenizer.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Underscore, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: `At` [INFO] [stderr] --> src/tokenizer.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | At [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `ValidTokens` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tokenizer.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, PartialEq, Eq, Hash)] [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: struct is never constructed: `ValidTokenMapper` [INFO] [stderr] --> src/tokenizer.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | struct ValidTokenMapper{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/tokenizer.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | fn new() -> ValidTokenMapper { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `validate_token` [INFO] [stderr] --> src/tokenizer.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn validate_token(ch: &String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `snippet_generator` (bin "snippet_generator" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snippet_generator-1f435af66a85d3b4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87daed6524fe92af2fa4c6c161a854cc7590d860b2b246fc63918a8cba2a57b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87daed6524fe92af2fa4c6c161a854cc7590d860b2b246fc63918a8cba2a57b6", kill_on_drop: false }` [INFO] [stdout] 87daed6524fe92af2fa4c6c161a854cc7590d860b2b246fc63918a8cba2a57b6