[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 1.60.0 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 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/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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6f7795a3b02c1389ea3b9014d4ac131cb8941a931ba1aeb7b0e2511460902a3 [INFO] running `Command { std: "docker" "start" "-a" "c6f7795a3b02c1389ea3b9014d4ac131cb8941a931ba1aeb7b0e2511460902a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6f7795a3b02c1389ea3b9014d4ac131cb8941a931ba1aeb7b0e2511460902a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f7795a3b02c1389ea3b9014d4ac131cb8941a931ba1aeb7b0e2511460902a3", kill_on_drop: false }` [INFO] [stdout] c6f7795a3b02c1389ea3b9014d4ac131cb8941a931ba1aeb7b0e2511460902a3 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d023d5421669467d0483f4a8e677b5fff3019d4911d46211625608e418ffc9df [INFO] running `Command { std: "docker" "start" "-a" "d023d5421669467d0483f4a8e677b5fff3019d4911d46211625608e418ffc9df", kill_on_drop: false }` [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.00s [INFO] running `Command { std: "docker" "inspect" "d023d5421669467d0483f4a8e677b5fff3019d4911d46211625608e418ffc9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d023d5421669467d0483f4a8e677b5fff3019d4911d46211625608e418ffc9df", kill_on_drop: false }` [INFO] [stdout] d023d5421669467d0483f4a8e677b5fff3019d4911d46211625608e418ffc9df [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8475c10a588a0194ed835069723627141a5eed3a51737409a88523577cb7f310 [INFO] running `Command { std: "docker" "start" "-a" "8475c10a588a0194ed835069723627141a5eed3a51737409a88523577cb7f310", kill_on_drop: false }` [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.41s [INFO] running `Command { std: "docker" "inspect" "8475c10a588a0194ed835069723627141a5eed3a51737409a88523577cb7f310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8475c10a588a0194ed835069723627141a5eed3a51737409a88523577cb7f310", kill_on_drop: false }` [INFO] [stdout] 8475c10a588a0194ed835069723627141a5eed3a51737409a88523577cb7f310 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc62df2fbddc90959d31fad1c67eb863d26336d9ff68ff716fb8f5016366f5bb [INFO] running `Command { std: "docker" "start" "-a" "fc62df2fbddc90959d31fad1c67eb863d26336d9ff68ff716fb8f5016366f5bb", 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 (/opt/rustwide/target/debug/deps/snippet_generator-586fa070f3b52643) [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" "fc62df2fbddc90959d31fad1c67eb863d26336d9ff68ff716fb8f5016366f5bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc62df2fbddc90959d31fad1c67eb863d26336d9ff68ff716fb8f5016366f5bb", kill_on_drop: false }` [INFO] [stdout] fc62df2fbddc90959d31fad1c67eb863d26336d9ff68ff716fb8f5016366f5bb