[INFO] cloning repository https://github.com/MarchMol/syntax_analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarchMol/syntax_analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Fsyntax_analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Fsyntax_analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b594201055bcf578c9f3e4b38969f70f76071f4c [INFO] checking MarchMol/syntax_analyzer against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Fsyntax_analyzer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarchMol/syntax_analyzer [INFO] finished tweaking git repo https://github.com/MarchMol/syntax_analyzer [INFO] tweaked toml for git repo https://github.com/MarchMol/syntax_analyzer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarchMol/syntax_analyzer on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarchMol/syntax_analyzer 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking MarchMol/syntax_analyzer against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarchMol%2Fsyntax_analyzer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MarchMol/syntax_analyzer [INFO] finished tweaking git repo https://github.com/MarchMol/syntax_analyzer [INFO] tweaked toml for git repo https://github.com/MarchMol/syntax_analyzer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MarchMol/syntax_analyzer on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MarchMol/syntax_analyzer 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prettytable v0.10.0 [INFO] [stderr] Downloaded petgraph v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a256df828f1429545ef90ebfd1619b2c59887bb7a8be3aabc8b979a8f0d8c9a6 [INFO] running `Command { std: "docker" "start" "-a" "a256df828f1429545ef90ebfd1619b2c59887bb7a8be3aabc8b979a8f0d8c9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a256df828f1429545ef90ebfd1619b2c59887bb7a8be3aabc8b979a8f0d8c9a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a256df828f1429545ef90ebfd1619b2c59887bb7a8be3aabc8b979a8f0d8c9a6", kill_on_drop: false }` [INFO] [stdout] a256df828f1429545ef90ebfd1619b2c59887bb7a8be3aabc8b979a8f0d8c9a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a11ffed1b9eb6acedfe4f926abd63d689f230b2e21b2fce833bcef01bf643e20 [INFO] running `Command { std: "docker" "start" "-a" "a11ffed1b9eb6acedfe4f926abd63d689f230b2e21b2fce833bcef01bf643e20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking petgraph v0.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ron v0.10.1 [INFO] [stderr] Checking prettytable v0.10.0 [INFO] [stderr] Checking syntax_analyzer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File` and `path::Path` [INFO] [stdout] --> src/utility/read_config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::File, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::error` [INFO] [stdout] --> src/lex/lex_analyzer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ron::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `path::Path` [INFO] [stdout] --> src/utility/read_config.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs::File, io::Read, path::Path}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ron::error` [INFO] [stdout] --> src/lex/lex_analyzer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ron::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lex/lex_analyzer.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut end: usize = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:46 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lex/lex_analyzer.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | fn print_lexic_errors(symbols: &Vec, errors: &Vec<(usize, usize)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lex/lex_analyzer.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut end: usize = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:46 [INFO] [stdout] | [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/syn/lalr_automata.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let lhs = if let Element::NonTerminal(lhs) = &rhs[0] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lex/lex_analyzer.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | fn print_lexic_errors(symbols: &Vec, errors: &Vec<(usize, usize)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/syn/syn_analyzer.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let green = Style::new().green().bold(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> src/syn/syn_analyzer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let flow = &config.parse_method; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syn/syn_analyzer.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut base_slr = slr_automata::SLR::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/view/render.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(output) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/view/render.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/view/render.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | Ok(output) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/view/render.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/syn/lalr_automata.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | let lhs = if let Element::NonTerminal(lhs) = &rhs[0] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_error_bounds` is never used [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl LexAnalyzer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/syn/lalr_automata.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | if let Element::NonTerminal(B) = next_sym { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `green` [INFO] [stdout] --> src/syn/syn_analyzer.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let green = Style::new().green().bold(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> src/syn/syn_analyzer.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let flow = &config.parse_method; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syn/syn_analyzer.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut base_slr = slr_automata::SLR::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/view/render.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(output) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/view/render.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/view/render.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | Ok(output) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/view/render.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_error_bounds` is never used [INFO] [stdout] --> src/lex/lex_analyzer.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl LexAnalyzer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | fn get_error_bounds(&self, start: usize, input: String) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/syn/lalr_automata.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | if let Element::NonTerminal(B) = next_sym { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.73s [INFO] running `Command { std: "docker" "inspect" "a11ffed1b9eb6acedfe4f926abd63d689f230b2e21b2fce833bcef01bf643e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11ffed1b9eb6acedfe4f926abd63d689f230b2e21b2fce833bcef01bf643e20", kill_on_drop: false }` [INFO] [stdout] a11ffed1b9eb6acedfe4f926abd63d689f230b2e21b2fce833bcef01bf643e20