[INFO] fetching crate cozal 0.0.2... [INFO] checking cozal-0.0.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cozal 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cozal 0.0.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cozal 0.0.2 [INFO] finished tweaking crates.io crate cozal 0.0.2 [INFO] tweaked toml for crates.io crate cozal 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding andrew v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding android_log-sys v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding approx v0.3.2 (available: v0.5.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bitmaps v2.1.0 (available: v3.2.1) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding calloop v0.4.4 (available: v0.14.1) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding cocoa v0.20.2 (available: v0.26.0) [INFO] [stderr] Adding core-foundation v0.7.0 (available: v0.10.0) [INFO] [stderr] Adding core-foundation-sys v0.7.0 (available: v0.8.7) [INFO] [stderr] Adding core-graphics v0.19.2 (available: v0.24.0) [INFO] [stderr] Adding dlib v0.4.2 (available: v0.5.2) [INFO] [stderr] Adding flume v0.7.2 (available: v0.11.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.6.7 (available: v0.8.5) [INFO] [stderr] Adding line_drawing v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding ndk v0.1.0 (available: v0.9.0) [INFO] [stderr] Adding ndk-glue v0.1.0 (available: v0.7.0) [INFO] [stderr] Adding ndk-sys v0.1.0 (available: v0.6.0+11769913) [INFO] [stderr] Adding nix v0.14.1 (available: v0.29.0) [INFO] [stderr] Adding num_enum v0.4.3 (available: v0.7.3) [INFO] [stderr] Adding num_enum_derive v0.4.3 (available: v0.7.3) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding parking_lot v0.10.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.7.3 (available: v0.9.10) [INFO] [stderr] Adding pin-project v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-internal v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding proc-macro-crate v0.1.5 (available: v3.2.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding raw-window-handle v0.3.4 (available: v0.6.2) [INFO] [stderr] Adding raw-window-handle v0.4.3 (available: v0.6.2) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] [stderr] Adding rusttype v0.8.3 (available: v0.9.3) [INFO] [stderr] Adding sized-chunks v0.6.5 (available: v0.7.0) [INFO] [stderr] Adding smithay-client-toolkit v0.6.6 (available: v0.19.2) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding wayland-client v0.23.6 (available: v0.31.6) [INFO] [stderr] Adding wayland-commons v0.23.6 (available: v0.29.5) [INFO] [stderr] Adding wayland-protocols v0.23.6 (available: v0.32.4) [INFO] [stderr] Adding wayland-scanner v0.23.6 (available: v0.31.5) [INFO] [stderr] Adding wayland-sys v0.23.6 (available: v0.31.5) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding winit v0.22.2 (available: v0.30.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96439a6a6b2d87448fcdc23ae50cf3994142dd2a3935a1193e3c04134d8afdb0 [INFO] running `Command { std: "docker" "start" "-a" "96439a6a6b2d87448fcdc23ae50cf3994142dd2a3935a1193e3c04134d8afdb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96439a6a6b2d87448fcdc23ae50cf3994142dd2a3935a1193e3c04134d8afdb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96439a6a6b2d87448fcdc23ae50cf3994142dd2a3935a1193e3c04134d8afdb0", kill_on_drop: false }` [INFO] [stdout] 96439a6a6b2d87448fcdc23ae50cf3994142dd2a3935a1193e3c04134d8afdb0 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ca8b25e09d58fd3f5b67fca99b1f321004ef7759687b37636142aa4698da2e5 [INFO] running `Command { std: "docker" "start" "-a" "5ca8b25e09d58fd3f5b67fca99b1f321004ef7759687b37636142aa4698da2e5", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking flume v0.7.2 [INFO] [stderr] Checking cozal v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: this labeled break expression is easy to confuse with an unlabeled break with a labeled value expression [INFO] [stdout] --> src/core/transposer/engine.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... break 'poll { StatefulSchedulePoll::Pending } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(break_with_label_and_loop)]` on by default [INFO] [stdout] help: wrap this expression in parentheses [INFO] [stdout] | [INFO] [stdout] 251 | break 'poll ({ StatefulSchedulePoll::Pending }) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `realtime` [INFO] [stdout] --> src/core/schedule_stream/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` to the top of the `build.rs` [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 name: `realtime` [INFO] [stdout] --> src/core/schedule_stream/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: `realtime` [INFO] [stdout] --> src/core/schedule_stream/stateful_schedule_stream_ext.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: `realtime` [INFO] [stdout] --> src/core/schedule_stream/stateful_schedule_stream_ext.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: unnecessary trailing semicolon [INFO] [stdout] --> src/core/transposer/engine.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `winit` [INFO] [stdout] --> src/utilities/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(winit)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "winit"` [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(winit)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winit)");` 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: the feature `wake_trait` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(wake_trait)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this labeled break expression is easy to confuse with an unlabeled break with a labeled value expression [INFO] [stdout] --> src/core/transposer/engine.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | ... break 'poll { StatefulSchedulePoll::Pending } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(break_with_label_and_loop)]` on by default [INFO] [stdout] help: wrap this expression in parentheses [INFO] [stdout] | [INFO] [stdout] 251 | break 'poll ({ StatefulSchedulePoll::Pending }) [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `realtime` [INFO] [stdout] --> src/core/schedule_stream/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` to the top of the `build.rs` [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 name: `realtime` [INFO] [stdout] --> src/core/schedule_stream/mod.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: `realtime` [INFO] [stdout] --> src/core/schedule_stream/stateful_schedule_stream_ext.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: `realtime` [INFO] [stdout] --> src/core/schedule_stream/stateful_schedule_stream_ext.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(realtime)] [INFO] [stdout] | ^^^^^^^^ help: found config with similar value: `feature = "realtime"` [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(realtime)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(realtime)");` 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: unnecessary trailing semicolon [INFO] [stdout] --> src/core/transposer/engine.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `winit` [INFO] [stdout] --> src/utilities/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(winit)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "winit"` [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(winit)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winit)");` 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: the feature `wake_trait` has been stable since 1.51.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(wake_trait)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/transposer/transposer_update.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_schedule(mut frame: TransposerFrame, state: Option) -> Self { [INFO] [stdout] | --------- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | if let Some(event_arc) = frame.internal.schedule.remove_min() { [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] warning: field `expire_handle` is never read [INFO] [stdout] --> src/core/transposer/internal_scheduled_event.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) struct InternalScheduledEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub expire_handle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Input(Vec, T::InputState), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Input((), T::InputState), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | Schedule(Arc>, Option), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Schedule((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time`, `inputs`, and `input_state` are never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub(super) struct ReadyResult { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 115 | pub time: T::Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | pub inputs: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 117 | pub input_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit` is never read [INFO] [stdout] --> src/core/transposer/wrapped_update_result.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WrappedUpdateResult { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub exit: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cozal` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/transposer/transposer_update.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new_schedule(mut frame: TransposerFrame, state: Option) -> Self { [INFO] [stdout] | --------- ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | if let Some(event_arc) = frame.internal.schedule.remove_min() { [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: this value of type `ReadyResult` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/transposer/test/transposer_update.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 19 | let mut update = TransposerUpdate::new_input(frame, time, inputs, state); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | let (waker, _) = DummyWaker::new(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let mut cx = Context::from_waker(&waker); [INFO] [stdout] 25 | let result = update_ref.poll(&mut cx); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | TransposerUpdatePoll::Ready(ready_result) => { [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] warning: field `expire_handle` is never read [INFO] [stdout] --> src/core/transposer/internal_scheduled_event.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub(super) struct InternalScheduledEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub expire_handle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Input(Vec, T::InputState), [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | Input((), T::InputState), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | Schedule(Arc>, Option), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Schedule((), Option), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/core/transposer/transposer_update.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub(super) struct ReadyResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 115 | pub time: T::Time, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit` is never read [INFO] [stdout] --> src/core/transposer/wrapped_update_result.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct WrappedUpdateResult { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub exit: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cozal` (lib test) due to 3 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5ca8b25e09d58fd3f5b67fca99b1f321004ef7759687b37636142aa4698da2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca8b25e09d58fd3f5b67fca99b1f321004ef7759687b37636142aa4698da2e5", kill_on_drop: false }` [INFO] [stdout] 5ca8b25e09d58fd3f5b67fca99b1f321004ef7759687b37636142aa4698da2e5