[INFO] cloning repository https://github.com/b-eyselein/rust_ebnf_tester [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b-eyselein/rust_ebnf_tester" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-eyselein%2Frust_ebnf_tester", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-eyselein%2Frust_ebnf_tester'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dab4f7441de417e419b49a54bae3874d19b3cc08 [INFO] checking b-eyselein/rust_ebnf_tester against master#d255c6a57c393db6221b1ff700daea478436f1cd for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-eyselein%2Frust_ebnf_tester" "/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/b-eyselein/rust_ebnf_tester on toolchain d255c6a57c393db6221b1ff700daea478436f1cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/b-eyselein/rust_ebnf_tester [INFO] finished tweaking git repo https://github.com/b-eyselein/rust_ebnf_tester [INFO] tweaked toml for git repo https://github.com/b-eyselein/rust_ebnf_tester written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/b-eyselein/rust_ebnf_tester 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" "+d255c6a57c393db6221b1ff700daea478436f1cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking b-eyselein/rust_ebnf_tester against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb-eyselein%2Frust_ebnf_tester" "/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/b-eyselein/rust_ebnf_tester on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/b-eyselein/rust_ebnf_tester [INFO] finished tweaking git repo https://github.com/b-eyselein/rust_ebnf_tester [INFO] tweaked toml for git repo https://github.com/b-eyselein/rust_ebnf_tester written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/b-eyselein/rust_ebnf_tester 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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edc1bef1c5b00ecec9389e1bcb95026fcbba3cb94bc32dbd73903bb6c160d767 [INFO] running `Command { std: "docker" "start" "-a" "edc1bef1c5b00ecec9389e1bcb95026fcbba3cb94bc32dbd73903bb6c160d767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edc1bef1c5b00ecec9389e1bcb95026fcbba3cb94bc32dbd73903bb6c160d767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc1bef1c5b00ecec9389e1bcb95026fcbba3cb94bc32dbd73903bb6c160d767", kill_on_drop: false }` [INFO] [stdout] edc1bef1c5b00ecec9389e1bcb95026fcbba3cb94bc32dbd73903bb6c160d767 [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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ab8ec36c87978fcc4c78b5204278b23963c61a40568470625d28f24e6fc8b43 [INFO] running `Command { std: "docker" "start" "-a" "2ab8ec36c87978fcc4c78b5204278b23963c61a40568470625d28f24e6fc8b43", kill_on_drop: false }` [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking ebnf_tester v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ElementConversionResult` is imported redundantly [INFO] [stdout] --> src/extended_backus_naur_form/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use crate::extended_backus_naur_form::element_conversion_result::ElementConversionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 124 | [INFO] [stdout] 125 | use super::*; [INFO] [stdout] | -------- the item `ElementConversionResult` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Epsilon`, `Terminal`, `Variable`, `Optional`, `Alternative`, and `Sequence` are never constructed [INFO] [stdout] --> src/backus_naur_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum BackusNaurProduction { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 5 | Epsilon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Terminal(Terminal), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Variable(Variable), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | Optional(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Alternative(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | Sequence(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackusNaurProduction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cell` is never used [INFO] [stdout] --> src/chomsky_normal_form.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type Cell<'a> = HashSet<&'a char>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Row` is never used [INFO] [stdout] --> src/chomsky_normal_form.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type Row<'a> = Vec>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ChomskyTable` is never used [INFO] [stdout] --> src/chomsky_normal_form.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type ChomskyTable<'a> = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChomskyGrammar` is never constructed [INFO] [stdout] --> src/chomsky_normal_form.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChomskyGrammar { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_rules_producing_terminal`, `search_rules_producing_sequence`, `build_table`, and `derive` are never used [INFO] [stdout] --> src/chomsky_normal_form.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ChomskyGrammar { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 17 | /// checks which vars produce c as terminal... [INFO] [stdout] 18 | fn search_rules_producing_terminal(&self, terminal: &char) -> Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn search_rules_producing_sequence(&self, first_var: &char, second_var: &char) -> Cell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn build_table(&self, word: &[char]) -> ChomskyTable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn derive(&self, word: &[char]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChomskyProduction` is never used [INFO] [stdout] --> src/chomsky_production.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ChomskyProduction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `produces_terminal` and `produces_sequence` are never used [INFO] [stdout] --> src/chomsky_production.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ChomskyProduction { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 9 | pub fn produces_terminal(&self, c: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn produces_sequence(&self, var1: &char, var2: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_child_elements` is never used [INFO] [stdout] --> src/extended_backus_naur_form/mod.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn convert_child_elements(child_elements: &Vec) -> ElementsConversionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_variable` is never used [INFO] [stdout] --> src/extended_backus_naur_form/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn next_variable() -> Variable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_bnf` is never used [INFO] [stdout] --> src/extended_backus_naur_form/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn convert_to_bnf(el: &ExtendedBackusNaurProduction) -> ElementConversionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/extended_backus_naur_form/ebnf_element.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ExtendedBackusNaurProduction { [INFO] [stdout] | ---------------------------- variants in this enum [INFO] [stdout] 7 | Epsilon, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Terminal(Terminal), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Variable(Variable), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | Optional(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | RepetitionZero(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | RepetitionOne(Box), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | Alternative(Vec), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 14 | Sequence(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExtendedBackusNaurProduction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `simple` is never used [INFO] [stdout] --> src/extended_backus_naur_form/element_conversion_result.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ElementConversionResult<'_> { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn simple(output_element: BackusNaurProduction) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/extended_backus_naur_form/element_conversion_result.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ElementsConversionResult<'_> { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "2ab8ec36c87978fcc4c78b5204278b23963c61a40568470625d28f24e6fc8b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab8ec36c87978fcc4c78b5204278b23963c61a40568470625d28f24e6fc8b43", kill_on_drop: false }` [INFO] [stdout] 2ab8ec36c87978fcc4c78b5204278b23963c61a40568470625d28f24e6fc8b43