[INFO] fetching crate subtext 0.3.5... [INFO] checking subtext-0.3.5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate subtext 0.3.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate subtext 0.3.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 subtext 0.3.5 [INFO] finished tweaking crates.io crate subtext 0.3.5 [INFO] tweaked toml for crates.io crate subtext 0.3.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate subtext 0.3.5 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 764c81a730980816564482b43fa934a0663d9d7fccce12ed49fa730f4257da72 [INFO] running `Command { std: "docker" "start" "-a" "764c81a730980816564482b43fa934a0663d9d7fccce12ed49fa730f4257da72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "764c81a730980816564482b43fa934a0663d9d7fccce12ed49fa730f4257da72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764c81a730980816564482b43fa934a0663d9d7fccce12ed49fa730f4257da72", kill_on_drop: false }` [INFO] [stdout] 764c81a730980816564482b43fa934a0663d9d7fccce12ed49fa730f4257da72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cefa2c68c03a1ec952f0db1a6fc20c21e4c54ada97f23be3364849b4b830b7c5 [INFO] running `Command { std: "docker" "start" "-a" "cefa2c68c03a1ec952f0db1a6fc20c21e4c54ada97f23be3364849b4b830b7c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking subtext v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.33 [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/block.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 85 | input: SharedString, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 155 | | Block::Blank(Entity::EmptySpace(input.subtendril(0, length as u32)).into()), [INFO] [stdout] 156 | | length + 1, [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] = 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/parse.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | let input = SharedString::try_from_byte_slice(input) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | .map_err(|_| anyhow!("Could not interpret bytes as UTF-8"))?; [INFO] [stdout] 16 | Ok(SubtextIterator::new(input)) [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] | [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/primitive.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn parse_empty_space(input: SharedString) -> Result<(Entity, usize), SubtendrilError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | Entity::EmptySpace(input.try_subtendril(0, end as u32)?), [INFO] [stdout] 70 | | end, [INFO] [stdout] 71 | | )) [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/primitive.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn parse_slash_link(input: SharedString) -> Result<(Entity, usize), SubtendrilError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | match parse_until(input, white_space_predicate()) { [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/primitive.rs:107:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn parse_hyper_link(input: SharedString) -> Result<(Entity, usize), SubtendrilError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | match parse_until(input, white_space_predicate()) { [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/primitive.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn parse_wiki_link(input: SharedString) -> Result<(Entity, usize), SubtendrilError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | match parse_until(input, wiki_link_delimiter_predicate()) { [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/primitive.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn parse_text(input: SharedString) -> Result<(Vec, usize), SubtendrilError> [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let mut entities = Vec::::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | [INFO] [stdout] 155 | let mut is_link = link_predicate(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 235 | Ok((entities, end)) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `subtext` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cefa2c68c03a1ec952f0db1a6fc20c21e4c54ada97f23be3364849b4b830b7c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefa2c68c03a1ec952f0db1a6fc20c21e4c54ada97f23be3364849b4b830b7c5", kill_on_drop: false }` [INFO] [stdout] cefa2c68c03a1ec952f0db1a6fc20c21e4c54ada97f23be3364849b4b830b7c5