[INFO] fetching crate jg 0.1.6... [INFO] testing jg-0.1.6 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate jg 0.1.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate jg 0.1.6 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e24ce9c190a7bc07334e83fe91c8a4f5129f5c7ba26d3808d5aaa60023fe34ee [INFO] running `Command { std: "docker" "start" "-a" "e24ce9c190a7bc07334e83fe91c8a4f5129f5c7ba26d3808d5aaa60023fe34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e24ce9c190a7bc07334e83fe91c8a4f5129f5c7ba26d3808d5aaa60023fe34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24ce9c190a7bc07334e83fe91c8a4f5129f5c7ba26d3808d5aaa60023fe34ee", kill_on_drop: false }` [INFO] [stdout] e24ce9c190a7bc07334e83fe91c8a4f5129f5c7ba26d3808d5aaa60023fe34ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5021bc7568c5ebec6567765bf3182062ed33bf23bf3443743cfaf077d486ab3e [INFO] running `Command { std: "docker" "start" "-a" "5021bc7568c5ebec6567765bf3182062ed33bf23bf3443743cfaf077d486ab3e", kill_on_drop: false }` [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling json-highlight-writer v1.1.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling jg v0.1.6 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - on_line: &Fn(String) -> Result, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 ~ on_result: &dyn Fn( [INFO] [stdout] 35 | (Option, Option, Result), [INFO] [stdout] 36 ~ ) -> (Option, Option), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn buffer_input_file(input: &str) -> Result, Option> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - matchers: &Vec) -> Option<&JsonValue>>>>, [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - matchers: &Vec) -> Option<&'a JsonValue>>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - ) -> Result) -> Option<&JsonValue>>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - ) -> Result) -> Option<&JsonValue>>>, String> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - ) -> Box) -> (Option, Option, Result)> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn identity() -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - ) -> Result) -> Option<&JsonValue>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - None => Box::new(stdin.lock()) as Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "5021bc7568c5ebec6567765bf3182062ed33bf23bf3443743cfaf077d486ab3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5021bc7568c5ebec6567765bf3182062ed33bf23bf3443743cfaf077d486ab3e", kill_on_drop: false }` [INFO] [stdout] 5021bc7568c5ebec6567765bf3182062ed33bf23bf3443743cfaf077d486ab3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158639670a798a3da348c0264bb4673b8e3515c32521a54521df66af4d540639 [INFO] running `Command { std: "docker" "start" "-a" "158639670a798a3da348c0264bb4673b8e3515c32521a54521df66af4d540639", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - on_line: &Fn(String) -> Result, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 ~ on_result: &dyn Fn( [INFO] [stdout] 35 | (Option, Option, Result), [INFO] [stdout] 36 ~ ) -> (Option, Option), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn buffer_input_file(input: &str) -> Result, Option> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - matchers: &Vec) -> Option<&JsonValue>>>>, [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - matchers: &Vec) -> Option<&'a JsonValue>>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - ) -> Result) -> Option<&JsonValue>>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - ) -> Result) -> Option<&JsonValue>>>, String> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - ) -> Box) -> (Option, Option, Result)> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn identity() -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - ) -> Result) -> Option<&JsonValue>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - None => Box::new(stdin.lock()) as Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [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] [stderr] Compiling jg v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: 25 warnings emitted [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - on_line: &Fn(String) -> Result, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 ~ on_result: &dyn Fn( [INFO] [stdout] 35 | (Option, Option, Result), [INFO] [stdout] 36 ~ ) -> (Option, Option), [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn buffer_input_file(input: &str) -> Result, Option> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - matchers: &Vec) -> Option<&JsonValue>>>>, [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - matchers: &Vec) -> Option<&'a JsonValue>>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - ) -> Result) -> Option<&JsonValue>>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 - ) -> Result) -> Option<&JsonValue>>>, String> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 - ) -> Box) -> (Option, Option, Result)> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn identity() -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - ) -> Result) -> Option<&JsonValue>>, &str> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - None => Box::new(stdin.lock()) as Box, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.27s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/jg-20a0f53e6db98093) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/jg-77cbc6dcf3048c48) [INFO] [stderr] Executable tests/array_member.rs (/opt/rustwide/target/debug/deps/array_member-7d067869ce7d7627) [INFO] [stderr] Executable tests/case_sensitivity.rs (/opt/rustwide/target/debug/deps/case_sensitivity-d45d160956e40f2f) [INFO] [stderr] Executable tests/cli.rs (/opt/rustwide/target/debug/deps/cli-041dcd58b411d0bd) [INFO] [stderr] Executable tests/color.rs (/opt/rustwide/target/debug/deps/color-1001832bbe3a5e14) [INFO] [stderr] Executable tests/count.rs (/opt/rustwide/target/debug/deps/count-289770fbf184d051) [INFO] [stderr] Executable tests/file.rs (/opt/rustwide/target/debug/deps/file-97fc7a87989ab144) [INFO] [stderr] Executable tests/identity.rs (/opt/rustwide/target/debug/deps/identity-d12ee323434872e4) [INFO] [stderr] Executable tests/invert_match.rs (/opt/rustwide/target/debug/deps/invert_match-8748868f2c819846) [INFO] [stderr] Executable tests/prop.rs (/opt/rustwide/target/debug/deps/prop-b4031033a2aff22f) [INFO] [stderr] Executable tests/sequence.rs (/opt/rustwide/target/debug/deps/sequence-c7d9803aca185ece) [INFO] running `Command { std: "docker" "inspect" "158639670a798a3da348c0264bb4673b8e3515c32521a54521df66af4d540639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158639670a798a3da348c0264bb4673b8e3515c32521a54521df66af4d540639", kill_on_drop: false }` [INFO] [stdout] 158639670a798a3da348c0264bb4673b8e3515c32521a54521df66af4d540639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b9eefa2b171144a281076b360c45c2c7bc54d113aafb2c8a689ac4ddbfe9d36 [INFO] running `Command { std: "docker" "start" "-a" "0b9eefa2b171144a281076b360c45c2c7bc54d113aafb2c8a689ac4ddbfe9d36", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - on_line: &Fn(String) -> Result, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 ~ on_result: &dyn Fn( [INFO] [stderr] 35 | (Option, Option, Result), [INFO] [stderr] 36 ~ ) -> (Option, Option), [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - fn buffer_input_file(input: &str) -> Result, Option> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 91 - matchers: &Vec) -> Option<&JsonValue>>>>, [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/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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - matchers: &Vec) -> Option<&'a JsonValue>>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - ) -> Result) -> Option<&JsonValue>>>, &str> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 89 - ) -> Result) -> Option<&JsonValue>>>, String> { [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/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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 4 - ) -> Box) -> (Option, Option, Result)> { [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/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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 155 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 3 - pub fn identity() -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - ) -> Box) -> Option<&JsonValue>> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - ) -> Result) -> Option<&JsonValue>>, &str> { [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - Box) -> Option<&JsonValue>>, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - None => Box::new(stdin.lock()) as Box, [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [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 25 warnings [INFO] [stderr] warning: `jg` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jg-20a0f53e6db98093) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test selection::array_member::tests::should_return_node_when_exact_string_value_is_contained_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_exact_string_value_is_only_value_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_null_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_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::identity::tests::should_match_dot ... 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::identity::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::prop::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::prop::tests::should_return_json_prop_when_json_has_prop ... ok [INFO] [stdout] test selection::array_member::tests::should_match_array_index ... ok [INFO] [stdout] test selection::array_member::tests::should_return_remainder_when_it_matches_index ... ok [INFO] [stdout] test selection::sequence::tests::should_return_none_when_json_sequence_is_empty ... ok [INFO] [stdout] test selection::sequence::tests::should_match_json_in_sequence_when_matching_query ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_true_prop ... ok [INFO] [stdout] test selection::prop::tests::should_return_remainder_when_it_matches_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_suffixed_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_number_prop ... ok [INFO] [stdout] test selection::prop::tests::shouldnt_match_identity ... 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_contains_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_exact_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_prefixed_matching_strategy ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jg-77cbc6dcf3048c48) [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-7d067869ce7d7627) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test cli::should_match_array_with_boolean_value ... ok [INFO] [stdout] test cli::should_not_match_array_with_outofbounds_index ... 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_numeric_value ... 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_first_index ... 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_a_string_value_which_is_contained_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_numeric_value ... ok [INFO] [stdout] test cli::should_match_array_under_prop ... ok [INFO] [stdout] test cli::should_match_array_with_exact_null_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_boolean_value ... ok [INFO] [stdout] test cli::should_match_array_with_string_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.14s [INFO] [stdout] [INFO] [stderr] Running tests/case_sensitivity.rs (/opt/rustwide/target/debug/deps/case_sensitivity-d45d160956e40f2f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_search_with_case_sensitivity_switched_off_when_the_i_flag_is_used ... ok [INFO] [stdout] test cli::should_search_with_case_sensitivity_on_by_default ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-041dcd58b411d0bd) [INFO] [stdout] [INFO] [stdout] running 5 tests [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_only_return_exitcode_when_a_match_is_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] test cli::should_return_exitcode_1_when_no_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.17s [INFO] [stdout] [INFO] [stderr] Running tests/color.rs (/opt/rustwide/target/debug/deps/color-1001832bbe3a5e14) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_color_multiple_matching_json ... ok [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.14s [INFO] [stdout] [INFO] [stderr] Running tests/count.rs (/opt/rustwide/target/debug/deps/count-289770fbf184d051) [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_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] [stdout] test cli::should_display_the_line_number_when_line_number_flag_is_specified ... ok [INFO] [stdout] test cli::should_stop_matching_when_max_num_flag_is_specified_and_max_is_reached ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/file.rs (/opt/rustwide/target/debug/deps/file-97fc7a87989ab144) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cli::should_panic_when_the_specified_file_is_missing ... ok [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] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Running tests/identity.rs (/opt/rustwide/target/debug/deps/identity-d12ee323434872e4) [INFO] [stdout] [INFO] [stdout] running 3 tests [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] test cli::should_match_all_json_when_selector_is_identity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/invert_match.rs (/opt/rustwide/target/debug/deps/invert_match-8748868f2c819846) [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] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running tests/prop.rs (/opt/rustwide/target/debug/deps/prop-b4031033a2aff22f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test cli::should_match_json_porperty_with_a_value_when_using_the_contains_matcher ... ok [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_exact_matcher ... 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] 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_with_deep_matching_props ... 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] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running tests/sequence.rs (/opt/rustwide/target/debug/deps/sequence-c7d9803aca185ece) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cli::should_match_array_under_prop_containing_anything_when_selecting_identity ... 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_with_anything_in_it_when_identity_is_used ... 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_with_null_in_it ... ok [INFO] [stdout] test cli::should_not_match_member_in_array_when_prop_matches_deep_object_in_member ... ok [INFO] [stdout] test cli::should_match_members_in_array_when_root_of_pattern_is_within_the_array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [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" "0b9eefa2b171144a281076b360c45c2c7bc54d113aafb2c8a689ac4ddbfe9d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9eefa2b171144a281076b360c45c2c7bc54d113aafb2c8a689ac4ddbfe9d36", kill_on_drop: false }` [INFO] [stdout] 0b9eefa2b171144a281076b360c45c2c7bc54d113aafb2c8a689ac4ddbfe9d36