[INFO] cloning repository https://github.com/xiema/rs_compile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiema/rs_compile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiema%2Frs_compile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiema%2Frs_compile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c1867f2a3ffa441052707e4e6f3e9d8863e8f9f [INFO] checking xiema/rs_compile against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiema%2Frs_compile" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiema/rs_compile on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiema/rs_compile [INFO] finished tweaking git repo https://github.com/xiema/rs_compile [INFO] tweaked toml for git repo https://github.com/xiema/rs_compile written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xiema/rs_compile already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7e7122b03490519301c7bccebd63d15b8963396639b5cf45f9e2880c1c1303 [INFO] running `Command { std: "docker" "start" "-a" "8d7e7122b03490519301c7bccebd63d15b8963396639b5cf45f9e2880c1c1303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7e7122b03490519301c7bccebd63d15b8963396639b5cf45f9e2880c1c1303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7e7122b03490519301c7bccebd63d15b8963396639b5cf45f9e2880c1c1303", kill_on_drop: false }` [INFO] [stdout] 8d7e7122b03490519301c7bccebd63d15b8963396639b5cf45f9e2880c1c1303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8521330e706393b714c6535f44ab88a7b51689a34b9b67085b12a453c4c5b1e9 [INFO] running `Command { std: "docker" "start" "-a" "8521330e706393b714c6535f44ab88a7b51689a34b9b67085b12a453c4c5b1e9", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking rs_compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Grammar` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Grammar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProductionId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ProductionId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Token` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tokenizer::{Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Token` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Grammar` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Grammar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProductionId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ProductionId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Token` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tokenizer::{Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Token` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lang` is never used [INFO] [stdout] --> src/parser/parserll.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn create_lang() -> (Tokenizer, Grammar) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "8521330e706393b714c6535f44ab88a7b51689a34b9b67085b12a453c4c5b1e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8521330e706393b714c6535f44ab88a7b51689a34b9b67085b12a453c4c5b1e9", kill_on_drop: false }` [INFO] [stdout] 8521330e706393b714c6535f44ab88a7b51689a34b9b67085b12a453c4c5b1e9 [INFO] checking xiema/rs_compile against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiema%2Frs_compile" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xiema/rs_compile on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xiema/rs_compile [INFO] finished tweaking git repo https://github.com/xiema/rs_compile [INFO] tweaked toml for git repo https://github.com/xiema/rs_compile written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xiema/rs_compile already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 337be11aa72c81a35c9680d6253d22deb9fe91d588b1c7f949bf1251dcdd42dd [INFO] running `Command { std: "docker" "start" "-a" "337be11aa72c81a35c9680d6253d22deb9fe91d588b1c7f949bf1251dcdd42dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "337be11aa72c81a35c9680d6253d22deb9fe91d588b1c7f949bf1251dcdd42dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "337be11aa72c81a35c9680d6253d22deb9fe91d588b1c7f949bf1251dcdd42dd", kill_on_drop: false }` [INFO] [stdout] 337be11aa72c81a35c9680d6253d22deb9fe91d588b1c7f949bf1251dcdd42dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf6fc920478c569216b3ad4d440870cec6f1f8b50c6b67fbdb27608330ce43de [INFO] running `Command { std: "docker" "start" "-a" "cf6fc920478c569216b3ad4d440870cec6f1f8b50c6b67fbdb27608330ce43de", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking rs_compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Grammar` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Grammar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProductionId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ProductionId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Token` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tokenizer::{Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Token` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Result` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Grammar` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Grammar` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ProductionId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ProductionId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementId` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ElementType` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:5:56 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::grammar::{Grammar, ProductionId, ElementId, ElementType, GrammarGenerator, ProductionItem}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `ElementType` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Token` is imported redundantly [INFO] [stdout] --> src/parser/parserlr.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tokenizer::{Token}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `Token` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_lang` is never used [INFO] [stdout] --> src/parser/parserll.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn create_lang() -> (Tokenizer, Grammar) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "cf6fc920478c569216b3ad4d440870cec6f1f8b50c6b67fbdb27608330ce43de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6fc920478c569216b3ad4d440870cec6f1f8b50c6b67fbdb27608330ce43de", kill_on_drop: false }` [INFO] [stdout] cf6fc920478c569216b3ad4d440870cec6f1f8b50c6b67fbdb27608330ce43de