[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRetroRick%2Fsnippet_generator" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RetroRick/snippet_generator on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-27/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-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 341622e2486821ffb127cea3da7de882cb645912e94eb7fa8a271271aa8b02ca [INFO] running `Command { std: "docker" "start" "-a" "341622e2486821ffb127cea3da7de882cb645912e94eb7fa8a271271aa8b02ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "341622e2486821ffb127cea3da7de882cb645912e94eb7fa8a271271aa8b02ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341622e2486821ffb127cea3da7de882cb645912e94eb7fa8a271271aa8b02ca", kill_on_drop: false }` [INFO] [stdout] 341622e2486821ffb127cea3da7de882cb645912e94eb7fa8a271271aa8b02ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0357a426683639d301665614efeb0ffe709887d0194237bd174d5a04f74bf91 [INFO] running `Command { std: "docker" "start" "-a" "a0357a426683639d301665614efeb0ffe709887d0194237bd174d5a04f74bf91", 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 0.85s [INFO] running `Command { std: "docker" "inspect" "a0357a426683639d301665614efeb0ffe709887d0194237bd174d5a04f74bf91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0357a426683639d301665614efeb0ffe709887d0194237bd174d5a04f74bf91", kill_on_drop: false }` [INFO] [stdout] a0357a426683639d301665614efeb0ffe709887d0194237bd174d5a04f74bf91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a4b3937ee495f3ee883e0f6e7dc42cfa8d466707f83cf45592c8710caaacb3 [INFO] running `Command { std: "docker" "start" "-a" "b7a4b3937ee495f3ee883e0f6e7dc42cfa8d466707f83cf45592c8710caaacb3", 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.46s [INFO] running `Command { std: "docker" "inspect" "b7a4b3937ee495f3ee883e0f6e7dc42cfa8d466707f83cf45592c8710caaacb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a4b3937ee495f3ee883e0f6e7dc42cfa8d466707f83cf45592c8710caaacb3", kill_on_drop: false }` [INFO] [stdout] b7a4b3937ee495f3ee883e0f6e7dc42cfa8d466707f83cf45592c8710caaacb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ca4f42a47f5b383366dbfedb926fc16f2caa5d33e1f500038592340f9f98cfd [INFO] running `Command { std: "docker" "start" "-a" "7ca4f42a47f5b383366dbfedb926fc16f2caa5d33e1f500038592340f9f98cfd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 2.41s [INFO] [stderr] Running unittests (/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" "7ca4f42a47f5b383366dbfedb926fc16f2caa5d33e1f500038592340f9f98cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca4f42a47f5b383366dbfedb926fc16f2caa5d33e1f500038592340f9f98cfd", kill_on_drop: false }` [INFO] [stdout] 7ca4f42a47f5b383366dbfedb926fc16f2caa5d33e1f500038592340f9f98cfd