[INFO] fetching crate jg 0.1.6... [INFO] testing jg-0.1.6 against master#6c20ab744b0f82646d90ce9d25894823abc9c669 for pr-99093 [INFO] extracting crate jg 0.1.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate jg 0.1.6 on toolchain 6c20ab744b0f82646d90ce9d25894823abc9c669 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json-highlight-writer v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a7020a0c0c3f3f95f6276b5bf06e841d80de09c7440c0d484b24d493994b734 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3a7020a0c0c3f3f95f6276b5bf06e841d80de09c7440c0d484b24d493994b734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a7020a0c0c3f3f95f6276b5bf06e841d80de09c7440c0d484b24d493994b734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a7020a0c0c3f3f95f6276b5bf06e841d80de09c7440c0d484b24d493994b734", kill_on_drop: false }` [INFO] [stdout] 3a7020a0c0c3f3f95f6276b5bf06e841d80de09c7440c0d484b24d493994b734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ab710e63c7a9e1b0f4b2dbffe0557a107e9f98fc170c930ea0abb08282a54a8 [INFO] running `Command { std: "docker" "start" "-a" "8ab710e63c7a9e1b0f4b2dbffe0557a107e9f98fc170c930ea0abb08282a54a8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling json-highlight-writer v1.1.0 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling regex v1.6.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/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/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/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 52.79s [INFO] running `Command { std: "docker" "inspect" "8ab710e63c7a9e1b0f4b2dbffe0557a107e9f98fc170c930ea0abb08282a54a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab710e63c7a9e1b0f4b2dbffe0557a107e9f98fc170c930ea0abb08282a54a8", kill_on_drop: false }` [INFO] [stdout] 8ab710e63c7a9e1b0f4b2dbffe0557a107e9f98fc170c930ea0abb08282a54a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 118de1f46785845a6f43547178d1bc63012cf2ef2395bcefa3746a1c8e777ba5 [INFO] running `Command { std: "docker" "start" "-a" "118de1f46785845a6f43547178d1bc63012cf2ef2395bcefa3746a1c8e777ba5", kill_on_drop: false }` [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/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/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/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] [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/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/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/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 7.04s [INFO] running `Command { std: "docker" "inspect" "118de1f46785845a6f43547178d1bc63012cf2ef2395bcefa3746a1c8e777ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118de1f46785845a6f43547178d1bc63012cf2ef2395bcefa3746a1c8e777ba5", kill_on_drop: false }` [INFO] [stdout] 118de1f46785845a6f43547178d1bc63012cf2ef2395bcefa3746a1c8e777ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+6c20ab744b0f82646d90ce9d25894823abc9c669" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a9bbc9f6b9805f8516be9ae796e25463f63f8eb6589f92cd3ea4c597994c96c5 [INFO] running `Command { std: "docker" "start" "-a" "a9bbc9f6b9805f8516be9ae796e25463f63f8eb6589f92cd3ea4c597994c96c5", 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/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/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/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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jg-1fb785202705f0d2) [INFO] [stdout] [INFO] [stdout] running 28 tests [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_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_match_array_index ... ok [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_json_is_present ... 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_string_property_value_when_using_exact_matching_strategy ... ok [INFO] [stdout] test selection::identity::tests::should_match_dot ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_prefixed_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::shouldnt_match_identity ... ok [INFO] [stdout] test selection::prop::tests::should_return_remainder_when_it_matches_prop ... ok [INFO] [stdout] test selection::identity::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::array_member::tests::should_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::identity::tests::should_return_some_json_when_json_is_present ... 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_suffixed_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_true_prop ... ok [INFO] [stdout] test selection::identity::tests::shouldnt_match_anything_else ... ok [INFO] [stdout] test selection::array_member::tests::should_return_remainder_when_it_matches_index ... ok [INFO] [stdout] test selection::sequence::tests::should_match_json_in_sequence_when_matching_query ... 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::sequence::tests::should_return_none_when_json_sequence_is_empty ... ok [INFO] [stdout] test selection::prop::tests::should_match_number_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_null_prop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jg-73f9835dd334ed42) [INFO] [stderr] Running tests/array_member.rs (/opt/rustwide/target/debug/deps/array_member-1db55f4f80b3afff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 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_with_exact_string_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_first_index has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_inbounds_index has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_null_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_numeric_value has been running for over 60 seconds [INFO] [stdout] test cli::should_match_array_with_string_value has been running for over 60 seconds [INFO] [stdout] test cli::should_not_match_array_with_outofbounds_index has been running for over 60 seconds [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_under_prop ... 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_not_match_array_with_outofbounds_index ... ok [INFO] [stdout] test cli::should_match_array_with_null_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_null_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_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_contained_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_inbounds_index ... ok [INFO] [stdout] test cli::should_match_array_with_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_numeric_value ... ok [INFO] [stderr] Running tests/case_sensitivity.rs (/opt/rustwide/target/debug/deps/case_sensitivity-6d3f3f010e09194b) [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 61.69s [INFO] [stdout] [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] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-2b67a6975582a229) [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.22s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cli::should_return_exitcode_0_when_matches_are_found ... ok [INFO] [stdout] test cli::should_match_multiple_patterns_when_multiple_patterns_are_provided ... 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_only_return_exitcode_when_no_matches_are_found_and_quiet_mode_flag_is_specified ... 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.44s [INFO] [stdout] [INFO] [stderr] Running tests/color.rs (/opt/rustwide/target/debug/deps/color-51183b9fe3206c51) [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] [stderr] Running tests/count.rs (/opt/rustwide/target/debug/deps/count-c63e4a523e968e03) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [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_input_end_even_when_max_num_flag_is_specified_as_higher_than_input ... ok [INFO] [stdout] test cli::should_stop_matching_when_max_num_flag_is_specified_and_max_is_reached ... 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] [stderr] Running tests/file.rs (/opt/rustwide/target/debug/deps/file-73b1f279b774e067) [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [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_panic_when_the_specified_file_is_missing ... ok [INFO] [stderr] Running tests/identity.rs (/opt/rustwide/target/debug/deps/identity-7642b8ef9fdcadd8) [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.26s [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 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cli::should_not_match_all_when_selector_is_not_identity stdout ---- [INFO] [stdout] thread 'cli::should_not_match_all_when_selector_is_not_identity' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.10.2/src/stdin.rs:211:36 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556de60f7b60 - std::backtrace_rs::backtrace::libunwind::trace::h5cec5ee957007983 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x556de60f7b60 - std::backtrace_rs::backtrace::trace_unsynchronized::h3912ce6f9cd18e05 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556de60f7b60 - std::sys_common::backtrace::_print_fmt::h0b3fbca24cbc1b41 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x556de60f7b60 - ::fmt::hc7b35b5b2e247560 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x556de611aecc - core::fmt::write::h2d806358caa3f689 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x556de60f4495 - std::io::Write::write_fmt::hf9535056206ea98c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x556de60f95a1 - std::sys_common::backtrace::_print::h51a933838ceebaa0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x556de60f95a1 - std::sys_common::backtrace::print::hc53e3ead445b016c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x556de60f95a1 - std::panicking::default_hook::{{closure}}::hbc895cb9b7ebea62 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:295:22 [INFO] [stderr] error: test failed, to rerun pass '--test identity' [INFO] [stdout] 9: 0x556de60f91f6 - std::panicking::default_hook::h664409a8548f2cc0 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x556de60f9c43 - std::panicking::rust_panic_with_hook::h947033eb042c9758 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x556de60f9b37 - std::panicking::begin_panic_handler::{{closure}}::haef8fa2237a58bae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x556de60f8034 - std::sys_common::backtrace::__rust_end_short_backtrace::hadb599ff5bdd6123 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x556de60f9862 - rust_begin_unwind [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x556de5eb4283 - core::panicking::panic_fmt::hcf9e3bddea69ce9b [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x556de5eb43d3 - core::result::unwrap_failed::h19364dd252eca818 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/result.rs:1805:5 [INFO] [stdout] 16: 0x556de5ef198a - core::result::Result::unwrap::h766e777d87192959 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/result.rs:1098:23 [INFO] [stdout] 17: 0x556de5ef5fc0 - <&mut assert_cmd::stdin::StdInCommand as assert_cmd::assert::OutputAssertExt>::assert::hf2dd39457c60669d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-0.10.2/src/stdin.rs:211:22 [INFO] [stdout] 18: 0x556de5eb6219 - identity::cli::should_not_match_all_when_selector_is_not_identity::h4dd545efa6b35d61 [INFO] [stdout] at /opt/rustwide/workdir/tests/identity.rs:45:9 [INFO] [stdout] 19: 0x556de5eb612a - identity::cli::should_not_match_all_when_selector_is_not_identity::{{closure}}::ha235474e7667658a [INFO] [stdout] at /opt/rustwide/workdir/tests/identity.rs:38:5 [INFO] [stdout] 20: 0x556de5eb51be - core::ops::function::FnOnce::call_once::hfd3b6f12d2899aa5 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x556de5eec1d3 - core::ops::function::FnOnce::call_once::ha891352f3b456c56 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 22: 0x556de5eec1d3 - test::__rust_begin_short_backtrace::he74ff8fcbc6e1bf3 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:572:5 [INFO] [stdout] 23: 0x556de5eeaf5c - as core::ops::function::FnOnce>::call_once::ha7d4b5f90d4ff94a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 24: 0x556de5eeaf5c - as core::ops::function::FnOnce<()>>::call_once::hff61630ec6da6d9c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x556de5eeaf5c - std::panicking::try::do_call::h25bb9ce20414cc9e [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x556de5eeaf5c - std::panicking::try::h879f2193a4184aae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x556de5eeaf5c - std::panic::catch_unwind::hef4ed77ae7d42ef7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x556de5eeaf5c - test::run_test_in_process::h45393ffc6f2bda93 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:595:18 [INFO] [stdout] 29: 0x556de5eeaf5c - test::run_test::run_test_inner::{{closure}}::h374abe809bc519ae [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:489:39 [INFO] [stdout] 30: 0x556de5eb6b9c - test::run_test::run_test_inner::{{closure}}::h8d8ea5cb4864a81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/test/src/lib.rs:516:37 [INFO] [stdout] 31: 0x556de5eb6b9c - std::sys_common::backtrace::__rust_begin_short_backtrace::hae3d1543273744a4 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x556de5ebcadf - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9979fffcdc02fb98 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 33: 0x556de5ebcadf - as core::ops::function::FnOnce<()>>::call_once::h43a127bea61ae81a [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x556de5ebcadf - std::panicking::try::do_call::h1dd85209b01bc737 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x556de5ebcadf - std::panicking::try::h308a79a6f4b54c2d [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x556de5ebcadf - std::panic::catch_unwind::h5cf0d96d2eddcf0c [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x556de5ebcadf - std::thread::Builder::spawn_unchecked_::{{closure}}::hcc55c81e5bc7e1fc [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 38: 0x556de5ebcadf - core::ops::function::FnOnce::call_once{{vtable.shim}}::h53c6f5ca915705b9 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x556de60fe4d3 - as core::ops::function::FnOnce>::call_once::h8644474d961275e7 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 40: 0x556de60fe4d3 - as core::ops::function::FnOnce>::call_once::hfd68b25ee06fd9db [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 41: 0x556de60fe4d3 - std::sys::unix::thread::Thread::new::thread_start::heb02daf84d178e59 [INFO] [stdout] at /rustc/6c20ab744b0f82646d90ce9d25894823abc9c669/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f1845b09609 - start_thread [INFO] [stdout] 43: 0x7f18458d9133 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cli::should_not_match_all_when_selector_is_not_identity [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9bbc9f6b9805f8516be9ae796e25463f63f8eb6589f92cd3ea4c597994c96c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9bbc9f6b9805f8516be9ae796e25463f63f8eb6589f92cd3ea4c597994c96c5", kill_on_drop: false }` [INFO] [stdout] a9bbc9f6b9805f8516be9ae796e25463f63f8eb6589f92cd3ea4c597994c96c5