Skip to content

build(deps): bump sysinfo from 0.39.6 to 0.40.1 - #1024

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/sysinfo-0.40.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/sysinfo-0.40.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor

Bumps sysinfo from 0.39.6 to 0.40.1.

Changelog

Sourced from sysinfo's changelog.

0.40.1

  • Add back From<X> for Vec<Y> trait implementations for Disks, Gpus, Groups and Users.
  • Windows: System::load_average now returns Err(Error::Unsupported).

0.40.0

  • Add new gpu feature.
  • Add new Process::gpu_usage and Process::gpu_memory API.
  • Add new GPUs API.
  • Add new NetworkData::transmit_link_speed and NetworkData::receive_link_speed API.
  • Add new Disk::id API.
  • Remove IS_SUPPORTED_SYSTEM constant.
  • Remove set_open_files_limit API.
  • Remove list[_mut] methods for Users, Components and Disks.
  • Remove Networks::list method.
  • Remove From trait implementations for Users, Groups and Disks.
  • Fix Networks refresh.
  • Networks interface names have been switched from String to OsString.
  • Unix: Fix not thread-safe code in Groups.
  • Unix: Fix potential crash when a user's group cannot be retrieved.
  • Linux: Correctly mark a process as existing after update.
  • Linux: Fix cgroup memory information retrieval.
  • Linux: Multiple performance optimizations and memory usage reduction.
  • Linux: Fixes for thermal zone temperatures.
  • Linux: Keep Component max temperature across refreshes.
  • Android: Fall back to /proc/cpuinfo when /proc/stat is unreadable.
  • Raspberry Pi: Fix toolchain package name in README.
  • FreeBSD/NetBSD: Fix System::free_memory and System::available_memory.
  • FreeBSD: Correctly query sysctl values.
  • FreeBSD: Fix swap memory information retrieval.
  • NetBSD: Fix Process::accumulated_cpu_time unit.
  • macOS: Implement System::open_files_limit.
  • macOS: Fix bug in Disks::refresh.
  • iOS: Mark Networks as unsupported.
  • iOS: Make Process::open_files return None.
  • Windows: Don't keep thread-less processes alive.
  • Windows: Fix CPU brand on ARM64.
  • Windows: Fix crash in Components::refresh.
Commits
  • 75dcd2c Merge pull request #1790 from GuillaumeGomez/update
  • 15a5e93 Update crate version to 0.40.1
  • 4f252bd Update CHANGELOG for 0.40.1
  • 4a7b9e7 Merge pull request #1789 from GuillaumeGomez/from
  • b19150a Add back From\<X<Y>> for Vec\<Y> implementations for Users, Groups and `G...
  • e27239a Windows: mark System::load_average as unsupported (#1788)
  • 70c58c7 Fix wrong supported system list for GPUs
  • 13e94d5 Windows: mark System::load_average as unsupported
  • 34677fe allow getting owned Disk from Disks (#1786)
  • 48972c4 Merge pull request #1784 from GuillaumeGomez/update
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.39.6 to 0.40.1.
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/main/CHANGELOG.md)
- [Commits](GuillaumeGomez/sysinfo@v0.39.6...v0.40.1)

---
updated-dependencies:
- dependency-name: sysinfo
  dependency-version: 0.40.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 10, 2026 15:09
@dependabot
dependabot Bot requested a review from siloteemu November 10, 2026 15:09
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor
Security scan found no critical or high findings on lines changed by this pull request

View the security scan run for complete reports.

“New” means the finding is located in a changed file on an added or modified line; it is not a base-versus-head findings delta.

@jussielo-amd jussielo-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the bump. It can't merge as-is: sysinfo 0.40 has breaking API changes and the PR changes no .rs files. Static review only; the compile error below is from the CI log, the rest I checked against the sysinfo v0.40.1 source and did not compile.

Blocking: crates/rocm-core/src/disk_space.rs:233-237 (listed_mounts) no longer compiles. In 0.40 Disks::new_with_refreshed_list_specifics returns Result<Disks, sysinfo::Error> and Disks::list() is removed. CI fails with error[E0599]: no method named 'list' found for enum Result<Disks, sysinfo::Error> at disk_space.rs:237, which breaks clippy, coverage, build-and-test and the Windows jobs. Suggested fix: let Ok(disks) = sysinfo::Disks::new_with_refreshed_list_specifics(...) else { return Vec::new(); }; then disks.iter().map(...). An empty list makes mount_for_path return None, which the callers already treat as "unknown, never block the operation".

Blocking: crates/rocm-dash-collectors/src/host.rs:24 and :41 will break next, but CI has not reached them because compilation stops at rocm-core. In 0.40.1 System::new_with_specifics returns Result<Self, Error> (so sys.refresh_cpu_all() is called on a Result), and Cpu::cpu_usage is now Cpu::usage. HostCollector::new() is infallible today, so it needs either a Result return or a fallback.

Blocking: the "Third-party notices current" check is also red. MANIFEST.md:473 and THIRD_PARTY_NOTICES.txt:11170 still list sysinfo 0.39.6. Please regenerate them (cargo xtask manifest and cargo xtask tpn) once the code compiles.

Happy to re-review once the source changes land on this branch.


🤖 by agenthub on AMD AgentHub

@jussielo-amd

Copy link
Copy Markdown
Collaborator

Superseded by #1035, which carries the same sysinfo 0.40.1 bump together with the source changes the new API requires (fallible System and Disks constructors, Disks::list() removed, Cpu::cpu_usage renamed to Cpu::usage) and the regenerated manifests. This PR could not compile on its own.

@dependabot @github

dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/sysinfo-0.40.1 branch November 11, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant