[INFO] fetching crate memflow-win32-ffi 0.1.5... [INFO] checking memflow-win32-ffi-0.1.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate memflow-win32-ffi 0.1.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate memflow-win32-ffi 0.1.5 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 memflow-win32-ffi 0.1.5 [INFO] finished tweaking crates.io crate memflow-win32-ffi 0.1.5 [INFO] tweaked toml for crates.io crate memflow-win32-ffi 0.1.5 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 149 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.3.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bit_field v0.9.0 (latest: v0.10.2) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding cookie v0.14.4 (latest: v0.18.1) [INFO] [stderr] Adding cookie_store v0.12.0 (latest: v0.21.0) [INFO] [stderr] Adding darling v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.10.2 (latest: v0.20.10) [INFO] [stderr] Adding dataview v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding dirs v2.0.2 (latest: v5.0.1) [INFO] [stderr] Adding dirs v3.0.2 (latest: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (latest: v0.4.1) [INFO] [stderr] Adding fallible-iterator v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding hashbrown v0.8.2 (latest: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.2.3 (latest: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding itertools v0.9.0 (latest: v0.13.0) [INFO] [stderr] Adding libloading v0.6.7 (latest: v0.8.5) [INFO] [stderr] Adding memflow v0.1.5 (latest: v0.2.3) [INFO] [stderr] Adding memflow-derive v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding memflow-ffi v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding memflow-win32 v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding pdb v0.6.0 (latest: v0.8.0) [INFO] [stderr] Adding pelite v0.9.2 (latest: v0.10.0) [INFO] [stderr] Adding publicsuffix v1.5.6 (latest: v2.2.3) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding rustls v0.19.1 (latest: v0.23.12) [INFO] [stderr] Adding scroll v0.10.2 (latest: v0.12.0) [INFO] [stderr] Adding sct v0.6.1 (latest: v0.7.1) [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 sha1 v0.6.1 (latest: v0.10.6) [INFO] [stderr] Adding simple_logger v1.16.0 (latest: v5.0.0) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding standback v0.2.17 (latest: v0.4.4) [INFO] [stderr] Adding strsim v0.9.3 (latest: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding time v0.2.27 (latest: v0.3.36) [INFO] [stderr] Adding time-macros v0.1.1 (latest: v0.2.18) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding ureq v1.5.5 (latest: v2.10.1) [INFO] [stderr] Adding uuid v0.8.2 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki v0.21.4 (latest: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.21.1 (latest: v0.26.5) [INFO] [stderr] Adding widestring v0.4.3 (latest: v1.1.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding x86_64 v0.12.4 (latest: v0.15.1) [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] de964c7e5a157a84c13553c0b01ef1ee81aff21b567ad599e4fe0ca86b628033 [INFO] running `Command { std: "docker" "start" "-a" "de964c7e5a157a84c13553c0b01ef1ee81aff21b567ad599e4fe0ca86b628033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de964c7e5a157a84c13553c0b01ef1ee81aff21b567ad599e4fe0ca86b628033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de964c7e5a157a84c13553c0b01ef1ee81aff21b567ad599e4fe0ca86b628033", kill_on_drop: false }` [INFO] [stdout] de964c7e5a157a84c13553c0b01ef1ee81aff21b567ad599e4fe0ca86b628033 [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] c21b05172ca51d1946b9738c755e1888396b8ba99a826a2ac0f5ad40e3d136aa [INFO] running `Command { std: "docker" "start" "-a" "c21b05172ca51d1946b9738c755e1888396b8ba99a826a2ac0f5ad40e3d136aa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling derive_pod v0.1.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling x86_64 v0.12.4 [INFO] [stderr] Checking dataview v0.1.2 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking vector-trees v0.1.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling pelite-macros v0.1.1 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking pbr v1.1.1 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking progress-streams v1.1.0 [INFO] [stderr] Checking pdb v0.6.0 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling memflow-derive v0.1.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking pelite v0.9.2 [INFO] [stderr] Checking memflow v0.1.5 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Compiling memflow-win32 v0.1.5 [INFO] [stderr] Checking memflow-ffi v0.1.5 [INFO] [stderr] Checking memflow-win32-ffi v0.1.5 (/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/win32/kernel.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | let mem: Box = Box::from_raw(*Box::from_raw(mem)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / kernel::Kernel::builder(mem) [INFO] [stdout] 45 | | .build_default_caches() [INFO] [stdout] 46 | | .build() [INFO] [stdout] 47 | | .map_err(inspect_err) [INFO] [stdout] 48 | | .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] = 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/win32/kernel.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | let mem: Box = Box::from_raw(*Box::from_raw(mem)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | / kernel::Kernel::builder(mem) [INFO] [stdout] 73 | | .build_page_cache(move |connector, arch| { [INFO] [stdout] 74 | | CachedMemoryAccess::builder(connector) [INFO] [stdout] 75 | | .arch(arch) [INFO] [stdout] ... | [INFO] [stdout] 95 | | .map_err(inspect_err) [INFO] [stdout] 96 | | .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/win32/kernel.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 73 | .build_page_cache(move |connector, arch| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / CachedMemoryAccess::builder(connector) [INFO] [stdout] 75 | | .arch(arch) [INFO] [stdout] 76 | | .validator(TimedCacheValidator::new( [INFO] [stdout] 77 | | Duration::from_millis(page_cache_time_ms).into(), [INFO] [stdout] ... | [INFO] [stdout] 80 | | .cache_size(size::kb(page_cache_size_kb)) [INFO] [stdout] 81 | | .build() [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/win32/kernel.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 84 | .build_vat_cache(move |vat, arch| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / CachedVirtualTranslate::builder(vat) [INFO] [stdout] 86 | | .arch(arch) [INFO] [stdout] 87 | | .validator(TimedCacheValidator::new( [INFO] [stdout] 88 | | Duration::from_millis(vat_cache_time_ms).into(), [INFO] [stdout] 89 | | )) [INFO] [stdout] 90 | | .entries(vat_cache_entries) [INFO] [stdout] 91 | | .build() [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/win32/kernel.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 129 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Box::leak(Box::new(Box::leak(kernel.destroy().destroy()))) [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/win32/kernel.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let name = CStr::from_ptr(name).to_string_lossy(); [INFO] [stdout] 285 | / kernel [INFO] [stdout] 286 | | .into_process(&name) [INFO] [stdout] 287 | | .map_err(inspect_err) [INFO] [stdout] 288 | | .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/win32/kernel.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 305 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | / kernel [INFO] [stdout] 307 | | .into_process_pid(pid) [INFO] [stdout] 308 | | .map_err(inspect_err) [INFO] [stdout] 309 | | .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/win32/kernel.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 325 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | / kernel [INFO] [stdout] 327 | | .into_kernel_process() [INFO] [stdout] 328 | | .map_err(inspect_err) [INFO] [stdout] 329 | | .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/win32/process.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | to_heap(Win32Process::with_kernel(*kernel, proc_info.clone())) [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memflow-win32-ffi` (lib test) due to 10 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/win32/kernel.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | let mem: Box = Box::from_raw(*Box::from_raw(mem)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / kernel::Kernel::builder(mem) [INFO] [stdout] 45 | | .build_default_caches() [INFO] [stdout] 46 | | .build() [INFO] [stdout] 47 | | .map_err(inspect_err) [INFO] [stdout] 48 | | .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] = 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/win32/kernel.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | let mem: Box = Box::from_raw(*Box::from_raw(mem)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | / kernel::Kernel::builder(mem) [INFO] [stdout] 73 | | .build_page_cache(move |connector, arch| { [INFO] [stdout] 74 | | CachedMemoryAccess::builder(connector) [INFO] [stdout] 75 | | .arch(arch) [INFO] [stdout] ... | [INFO] [stdout] 95 | | .map_err(inspect_err) [INFO] [stdout] 96 | | .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/win32/kernel.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 73 | .build_page_cache(move |connector, arch| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / CachedMemoryAccess::builder(connector) [INFO] [stdout] 75 | | .arch(arch) [INFO] [stdout] 76 | | .validator(TimedCacheValidator::new( [INFO] [stdout] 77 | | Duration::from_millis(page_cache_time_ms).into(), [INFO] [stdout] ... | [INFO] [stdout] 80 | | .cache_size(size::kb(page_cache_size_kb)) [INFO] [stdout] 81 | | .build() [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/win32/kernel.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 84 | .build_vat_cache(move |vat, arch| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | / CachedVirtualTranslate::builder(vat) [INFO] [stdout] 86 | | .arch(arch) [INFO] [stdout] 87 | | .validator(TimedCacheValidator::new( [INFO] [stdout] 88 | | Duration::from_millis(vat_cache_time_ms).into(), [INFO] [stdout] 89 | | )) [INFO] [stdout] 90 | | .entries(vat_cache_entries) [INFO] [stdout] 91 | | .build() [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/win32/kernel.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 129 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Box::leak(Box::new(Box::leak(kernel.destroy().destroy()))) [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/win32/kernel.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let name = CStr::from_ptr(name).to_string_lossy(); [INFO] [stdout] 285 | / kernel [INFO] [stdout] 286 | | .into_process(&name) [INFO] [stdout] 287 | | .map_err(inspect_err) [INFO] [stdout] 288 | | .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/win32/kernel.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 305 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | / kernel [INFO] [stdout] 307 | | .into_process_pid(pid) [INFO] [stdout] 308 | | .map_err(inspect_err) [INFO] [stdout] 309 | | .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/win32/kernel.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 325 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | / kernel [INFO] [stdout] 327 | | .into_kernel_process() [INFO] [stdout] 328 | | .map_err(inspect_err) [INFO] [stdout] 329 | | .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/win32/process.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | let kernel = Box::from_raw(kernel); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | to_heap(Win32Process::with_kernel(*kernel, proc_info.clone())) [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memflow-win32-ffi` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c21b05172ca51d1946b9738c755e1888396b8ba99a826a2ac0f5ad40e3d136aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21b05172ca51d1946b9738c755e1888396b8ba99a826a2ac0f5ad40e3d136aa", kill_on_drop: false }` [INFO] [stdout] c21b05172ca51d1946b9738c755e1888396b8ba99a826a2ac0f5ad40e3d136aa