[INFO] cloning repository https://github.com/eeli1/hdl-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eeli1/hdl-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feeli1%2Fhdl-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feeli1%2Fhdl-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84b82dca4a809b0b9f7e338c154ca46aea65ae20 [INFO] checking eeli1/hdl-parser against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feeli1%2Fhdl-parser" "/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/eeli1/hdl-parser on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eeli1/hdl-parser [INFO] finished tweaking git repo https://github.com/eeli1/hdl-parser [INFO] tweaked toml for git repo https://github.com/eeli1/hdl-parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eeli1/hdl-parser 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/eeli1/bool-algebra` [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-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcf09b490141eb7448bb4e410288e139c159a96b404cf973d4be8275f6177b08 [INFO] running `Command { std: "docker" "start" "-a" "bcf09b490141eb7448bb4e410288e139c159a96b404cf973d4be8275f6177b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcf09b490141eb7448bb4e410288e139c159a96b404cf973d4be8275f6177b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf09b490141eb7448bb4e410288e139c159a96b404cf973d4be8275f6177b08", kill_on_drop: false }` [INFO] [stdout] bcf09b490141eb7448bb4e410288e139c159a96b404cf973d4be8275f6177b08 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b36938fb91fe8979e17a70b7e00b4bef22e6553f37234c1d065b0d9d725578f7 [INFO] running `Command { std: "docker" "start" "-a" "b36938fb91fe8979e17a70b7e00b4bef22e6553f37234c1d065b0d9d725578f7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking bool-algebra v0.1.0 (https://github.com/eeli1/bool-algebra#22b37746) [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking hdl-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/comphdl.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(code: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/comphdl.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse(code: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_iter` [INFO] [stdout] --> src/open_gal.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_func(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_names` [INFO] [stdout] --> src/open_gal.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let in_names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_names` [INFO] [stdout] --> src/open_gal.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let out_names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill` [INFO] [stdout] --> src/open_gal.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut fill = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let mut is_count = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut is_fill = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut fill = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/open_gal.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_iter` [INFO] [stdout] --> src/open_gal.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_nums(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_iter` [INFO] [stdout] --> src/open_gal.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_func(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_names` [INFO] [stdout] --> src/open_gal.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let in_names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_names` [INFO] [stdout] --> src/open_gal.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let out_names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fill` [INFO] [stdout] --> src/open_gal.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut fill = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fill` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let mut is_count = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let mut is_fill = false; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_gal.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut fill = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/open_gal.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let names = get_names(t_iter)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_iter` [INFO] [stdout] --> src/open_gal.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_nums(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/shdl.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse(code: &str) -> Result<(Vec>, Vec), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shdl.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut chips = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shdl.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut lut = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nums` is never used [INFO] [stdout] --> src/open_gal.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_nums(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/shdl.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn parse(code: &str) -> Result<(Vec>, Vec), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shdl.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut chips = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shdl.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut lut = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_nums` is never used [INFO] [stdout] --> src/open_gal.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn get_nums(t_iter: &mut Peekable>) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "b36938fb91fe8979e17a70b7e00b4bef22e6553f37234c1d065b0d9d725578f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36938fb91fe8979e17a70b7e00b4bef22e6553f37234c1d065b0d9d725578f7", kill_on_drop: false }` [INFO] [stdout] b36938fb91fe8979e17a70b7e00b4bef22e6553f37234c1d065b0d9d725578f7