[INFO] fetching crate amdgpu_top_gui 0.9.2... [INFO] checking amdgpu_top_gui-0.9.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate amdgpu_top_gui 0.9.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate amdgpu_top_gui 0.9.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate amdgpu_top_gui 0.9.2 [INFO] finished tweaking crates.io crate amdgpu_top_gui 0.9.2 [INFO] tweaked toml for crates.io crate amdgpu_top_gui 0.9.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 327 packages to latest compatible versions [INFO] [stderr] Adding accesskit v0.12.3 (available: v0.16.1) [INFO] [stderr] Adding android-activity v0.5.2 (available: v0.6.0) [INFO] [stderr] Adding ash v0.37.3+1.3.251 (available: v0.38.0+1.3.281) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block2 v0.3.0 (available: v0.5.1) [INFO] [stderr] Adding calloop v0.12.4 (available: v0.14.1) [INFO] [stderr] Adding calloop v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding calloop-wayland-source v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding calloop-wayland-source v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding cfg_aliases v0.1.1 (available: v0.2.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding fluent-langneg v0.13.0 (available: v0.14.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding gethostname v0.4.3 (available: v0.5.0) [INFO] [stderr] Adding glow v0.13.1 (available: v0.14.1) [INFO] [stderr] Adding glutin v0.31.3 (available: v0.32.1) [INFO] [stderr] Adding glutin-winit v0.4.2 (available: v0.5.0) [INFO] [stderr] Adding glutin_egl_sys v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding glutin_glx_sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding glutin_wgl_sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding gpu-allocator v0.25.0 (available: v0.27.0) [INFO] [stderr] Adding i18n-embed v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding i18n-embed-fl v0.7.0 (available: v0.9.1) [INFO] [stderr] Adding icrate v0.0.4 (available: v0.1.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding jni-sys v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.5) [INFO] [stderr] Adding libredox v0.0.2 (available: v0.1.3) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding metal v0.28.0 (available: v0.29.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding naga v0.20.0 (available: v22.1.0) [INFO] [stderr] Adding ndk v0.8.0 (available: v0.9.0) [INFO] [stderr] Adding ndk-sys v0.5.0+25.2.9519653 (available: v0.6.0+11769913) [INFO] [stderr] Adding objc2 v0.4.1 (available: v0.5.2) [INFO] [stderr] Adding objc2-encode v3.0.0 (available: v4.0.3) [INFO] [stderr] Adding raw-window-handle v0.5.2 (available: v0.6.2) [INFO] [stderr] Adding redox_syscall v0.3.5 (available: v0.5.6) [INFO] [stderr] Adding redox_syscall v0.4.1 (available: v0.5.6) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding self_cell v0.10.3 (available: v1.0.4) [INFO] [stderr] Adding smithay-client-toolkit v0.18.1 (available: v0.19.2) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wayland-protocols v0.31.2 (available: v0.32.4) [INFO] [stderr] Adding wayland-protocols-plasma v0.2.0 (available: v0.3.4) [INFO] [stderr] Adding wayland-protocols-wlr v0.2.0 (available: v0.3.4) [INFO] [stderr] Adding web-time v0.2.4 (available: v1.1.0) [INFO] [stderr] Adding wgpu v0.20.1 (available: v22.1.0) [INFO] [stderr] Adding wgpu-core v0.21.1 (available: v22.1.0) [INFO] [stderr] Adding wgpu-hal v0.21.1 (available: v22.0.0) [INFO] [stderr] Adding wgpu-types v0.20.0 (available: v22.0.0) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.42.2 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winit v0.29.15 (available: v0.30.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dc596bd798d56ad3bd33598351df77c9d516b9ec024cddd55b8d9a7f6abb42e [INFO] running `Command { std: "docker" "start" "-a" "1dc596bd798d56ad3bd33598351df77c9d516b9ec024cddd55b8d9a7f6abb42e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dc596bd798d56ad3bd33598351df77c9d516b9ec024cddd55b8d9a7f6abb42e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc596bd798d56ad3bd33598351df77c9d516b9ec024cddd55b8d9a7f6abb42e", kill_on_drop: false }` [INFO] [stdout] 1dc596bd798d56ad3bd33598351df77c9d516b9ec024cddd55b8d9a7f6abb42e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fd5977a1d75a6f5dd7229e6a245898955ef6506d09576b9fba6eeef4e2f7fdf [INFO] running `Command { std: "docker" "start" "-a" "4fd5977a1d75a6f5dd7229e6a245898955ef6506d09576b9fba6eeef4e2f7fdf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling type-map v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling libdrm_amdgpu_sys v0.7.5 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking webbrowser v1.0.2 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Compiling fluent-syntax v0.11.1 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking intl-memoizer v0.5.2 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking locale_config v0.3.0 [INFO] [stderr] Checking fluent v0.16.1 [INFO] [stderr] Checking libamdgpu_top v0.9.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking emath v0.28.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking ecolor v0.28.1 [INFO] [stderr] Checking epaint v0.28.1 [INFO] [stderr] Compiling i18n-config v0.4.7 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling i18n-embed-impl v0.8.3 [INFO] [stderr] Compiling i18n-embed v0.14.1 [INFO] [stderr] Compiling i18n-embed-fl v0.7.0 [INFO] [stderr] Checking egui v0.28.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking egui_glow v0.28.1 [INFO] [stderr] Checking egui_plot v0.28.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking egui-winit v0.28.1 [INFO] [stderr] Checking eframe v0.28.1 [INFO] [stderr] Checking amdgpu_top_gui v0.9.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `amdgpu_top_gui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/localize.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/localize.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | ($message_id:literal, $($args:expr_2021),*) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | min.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1021:25 [INFO] [stdout] | [INFO] [stdout] 1021 | max.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1025:59 [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.gen, max.width) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | cur.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:355:57 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:355:77 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.gen, gpu.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.gen, system.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/localize.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | ($message_id:literal, $($args:expr),*) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | ($message_id:literal, $($args:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Ok(mut share_data) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match lock { Ok(mut share_data) => { [INFO] [stdout] 154 | share_data.clone_from(&vec_data); [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:417:20 [INFO] [stdout] | [INFO] [stdout] 417 | if let Ok(vec_data) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 417 ~ match lock { Ok(vec_data) => { [INFO] [stdout] 418 | self.buf_vec_data.clone_from(&vec_data); [INFO] [stdout] 419 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if let Ok(pcie_bw) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match lock { Ok(pcie_bw) => { [INFO] [stdout] 97 | if let (Some(sent), Some(rec), Some(mps)) = ( [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | if let (Some(sent), Some(rec), Some(mps)) = ( [INFO] [stdout] | ____________________^ [INFO] [stdout] 98 | | pcie_bw.sent, [INFO] [stdout] | | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 99 | | pcie_bw.received, [INFO] [stdout] 100 | | pcie_bw.max_payload_size, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match ( [INFO] [stdout] 98 | pcie_bw.sent, [INFO] [stdout] 99 | pcie_bw.received, [INFO] [stdout] 100 | pcie_bw.max_payload_size, [INFO] [stdout] 101 ~ ) { (Some(sent), Some(rec), Some(mps)) => { [INFO] [stdout] 102 | let sent = (sent * mps as u64) >> 20; [INFO] [stdout] 103 | let rec = (rec * mps as u64) >> 20; [INFO] [stdout] 104 | self.history.pcie_bw_history.add(secs, (sent, rec)); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(media) = self.stat.activity.media { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.stat.activity.media { Some(media) => { [INFO] [stdout] 141 | self.history.media_activity.add(secs, media); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:1129:12 [INFO] [stdout] | [INFO] [stdout] 1129 | if let Some((sent, rec)) = self.buf_data.history.pcie_bw_history.latest() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1129 ~ match self.buf_data.history.pcie_bw_history.latest() { Some((sent, rec)) => { [INFO] [stdout] 1130 | ui.label(format!("{fl_sent}: {sent:5} {mib_s}, {fl_rec}: {rec:5} {mib_s}")); [INFO] [stdout] 1131 ~ } _ => { [INFO] [stdout] 1132 | ui.label(format!("{fl_sent}: _ {mib_s}, {fl_rec}: _ {mib_s}")); [INFO] [stdout] 1133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `amdgpu_top_gui` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/localize.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/localize.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | ($message_id:literal, $($args:expr_2021),*) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | min.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1021:25 [INFO] [stdout] | [INFO] [stdout] 1021 | max.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1025:59 [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.gen, max.width) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/app.rs:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | cur.gen, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:355:57 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:355:77 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.gen, max.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.gen, gpu.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gui_device_info.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.gen, system.width)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/localize.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | ($message_id:literal, $($args:expr),*) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | ($message_id:literal, $($args:expr_2021),*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Ok(mut share_data) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 153 ~ match lock { Ok(mut share_data) => { [INFO] [stdout] 154 | share_data.clone_from(&vec_data); [INFO] [stdout] 155 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:417:20 [INFO] [stdout] | [INFO] [stdout] 417 | if let Ok(vec_data) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 417 ~ match lock { Ok(vec_data) => { [INFO] [stdout] 418 | self.buf_vec_data.clone_from(&vec_data); [INFO] [stdout] 419 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if let Ok(pcie_bw) = lock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 96 ~ match lock { Ok(pcie_bw) => { [INFO] [stdout] 97 | if let (Some(sent), Some(rec), Some(mps)) = ( [INFO] [stdout] ... [INFO] [stdout] 105 | } [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | if let (Some(sent), Some(rec), Some(mps)) = ( [INFO] [stdout] | ____________________^ [INFO] [stdout] 98 | | pcie_bw.sent, [INFO] [stdout] | | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 99 | | pcie_bw.received, [INFO] [stdout] 100 | | pcie_bw.max_payload_size, [INFO] [stdout] 101 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 97 ~ match ( [INFO] [stdout] 98 | pcie_bw.sent, [INFO] [stdout] 99 | pcie_bw.received, [INFO] [stdout] 100 | pcie_bw.max_payload_size, [INFO] [stdout] 101 ~ ) { (Some(sent), Some(rec), Some(mps)) => { [INFO] [stdout] 102 | let sent = (sent * mps as u64) >> 20; [INFO] [stdout] 103 | let rec = (rec * mps as u64) >> 20; [INFO] [stdout] 104 | self.history.pcie_bw_history.add(secs, (sent, rec)); [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(media) = self.stat.activity.media { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match self.stat.activity.media { Some(media) => { [INFO] [stdout] 141 | self.history.media_activity.add(secs, media); [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:1129:12 [INFO] [stdout] | [INFO] [stdout] 1129 | if let Some((sent, rec)) = self.buf_data.history.pcie_bw_history.latest() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/app.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1129 ~ match self.buf_data.history.pcie_bw_history.latest() { Some((sent, rec)) => { [INFO] [stdout] 1130 | ui.label(format!("{fl_sent}: {sent:5} {mib_s}, {fl_rec}: {rec:5} {mib_s}")); [INFO] [stdout] 1131 ~ } _ => { [INFO] [stdout] 1132 | ui.label(format!("{fl_sent}: _ {mib_s}, {fl_rec}: _ {mib_s}")); [INFO] [stdout] 1133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.73s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking amdgpu_top_gui v0.9.2 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | min.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1019 | min.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1019:25 [INFO] [stdout] | [INFO] [stdout] 1019 | min.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1019 | min.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1021:25 [INFO] [stdout] | [INFO] [stdout] 1021 | max.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1021 | max.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1021:25 [INFO] [stdout] | [INFO] [stdout] 1021 | max.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1021 | max.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1025:59 [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.gen, max.width) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.r#gen, max.width) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1025:59 [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.gen, max.width) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1025 | format!(" ({} Gen{}x{})", fl!("max"), max.r#gen, max.width) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | cur.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1033 | cur.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/app.rs:1033:21 [INFO] [stdout] | [INFO] [stdout] 1033 | cur.gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1033 | cur.r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:355:57 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.r#gen, min.width, max.gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:355:77 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.r#gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.r#gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.gen, gpu.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.r#gen, gpu.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.gen, system.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.r#gen, system.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:355:57 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.r#gen, min.width, max.gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:355:77 [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 355 | ui.label(format!("Gen{}x{} - Gen{}x{}", min.gen, min.width, max.r#gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.gen, max.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 359 | ui.label(format!("Gen{}x{}", max.r#gen, max.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:365:46 [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.gen, gpu.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 365 | ui.label(format!("Gen{}x{}", gpu.r#gen, gpu.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gui_device_info.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.gen, system.width)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 371 | ui.label(format!("Gen{}x{}", system.r#gen, system.width)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amdgpu_top_gui` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `amdgpu_top_gui` (lib test) due to 10 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4fd5977a1d75a6f5dd7229e6a245898955ef6506d09576b9fba6eeef4e2f7fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd5977a1d75a6f5dd7229e6a245898955ef6506d09576b9fba6eeef4e2f7fdf", kill_on_drop: false }` [INFO] [stdout] 4fd5977a1d75a6f5dd7229e6a245898955ef6506d09576b9fba6eeef4e2f7fdf