[INFO] fetching crate wasm2usharp 0.1.0... [INFO] checking wasm2usharp-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasm2usharp 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate wasm2usharp 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 wasm2usharp 0.1.0 [INFO] finished tweaking crates.io crate wasm2usharp 0.1.0 [INFO] tweaked toml for crates.io crate wasm2usharp 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate wasm2usharp 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d0b020eef49f6a4c35bde9f2c208934bcdc82dbb792e8844b58a90c20af41abd [INFO] running `Command { std: "docker" "start" "-a" "d0b020eef49f6a4c35bde9f2c208934bcdc82dbb792e8844b58a90c20af41abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b020eef49f6a4c35bde9f2c208934bcdc82dbb792e8844b58a90c20af41abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b020eef49f6a4c35bde9f2c208934bcdc82dbb792e8844b58a90c20af41abd", kill_on_drop: false }` [INFO] [stdout] d0b020eef49f6a4c35bde9f2c208934bcdc82dbb792e8844b58a90c20af41abd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5812a28b39a6540c0702285ed53eeca752dc19b94ce73c312edb582e9702b7ae [INFO] running `Command { std: "docker" "start" "-a" "5812a28b39a6540c0702285ed53eeca752dc19b94ce73c312edb582e9702b7ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking cranelift-entity v0.108.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking wasm-encoder v0.35.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking wasmparser v0.113.3 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking wast v66.0.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking wasm2usharp v0.1.0 (/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/parse.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | static RE: Lazy = Lazy::new(|| Regex::new(r"\W").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] = 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/code.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(mut self, body: FunctionBody<'_>) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(self.builder.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/parse/code.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 176 | fn push_stack(&mut self, val: PoolPrimary) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | self.blocks.last_mut().unwrap().stack.push(val) [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/parse/code.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 680 | fn wrap(&mut self, opnd: PoolPrimary, result: VarId) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | self.builder.push(Inst { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 688 | | kind: InstKind::Stmt, [INFO] [stdout] 689 | | pattern, [INFO] [stdout] 690 | | params: vec![opnd.into()], [INFO] [stdout] 691 | | result: Some(result), [INFO] [stdout] 692 | | ..Default::default() [INFO] [stdout] 693 | | }) [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/pass/copy_propagation.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(code: &'a Code, merge: Merge, gen: F1, kill: F2, in_: F3) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | br_stack: Vec::new(), [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/pass/copy_propagation.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(code: &'a Code, merge: Merge, gen: F1, kill: F2, in_: F3) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | loop_in: HashMap::new(), [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/parse.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | static RE: Lazy = Lazy::new(|| Regex::new(r"\W").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] = 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/code.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn parse(mut self, body: FunctionBody<'_>) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | Ok(self.builder.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/parse/code.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 176 | fn push_stack(&mut self, val: PoolPrimary) { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | self.blocks.last_mut().unwrap().stack.push(val) [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/parse/code.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 680 | fn wrap(&mut self, opnd: PoolPrimary, result: VarId) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | self.builder.push(Inst { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 688 | | kind: InstKind::Stmt, [INFO] [stdout] 689 | | pattern, [INFO] [stdout] 690 | | params: vec![opnd.into()], [INFO] [stdout] 691 | | result: Some(result), [INFO] [stdout] 692 | | ..Default::default() [INFO] [stdout] 693 | | }) [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/pass/copy_propagation.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(code: &'a Code, merge: Merge, gen: F1, kill: F2, in_: F3) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 192 | br_stack: Vec::new(), [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/pass/copy_propagation.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 189 | fn new(code: &'a Code, merge: Merge, gen: F1, kill: F2, in_: F3) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | loop_in: HashMap::new(), [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm2usharp` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm2usharp` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "5812a28b39a6540c0702285ed53eeca752dc19b94ce73c312edb582e9702b7ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5812a28b39a6540c0702285ed53eeca752dc19b94ce73c312edb582e9702b7ae", kill_on_drop: false }` [INFO] [stdout] 5812a28b39a6540c0702285ed53eeca752dc19b94ce73c312edb582e9702b7ae