[INFO] crate theory 0.1.0 is already in cache [INFO] checking theory-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate theory 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate theory 0.1.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 theory 0.1.0 [INFO] finished tweaking crates.io crate theory 0.1.0 [INFO] tweaked toml for crates.io crate theory 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate theory 0.1.0 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-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] 45f559833cc9920aeba475c9c8bfa4dfebb36989aae585dda27dadb6b45f0a6c [INFO] running `Command { std: "docker" "start" "-a" "45f559833cc9920aeba475c9c8bfa4dfebb36989aae585dda27dadb6b45f0a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f559833cc9920aeba475c9c8bfa4dfebb36989aae585dda27dadb6b45f0a6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f559833cc9920aeba475c9c8bfa4dfebb36989aae585dda27dadb6b45f0a6c", kill_on_drop: false }` [INFO] [stdout] 45f559833cc9920aeba475c9c8bfa4dfebb36989aae585dda27dadb6b45f0a6c [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] f2a7d3ea9c4f6c40f4c71dadbbb8ec1b85ce1f093833d346ef85ac2789c7a4bb [INFO] running `Command { std: "docker" "start" "-a" "f2a7d3ea9c4f6c40f4c71dadbbb8ec1b85ce1f093833d346ef85ac2789c7a4bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.36 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking lru v0.8.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking lz4_flex v0.9.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling endiannezz v0.6.5 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling thiserror-impl v1.0.36 [INFO] [stderr] Compiling endiannezz_derive v0.2.2 [INFO] [stderr] Compiling clap_derive v4.0.10 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking theory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/page/persistence.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Err(_) => { [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 145 | id: to_u32!(page.id), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `to_u32` (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/builder.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn dump_to_file(&self, path: impl AsRef) -> Result<(), PersistenceError> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | self.dump(BufWriter::new(File::create(path)?)) [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/persistence/datablock/reader.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(mut stream: S) -> io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let stream_len = stream.seek(SeekFrom::End(0))?; [INFO] [stdout] 26 | let cache = lru::LruCache::new(LRU_CACHE_SIZE); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | Ok(DataBlocksReader { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | stream, [INFO] [stdout] 30 | | stream_len, [INFO] [stdout] 31 | | cache, [INFO] [stdout] 32 | | }) [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] [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/persistence/datablock/reader.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn with_block(&mut self, block_id: u64, offset: O, f: F) -> io::Result [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] 124 | / result [INFO] [stdout] 125 | | .as_ref() [INFO] [stdout] 126 | | .map(|data| f(&data[offset..])) [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] [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/persistence/datablock/writer.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) fn new(stream: S, compression: BlockCompression) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | DataBlocksWriter { [INFO] [stdout] 74 | state: BlockState::Wait(stream), [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `theory` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f2a7d3ea9c4f6c40f4c71dadbbb8ec1b85ce1f093833d346ef85ac2789c7a4bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a7d3ea9c4f6c40f4c71dadbbb8ec1b85ce1f093833d346ef85ac2789c7a4bb", kill_on_drop: false }` [INFO] [stdout] f2a7d3ea9c4f6c40f4c71dadbbb8ec1b85ce1f093833d346ef85ac2789c7a4bb