[INFO] fetching crate search_json 0.1.0...
[INFO] testing search_json-0.1.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate search_json 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate search_json 0.1.0
[INFO] finished tweaking crates.io crate search_json 0.1.0
[INFO] tweaked toml for crates.io crate search_json 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate search_json 0.1.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate search_json 0.1.0 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fixedbitset v0.2.0
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded indexmap v1.3.2
[INFO] [stderr]   Downloaded petgraph v0.5.0
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2a8f73b5f13b9d40e72cde4a7457e4465fe31e03a6fa669c2d44bc391799801
[INFO] running `Command { std: "docker" "start" "-a" "b2a8f73b5f13b9d40e72cde4a7457e4465fe31e03a6fa669c2d44bc391799801", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2a8f73b5f13b9d40e72cde4a7457e4465fe31e03a6fa669c2d44bc391799801", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2a8f73b5f13b9d40e72cde4a7457e4465fe31e03a6fa669c2d44bc391799801", kill_on_drop: false }`
[INFO] [stdout] b2a8f73b5f13b9d40e72cde4a7457e4465fe31e03a6fa669c2d44bc391799801
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 344f7063452c767917dde3352259637d78bf1768bde644178d1b1018b8920bb8
[INFO] running `Command { std: "docker" "start" "-a" "344f7063452c767917dde3352259637d78bf1768bde644178d1b1018b8920bb8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.21
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling quote v1.0.5
[INFO] [stderr]    Compiling petgraph v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling serde_json v1.0.53
[INFO] [stderr]    Compiling search_json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/common/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[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: `File`
[INFO] [stdout]  --> src/common/common.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{read_to_string, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/common/common.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/flat_js.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/define.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/process/nested_js.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/nested_js.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stdout]  --> src/process/nested_js.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/process/nested_js.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/nested_js.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stdout]   --> src/process/nested_js.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/process/flat_js.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Value::Array(x) => {
[INFO] [stdout]    |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Value::Object(dic) => {
[INFO] [stdout]    |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 38 |         Value::Null => {
[INFO] [stdout]    |         ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 41 |         Value::Number(n) => {
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/process/flat_js.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let res=flat_json(&js);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/process/define.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for (k, v) in dic.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `del_sep` is never used
[INFO] [stdout]   --> src/process/define.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/common/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[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: `File`
[INFO] [stdout]  --> src/common/common.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{read_to_string, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/common/common.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/flat_js.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/define.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/process/nested_js.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/nested_js.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stdout]  --> src/process/nested_js.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/process/nested_js.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/nested_js.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stdout]   --> src/process/nested_js.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/process/flat_js.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Value::Array(x) => {
[INFO] [stdout]    |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Value::Object(dic) => {
[INFO] [stdout]    |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 38 |         Value::Null => {
[INFO] [stdout]    |         ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 41 |         Value::Number(n) => {
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/process/flat_js.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let res=flat_json(&js);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/process/define.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for (k, v) in dic.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `del_sep` is never used
[INFO] [stdout]   --> src/process/define.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.19s
[INFO] running `Command { std: "docker" "inspect" "344f7063452c767917dde3352259637d78bf1768bde644178d1b1018b8920bb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "344f7063452c767917dde3352259637d78bf1768bde644178d1b1018b8920bb8", kill_on_drop: false }`
[INFO] [stdout] 344f7063452c767917dde3352259637d78bf1768bde644178d1b1018b8920bb8
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7da11f8540626bd3b592cd3fe41228f2121c662f1fb60eba47aeee637b948d3
[INFO] running `Command { std: "docker" "start" "-a" "f7da11f8540626bd3b592cd3fe41228f2121c662f1fb60eba47aeee637b948d3", kill_on_drop: false }`
[INFO] [stderr]    Compiling search_json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/common/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[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: `File`
[INFO] [stdout]  --> src/common/common.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{read_to_string, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/common/common.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/flat_js.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/define.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/process/nested_js.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/nested_js.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stdout]  --> src/process/nested_js.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/process/nested_js.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/nested_js.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stdout]   --> src/process/nested_js.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/process/flat_js.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Value::Array(x) => {
[INFO] [stdout]    |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Value::Object(dic) => {
[INFO] [stdout]    |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 38 |         Value::Null => {
[INFO] [stdout]    |         ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 41 |         Value::Number(n) => {
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/process/flat_js.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let res=flat_json(&js);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/process/define.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for (k, v) in dic.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `del_sep` is never used
[INFO] [stdout]   --> src/process/define.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/common/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[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: `File`
[INFO] [stdout]  --> src/common/common.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{read_to_string, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/common/common.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/flat_js.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/define.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/process/nested_js.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/nested_js.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stdout]  --> src/process/nested_js.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/process/nested_js.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/nested_js.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stdout]   --> src/process/nested_js.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc`
[INFO] [stdout]  --> src/common/common.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc;
[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: `File`
[INFO] [stdout]  --> src/common/common.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::{read_to_string, File};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/common/common.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/flat_js.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/define.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/process/nested_js.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stdout]  --> src/process/nested_js.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::strerr::StrError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stdout]  --> src/process/nested_js.rs:6:23
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/process/nested_js.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/process/nested_js.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stdout]   --> src/process/nested_js.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/process/flat_js.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Value::Array(x) => {
[INFO] [stdout]    |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Value::Object(dic) => {
[INFO] [stdout]    |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 38 |         Value::Null => {
[INFO] [stdout]    |         ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 41 |         Value::Number(n) => {
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/process/flat_js.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(e) => {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/process/flat_js.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let res=flat_json(&js);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/process/define.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for (k, v) in dic.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/process/flat_js.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Value::Array(x) => {
[INFO] [stdout]    |         --------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Value::Object(dic) => {
[INFO] [stdout]    |         ------------------ matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 38 |         Value::Null => {
[INFO] [stdout]    |         ----------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 41 |         Value::Number(n) => {
[INFO] [stdout]    |         ---------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 59 |         _ => print!("nomatch{}",v),
[INFO] [stdout]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/process/flat_js.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let res=flat_json(&js);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `del_sep` is never used
[INFO] [stdout]   --> src/process/define.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/process/define.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 |         for (k, v) in dic.iter() {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `del_sep` is never used
[INFO] [stdout]   --> src/process/define.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "f7da11f8540626bd3b592cd3fe41228f2121c662f1fb60eba47aeee637b948d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7da11f8540626bd3b592cd3fe41228f2121c662f1fb60eba47aeee637b948d3", kill_on_drop: false }`
[INFO] [stdout] f7da11f8540626bd3b592cd3fe41228f2121c662f1fb60eba47aeee637b948d3
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fa16aa8e2d92c6d27f9e56dd8a707f465eaf62e5af55373ee07f2e2d8eeb16b6
[INFO] running `Command { std: "docker" "start" "-a" "fa16aa8e2d92c6d27f9e56dd8a707f465eaf62e5af55373ee07f2e2d8eeb16b6", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::sync::mpsc`
[INFO] [stderr]  --> src/common/common.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::sync::mpsc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `File`
[INFO] [stderr]  --> src/common/common.rs:4:31
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::fs::{read_to_string, File};
[INFO] [stderr]   |                               ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::prelude::*`
[INFO] [stderr]  --> src/common/common.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::io::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stderr]  --> src/process/flat_js.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::common::strerr::StrError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashSet`
[INFO] [stderr]  --> src/process/define.rs:2:33
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value`
[INFO] [stderr]  --> src/process/nested_js.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::Value;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::common::strerr::StrError`
[INFO] [stderr]  --> src/process/nested_js.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::common::strerr::StrError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Receiver`, `Sender`, and `channel`
[INFO] [stderr]  --> src/process/nested_js.rs:6:23
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stderr]   |                       ^^^^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/process/nested_js.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashSet`
[INFO] [stderr]  --> src/process/nested_js.rs:8:33
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `petgraph::graphmap::DiGraphMap`
[INFO] [stderr]   --> src/process/nested_js.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use petgraph::graphmap::DiGraphMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/process/flat_js.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 13 |         Err(e) => {
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/process/flat_js.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 |         _ => print!("nomatch{}",v),
[INFO] [stderr]    |         ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/process/flat_js.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 23 |         Value::Array(x) => {
[INFO] [stderr]    |         --------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 31 |         Value::Object(dic) => {
[INFO] [stderr]    |         ------------------ matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 38 |         Value::Null => {
[INFO] [stderr]    |         ----------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 41 |         Value::Number(n) => {
[INFO] [stderr]    |         ---------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 59 |         _ => print!("nomatch{}",v),
[INFO] [stderr]    |         ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `res`
[INFO] [stderr]   --> src/process/flat_js.rs:82:9
[INFO] [stderr]    |
[INFO] [stderr] 82 |     let res=flat_json(&js);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> src/process/define.rs:64:14
[INFO] [stderr]    |
[INFO] [stderr] 64 |         for (k, v) in dic.iter() {
[INFO] [stderr]    |              ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: function `del_sep` is never used
[INFO] [stderr]   --> src/process/define.rs:32:4
[INFO] [stderr]    |
[INFO] [stderr] 32 | fn del_sep(s: &str, sepl: &str, sepr: &str) -> String {
[INFO] [stderr]    |    ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `search_json` (lib) generated 19 warnings (run `cargo fix --lib -p search_json` to apply 14 suggestions)
[INFO] [stderr] warning: `search_json` (lib test) generated 19 warnings (19 duplicates)
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/bin.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/bin.rs:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/bin.rs:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `search_json` (bin "search_json" test) generated 19 warnings (16 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/search_json-ad23bf2726cf3ae3)
[INFO] [stderr]      Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/search_json-f9b1c21f0478d727)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests search_json
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - nest_json (line 41) ... FAILED
[INFO] [stdout] test src/lib.rs - flat_json (line 28) ... FAILED
[INFO] [stdout] test src/lib.rs - read_file_as_txt (line 17) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - nest_json (line 41) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `read_file_as_txt` in this scope
[INFO] [stdout]   --> src/lib.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |   let js = read_file_as_txt(&path);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::common::common::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `flat_json` in this scope
[INFO] [stdout]   --> src/lib.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |   let data = flat_json(&js);
[INFO] [stdout]    |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::process::flat_js::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `nest_json` in this scope
[INFO] [stdout]   --> src/lib.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |   let res=nest_json(&data);
[INFO] [stdout]    |           ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::nest_json;
[INFO] [stdout]    |
[INFO] [stdout] 41 + use search_json::process::nested_js::nest_json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - flat_json (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `read_file_as_txt` in this scope
[INFO] [stdout]   --> src/lib.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |    let js = read_file_as_txt(&path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 28 + use search_json::common::common::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use search_json::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `flat_json` in this scope
[INFO] [stdout]   --> src/lib.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |    let res=flat_json(&js);
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 28 + use search_json::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use search_json::process::flat_js::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - read_file_as_txt (line 17) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `read_file_as_txt` in this scope
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |    let js = read_file_as_txt(&path);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 17 + use search_json::common::common::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 17 + use search_json::read_file_as_txt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `flat_json` in this scope
[INFO] [stdout]   --> src/lib.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let res=flat_json(&js);
[INFO] [stdout]    |            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 17 + use search_json::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 17 + use search_json::process::flat_js::flat_json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - flat_json (line 28)
[INFO] [stdout]     src/lib.rs - nest_json (line 41)
[INFO] [stdout]     src/lib.rs - read_file_as_txt (line 17)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "fa16aa8e2d92c6d27f9e56dd8a707f465eaf62e5af55373ee07f2e2d8eeb16b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa16aa8e2d92c6d27f9e56dd8a707f465eaf62e5af55373ee07f2e2d8eeb16b6", kill_on_drop: false }`
[INFO] [stdout] fa16aa8e2d92c6d27f9e56dd8a707f465eaf62e5af55373ee07f2e2d8eeb16b6
