[INFO] fetching crate kct_package 0.4.0... [INFO] checking kct_package-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kct_package 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate kct_package 0.4.0 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 kct_package 0.4.0 [INFO] finished tweaking crates.io crate kct_package 0.4.0 [INFO] tweaked toml for crates.io crate kct_package 0.4.0 written to /workspace/builds/worker-2-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 172 packages to latest compatible versions [INFO] [stderr] Adding addr v0.11.8 (latest: v0.15.6) [INFO] [stderr] Adding annotate-snippets v0.9.2 (latest: v0.11.4) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding globwalk v0.8.1 (latest: v0.9.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding jrsonnet-evaluator v0.3.8 (latest: v0.4.2) [INFO] [stderr] Adding jrsonnet-interner v0.3.8 (latest: v0.4.2) [INFO] [stderr] Adding jrsonnet-parser v0.3.8 (latest: v0.4.2) [INFO] [stderr] Adding jrsonnet-stdlib v0.3.8 (latest: v0.4.2) [INFO] [stderr] Adding jrsonnet-types v0.3.8 (latest: v0.4.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding no-std-net v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding peg v0.7.0 (latest: v0.8.4) [INFO] [stderr] Adding peg-macros v0.7.0 (latest: v0.8.4) [INFO] [stderr] Adding peg-runtime v0.7.0 (latest: v0.8.3) [INFO] [stderr] Adding phf v0.8.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.8.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.8.0 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.8.0 (latest: v0.11.2) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_pcg v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding valico v3.6.1 (latest: v4.0.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] df699932b02d0fa5496b4f4517a2bdc7b6ef5268c04a0d50ff491f359c63ac47 [INFO] running `Command { std: "docker" "start" "-a" "df699932b02d0fa5496b4f4517a2bdc7b6ef5268c04a0d50ff491f359c63ac47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df699932b02d0fa5496b4f4517a2bdc7b6ef5268c04a0d50ff491f359c63ac47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df699932b02d0fa5496b4f4517a2bdc7b6ef5268c04a0d50ff491f359c63ac47", kill_on_drop: false }` [INFO] [stdout] df699932b02d0fa5496b4f4517a2bdc7b6ef5268c04a0d50ff491f359c63ac47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 36c3302bfbc8e46160b66bc0870f11a044750ab1c99c44061895c86b0b6339fc [INFO] running `Command { std: "docker" "start" "-a" "36c3302bfbc8e46160b66bc0870f11a044750ab1c99c44061895c86b0b6339fc", kill_on_drop: false }` [INFO] [stderr] Compiling peg-runtime v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling unescape v0.1.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling peg-macros v0.7.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling jrsonnet-stdlib v0.3.8 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking psl v2.1.55 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking rustix v0.38.35 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking annotate-snippets v0.9.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking closure v0.3.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling peg v0.7.0 [INFO] [stderr] Checking jrsonnet-types v0.3.8 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking uritemplate-next v0.2.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling valico v3.6.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking jrsonnet-interner v0.3.8 [INFO] [stderr] Checking no-std-net v0.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking jrsonnet-parser v0.3.8 [INFO] [stderr] Checking addr v0.11.8 [INFO] [stderr] Checking json-pointer v0.3.4 [INFO] [stderr] Checking jsonway v2.0.0 [INFO] [stderr] Checking kct_helper v0.4.0 [INFO] [stderr] Compiling jrsonnet-evaluator v0.3.8 [INFO] [stderr] Checking tera v1.20.0 [INFO] [stderr] Checking kct_package v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/compiler.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 37 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 38 | let (root, brownfield) = match root.extension() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let brownfield = TempDir::new() [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let schema = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(Package { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | root, [INFO] [stdout] 104 | | main, [INFO] [stdout] 105 | | spec, [INFO] [stdout] ... | [INFO] [stdout] 108 | | brownfield, [INFO] [stdout] 109 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn compile(self, input: Option, release: Option) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Compiler::new(&self.root).compile(self, input.unwrap_or(Value::Null), release) [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/schema.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 19 | let mut scope = Scope::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Schema { scope, id }) [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/compiler.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 96 | let files = file::create_function(pkg, input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let include = subpackage::create_function(self, release); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let input = Val::from(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let package = { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let release = match release { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let pairs = vec![ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let entries: FxHashMap = pairs [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Val::Obj(ObjValue::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 153 | | Context::new(), [INFO] [stdout] 154 | | None, [INFO] [stdout] 155 | | Rc::new(entries), [INFO] [stdout] 156 | | Rc::new(vec![]), [INFO] [stdout] 157 | | )) [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/compiler.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | ( [INFO] [stdout] 141 | k.into(), [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/compiler.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | / ObjMember { [INFO] [stdout] 143 | | add: false, [INFO] [stdout] 144 | | visibility: Visibility::Normal, [INFO] [stdout] 145 | | invoke: LazyBinding::Bound(LazyVal::new_resolved(v)), [INFO] [stdout] 146 | | location: None, [INFO] [stdout] 147 | | }, [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/compiler/file.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| LocError::new(JrError::RuntimeError(err.into())))?; [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/compiler/file.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|comp| Val::Str(comp.into())) [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/compiler/subpackage.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 30 | let mut subcompiler = Compiler::new(&root); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let package = Package::try_from(root) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(Val::from(&rendered)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/compiler/subpackage.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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/compiler/subpackage.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|val| val.to_string().unwrap()) [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/compiler/subpackage.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|val| serde_json::from_str(&val).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/compiler/subpackage.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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] warning: field `root` is never read [INFO] [stdout] --> src/compiler.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Compiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 37 | pub root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/compiler/subpackage.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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/lib.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 38 | let (root, brownfield) = match root.extension() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let brownfield = TempDir::new() [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let schema = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(Package { [INFO] [stdout] | ____________^ [INFO] [stdout] 103 | | root, [INFO] [stdout] 104 | | main, [INFO] [stdout] 105 | | spec, [INFO] [stdout] ... | [INFO] [stdout] 108 | | brownfield, [INFO] [stdout] 109 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn compile(self, input: Option, release: Option) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Compiler::new(&self.root).compile(self, input.unwrap_or(Value::Null), release) [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/schema.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 19 | let mut scope = Scope::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Schema { scope, id }) [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/compiler.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 96 | let files = file::create_function(pkg, input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let include = subpackage::create_function(self, release); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let input = Val::from(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let package = { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let release = match release { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let pairs = vec![ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let entries: FxHashMap = pairs [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Val::Obj(ObjValue::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 153 | | Context::new(), [INFO] [stdout] 154 | | None, [INFO] [stdout] 155 | | Rc::new(entries), [INFO] [stdout] 156 | | Rc::new(vec![]), [INFO] [stdout] 157 | | )) [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/compiler.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | ( [INFO] [stdout] 141 | k.into(), [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/compiler.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | / ObjMember { [INFO] [stdout] 143 | | add: false, [INFO] [stdout] 144 | | visibility: Visibility::Normal, [INFO] [stdout] 145 | | invoke: LazyBinding::Bound(LazyVal::new_resolved(v)), [INFO] [stdout] 146 | | location: None, [INFO] [stdout] 147 | | }, [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/compiler/file.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | .map_err(|err| LocError::new(JrError::RuntimeError(err.into())))?; [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/compiler/file.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|comp| Val::Str(comp.into())) [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/compiler/subpackage.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 30 | let mut subcompiler = Compiler::new(&root); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let package = Package::try_from(root) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(Val::from(&rendered)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/compiler/subpackage.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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/compiler/subpackage.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|val| val.to_string().unwrap()) [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/compiler/subpackage.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | .map(|val| serde_json::from_str(&val).unwrap()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] [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/compiler/subpackage.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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/compiler/subpackage.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | .map_err(|err| LocError::new(JrError::RuntimeError(err.to_string().into())))?; [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kct_package` (lib) due to 15 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kct_package` (lib test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "36c3302bfbc8e46160b66bc0870f11a044750ab1c99c44061895c86b0b6339fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c3302bfbc8e46160b66bc0870f11a044750ab1c99c44061895c86b0b6339fc", kill_on_drop: false }` [INFO] [stdout] 36c3302bfbc8e46160b66bc0870f11a044750ab1c99c44061895c86b0b6339fc