[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 try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feeli1%2Fhdl-parser" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eeli1/hdl-parser on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded regex-syntax v0.6.25 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 530f8f09e70d6507706c17c3ac3ef3775a207508c3de6f638c12e921f0c5d56f [INFO] running `Command { std: "docker" "start" "-a" "530f8f09e70d6507706c17c3ac3ef3775a207508c3de6f638c12e921f0c5d56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530f8f09e70d6507706c17c3ac3ef3775a207508c3de6f638c12e921f0c5d56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530f8f09e70d6507706c17c3ac3ef3775a207508c3de6f638c12e921f0c5d56f", kill_on_drop: false }` [INFO] [stdout] 530f8f09e70d6507706c17c3ac3ef3775a207508c3de6f638c12e921f0c5d56f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01cbe6d39dad27806c10b4fa3b7880f80403e09bf5e756bd1392da991735f436 [INFO] running `Command { std: "docker" "start" "-a" "01cbe6d39dad27806c10b4fa3b7880f80403e09bf5e756bd1392da991735f436", 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 beef v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [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: 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: 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 5.29s [INFO] running `Command { std: "docker" "inspect" "01cbe6d39dad27806c10b4fa3b7880f80403e09bf5e756bd1392da991735f436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cbe6d39dad27806c10b4fa3b7880f80403e09bf5e756bd1392da991735f436", kill_on_drop: false }` [INFO] [stdout] 01cbe6d39dad27806c10b4fa3b7880f80403e09bf5e756bd1392da991735f436