[INFO] fetching crate jg 0.1.6... [INFO] testing jg-0.1.6 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate jg 0.1.6 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate jg 0.1.6 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jg 0.1.6 [INFO] finished tweaking crates.io crate jg 0.1.6 [INFO] tweaked toml for crates.io crate jg 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.3.1 [INFO] [stderr] Downloaded predicates v1.0.8 [INFO] [stderr] Downloaded assert_cmd v0.10.2 [INFO] [stderr] Downloaded json v0.11.15 [INFO] [stderr] Downloaded isatty v0.1.9 [INFO] [stderr] Downloaded json-highlight-writer v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93d23e6f9f964b4e92a3cf747520305bbe50712ecf0b6c90420ce91b021fe115 [INFO] running `Command { std: "docker" "start" "-a" "93d23e6f9f964b4e92a3cf747520305bbe50712ecf0b6c90420ce91b021fe115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93d23e6f9f964b4e92a3cf747520305bbe50712ecf0b6c90420ce91b021fe115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d23e6f9f964b4e92a3cf747520305bbe50712ecf0b6c90420ce91b021fe115", kill_on_drop: false }` [INFO] [stdout] 93d23e6f9f964b4e92a3cf747520305bbe50712ecf0b6c90420ce91b021fe115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7b7ebe05af052813b66327c2ab19c090efc7c975391d8d5d411bedb09dd0d5d [INFO] running `Command { std: "docker" "start" "-a" "d7b7ebe05af052813b66327c2ab19c090efc7c975391d8d5d411bedb09dd0d5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling json-highlight-writer v1.1.0 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling jg v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &Fn(String) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &Fn( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | (Option, Option, Result), [INFO] [stdout] 36 | | ) -> (Option, Option), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &dyn Fn( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_index` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | static ref re_index: Regex = [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_member` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | static ref re_member: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_MEMBER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | static ref re_prop: Regex = [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RE_PROP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop_value` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | static ref re_prop_value: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_PROP_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_sequence` should have an upper case name [INFO] [stdout] --> src/selection/sequence.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | static ref re_sequence: Regex = Regex::new(r#"^\[(?P(.)+)\]$"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RE_SEQUENCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "d7b7ebe05af052813b66327c2ab19c090efc7c975391d8d5d411bedb09dd0d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b7ebe05af052813b66327c2ab19c090efc7c975391d8d5d411bedb09dd0d5d", kill_on_drop: false }` [INFO] [stdout] d7b7ebe05af052813b66327c2ab19c090efc7c975391d8d5d411bedb09dd0d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f2a58e5716ca3abfca165b3d12d65dd5b9980c8e0e07a5c057c878a59f73387 [INFO] running `Command { std: "docker" "start" "-a" "9f2a58e5716ca3abfca165b3d12d65dd5b9980c8e0e07a5c057c878a59f73387", kill_on_drop: false }` [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &Fn(String) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &Fn( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | (Option, Option, Result), [INFO] [stdout] 36 | | ) -> (Option, Option), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &dyn Fn( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_index` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | static ref re_index: Regex = [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_member` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | static ref re_member: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_MEMBER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | static ref re_prop: Regex = [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RE_PROP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop_value` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | static ref re_prop_value: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_PROP_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_sequence` should have an upper case name [INFO] [stdout] --> src/selection/sequence.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | static ref re_sequence: Regex = Regex::new(r#"^\[(?P(.)+)\]$"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RE_SEQUENCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jg v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `tempfile` is imported redundantly [INFO] [stdout] --> tests/file.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use tempfile; [INFO] [stdout] | ^^^^^^^^ the item `tempfile` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/input/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::string::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &Fn(String) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &Fn( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | (Option, Option, Result), [INFO] [stdout] 36 | | ) -> (Option, Option), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &dyn Fn( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_index` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | static ref re_index: Regex = [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RE_INDEX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_member` should have an upper case name [INFO] [stdout] --> src/selection/array_member.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | static ref re_member: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_MEMBER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | static ref re_prop: Regex = [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `RE_PROP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_prop_value` should have an upper case name [INFO] [stdout] --> src/selection/prop.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | static ref re_prop_value: Regex = Regex::new( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_PROP_VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `re_sequence` should have an upper case name [INFO] [stdout] --> src/selection/sequence.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | static ref re_sequence: Regex = Regex::new(r#"^\[(?P(.)+)\]$"#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RE_SEQUENCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.03s [INFO] running `Command { std: "docker" "inspect" "9f2a58e5716ca3abfca165b3d12d65dd5b9980c8e0e07a5c057c878a59f73387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2a58e5716ca3abfca165b3d12d65dd5b9980c8e0e07a5c057c878a59f73387", kill_on_drop: false }` [INFO] [stdout] 9f2a58e5716ca3abfca165b3d12d65dd5b9980c8e0e07a5c057c878a59f73387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8767a7428624f9b0730fe5064d198ce05b15b70e2868e41eb696879582ad889 [INFO] running `Command { std: "docker" "start" "-a" "e8767a7428624f9b0730fe5064d198ce05b15b70e2868e41eb696879582ad889", kill_on_drop: false }` [INFO] [stderr] warning: the item `Result` is imported redundantly [INFO] [stderr] --> src/input/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::result::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Result` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `String` is imported redundantly [INFO] [stderr] --> src/input/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::string::String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `String` is already defined here [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | on_line: &Fn(String) -> Result, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | on_result: &Fn( [INFO] [stderr] | _________________^ [INFO] [stderr] 35 | | (Option, Option, Result), [INFO] [stderr] 36 | | ) -> (Option, Option), [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 | on_result: &dyn Fn( [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:66:49 [INFO] [stderr] | [INFO] [stderr] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/enumeration.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/mod.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/mod.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/mod.rs:66:21 [INFO] [stderr] | [INFO] [stderr] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/mod.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/array_member.rs:11:37 [INFO] [stderr] | [INFO] [stderr] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/array_member.rs:47:10 [INFO] [stderr] | [INFO] [stderr] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/array_member.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 155 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/identity.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/identity.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/prop.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/prop.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/sequence.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/sequence.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 | Box) -> Option<&JsonValue>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:41:47 [INFO] [stderr] | [INFO] [stderr] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/selection/mod.rs:67:31 [INFO] [stderr] | [INFO] [stderr] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: static variable `re_index` should have an upper case name [INFO] [stderr] --> src/selection/array_member.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | static ref re_index: Regex = [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `RE_INDEX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `re_member` should have an upper case name [INFO] [stderr] --> src/selection/array_member.rs:117:18 [INFO] [stderr] | [INFO] [stderr] 117 | static ref re_member: Regex = Regex::new( [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `RE_MEMBER` [INFO] [stderr] [INFO] [stderr] warning: static variable `re_prop` should have an upper case name [INFO] [stderr] --> src/selection/prop.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | static ref re_prop: Regex = [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `RE_PROP` [INFO] [stderr] [INFO] [stderr] warning: static variable `re_prop_value` should have an upper case name [INFO] [stderr] --> src/selection/prop.rs:98:18 [INFO] [stderr] | [INFO] [stderr] 98 | static ref re_prop_value: Regex = Regex::new( [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RE_PROP_VALUE` [INFO] [stderr] [INFO] [stderr] warning: static variable `re_sequence` should have an upper case name [INFO] [stderr] --> src/selection/sequence.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | static ref re_sequence: Regex = Regex::new(r#"^\[(?P(.)+)\]$"#).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `RE_SEQUENCE` [INFO] [stderr] [INFO] [stderr] warning: `jg` (lib) generated 27 warnings (run `cargo fix --lib -p jg` to apply 20 suggestions) [INFO] [stderr] warning: `jg` (lib test) generated 27 warnings (27 duplicates) [INFO] [stderr] warning: the item `tempfile` is imported redundantly [INFO] [stderr] --> tests/file.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | use tempfile; [INFO] [stderr] | ^^^^^^^^ the item `tempfile` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `jg` (test "file") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jg-06ae359ef7ff99e5) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test selection::array_member::tests::should_return_node_when_null_value_is_present_in_array ... ok [INFO] [stdout] test selection::array_member::tests::should_return_node_when_boolean_value_is_present_in_array ... ok [INFO] [stdout] test selection::array_member::tests::should_return_node_when_numeric_value_is_present_in_array ... ok [INFO] [stdout] test selection::array_member::tests::should_return_node_when_json_is_present ... ok [INFO] [stdout] test selection::array_member::tests::should_return_node_when_exact_string_value_is_only_value_in_array ... ok [INFO] [stdout] test selection::array_member::tests::should_return_node_when_exact_string_value_is_contained_in_array ... ok [INFO] [stdout] test selection::identity::tests::shouldnt_match_anything_else ... ok [INFO] [stdout] test selection::identity::tests::should_return_some_json_when_json_is_present ... ok [INFO] [stdout] test selection::array_member::tests::should_match_array_index ... ok [INFO] [stdout] test selection::array_member::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::identity::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::array_member::tests::should_return_remainder_when_it_matches_index ... ok [INFO] [stdout] test selection::identity::tests::should_match_dot ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_true_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_null_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_exact_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_false_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_contains_exact_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_number_prop ... ok [INFO] [stdout] test selection::prop::tests::should_return_json_prop_when_json_has_prop ... ok [INFO] [stdout] test selection::prop::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::prop::tests::should_return_remainder_when_it_matches_prop ... ok [INFO] [stdout] test selection::prop::tests::shouldnt_match_identity ... ok [INFO] [stdout] test selection::sequence::tests::should_match_json_in_sequence_when_matching_query ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_prefixed_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_suffixed_matching_strategy ... ok [INFO] [stdout] test selection::sequence::tests::should_return_none_when_json_sequence_is_empty ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jg-1a15906dcfc6dd05) [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] Running tests/array_member.rs (/opt/rustwide/target/debug/deps/array_member-f6cdc0c47acecc15) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test cli::should_match_array_under_prop has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_contained_by_a_string_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_prefixed_by_a_string_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_suffixed_by_a_string_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_boolean_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_exact_boolean_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_exact_null_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_exact_numeric_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_under_prop ... ok [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_contained_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_suffixed_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_boolean_value ... ok [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_prefixed_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_numeric_value ... ok [INFO] [stdout] test cli::should_match_array_with_boolean_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_null_value ... ok [INFO] [stdout] test cli::should_match_array_with_first_index ... ok [INFO] [stdout] test cli::should_match_array_with_exact_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_inbounds_index ... ok [INFO] [stdout] test cli::should_match_array_with_null_value ... ok [INFO] [stdout] test cli::should_match_array_with_numeric_value ... ok [INFO] [stdout] test cli::should_match_array_with_string_value ... ok [INFO] [stdout] test cli::should_not_match_array_with_outofbounds_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 86.19s [INFO] [stdout] [INFO] [stderr] Running tests/case_sensitivity.rs (/opt/rustwide/target/debug/deps/case_sensitivity-2246ee26e9740b13) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_search_with_case_sensitivity_on_by_default ... ok [INFO] [stdout] test cli::should_search_with_case_sensitivity_switched_off_when_the_i_flag_is_used ... ok [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-af48935c732d4163) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cli::should_only_return_exitcode_when_a_match_is_found_and_quiet_mode_flag_is_specified ... ok [INFO] [stdout] test cli::should_return_exitcode_1_when_no_matches_are_found ... ok [INFO] [stdout] test cli::should_only_return_exitcode_when_no_matches_are_found_and_quiet_mode_flag_is_specified ... ok [INFO] [stdout] test cli::should_match_multiple_patterns_when_multiple_patterns_are_provided ... ok [INFO] [stdout] test cli::should_return_exitcode_0_when_matches_are_found ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stderr] Running tests/color.rs (/opt/rustwide/target/debug/deps/color-2b249ce79a384992) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_color_multiple_matching_json ... ok [INFO] [stderr] Running tests/count.rs (/opt/rustwide/target/debug/deps/count-a5b81c1bbd9b00a7) [INFO] [stdout] test cli::should_color_matching_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cli::should_print_out_count_when_count_flag_is_specified ... ok [INFO] [stdout] test cli::should_stop_matching_when_max_num_flag_is_specified_and_max_is_reached ... ok [INFO] [stdout] test cli::should_display_the_line_number_when_line_number_flag_is_specified ... ok [INFO] [stdout] test cli::should_stop_matching_when_input_end_even_when_max_num_flag_is_specified_as_higher_than_input ... ok [INFO] [stdout] test cli::should_print_out_count_when_c_flag_is_specified ... ok [INFO] [stderr] Running tests/file.rs (/opt/rustwide/target/debug/deps/file-2e1cd2d17df5a13f) [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cli::should_reject_invalid_json_when_reading_a_file ... ok [INFO] [stdout] test cli::should_read_input_file_when_provided ... ok [INFO] [stderr] Running tests/identity.rs (/opt/rustwide/target/debug/deps/identity-30effd9536d3878d) [INFO] [stdout] test cli::should_panic_when_the_specified_file_is_missing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cli::should_match_all_json_when_selector_is_identity ... ok [INFO] [stdout] test cli::should_match_single_json_when_selector_is_identity ... ok [INFO] [stdout] test cli::should_not_match_all_when_selector_is_not_identity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] Running tests/invert_match.rs (/opt/rustwide/target/debug/deps/invert_match-3ea8ceab413611fc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_invert_match_when_invert_flag_is_specified ... ok [INFO] [stdout] test cli::should_invert_match_when_v_flag_is_specified ... ok [INFO] [stderr] Running tests/prop.rs (/opt/rustwide/target/debug/deps/prop-8ebdb14aa796f12a) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test cli::should_match_multiple_json_with_matching_prop_when_selector_is_prop ... ok [INFO] [stdout] test cli::should_match_json_porperty_with_a_value_when_using_the_contains_matcher ... ok [INFO] [stdout] test cli::should_match_json_with_inner_matching_props ... ok [INFO] [stdout] test cli::should_match_json_porperty_using_dictionary_index_selector ... ok [INFO] [stdout] test cli::should_match_only_json_with_prop_when_selector_is_prop ... ok [INFO] [stdout] test cli::should_match_json_porperty_with_a_value_when_using_the_exact_matcher ... ok [INFO] [stdout] test cli::should_match_json_porperty_with_a_value_when_using_the_contains_exact_matcher ... ok [INFO] [stdout] test cli::should_match_json_with_deep_matching_props ... ok [INFO] [stdout] test cli::should_match_single_json_when_selector_is_prop ... ok [INFO] [stdout] test cli::should_match_only_root_of_json_when_selector_is_prop_with_start_matcher ... ok [INFO] [stdout] [INFO] [stderr] Running tests/sequence.rs (/opt/rustwide/target/debug/deps/sequence-7699e5a3cbc208ec) [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.93s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cli::should_match_array_with_anything_in_it_when_identity_is_used ... ok [INFO] [stdout] test cli::should_match_members_in_array_when_root_of_pattern_is_within_the_array ... ok [INFO] [stdout] test cli::should_match_array_with_null_in_it ... ok [INFO] [stdout] test cli::should_match_member_in_array_when_selecting_by_prop ... ok [INFO] [stdout] test cli::should_match_sequence_matchers_within_other_sequences ... ok [INFO] [stdout] test cli::should_match_array_patterns_within_arrays ... ok [INFO] [stdout] test cli::should_not_match_empty_array_when_selecting_identity ... ok [INFO] [stdout] test cli::should_match_array_under_prop_containing_anything_when_selecting_identity ... ok [INFO] [stdout] test cli::should_not_match_member_in_array_when_prop_matches_deep_object_in_member ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.80s [INFO] [stdout] [INFO] [stderr] Doc-tests jg [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] running `Command { std: "docker" "inspect" "e8767a7428624f9b0730fe5064d198ce05b15b70e2868e41eb696879582ad889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8767a7428624f9b0730fe5064d198ce05b15b70e2868e41eb696879582ad889", kill_on_drop: false }` [INFO] [stdout] e8767a7428624f9b0730fe5064d198ce05b15b70e2868e41eb696879582ad889