[INFO] fetching crate jsonto 0.1.1... [INFO] checking jsonto-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jsonto 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate jsonto 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonto 0.1.1 [INFO] finished tweaking crates.io crate jsonto 0.1.1 [INFO] tweaked toml for crates.io crate jsonto 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e0a1108bb821a382c1847335084131a35198daf5e86de7da09f60be533b3854 [INFO] running `Command { std: "docker" "start" "-a" "9e0a1108bb821a382c1847335084131a35198daf5e86de7da09f60be533b3854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e0a1108bb821a382c1847335084131a35198daf5e86de7da09f60be533b3854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0a1108bb821a382c1847335084131a35198daf5e86de7da09f60be533b3854", kill_on_drop: false }` [INFO] [stdout] 9e0a1108bb821a382c1847335084131a35198daf5e86de7da09f60be533b3854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad79904c2518511394d7f74fbca6cb91786d616a9f3b7998028aae71156d1787 [INFO] running `Command { std: "docker" "start" "-a" "ad79904c2518511394d7f74fbca6cb91786d616a9f3b7998028aae71156d1787", kill_on_drop: false }` [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking jsonto v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/schema.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 19 | let value = type_from_shape(&mut ctxt, name, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let mut schema = string_hashmap! { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | pretty_print_value(0, &Value::Object(schema)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/word_case.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/schema.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let inner = type_from_shape(ctxt, &singular, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 63 | | "type" => Value::Str("array"), [INFO] [stdout] 64 | | "items" => inner [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let inner = type_from_shape(ctxt, &singular, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 72 | | "type" => Value::Str("object"), [INFO] [stdout] 73 | | "additionalProperties" => inner [INFO] [stdout] 74 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut types = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 86 | | "type" => Value::Str("array"), [INFO] [stdout] 87 | | "items" => Value::Array(types), [INFO] [stdout] 88 | | "additionalItems" => Value::Bool(false) [INFO] [stdout] 89 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut required: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let mut properties = LinkedHashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Value::Object(string_hashmap! { [INFO] [stdout] | ____________________- [INFO] [stdout] 113 | | "type" => Value::Str("object"), [INFO] [stdout] 114 | | "properties" => Value::Object(properties), [INFO] [stdout] 115 | | "required" => Value::Array(required) [INFO] [stdout] 116 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/python.rs:111:61 [INFO] [stdout] | [INFO] [stdout] 111 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/rust.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/typescript_iface.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/typescript_types.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 11 | read: R, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | / Inference::new(read) [INFO] [stdout] 25 | | .unwrap(&pointer_tokens, options, hints)? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn new(source: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Inference { [INFO] [stdout] 36 | tokens: JsonLexer::new(source).peekable(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 152 | let mut shapes: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let mut folded = Shape::Bottom; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let inner = shapes.into_iter().fold(folded, common_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | [INFO] [stdout] 179 | Ok(Shape::VecT { [INFO] [stdout] | ____________^ [INFO] [stdout] 180 | | elem_type: Box::new(inner), [INFO] [stdout] 181 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 277 | fn optional_common_shape(a: Option, b: Option) -> Option { [INFO] [stdout] | ---------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | match (a, b) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsonlex.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | JsonLexer { [INFO] [stdout] 29 | bytes: BufReader::with_capacity(128 * 1024, source) [INFO] [stdout] | ____________________^ [INFO] [stdout] 30 | | .bytes() [INFO] [stdout] 31 | | .peekable(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn fold_shapes(shapes: Vec) -> Shape { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | shapes.into_iter().fold(Shape::Bottom, common_shape) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn fold_shapes(shapes: Vec) -> Shape { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | shapes.into_iter().fold(Shape::Bottom, common_shape) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn common_shape(a: Shape, b: Shape) -> Shape { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | match (a, b) { [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 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonto` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/schema.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 19 | let value = type_from_shape(&mut ctxt, name, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let mut schema = string_hashmap! { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | pretty_print_value(0, &Value::Object(schema)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/word_case.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/schema.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let inner = type_from_shape(ctxt, &singular, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 63 | | "type" => Value::Str("array"), [INFO] [stdout] 64 | | "items" => inner [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let inner = type_from_shape(ctxt, &singular, shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 72 | | "type" => Value::Str("object"), [INFO] [stdout] 73 | | "additionalProperties" => inner [INFO] [stdout] 74 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut types = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Value::Object(string_hashmap! { [INFO] [stdout] | ___________________- [INFO] [stdout] 86 | | "type" => Value::Str("array"), [INFO] [stdout] 87 | | "items" => Value::Array(types), [INFO] [stdout] 88 | | "additionalItems" => Value::Bool(false) [INFO] [stdout] 89 | | }) [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_case.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | let mut _map = ::linked_hash_map::LinkedHashMap::new(); [INFO] [stdout] 117 | | $( [INFO] [stdout] 118 | | _map.insert($key.to_string(), $value); [INFO] [stdout] 119 | | )* [INFO] [stdout] 120 | | _map [INFO] [stdout] 121 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/generation/schema.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut required: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let mut properties = LinkedHashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | Value::Object(string_hashmap! { [INFO] [stdout] | ____________________- [INFO] [stdout] 113 | | "type" => Value::Str("object"), [INFO] [stdout] 114 | | "properties" => Value::Object(properties), [INFO] [stdout] 115 | | "required" => Value::Array(required) [INFO] [stdout] 116 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `string_hashmap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/python.rs:111:61 [INFO] [stdout] | [INFO] [stdout] 111 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/rust.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/typescript_iface.rs:50:61 [INFO] [stdout] | [INFO] [stdout] 50 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/generation/typescript_types.rs:35:61 [INFO] [stdout] | [INFO] [stdout] 35 | if folded == Any && shapes.iter().any(|s| s != &Any) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 11 | read: R, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | / Inference::new(read) [INFO] [stdout] 25 | | .unwrap(&pointer_tokens, options, hints)? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 34 | fn new(source: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Inference { [INFO] [stdout] 36 | tokens: JsonLexer::new(source).peekable(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 152 | let mut shapes: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | let mut folded = Shape::Bottom; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | let inner = shapes.into_iter().fold(folded, common_shape); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | [INFO] [stdout] 179 | Ok(Shape::VecT { [INFO] [stdout] | ____________^ [INFO] [stdout] 180 | | elem_type: Box::new(inner), [INFO] [stdout] 181 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 277 | fn optional_common_shape(a: Option, b: Option) -> Option { [INFO] [stdout] | ---------------- ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | match (a, b) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsoninfer.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 291 | fn shape_from_just_json(json: R) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | Inference::new(json).infer_shape(&Options::default(), &Hints::new()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/inference/jsonlex.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(source: R) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | JsonLexer { [INFO] [stdout] 29 | bytes: BufReader::with_capacity(128 * 1024, source) [INFO] [stdout] | ____________________^ [INFO] [stdout] 30 | | .bytes() [INFO] [stdout] 31 | | .peekable(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn fold_shapes(shapes: Vec) -> Shape { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | shapes.into_iter().fold(Shape::Bottom, common_shape) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn fold_shapes(shapes: Vec) -> Shape { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | shapes.into_iter().fold(Shape::Bottom, common_shape) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/shape.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn common_shape(a: Shape, b: Shape) -> Shape { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | match (a, b) { [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 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonto` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "ad79904c2518511394d7f74fbca6cb91786d616a9f3b7998028aae71156d1787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad79904c2518511394d7f74fbca6cb91786d616a9f3b7998028aae71156d1787", kill_on_drop: false }` [INFO] [stdout] ad79904c2518511394d7f74fbca6cb91786d616a9f3b7998028aae71156d1787