[INFO] fetching crate fmi 0.4.0... [INFO] checking fmi-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate fmi 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate fmi 0.4.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 fmi 0.4.0 [INFO] finished tweaking crates.io crate fmi 0.4.0 [INFO] tweaked toml for crates.io crate fmi 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 179 packages to latest compatible versions [INFO] [stderr] Adding arrow v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-arith v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-array v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-buffer v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-cast v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-csv v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-data v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-ipc v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-json v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-ord v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-row v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-schema v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-select v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding arrow-string v50.0.0 (latest: v52.2.0) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bindgen v0.69.4 (latest: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding constant_time_eq v0.1.5 (latest: v0.3.1) [INFO] [stderr] Adding flatbuffers v23.5.26 (latest: v24.3.25) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding password-hash v0.4.2 (latest: v0.5.0) [INFO] [stderr] Adding pbkdf2 v0.11.0 (latest: v0.12.2) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding yaserde v0.9.2 (latest: v0.11.0) [INFO] [stderr] Adding yaserde_derive v0.9.2 (latest: v0.11.0) [INFO] [stderr] Adding zip v0.6.6 (latest: v2.2.0) [INFO] [stderr] Adding zstd v0.11.2+zstd.1.5.2 (latest: v0.13.2) [INFO] [stderr] Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.1) [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 `fmi-schema` dependency) [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] b4079f46396ba1c00920f6b01c057744efb0c0ca1c664eccca938e0fc47bc30b [INFO] running `Command { std: "docker" "start" "-a" "b4079f46396ba1c00920f6b01c057744efb0c0ca1c664eccca938e0fc47bc30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4079f46396ba1c00920f6b01c057744efb0c0ca1c664eccca938e0fc47bc30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4079f46396ba1c00920f6b01c057744efb0c0ca1c664eccca938e0fc47bc30b", kill_on_drop: false }` [INFO] [stdout] b4079f46396ba1c00920f6b01c057744efb0c0ca1c664eccca938e0fc47bc30b [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] dc09261d6d3988f30ad0733173117db9a8dec1e24a67a975e452890caf5458af [INFO] running `Command { std: "docker" "start" "-a" "dc09261d6d3988f30ad0733173117db9a8dec1e24a67a975e452890caf5458af", 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 `fmi-schema` dependency) [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking arrow-schema v50.0.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Checking arrow-buffer v50.0.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking arrow-data v50.0.0 [INFO] [stderr] Checking arrow-array v50.0.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking arrow-select v50.0.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking arrow-cast v50.0.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking arrow-ord v50.0.0 [INFO] [stderr] Checking arrow-string v50.0.0 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking arrow-row v50.0.0 [INFO] [stderr] Checking arrow-arith v50.0.0 [INFO] [stderr] Checking arrow-ipc v50.0.0 [INFO] [stderr] Checking arrow-csv v50.0.0 [INFO] [stderr] Checking arrow-json v50.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking arrow v50.0.0 [INFO] [stderr] Compiling fmi v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking yaserde v0.9.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling yaserde_derive v0.9.2 [INFO] [stderr] Compiling fmi-sys v0.1.1 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking fmi-schema v0.2.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi2/instance/common.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi2/instance/traits.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi3/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi3/import.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/common.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/traits.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/traits.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi2/instance/common.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi2/instance/traits.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi3/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `disabled` [INFO] [stdout] --> src/fmi3/import.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | #[cfg(feature = "disabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `arrow`, `default`, `fmi2`, `fmi3`, and `libc` [INFO] [stdout] = help: consider adding `disabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/common.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 253 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/traits.rs:121:11 [INFO] [stdout] | [INFO] [stdout] 121 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `disabled` [INFO] [stdout] --> src/fmi3/instance/traits.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(disabled)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(disabled)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(disabled)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [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/fmi2/import.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(dir: tempfile::TempDir, schema_xml: &str) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let schema = schema::Fmi2ModelDescription::from_str(schema_xml)?; [INFO] [stdout] 27 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | dir, [INFO] [stdout] 29 | | model_description: schema, [INFO] [stdout] 30 | | }) [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/fmi2/instance/co_simulation.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 26 | let binding = import.binding(&co_simulation.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | let callbacks = Box::::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let instance_name = CString::new(instance_name).expect("Error building CString"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let guid = CString::new(schema.guid.as_bytes()).expect("Error building CString"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let resource_url = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | binding, [INFO] [stdout] 57 | | component, [INFO] [stdout] 58 | | model_description: schema, [INFO] [stdout] ... | [INFO] [stdout] 62 | | _tag: std::marker::PhantomData, [INFO] [stdout] 63 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi2/instance/common.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|c| std::ffi::CString::new(*c).expect("Error building CString")) [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/fmi2/instance/common.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|s| std::ffi::CString::new(s.as_bytes()).expect("Error building CString")) [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/fmi2/instance/model_exchange.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 25 | let binding = import.binding(&model_exchange.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let callbacks = Box::::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let instance_name = CString::new(instance_name).expect("Error building CString"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let guid = CString::new(schema.guid.as_bytes()).expect("Error building CString"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let resource_url = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | binding, [INFO] [stdout] 56 | | component, [INFO] [stdout] 57 | | model_description: schema, [INFO] [stdout] ... | [INFO] [stdout] 61 | | _tag: std::marker::PhantomData, [INFO] [stdout] 62 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/import.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(dir: TempDir, schema_xml: &str) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let model_description = schema::Fmi3ModelDescription::from_str(schema_xml)?; [INFO] [stdout] 32 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | dir, [INFO] [stdout] 34 | | model_description, [INFO] [stdout] 35 | | }) [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/fmi3/instance/mod.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | .map(|cat| std::ffi::CString::new(cat.as_bytes()).expect("Error building CString")) [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/fmi3/instance/co_simulation.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 77 | let binding = import.binding(&co_simulation.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let instantiation_token = CString::new(model_description.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | .expect("Invalid instantiation token"); [INFO] [stdout] 82 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | binding, [INFO] [stdout] 113 | | ptr: instance, [INFO] [stdout] 114 | | model_description, [INFO] [stdout] 115 | | name, [INFO] [stdout] 116 | | _tag: std::marker::PhantomData, [INFO] [stdout] 117 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/instance/common.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|cat| std::ffi::CString::new(cat.as_bytes()).expect("Error building CString")) [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/fmi3/instance/common.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|s| std::ffi::CString::new(s.as_bytes()).expect("Error building CString")) [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/fmi3/instance/model_exchange.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 32 | let binding = import.binding(&model_exchange.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let instantiation_token = CString::new(schema.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | .expect("Invalid instantiation token"); [INFO] [stdout] 37 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 57 | | binding, [INFO] [stdout] 58 | | ptr: instance, [INFO] [stdout] 59 | | model_description: schema, [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | _tag: std::marker::PhantomData, [INFO] [stdout] 62 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/instance/scheduled_execution.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | let binding = import.binding(&scheduled_execution.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let instantiation_token = CString::new(schema.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | .expect("Invalid instantiation token"); [INFO] [stdout] 47 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | binding, [INFO] [stdout] 71 | | ptr: instance, [INFO] [stdout] 72 | | model_description: schema, [INFO] [stdout] 73 | | name, [INFO] [stdout] 74 | | _tag: std::marker::PhantomData, [INFO] [stdout] 75 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 12 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fmi` (lib test) due to 13 previous errors; 7 warnings emitted [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/fmi2/import.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(dir: tempfile::TempDir, schema_xml: &str) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let schema = schema::Fmi2ModelDescription::from_str(schema_xml)?; [INFO] [stdout] 27 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 28 | | dir, [INFO] [stdout] 29 | | model_description: schema, [INFO] [stdout] 30 | | }) [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/fmi2/instance/co_simulation.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 26 | let binding = import.binding(&co_simulation.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | [INFO] [stdout] 28 | let callbacks = Box::::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | let instance_name = CString::new(instance_name).expect("Error building CString"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let guid = CString::new(schema.guid.as_bytes()).expect("Error building CString"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let resource_url = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | binding, [INFO] [stdout] 57 | | component, [INFO] [stdout] 58 | | model_description: schema, [INFO] [stdout] ... | [INFO] [stdout] 62 | | _tag: std::marker::PhantomData, [INFO] [stdout] 63 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi2/instance/common.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | .map(|c| std::ffi::CString::new(*c).expect("Error building CString")) [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/fmi2/instance/common.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|s| std::ffi::CString::new(s.as_bytes()).expect("Error building CString")) [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/fmi2/instance/model_exchange.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 25 | let binding = import.binding(&model_exchange.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let callbacks = Box::::default(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let instance_name = CString::new(instance_name).expect("Error building CString"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | let guid = CString::new(schema.guid.as_bytes()).expect("Error building CString"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let resource_url = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | binding, [INFO] [stdout] 56 | | component, [INFO] [stdout] 57 | | model_description: schema, [INFO] [stdout] ... | [INFO] [stdout] 61 | | _tag: std::marker::PhantomData, [INFO] [stdout] 62 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/import.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(dir: TempDir, schema_xml: &str) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let model_description = schema::Fmi3ModelDescription::from_str(schema_xml)?; [INFO] [stdout] 32 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | dir, [INFO] [stdout] 34 | | model_description, [INFO] [stdout] 35 | | }) [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/fmi3/instance/mod.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | .map(|cat| std::ffi::CString::new(cat.as_bytes()).expect("Error building CString")) [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/fmi3/instance/co_simulation.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 77 | let binding = import.binding(&co_simulation.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | [INFO] [stdout] 79 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let instantiation_token = CString::new(model_description.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | .expect("Invalid instantiation token"); [INFO] [stdout] 82 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | binding, [INFO] [stdout] 113 | | ptr: instance, [INFO] [stdout] 114 | | model_description, [INFO] [stdout] 115 | | name, [INFO] [stdout] 116 | | _tag: std::marker::PhantomData, [INFO] [stdout] 117 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/instance/common.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | .map(|cat| std::ffi::CString::new(cat.as_bytes()).expect("Error building CString")) [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/fmi3/instance/common.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | .map(|s| std::ffi::CString::new(s.as_bytes()).expect("Error building CString")) [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/fmi3/instance/model_exchange.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 32 | let binding = import.binding(&model_exchange.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let instantiation_token = CString::new(schema.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | .expect("Invalid instantiation token"); [INFO] [stdout] 37 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 57 | | binding, [INFO] [stdout] 58 | | ptr: instance, [INFO] [stdout] 59 | | model_description: schema, [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | _tag: std::marker::PhantomData, [INFO] [stdout] 62 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/fmi3/instance/scheduled_execution.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | let binding = import.binding(&scheduled_execution.model_identifier)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | [INFO] [stdout] 44 | let instance_name = CString::new(instance_name).expect("Invalid instance name"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let instantiation_token = CString::new(schema.instantiation_token.as_bytes()) [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | .expect("Invalid instantiation token"); [INFO] [stdout] 47 | let resource_path = [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | binding, [INFO] [stdout] 71 | | ptr: instance, [INFO] [stdout] 72 | | model_description: schema, [INFO] [stdout] 73 | | name, [INFO] [stdout] 74 | | _tag: std::marker::PhantomData, [INFO] [stdout] 75 | | }) [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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 12 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fmi` (lib) due to 13 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc09261d6d3988f30ad0733173117db9a8dec1e24a67a975e452890caf5458af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc09261d6d3988f30ad0733173117db9a8dec1e24a67a975e452890caf5458af", kill_on_drop: false }` [INFO] [stdout] dc09261d6d3988f30ad0733173117db9a8dec1e24a67a975e452890caf5458af