[INFO] fetching crate lipsum 0.9.1... [INFO] checking lipsum-0.9.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate lipsum 0.9.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lipsum 0.9.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 lipsum 0.9.1 [INFO] finished tweaking crates.io crate lipsum 0.9.1 [INFO] tweaked toml for crates.io crate lipsum 0.9.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate lipsum 0.9.1 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] b741fda73f35378be8b149fe5fc541cbd65293227784b9e9e9b490408b5efad1 [INFO] running `Command { std: "docker" "start" "-a" "b741fda73f35378be8b149fe5fc541cbd65293227784b9e9e9b490408b5efad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b741fda73f35378be8b149fe5fc541cbd65293227784b9e9e9b490408b5efad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b741fda73f35378be8b149fe5fc541cbd65293227784b9e9e9b490408b5efad1", kill_on_drop: false }` [INFO] [stdout] b741fda73f35378be8b149fe5fc541cbd65293227784b9e9e9b490408b5efad1 [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] 05dcf93f5c2c4123649c838a24a66493bfd4cd056da11be3bd35d4b9272324f3 [INFO] running `Command { std: "docker" "start" "-a" "05dcf93f5c2c4123649c838a24a66493bfd4cd056da11be3bd35d4b9272324f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking syn v2.0.52 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking lipsum v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking url v2.5.0 [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:189:20 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn generate_with_rng(&self, rng: R, n: usize) -> String { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | join_words(self.iter_with_rng(rng).take(n)) [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:234:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn generate_with_rng_from(&self, rng: R, n: usize, from: Bigram<'a>) -> String { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | join_words(self.iter_with_rng_from(rng, from).take(n)) [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:458:28 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn lipsum_with_rng(rng: impl Rng, n: usize) -> String { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 458 | LOREM_IPSUM_CHAIN.with(|chain| chain.generate_with_rng_from(rng, n, ("Lorem", "ipsum"))) [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:499:28 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn lipsum_words_with_rng(rng: impl Rng, n: usize) -> String { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | LOREM_IPSUM_CHAIN.with(|chain| chain.generate_with_rng(rng, n)) [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:558:28 [INFO] [stdout] | [INFO] [stdout] 557 | pub fn lipsum_title_with_rng(mut rng: impl Rng) -> String { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 558 | LOREM_IPSUM_CHAIN.with(|chain| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 559 | | let n = rng.gen_range(TITLE_MIN_WORDS..TITLE_MAX_WORDS); [INFO] [stdout] 560 | | // The average word length with our corpus is 7.6 bytes so [INFO] [stdout] 561 | | // this capacity will avoid most allocations. [INFO] [stdout] ... | [INFO] [stdout] 582 | | title [INFO] [stdout] 583 | | }) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lipsum` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "05dcf93f5c2c4123649c838a24a66493bfd4cd056da11be3bd35d4b9272324f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05dcf93f5c2c4123649c838a24a66493bfd4cd056da11be3bd35d4b9272324f3", kill_on_drop: false }` [INFO] [stdout] 05dcf93f5c2c4123649c838a24a66493bfd4cd056da11be3bd35d4b9272324f3