[INFO] fetching crate tealr 0.9.1... [INFO] checking tealr-0.9.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tealr 0.9.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate tealr 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 tealr 0.9.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tealr 0.9.1 [INFO] tweaked toml for crates.io crate tealr 0.9.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate tealr 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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `bstr` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mlua` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rlua` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c002cfb8eda845db7aa65f35c4b710d6a95bcab5a335f7921efe865534a65f10 [INFO] running `Command { std: "docker" "start" "-a" "c002cfb8eda845db7aa65f35c4b710d6a95bcab5a335f7921efe865534a65f10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c002cfb8eda845db7aa65f35c4b710d6a95bcab5a335f7921efe865534a65f10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c002cfb8eda845db7aa65f35c4b710d6a95bcab5a335f7921efe865534a65f10", kill_on_drop: false }` [INFO] [stdout] c002cfb8eda845db7aa65f35c4b710d6a95bcab5a335f7921efe865534a65f10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e93403f7786dcb1fbc0593698ab7545a4471d89b8506512365e692cdadb51c06 [INFO] running `Command { std: "docker" "start" "-a" "e93403f7786dcb1fbc0593698ab7545a4471d89b8506512365e692cdadb51c06", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `bstr` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `mlua` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rlua` dependency) [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling deranged v0.3.10 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling venial v0.4.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling ureq v2.9.1 [INFO] [stderr] Compiling tealr_derive v0.9.1 [INFO] [stderr] Checking tealr v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FunctionParam` [INFO] [stdout] --> src/type_representation.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FunctionParam, MapRepresentation, SingleType, ToTypename, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_type_name_life_time` [INFO] [stdout] --> src/type_representation.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! impl_type_name_life_time { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FunctionParam` [INFO] [stdout] --> src/type_representation.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FunctionParam, MapRepresentation, SingleType, ToTypename, Type}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_type_name_life_time` [INFO] [stdout] --> src/type_representation.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! impl_type_name_life_time { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NewTypeArray` is never used [INFO] [stdout] --> src/lib.rs:169:6 [INFO] [stdout] | [INFO] [stdout] 169 | type NewTypeArray = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `doc` and `instances` are never read [INFO] [stdout] --> src/export_instance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct InstanceWalker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | doc: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub(crate) instances: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_instance` and `document_instance` are never used [INFO] [stdout] --> src/export_instance.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl InstanceWalker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn add_instance(&mut self, name: Cow<'static, str>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn document_instance(&mut self, doc: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `X` is never used [INFO] [stdout] --> src/exported_function.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type X = Vec; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `V` is never used [INFO] [stdout] --> src/type_generator.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | type V = Vec; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `V` is never used [INFO] [stdout] --> src/type_walker.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type V = Vec; [INFO] [stdout] | ^ [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/type_generator.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 86 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | String::deserialize(deserializer).map(|v| v.into_bytes().into()) [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/type_generator.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(name: impl Into>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | (NameContainer::from(name.into()), A::to_typename()).into() [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/type_generator.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 330 | fn from(a: RecordGenerator) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | TypeGenerator::Record(Box::new(a)) [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 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tealr` (lib test) due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `NewTypeArray` is never used [INFO] [stdout] --> src/lib.rs:169:6 [INFO] [stdout] | [INFO] [stdout] 169 | type NewTypeArray = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `doc` and `instances` are never read [INFO] [stdout] --> src/export_instance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct InstanceWalker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | doc: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub(crate) instances: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_instance` and `document_instance` are never used [INFO] [stdout] --> src/export_instance.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl InstanceWalker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn add_instance(&mut self, name: Cow<'static, str>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn document_instance(&mut self, doc: &'static str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `X` is never used [INFO] [stdout] --> src/exported_function.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type X = Vec; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `V` is never used [INFO] [stdout] --> src/type_generator.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | type V = Vec; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `V` is never used [INFO] [stdout] --> src/type_walker.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type V = Vec; [INFO] [stdout] | ^ [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/type_generator.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 86 | fn deserialize(deserializer: D) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | String::deserialize(deserializer).map(|v| v.into_bytes().into()) [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/type_generator.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(name: impl Into>) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | (NameContainer::from(name.into()), A::to_typename()).into() [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/type_generator.rs:331:31 [INFO] [stdout] | [INFO] [stdout] 330 | fn from(a: RecordGenerator) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | TypeGenerator::Record(Box::new(a)) [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 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tealr` (lib) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e93403f7786dcb1fbc0593698ab7545a4471d89b8506512365e692cdadb51c06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93403f7786dcb1fbc0593698ab7545a4471d89b8506512365e692cdadb51c06", kill_on_drop: false }` [INFO] [stdout] e93403f7786dcb1fbc0593698ab7545a4471d89b8506512365e692cdadb51c06