[INFO] fetching crate schemars 1.0.0-alpha.14... [INFO] checking schemars-1.0.0-alpha.14 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate schemars 1.0.0-alpha.14 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate schemars 1.0.0-alpha.14 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 schemars 1.0.0-alpha.14 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate schemars 1.0.0-alpha.14 [INFO] tweaked toml for crates.io crate schemars 1.0.0-alpha.14 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate schemars 1.0.0-alpha.14 already has a lockfile, it will not be regenerated [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ec339e45b45cf4e72b55b8f2507c1a080e9b2cec0853018daf85571a45e3c412 [INFO] running `Command { std: "docker" "start" "-a" "ec339e45b45cf4e72b55b8f2507c1a080e9b2cec0853018daf85571a45e3c412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec339e45b45cf4e72b55b8f2507c1a080e9b2cec0853018daf85571a45e3c412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec339e45b45cf4e72b55b8f2507c1a080e9b2cec0853018daf85571a45e3c412", kill_on_drop: false }` [INFO] [stdout] ec339e45b45cf4e72b55b8f2507c1a080e9b2cec0853018daf85571a45e3c412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5b04c5fddccf6c3b7a1b80114ceb9fa2027cbf51b71e98dd18823d8103055c4e [INFO] running `Command { std: "docker" "start" "-a" "5b04c5fddccf6c3b7a1b80114ceb9fa2027cbf51b71e98dd18823d8103055c4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking dyn-clone v1.0.14 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling serde_derive_internals v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling schemars_derive v1.0.0-alpha.14 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking schemars v1.0.0-alpha.14 (/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/macros.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | $crate::Schema::try_from($crate::_serde_json::json!({$($json_object)*})).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 84 | fn collect_map(self, iter: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(json_schema!({ [INFO] [stdout] | ____________- [INFO] [stdout] 110 | | "type": "object", [INFO] [stdout] 111 | | "additionalProperties": value_schema, [INFO] [stdout] 112 | | })) [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: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `json_schema` (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/_private/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn maybe_to_value(self) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | serde_json::value::to_value(self.0).ok() [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/_private/mod.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | .and_then(|i| <&mut Schema>::try_from(i).ok()) [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/generate.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new(settings: SchemaSettings) -> SchemaGenerator { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | ..Default::default() [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schemars` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5b04c5fddccf6c3b7a1b80114ceb9fa2027cbf51b71e98dd18823d8103055c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b04c5fddccf6c3b7a1b80114ceb9fa2027cbf51b71e98dd18823d8103055c4e", kill_on_drop: false }` [INFO] [stdout] 5b04c5fddccf6c3b7a1b80114ceb9fa2027cbf51b71e98dd18823d8103055c4e