[INFO] updating cached repository https://github.com/bendk/uniffi-bindgen-kotlin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbe63ff1b2427c4ac90f7dcc24ce6e95c007e5e8 [INFO] checking bendk/uniffi-bindgen-kotlin/bbe63ff1b2427c4ac90f7dcc24ce6e95c007e5e8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendk%2Funiffi-bindgen-kotlin" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bendk/uniffi-bindgen-kotlin 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 git repo https://github.com/bendk/uniffi-bindgen-kotlin [INFO] finished tweaking git repo https://github.com/bendk/uniffi-bindgen-kotlin [INFO] tweaked toml for git repo https://github.com/bendk/uniffi-bindgen-kotlin written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bendk/uniffi-bindgen-kotlin 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] aea95b095357936cd876991b13c0fc1d2c18815d974f5f9e916ab33e413996dc [INFO] running `Command { std: "docker" "start" "-a" "aea95b095357936cd876991b13c0fc1d2c18815d974f5f9e916ab33e413996dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aea95b095357936cd876991b13c0fc1d2c18815d974f5f9e916ab33e413996dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea95b095357936cd876991b13c0fc1d2c18815d974f5f9e916ab33e413996dc", kill_on_drop: false }` [INFO] [stdout] aea95b095357936cd876991b13c0fc1d2c18815d974f5f9e916ab33e413996dc [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] ee465f8e6f4dcdaa2b803b84358a411d5a682744da53cdbdaded87f9cdfaffd0 [INFO] running `Command { std: "docker" "start" "-a" "ee465f8e6f4dcdaa2b803b84358a411d5a682744da53cdbdaded87f9cdfaffd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling weedle v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cargo_metadata v0.13.1 [INFO] [stderr] Checking askama_shared v0.12.2 [INFO] [stderr] Checking uniffi_testing v0.1.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling askama_derive v0.11.2 [INFO] [stderr] Compiling askama v0.11.1 [INFO] [stderr] Compiling uniffi_bindgen v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Checking uniffi v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Checking uniffi-bindgen-kotlin 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/gen_kotlin/mod.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 93 | ci.iter_enum_definitions().into_iter().map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Box::new(enum_::KotlinEnum::new(inner, ci)) as Box [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/gen_kotlin/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 97 | .chain(ci.iter_function_definitions().into_iter().map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | Box::new(function::KotlinFunction::new(inner, ci)) as Box [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/gen_kotlin/mod.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 100 | .chain(ci.iter_object_definitions().into_iter().map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Box::new(object::KotlinObject::new(inner, ci)) as Box [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/gen_kotlin/mod.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 103 | .chain(ci.iter_record_definitions().into_iter().map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Box::new(record::KotlinRecord::new(inner, ci)) as Box [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/gen_kotlin/mod.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | ci.iter_error_definitions().into_iter().map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Box::new(error::KotlinError::new(inner, ci)) as Box [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/gen_kotlin/mod.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 114 | .map(|inner| { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Box::new(callback_interface::KotlinCallbackInterface::new(inner, ci)) [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/gen_kotlin/mod.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 119 | .chain(ci.iter_custom_types().into_iter().map(|(name, type_)| { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let config = self.config.custom_types.get(&name).cloned(); [INFO] [stdout] 121 | Box::new(custom::KotlinCustomType::new(name, type_, config)) as Box [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/gen_kotlin/mod.rs:143:41 [INFO] [stdout] | [INFO] [stdout] 143 | .filter_map(|type_| oracle.find(&type_).helper_code(oracle)), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/gen_kotlin/mod.rs:159:41 [INFO] [stdout] | [INFO] [stdout] 159 | .filter_map(|type_| oracle.find(&type_).imports(oracle)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/gen_kotlin/custom.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(name: String, builtin: Type, config: Option) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | Self { [INFO] [stdout] 68 | outer: Type::Custom { [INFO] [stdout] | ____________________^ [INFO] [stdout] 69 | | name: name.clone(), [INFO] [stdout] 70 | | builtin: builtin.clone().into(), [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi-bindgen-kotlin` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ee465f8e6f4dcdaa2b803b84358a411d5a682744da53cdbdaded87f9cdfaffd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee465f8e6f4dcdaa2b803b84358a411d5a682744da53cdbdaded87f9cdfaffd0", kill_on_drop: false }` [INFO] [stdout] ee465f8e6f4dcdaa2b803b84358a411d5a682744da53cdbdaded87f9cdfaffd0