[INFO] fetching crate jg 0.1.6... [INFO] testing jg-0.1.6 against 1.55.0 for beta-1.56-1 [INFO] extracting crate jg 0.1.6 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate jg 0.1.6 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b07cdf03c429654adf11e8e2e0beaee633f92deef2a86871e2d84a8638a2e2e [INFO] running `Command { std: "docker" "start" "-a" "1b07cdf03c429654adf11e8e2e0beaee633f92deef2a86871e2d84a8638a2e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b07cdf03c429654adf11e8e2e0beaee633f92deef2a86871e2d84a8638a2e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b07cdf03c429654adf11e8e2e0beaee633f92deef2a86871e2d84a8638a2e2e", kill_on_drop: false }` [INFO] [stdout] 1b07cdf03c429654adf11e8e2e0beaee633f92deef2a86871e2d84a8638a2e2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cff1b519f87767dd57b53b214e20505b0ee12d4fc2dc33233586a13faca5e95 [INFO] running `Command { std: "docker" "start" "-a" "7cff1b519f87767dd57b53b214e20505b0ee12d4fc2dc33233586a13faca5e95", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.3 [INFO] [stderr] Compiling json-highlight-writer v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.67 [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/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Result) -> (Option, Option, Result)` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result` [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 issue #80165 [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 issue #80165 [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:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&'a JsonValue>) -> Option<&'a JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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 13.62s [INFO] running `Command { std: "docker" "inspect" "7cff1b519f87767dd57b53b214e20505b0ee12d4fc2dc33233586a13faca5e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cff1b519f87767dd57b53b214e20505b0ee12d4fc2dc33233586a13faca5e95", kill_on_drop: false }` [INFO] [stdout] 7cff1b519f87767dd57b53b214e20505b0ee12d4fc2dc33233586a13faca5e95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bead510b1039a276e9fb01acda72937d4f7701c49e538f69ff6e638caab84048 [INFO] running `Command { std: "docker" "start" "-a" "bead510b1039a276e9fb01acda72937d4f7701c49e538f69ff6e638caab84048", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Result) -> (Option, Option, Result)` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result` [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 issue #80165 [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 issue #80165 [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:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&'a JsonValue>) -> Option<&'a JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jg v0.1.6 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Result) -> (Option, Option, Result)` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result` [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 issue #80165 [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 issue #80165 [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:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&'a JsonValue>) -> Option<&'a JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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 3.38s [INFO] running `Command { std: "docker" "inspect" "bead510b1039a276e9fb01acda72937d4f7701c49e538f69ff6e638caab84048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bead510b1039a276e9fb01acda72937d4f7701c49e538f69ff6e638caab84048", kill_on_drop: false }` [INFO] [stdout] bead510b1039a276e9fb01acda72937d4f7701c49e538f69ff6e638caab84048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 655127ec5a41cbef095020f3deb5748faa4b7582896c1513c84545f23e60f7ab [INFO] running `Command { std: "docker" "start" "-a" "655127ec5a41cbef095020f3deb5748faa4b7582896c1513c84545f23e60f7ab", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Result) -> (Option, Option, Result)` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input/mod.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | on_line: &Fn(String) -> Result, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result` [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 issue #80165 [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 issue #80165 [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:41:47 [INFO] [stderr] | [INFO] [stderr] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&'a JsonValue>) -> Option<&'a JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&JsonValue>) -> Option<&JsonValue>` [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 issue #80165 [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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jg-3a71e40629a31031) [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_contained_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_match_array_index ... 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_return_none_when_json_isnt_present ... ok [INFO] [stdout] test selection::array_member::tests::should_return_remainder_when_it_matches_index ... ok [INFO] [stdout] test selection::identity::tests::should_return_some_json_when_json_is_present ... ok [INFO] [stdout] test selection::identity::tests::shouldnt_match_anything_else ... 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::identity::tests::should_match_dot ... ok [INFO] [stdout] test selection::sequence::tests::should_return_none_when_json_sequence_is_empty ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_true_prop ... ok [INFO] [stdout] test selection::sequence::tests::should_match_json_in_sequence_when_matching_query ... ok [INFO] [stdout] test selection::prop::tests::should_match_string_property_value_when_using_prefixed_matching_strategy ... ok [INFO] [stdout] test selection::prop::tests::should_match_boolean_false_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_number_prop ... ok [INFO] [stdout] test selection::prop::tests::should_return_remainder_when_it_matches_prop ... ok [INFO] [stdout] test selection::prop::tests::should_match_prop ... ok [INFO] [stdout] test selection::prop::tests::shouldnt_match_identity ... 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_null_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_string_property_value_when_using_exact_matching_strategy ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jg-9ca64a50577e7191) [INFO] [stdout] [INFO] [stderr] Running tests/array_member.rs (/opt/rustwide/target/debug/deps/array_member-1197e4384c75f552) [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 ... ok [INFO] [stdout] test cli::should_not_match_array_with_outofbounds_index ... ok [INFO] [stdout] test cli::should_match_array_with_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_boolean_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_exact_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_exact_numeric_value ... ok [INFO] [stdout] test cli::should_match_array_with_a_string_value_which_is_prefixed_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_exact_null_value ... ok [INFO] [stdout] test cli::should_match_array_with_first_index ... 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_suffixed_by_a_string_value ... ok [INFO] [stdout] test cli::should_match_array_with_numeric_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 31.95s [INFO] [stdout] [INFO] [stderr] Running tests/case_sensitivity.rs (/opt/rustwide/target/debug/deps/case_sensitivity-65125e30ac1eda6d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_search_with_case_sensitivity_on_by_default ... ok [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-48d8c058b7cff172) [INFO] [stdout] test cli::should_search_with_case_sensitivity_switched_off_when_the_i_flag_is_used ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cli::should_match_multiple_patterns_when_multiple_patterns_are_provided ... 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_only_return_exitcode_when_a_match_is_found_and_quiet_mode_flag_is_specified ... ok [INFO] [stdout] test cli::should_return_exitcode_0_when_matches_are_found ... ok [INFO] [stderr] Running tests/color.rs (/opt/rustwide/target/debug/deps/color-f5037057741d11f7) [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.35s [INFO] [stdout] [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.27s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/count.rs (/opt/rustwide/target/debug/deps/count-5c80f3899a417e1b) [INFO] [stdout] running 5 tests [INFO] [stdout] test cli::should_display_the_line_number_when_line_number_flag_is_specified ... ok [INFO] [stdout] test cli::should_print_out_count_when_c_flag_is_specified ... ok [INFO] [stdout] test cli::should_print_out_count_when_count_flag_is_specified ... ok [INFO] [stderr] Running tests/file.rs (/opt/rustwide/target/debug/deps/file-a904c34b9d7c9dec) [INFO] [stdout] test cli::should_stop_matching_when_max_num_flag_is_specified_and_max_is_reached ... 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] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [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-0815daa36edd49c8) [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.39s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cli::should_not_match_all_when_selector_is_not_identity ... ok [INFO] [stdout] test cli::should_match_single_json_when_selector_is_identity ... ok [INFO] [stderr] Running tests/invert_match.rs (/opt/rustwide/target/debug/deps/invert_match-04f2b9cc79767125) [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.38s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::should_invert_match_when_invert_flag_is_specified ... ok [INFO] [stderr] Running tests/prop.rs (/opt/rustwide/target/debug/deps/prop-d1ebde46cdf03dbb) [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.34s [INFO] [stdout] [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_json_with_deep_matching_props ... ok [INFO] [stdout] test cli::should_match_only_json_with_prop_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_json_with_inner_matching_props ... 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_json_porperty_using_dictionary_index_selector ... ok [INFO] [stdout] test cli::should_match_single_json_when_selector_is_prop ... ok [INFO] [stdout] test cli::should_match_json_porperty_with_a_value_when_using_the_exact_matcher ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] Running tests/sequence.rs (/opt/rustwide/target/debug/deps/sequence-1c43fa1afb808c81) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cli::should_not_match_empty_array_when_selecting_identity ... ok [INFO] [stdout] test cli::should_match_member_in_array_when_selecting_by_prop ... ok [INFO] [stdout] test cli::should_match_array_with_anything_in_it_when_identity_is_used ... ok [INFO] [stdout] test cli::should_match_members_in_array_when_root_of_pattern_is_within_the_array ... ok [INFO] [stdout] test cli::should_match_array_with_null_in_it ... ok [INFO] [stdout] test cli::should_match_array_patterns_within_arrays ... ok [INFO] [stdout] test cli::should_match_array_under_prop_containing_anything_when_selecting_identity ... ok [INFO] [stdout] test cli::should_not_match_member_in_array_when_prop_matches_deep_object_in_member ... ok [INFO] [stderr] Doc-tests jg [INFO] [stdout] test cli::should_match_sequence_matchers_within_other_sequences ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "655127ec5a41cbef095020f3deb5748faa4b7582896c1513c84545f23e60f7ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655127ec5a41cbef095020f3deb5748faa4b7582896c1513c84545f23e60f7ab", kill_on_drop: false }` [INFO] [stdout] 655127ec5a41cbef095020f3deb5748faa4b7582896c1513c84545f23e60f7ab