[INFO] fetching crate wasmer-wit-component 0.1.1... [INFO] checking wasmer-wit-component-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmer-wit-component 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasmer-wit-component 0.1.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 wasmer-wit-component 0.1.1 [INFO] finished tweaking crates.io crate wasmer-wit-component 0.1.1 [INFO] tweaked toml for crates.io crate wasmer-wit-component 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate wasmer-wit-component 0.1.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 768f595124e58e3d7bf3a7217d697fc1d8a72ee5a477bbdb664e7a45443cd8bd [INFO] running `Command { std: "docker" "start" "-a" "768f595124e58e3d7bf3a7217d697fc1d8a72ee5a477bbdb664e7a45443cd8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768f595124e58e3d7bf3a7217d697fc1d8a72ee5a477bbdb664e7a45443cd8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768f595124e58e3d7bf3a7217d697fc1d8a72ee5a477bbdb664e7a45443cd8bd", kill_on_drop: false }` [INFO] [stdout] 768f595124e58e3d7bf3a7217d697fc1d8a72ee5a477bbdb664e7a45443cd8bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4cd4e6cc2f70439fce0c5a03b306015124b5cf521b370b7de3796c9f7ffd46c5 [INFO] running `Command { std: "docker" "start" "-a" "4cd4e6cc2f70439fce0c5a03b306015124b5cf521b370b7de3796c9f7ffd46c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking wasm-encoder v0.16.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking unicode-xid v0.2.3 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking wast v46.0.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking wasmparser v0.86.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking wasm-encoder v0.13.0 [INFO] [stderr] Checking wasmparser v0.89.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking wasmer-wit-parser v0.1.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking wasmprinter v0.2.39 [INFO] [stderr] Checking wat v1.0.48 [INFO] [stderr] Checking clap v3.2.21 [INFO] [stderr] Checking wasmer-wit-component v0.1.1 (/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/cli.rs:46:81 [INFO] [stdout] | [INFO] [stdout] 46 | #[clap(long = "import", value_name = "NAME=INTERFACE", parse(try_from_str = parse_named_interface))] [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/cli.rs:50:81 [INFO] [stdout] | [INFO] [stdout] 50 | #[clap(long = "export", value_name = "NAME=INTERFACE", parse(try_from_str = parse_named_interface))] [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/cli.rs:58:78 [INFO] [stdout] | [INFO] [stdout] 58 | #[clap(long, short = 'i', value_name = "INTERFACE", parse(try_from_str = parse_unnamed_interface))] [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/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub encoding: Option, [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/validation.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 69 | let imports: IndexMap<&str, &Interface> = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | imports.iter().map(|i| (i.name.as_str(), i)).collect(); [INFO] [stdout] 71 | let exports: IndexMap<&str, &Interface> = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut validator = Validator::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let mut types = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut import_funcs = IndexMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let mut export_funcs = IndexMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let types = types.unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | import_funcs.keys().cloned().collect(), [INFO] [stdout] 169 | | has_memory, [INFO] [stdout] 170 | | has_realloc, [INFO] [stdout] 171 | | )) [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 `wasmer-wit-component` (lib) due to 6 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/cli.rs:46:81 [INFO] [stdout] | [INFO] [stdout] 46 | #[clap(long = "import", value_name = "NAME=INTERFACE", parse(try_from_str = parse_named_interface))] [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/cli.rs:50:81 [INFO] [stdout] | [INFO] [stdout] 50 | #[clap(long = "export", value_name = "NAME=INTERFACE", parse(try_from_str = parse_named_interface))] [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/cli.rs:58:78 [INFO] [stdout] | [INFO] [stdout] 58 | #[clap(long, short = 'i', value_name = "INTERFACE", parse(try_from_str = parse_unnamed_interface))] [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/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub encoding: Option, [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/validation.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 69 | let imports: IndexMap<&str, &Interface> = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | imports.iter().map(|i| (i.name.as_str(), i)).collect(); [INFO] [stdout] 71 | let exports: IndexMap<&str, &Interface> = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | let mut validator = Validator::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let mut types = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let mut import_funcs = IndexMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let mut export_funcs = IndexMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let types = types.unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | import_funcs.keys().cloned().collect(), [INFO] [stdout] 169 | | has_memory, [INFO] [stdout] 170 | | has_realloc, [INFO] [stdout] 171 | | )) [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 `wasmer-wit-component` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "4cd4e6cc2f70439fce0c5a03b306015124b5cf521b370b7de3796c9f7ffd46c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd4e6cc2f70439fce0c5a03b306015124b5cf521b370b7de3796c9f7ffd46c5", kill_on_drop: false }` [INFO] [stdout] 4cd4e6cc2f70439fce0c5a03b306015124b5cf521b370b7de3796c9f7ffd46c5