[INFO] cloning repository https://github.com/toodols/struk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toodols/struk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Fstruk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Fstruk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af10923a9a6fdb9e238cd73b670670351a504d98
[INFO] testing toodols/struk against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Fstruk" "/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/toodols/struk
[INFO] finished tweaking git repo https://github.com/toodols/struk
[INFO] tweaked toml for git repo https://github.com/toodols/struk written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/toodols/struk on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/toodols/struk 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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
[ERROR] error running command: no output for 300 seconds
[INFO] testing toodols/struk against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Fstruk" "/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/toodols/struk
[INFO] finished tweaking git repo https://github.com/toodols/struk
[INFO] tweaked toml for git repo https://github.com/toodols/struk written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/toodols/struk on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/toodols/struk 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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 nom v7.1.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a1eadb84c0c4d5a21d577eaaf598a8e2d7514b4464efe3d4d4f5aa49169d405
[INFO] running `Command { std: "docker" "start" "-a" "6a1eadb84c0c4d5a21d577eaaf598a8e2d7514b4464efe3d4d4f5aa49169d405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a1eadb84c0c4d5a21d577eaaf598a8e2d7514b4464efe3d4d4f5aa49169d405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a1eadb84c0c4d5a21d577eaaf598a8e2d7514b4464efe3d4d4f5aa49169d405", kill_on_drop: false }`
[INFO] [stdout] 6a1eadb84c0c4d5a21d577eaaf598a8e2d7514b4464efe3d4d4f5aa49169d405
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b69ba6237533f6a4f7a9654d974d9b082567ba94a0181deb141f90f54fc886d1
[INFO] running `Command { std: "docker" "start" "-a" "b69ba6237533f6a4f7a9654d974d9b082567ba94a0181deb141f90f54fc886d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling struk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec::IntoIter`
[INFO] [stdout]  --> src/language.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec::IntoIter;
[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 imports: `fmt` and `iter::Map`
[INFO] [stdout]  --> src/language.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fmt, iter::Map, str};
[INFO] [stdout]   |           ^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ContextError`, `Err`, `ErrorKind`, `VerboseError`, `alphanumeric1 as alphanumeric`, `context`, `convert_error`, `delimited`, `escaped`, `number::complete::double`, `one_of`, `opt`, and `separated_pair`
[INFO] [stdout]   --> src/language.rs:8:23
[INFO] [stdout]    |
[INFO] [stdout]  8 |     bytes::complete::{escaped, tag, take_while},
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]  9 |     character::complete::{alphanumeric1 as alphanumeric, char, one_of},
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^
[INFO] [stdout] 10 |     combinator::{cut, map, opt, value},
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 11 |     error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError},
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^              ^^^^^^^^^^^^
[INFO] [stdout] 12 |     multi::{many0, separated_list0, separated_list1},
[INFO] [stdout] 13 |     number::complete::double,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     sequence::{delimited, preceded, separated_pair, terminated, tuple},
[INFO] [stdout]    |                ^^^^^^^^^            ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     Err, IResult,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/deserialize.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |             };
[INFO] [stdout]    |              ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::deserialize`
[INFO] [stdout]  --> src/serialize.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nom::error::ErrorKind`
[INFO] [stdout]  --> src/serialize.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use nom::error::ErrorKind;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/serialize.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::{Value, json};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parse`
[INFO] [stdout]  --> src/serialize.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::language::{Primitive, ParserValue, ArrayLength, parse};
[INFO] [stdout]   |                                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/language.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |             map(tag("[]"), |s| ArrayLength::Bit(2)),
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/serialize.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/serialize.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stdout]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/serialize.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let e = input.as_array().ok_or("not array sad")?;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let d = &serialize(&rule, &json!({})).unwrap()[..];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `I64`, `F64`, `I32`, `F32`, `I16`, and `I8` are never constructed
[INFO] [stdout]   --> src/language.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum Primitive {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 27 |     U64,
[INFO] [stdout] 28 |     I64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     F64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     U32,
[INFO] [stdout] 31 |     I32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 32 |     F32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 33 |     U16,
[INFO] [stdout] 34 |     I16,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 35 |     U8,
[INFO] [stdout] 36 |     I8,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Primitive` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Map` and `BoolStruct` are never constructed
[INFO] [stdout]   --> src/language.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub enum ParserValue {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     Map(Box<ParserValue>, Box<ParserValue>), // {[str]: u32}
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     BoolStruct(Vec<String>), // bitfield type {a,b,c,d,e,f}
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParserValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate` is never used
[INFO] [stdout]    --> src/language.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn validate(){
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getCountFromBits` should have a snake case name
[INFO] [stdout]  --> src/deserialize.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn getCountFromBits(cursor: &mut Cursor<Vec<u8>>, num: u8) -> Result<usize, std::io::Error> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_count_from_bits`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fixedLen` should have a snake case name
[INFO] [stdout]   --> src/serialize.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 ArrayLength::Fixed(fixedLen)=>{
[INFO] [stdout]    |                                    ^^^^^^^^ help: convert the identifier to snake case: `fixed_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.08s
[INFO] running `Command { std: "docker" "inspect" "b69ba6237533f6a4f7a9654d974d9b082567ba94a0181deb141f90f54fc886d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b69ba6237533f6a4f7a9654d974d9b082567ba94a0181deb141f90f54fc886d1", kill_on_drop: false }`
[INFO] [stdout] b69ba6237533f6a4f7a9654d974d9b082567ba94a0181deb141f90f54fc886d1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7dccff7a03cc32c2912300ee0dd0332669a5a81f501915f3960af97df0a776d4
[INFO] running `Command { std: "docker" "start" "-a" "7dccff7a03cc32c2912300ee0dd0332669a5a81f501915f3960af97df0a776d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling struk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec::IntoIter`
[INFO] [stdout]  --> src/language.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::vec::IntoIter;
[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 imports: `fmt` and `iter::Map`
[INFO] [stdout]  --> src/language.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{fmt, iter::Map, str};
[INFO] [stdout]   |           ^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ContextError`, `Err`, `VerboseError`, `alphanumeric1 as alphanumeric`, `context`, `convert_error`, `delimited`, `escaped`, `number::complete::double`, `one_of`, `opt`, and `separated_pair`
[INFO] [stdout]   --> src/language.rs:8:23
[INFO] [stdout]    |
[INFO] [stdout]  8 |     bytes::complete::{escaped, tag, take_while},
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]  9 |     character::complete::{alphanumeric1 as alphanumeric, char, one_of},
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^
[INFO] [stdout] 10 |     combinator::{cut, map, opt, value},
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 11 |     error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError},
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^                         ^^^^^^^^^^^^
[INFO] [stdout] 12 |     multi::{many0, separated_list0, separated_list1},
[INFO] [stdout] 13 |     number::complete::double,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     sequence::{delimited, preceded, separated_pair, terminated, tuple},
[INFO] [stdout]    |                ^^^^^^^^^            ^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     Err, IResult,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/deserialize.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |             };
[INFO] [stdout]    |              ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/language.rs:127:29
[INFO] [stdout]     |
[INFO] [stdout] 127 |             map(tag("[]"), |s| ArrayLength::Bit(2)),
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]   --> src/serialize.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/serialize.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stdout]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/serialize.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |             let e = input.as_array().ok_or("not array sad")?;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let d = &serialize(&rule, &json!({})).unwrap()[..];
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `I64`, `F64`, `I32`, `F32`, `I16`, and `I8` are never constructed
[INFO] [stdout]   --> src/language.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum Primitive {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 27 |     U64,
[INFO] [stdout] 28 |     I64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 29 |     F64,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     U32,
[INFO] [stdout] 31 |     I32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 32 |     F32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 33 |     U16,
[INFO] [stdout] 34 |     I16,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 35 |     U8,
[INFO] [stdout] 36 |     I8,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Primitive` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Map` and `BoolStruct` are never constructed
[INFO] [stdout]   --> src/language.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub enum ParserValue {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 56 |     Map(Box<ParserValue>, Box<ParserValue>), // {[str]: u32}
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 57 |     BoolStruct(Vec<String>), // bitfield type {a,b,c,d,e,f}
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParserValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate` is never used
[INFO] [stdout]    --> src/language.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | fn validate(){
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getCountFromBits` should have a snake case name
[INFO] [stdout]  --> src/deserialize.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn getCountFromBits(cursor: &mut Cursor<Vec<u8>>, num: u8) -> Result<usize, std::io::Error> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_count_from_bits`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `fixedLen` should have a snake case name
[INFO] [stdout]   --> src/serialize.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |                 ArrayLength::Fixed(fixedLen)=>{
[INFO] [stdout]    |                                    ^^^^^^^^ help: convert the identifier to snake case: `fixed_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s
[INFO] running `Command { std: "docker" "inspect" "7dccff7a03cc32c2912300ee0dd0332669a5a81f501915f3960af97df0a776d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dccff7a03cc32c2912300ee0dd0332669a5a81f501915f3960af97df0a776d4", kill_on_drop: false }`
[INFO] [stdout] 7dccff7a03cc32c2912300ee0dd0332669a5a81f501915f3960af97df0a776d4
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55763f9b99e17a5c46ae34c2051836a0c2e319d533965bd8e561b2a924c6f795
[INFO] running `Command { std: "docker" "start" "-a" "55763f9b99e17a5c46ae34c2051836a0c2e319d533965bd8e561b2a924c6f795", kill_on_drop: false }`
[INFO] [stdout] 
[INFO] [stderr] warning: unused import: `std::vec::IntoIter`
[INFO] [stdout] running 2 tests
[INFO] [stderr]  --> src/language.rs:2:5
[INFO] [stdout] test serialize::test ... ok
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::vec::IntoIter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `fmt` and `iter::Map`
[INFO] [stderr]  --> src/language.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::{fmt, iter::Map, str};
[INFO] [stderr]   |           ^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ContextError`, `Err`, `VerboseError`, `alphanumeric1 as alphanumeric`, `context`, `convert_error`, `delimited`, `escaped`, `number::complete::double`, `one_of`, `opt`, and `separated_pair`
[INFO] [stderr]   --> src/language.rs:8:23
[INFO] [stderr]    |
[INFO] [stderr]  8 |     bytes::complete::{escaped, tag, take_while},
[INFO] [stderr]    |                       ^^^^^^^
[INFO] [stderr]  9 |     character::complete::{alphanumeric1 as alphanumeric, char, one_of},
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^        ^^^^^^
[INFO] [stderr] 10 |     combinator::{cut, map, opt, value},
[INFO] [stderr]    |                            ^^^
[INFO] [stderr] 11 |     error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError},
[INFO] [stderr]    |             ^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^                         ^^^^^^^^^^^^
[INFO] [stderr] 12 |     multi::{many0, separated_list0, separated_list1},
[INFO] [stderr] 13 |     number::complete::double,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     sequence::{delimited, preceded, separated_pair, terminated, tuple},
[INFO] [stderr]    |                ^^^^^^^^^            ^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     Err, IResult,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]   --> src/deserialize.rs:62:14
[INFO] [stderr]    |
[INFO] [stderr] 62 |             };
[INFO] [stderr]    |              ^ help: remove this semicolon
[INFO] [stderr]    |
[INFO] [stdout] test language::test_everything ... ok
[INFO] [stderr]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stdout] 
[INFO] [stderr]    --> src/language.rs:127:29
[INFO] [stderr]     |
[INFO] [stderr] 127 |             map(tag("[]"), |s| ArrayLength::Bit(2)),
[INFO] [stderr]     |                             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `val`
[INFO] [stderr]   --> src/serialize.rs:29:22
[INFO] [stderr]    |
[INFO] [stderr] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stderr]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> src/serialize.rs:29:27
[INFO] [stderr]    |
[INFO] [stderr] 29 |         ParserValue::Array(val, b)=>{
[INFO] [stderr]    |                                 ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/serialize.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 |             let e = input.as_array().ok_or("not array sad")?;
[INFO] [stderr]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `d`
[INFO] [stderr]   --> src/main.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let d = &serialize(&rule, &json!({})).unwrap()[..];
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `I64`, `F64`, `I32`, `F32`, `I16`, and `I8` are never constructed
[INFO] [stderr]   --> src/language.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub enum Primitive {
[INFO] [stderr]    |          --------- variants in this enum
[INFO] [stderr] 27 |     U64,
[INFO] [stderr] 28 |     I64,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 29 |     F64,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 30 |     U32,
[INFO] [stderr] 31 |     I32,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 32 |     F32,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 33 |     U16,
[INFO] [stderr] 34 |     I16,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 35 |     U8,
[INFO] [stderr] 36 |     I8,
[INFO] [stderr]    |     ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Primitive` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Map` and `BoolStruct` are never constructed
[INFO] [stderr]   --> src/language.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub enum ParserValue {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 56 |     Map(Box<ParserValue>, Box<ParserValue>), // {[str]: u32}
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 57 |     BoolStruct(Vec<String>), // bitfield type {a,b,c,d,e,f}
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ParserValue` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `validate` is never used
[INFO] [stderr]    --> src/language.rs:207:4
[INFO] [stderr]     |
[INFO] [stderr] 207 | fn validate(){
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `getCountFromBits` should have a snake case name
[INFO] [stderr]  --> src/deserialize.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn getCountFromBits(cursor: &mut Cursor<Vec<u8>>, num: u8) -> Result<usize, std::io::Error> {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_count_from_bits`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `fixedLen` should have a snake case name
[INFO] [stderr]   --> src/serialize.rs:17:24
[INFO] [stderr]    |
[INFO] [stderr] 17 |                 ArrayLength::Fixed(fixedLen)=>{
[INFO] [stderr]    |                                    ^^^^^^^^ help: convert the identifier to snake case: `fixed_len`
[INFO] [stderr] 
[INFO] [stderr] warning: `struk` (bin "struk" test) generated 14 warnings (run `cargo fix --bin "struk" -p struk --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/struk-4d374200c68d5a75)
[INFO] running `Command { std: "docker" "inspect" "55763f9b99e17a5c46ae34c2051836a0c2e319d533965bd8e561b2a924c6f795", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55763f9b99e17a5c46ae34c2051836a0c2e319d533965bd8e561b2a924c6f795", kill_on_drop: false }`
[INFO] [stdout] 55763f9b99e17a5c46ae34c2051836a0c2e319d533965bd8e561b2a924c6f795
