[INFO] cloning repository https://github.com/grihabor/jq-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grihabor/jq-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrihabor%2Fjq-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrihabor%2Fjq-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a2475ee86d7737814b546ba474ea4d78b03d967 [INFO] checking grihabor/jq-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrihabor%2Fjq-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grihabor/jq-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grihabor/jq-rs [INFO] finished tweaking git repo https://github.com/grihabor/jq-rs [INFO] tweaked toml for git repo https://github.com/grihabor/jq-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/grihabor/jq-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caf7616c0da1091ee7a42cf9ce176599b04509df5ac7df4b66c06e863425f63c [INFO] running `Command { std: "docker" "start" "-a" "caf7616c0da1091ee7a42cf9ce176599b04509df5ac7df4b66c06e863425f63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caf7616c0da1091ee7a42cf9ce176599b04509df5ac7df4b66c06e863425f63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf7616c0da1091ee7a42cf9ce176599b04509df5ac7df4b66c06e863425f63c", kill_on_drop: false }` [INFO] [stdout] caf7616c0da1091ee7a42cf9ce176599b04509df5ac7df4b66c06e863425f63c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faf08a810c8a4bce36ad141cc33bd9931e2004028a2e1c097ff50f59fb1a9fdb [INFO] running `Command { std: "docker" "start" "-a" "faf08a810c8a4bce36ad141cc33bd9931e2004028a2e1c097ff50f59fb1a9fdb", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking jq-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `take_while1` and `take_while` [INFO] [stdout] --> src/parser.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use self::nom::bytes::complete::{take_while, take_while1}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::nom::character::is_alphabetic` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::nom::character::is_alphabetic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::nom::combinator::not` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::nom::combinator::not; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Query` and `query` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use super::parser::{query, Query}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryArrayIndex`, `QueryArray`, `QueryBraces`, `QueryObjectIndex`, `QueryPipe`, and `QuerySlice` [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | QueryArray, QueryArrayIndex, QueryBraces, QueryObjectIndex, QueryPipe, QuerySlice, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `take_while1` and `take_while` [INFO] [stdout] --> src/parser.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use self::nom::bytes::complete::{take_while, take_while1}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::nom::character::is_alphabetic` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::nom::character::is_alphabetic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::nom::combinator::not` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::nom::combinator::not; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut first: F1, [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/parser.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | mut second: F2, [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/parser.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | mut third: F3, [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/parser.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | mut first: F1, [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/parser.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | mut second: F2, [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/parser.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | mut third: F3, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryExpr` is more private than the item `Query::Expr::0` [INFO] [stdout] --> src/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Expr(QueryExpr), [INFO] [stdout] | ^^^^^^^^^ field `Query::Expr::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryExpr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | struct QueryExpr {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryFilter` is more private than the item `Query::Filter::0` [INFO] [stdout] --> src/parser.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Filter(QueryFilter), [INFO] [stdout] | ^^^^^^^^^^^ field `Query::Filter::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryFilter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | struct QueryFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Query<'q> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 19 | Identity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | ObjectIndex(QueryObjectIndex<'q>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | ArrayIndex(QueryArrayIndex), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | Slice(QuerySlice), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Expr(QueryExpr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Filter(QueryFilter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Pipe(QueryPipe<'q>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | Braces(QueryBraces<'q>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | Array(QueryArray<'q>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` 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: function `query_identity` is never used [INFO] [stdout] --> src/parser.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn query_identity(input: &str) -> IResult<&str, Query> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/parser.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn query(input: &str) -> IResult<&str, Query> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_pipe` is never used [INFO] [stdout] --> src/parser.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn to_pipe(arr: Vec) -> Query { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triple` is never used [INFO] [stdout] --> src/parser.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn triple( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryExpr` is more private than the item `Query::Expr::0` [INFO] [stdout] --> src/parser.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Expr(QueryExpr), [INFO] [stdout] | ^^^^^^^^^ field `Query::Expr::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryExpr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | struct QueryExpr {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryFilter` is more private than the item `Query::Filter::0` [INFO] [stdout] --> src/parser.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | Filter(QueryFilter), [INFO] [stdout] | ^^^^^^^^^^^ field `Query::Filter::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryFilter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | struct QueryFilter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expr` and `Filter` are never constructed [INFO] [stdout] --> src/parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Query<'q> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | Expr(QueryExpr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Filter(QueryFilter), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Query` 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "faf08a810c8a4bce36ad141cc33bd9931e2004028a2e1c097ff50f59fb1a9fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf08a810c8a4bce36ad141cc33bd9931e2004028a2e1c097ff50f59fb1a9fdb", kill_on_drop: false }` [INFO] [stdout] faf08a810c8a4bce36ad141cc33bd9931e2004028a2e1c097ff50f59fb1a9fdb