[INFO] fetching crate jg 0.1.6... [INFO] checking jg-0.1.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate jg 0.1.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate jg 0.1.6 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v0.10.2 (available: v2.0.16) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding colored v1.9.4 (available: v2.1.0) [INFO] [stderr] Adding escargot v0.3.1 (available: v0.5.12) [INFO] [stderr] Adding float-cmp v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding isatty v0.1.9 (available: v0.2.0) [INFO] [stderr] Adding json v0.11.15 (available: v0.12.4) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding predicates v1.0.8 (available: v3.1.2) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00a5669114f4ed66573d668e5cd6adde21417cbbe88ba47db367683827c54100 [INFO] running `Command { std: "docker" "start" "-a" "00a5669114f4ed66573d668e5cd6adde21417cbbe88ba47db367683827c54100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00a5669114f4ed66573d668e5cd6adde21417cbbe88ba47db367683827c54100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a5669114f4ed66573d668e5cd6adde21417cbbe88ba47db367683827c54100", kill_on_drop: false }` [INFO] [stdout] 00a5669114f4ed66573d668e5cd6adde21417cbbe88ba47db367683827c54100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e8cc6ccb7b8ac5d80e2252a3d6f89d740db356112057dd7920d890bfdc84bc7 [INFO] running `Command { std: "docker" "start" "-a" "2e8cc6ccb7b8ac5d80e2252a3d6f89d740db356112057dd7920d890bfdc84bc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking json-highlight-writer v1.1.0 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stderr] Checking 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &Fn( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | (Option, Option, Result), [INFO] [stdout] 36 | | ) -> (Option, Option), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &dyn Fn( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &Fn(String) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | on_line: &dyn Fn(String) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &Fn( [INFO] [stdout] | _________________^ [INFO] [stdout] 35 | | (Option, Option, Result), [INFO] [stdout] 36 | | ) -> (Option, Option), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | on_result: &dyn Fn( [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn buffer_input_file(input: &str) -> Result, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | matchers: &Vec) -> Option<&JsonValue>>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/enumeration.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | ) -> Box) -> (Option, Option, Result)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | matchers: &Vec) -> Option<&'a JsonValue>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result) -> Option<&JsonValue>>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | ) -> Result) -> Option<&JsonValue>>>, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | fn array_index(index: usize) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/array_member.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity() -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/identity.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Box) -> Option<&JsonValue>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/prop.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result) -> Option<&JsonValue>>, &str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/sequence.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | Box) -> Option<&JsonValue>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input/mod.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | None => Box::new(stdin.lock()) as Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/selection/mod.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | let mut matchers: Vec) -> Option<&JsonValue>>> = vec![]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/array_member.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 180 | let res = greedily_matches(Some("[0]")); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | let ref data = array![object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 184 | | "name" => "John Doe", [INFO] [stdout] 185 | | "age" => 30 [INFO] [stdout] 186 | | }]; [INFO] [stdout] | |__________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data[0])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/identity.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 32 | let res = greedily_matches(Some(".")); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | "name" => "John Doe", [INFO] [stdout] 37 | | "age" => 30 [INFO] [stdout] 38 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok((matcher, unmatched)) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 149 | let res = greedily_matches(Some(".name")); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 153 | | "name" => "John Doe", [INFO] [stdout] 154 | | "age" => 30 [INFO] [stdout] 155 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["name"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 204 | let res = greedily_matches(Some(r#"{"age":30}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 208 | | "name" => "John Doe", [INFO] [stdout] 209 | | "age" => 30 [INFO] [stdout] 210 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["age"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 220 | let res = greedily_matches(Some(r#"{"country":"IRL"}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 223 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 224 | | "name" => "John Doe", [INFO] [stdout] 225 | | "age" => 30, [INFO] [stdout] 226 | | "country" => "IRL" [INFO] [stdout] 227 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["country"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 237 | let res = greedily_matches(Some(r#"{"country"~:"GBR"}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 240 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 241 | | "name" => "John Doe", [INFO] [stdout] 242 | | "age" => 30, [INFO] [stdout] 243 | | "country" => "IRL GBR" [INFO] [stdout] 244 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 247 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["country"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 254 | let res = greedily_matches(Some(r#"{"country"^:"IRL"}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 258 | | "name" => "John Doe", [INFO] [stdout] 259 | | "age" => 30, [INFO] [stdout] 260 | | "country" => "IRL GBR" [INFO] [stdout] 261 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["country"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 271 | let res = greedily_matches(Some(r#"{"country"$:"GBR"}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 275 | | "name" => "John Doe", [INFO] [stdout] 276 | | "age" => 30, [INFO] [stdout] 277 | | "country" => "IRL GBR" [INFO] [stdout] 278 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["country"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 288 | let res = greedily_matches(Some(r#"{"is_known":false}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 291 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 292 | | "name" => "John Doe", [INFO] [stdout] 293 | | "age" => 30, [INFO] [stdout] 294 | | "is_known" => false [INFO] [stdout] 295 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["is_known"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:315:17 [INFO] [stdout] | [INFO] [stdout] 305 | let res = greedily_matches(Some(r#"{"is_anonymous":true}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 309 | | "name" => "John Doe", [INFO] [stdout] 310 | | "age" => 30, [INFO] [stdout] 311 | | "is_anonymous" => true [INFO] [stdout] 312 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["is_anonymous"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/prop.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 322 | let res = greedily_matches(Some(r#"{"identity":null}"#)); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 325 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 326 | | "name" => "John Doe", [INFO] [stdout] 327 | | "age" => 30, [INFO] [stdout] 328 | | "identity" => JsonValue::Null [INFO] [stdout] 329 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | Ok((matcher, _)) => assert_eq!(matcher(Some(data)), Some(&data["identity"])), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box Fn(Option<&'a json::JsonValue>) -> Option<&json::JsonValue>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/selection/sequence.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 63 | let res = greedily_matches(Some("[.name]")); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | let ref data = object! { [INFO] [stdout] | ________________________- [INFO] [stdout] 67 | | "name" => "John Doe", [INFO] [stdout] 68 | | "age" => 30, [INFO] [stdout] 69 | | "identities" => array![object! { [INFO] [stdout] 70 | | "name" => "Richard Roe" [INFO] [stdout] 71 | | }] [INFO] [stdout] 72 | | }; [INFO] [stdout] | |_________- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok((matcher, _)) => assert_eq!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jg` (lib test) due to 13 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2e8cc6ccb7b8ac5d80e2252a3d6f89d740db356112057dd7920d890bfdc84bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8cc6ccb7b8ac5d80e2252a3d6f89d740db356112057dd7920d890bfdc84bc7", kill_on_drop: false }` [INFO] [stdout] 2e8cc6ccb7b8ac5d80e2252a3d6f89d740db356112057dd7920d890bfdc84bc7