Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump the firecracker group with 8 updates #4093

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 7, 2023

Bumps the firecracker group with 8 updates:

Package From To
clap 4.4.1 4.4.2
thiserror 1.0.47 1.0.48
regex 1.9.4 1.9.5
userfaultfd 0.6.0 0.6.1
aws-lc-rs 1.2.1 1.3.0
memchr 2.6.1 2.6.3
shlex 1.1.0 1.2.0
walkdir 2.3.3 2.4.0

Updates clap from 4.4.1 to 4.4.2

Release notes

Sourced from clap's releases.

v4.4.2

[4.4.2] - 2023-08-31

Performance

  • Improve build times by removing once_cell dependency
Changelog

Sourced from clap's changelog.

[4.4.2] - 2023-08-31

Performance

  • Improve build times by removing once_cell dependency
Commits

Updates thiserror from 1.0.47 to 1.0.48

Release notes

Sourced from thiserror's releases.

1.0.48

  • Improve implementation of displaying Path values in a generated Display impl (#251, thanks @​mina86)
Commits
  • 5c5f342 Release 1.0.48
  • 490f0ca Merge pull request #254 from dtolnay/gatlink
  • 1a5dbc7 Add link to GAT PR
  • de58088 Ignore uninlined_format_args pedantic clippy lint in test
  • ae642d1 Format clippy allow attribute with rustfmt
  • b97fc53 Remove doc_markdown suppression because clippy bug was fixed
  • 140eb03 Ignore needless_lifetimes clippy lint
  • 1f5cbd7 Ignore manual_let_else pedantic clippy lint
  • 080cac5 Ignore uninlined_format_args pedantic clippy lint
  • 134695a Merge pull request #252 from dtolnay/safedisplay
  • Additional commits viewable in compare view

Updates regex from 1.9.4 to 1.9.5

Changelog

Sourced from regex's changelog.

1.9.5 (2023-09-02)

This is a patch release that hopefully mostly fixes a performance bug that occurs when sharing a regex across multiple threads.

Issue #934 explains this in more detail. It is also noted in the crate documentation. The bug can appear when sharing a regex across multiple threads simultaneously, as might be the case when using a regex from a OnceLock, lazy_static or similar primitive. Usually high contention only results when using many threads to execute searches on small haystacks.

One can avoid the contention problem entirely through one of two methods. The first is to use lower level APIs from regex-automata that require passing state explicitly, such as meta::Regex::search_with. The second is to clone a regex and send it to other threads explicitly. This will not use any additional memory usage compared to sharing the regex. The only downside of this approach is that it may be less convenient, for example, it won't work with things like OnceLock or lazy_static or once_cell.

With that said, as of this release, the contention performance problems have been greatly reduced. This was achieved by changing the free-list so that it was sharded across threads, and that ensuring each sharded mutex occupies a single cache line to mitigate false sharing. So while contention may still impact performance in some cases, it should be a lot better now.

Because of the changes to how the free-list works, please report any issues you find with this release. That not only includes search time regressions but also significant regressions in memory usage. Reporting improvements is also welcome as well! If possible, provide a reproduction.

Bug fixes:

  • [BUG #934](rust-lang/regex#934): Fix a performance bug where high contention on a single regex led to massive slow downs.
Commits

Updates userfaultfd from 0.6.0 to 0.6.1

Release notes

Sourced from userfaultfd's releases.

0.2.0 crates.io release

  • Removed the compile-time Linux version check, and replaced it with a Cargo feature.

    The Linux version check was overly restrictive, even on systems that did have the right kernel version installed but had older headers in /usr/include/linux. Beyond that, this check made it more difficult to compile on a different host than what's targeted.

    There is now a linux4_14 feature flag on userfaultfd-sys, which turns on and tests the extra constants available in that version. Since userfaultfd did not make use of any of those newer features, it doesn't have a feature flag yet.

    Applications should take care when initializing with UffdBuilder to specify the features and ioctls they require, so that an unsupported version will be detected at runtime.

0.1.0 crates.io release

0.1.0 (2020-04-07)

  • Initial public release of userfaultfd-rs.
Commits

Updates aws-lc-rs from 1.2.1 to 1.3.0

Release notes

Sourced from aws-lc-rs's releases.

v1.3.0

Major Changes

Other Changes

New Contributors

Full Changelog: aws/aws-lc-rs@v1.2.1...v1.3.0

Commits

Updates memchr from 2.6.1 to 2.6.3

Commits
  • f6188db 2.6.3
  • d5baf50 arch/all/count: remove SWAR implementation of byte counting
  • e1f72c6 msrv: bump to Rust 1.61
  • 1b72c5f ci: remove the build matrix
  • d408475 2.6.2
  • 79f7bb8 fuzz: remove Cargo.lock from source control
  • a12d405 api: make the memchr iterators implement Send/Sync
  • 3a570a9 benchmarks: update memchr version, redux
  • 7732055 benchmarks: update memchr version
  • See full diff in compare view

Updates shlex from 1.1.0 to 1.2.0

Changelog

Sourced from shlex's changelog.

1.2.0

  • Adds bytes module to support operating directly on byte strings.
Commits

Updates walkdir from 2.3.3 to 2.4.0

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the firecracker group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.4.1` | `4.4.2` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.47` | `1.0.48` |
| [regex](https://github.com/rust-lang/regex) | `1.9.4` | `1.9.5` |
| [userfaultfd](https://github.com/bytecodealliance/userfaultfd-rs) | `0.6.0` | `0.6.1` |
| [aws-lc-rs](https://github.com/awslabs/aws-lc-rs) | `1.2.1` | `1.3.0` |
| [memchr](https://github.com/BurntSushi/memchr) | `2.6.1` | `2.6.3` |
| [shlex](https://github.com/comex/rust-shlex) | `1.1.0` | `1.2.0` |
| [walkdir](https://github.com/BurntSushi/walkdir) | `2.3.3` | `2.4.0` |


Updates `clap` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.4.1...v4.4.2)

Updates `thiserror` from 1.0.47 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.47...1.0.48)

Updates `regex` from 1.9.4 to 1.9.5
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.9.4...1.9.5)

Updates `userfaultfd` from 0.6.0 to 0.6.1
- [Release notes](https://github.com/bytecodealliance/userfaultfd-rs/releases)
- [Changelog](https://github.com/bytecodealliance/userfaultfd-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bytecodealliance/userfaultfd-rs/commits)

Updates `aws-lc-rs` from 1.2.1 to 1.3.0
- [Release notes](https://github.com/awslabs/aws-lc-rs/releases)
- [Commits](aws/aws-lc-rs@v1.2.1...v1.3.0)

Updates `memchr` from 2.6.1 to 2.6.3
- [Commits](BurntSushi/memchr@2.6.1...2.6.3)

Updates `shlex` from 1.1.0 to 1.2.0
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

Updates `walkdir` from 2.3.3 to 2.4.0
- [Commits](BurntSushi/walkdir@2.3.3...2.4.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: firecracker
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: firecracker
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: firecracker
- dependency-name: userfaultfd
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: firecracker
- dependency-name: aws-lc-rs
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: firecracker
- dependency-name: memchr
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: firecracker
- dependency-name: shlex
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: firecracker
- dependency-name: walkdir
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: firecracker
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Sep 7, 2023
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e9242a9) 82.35% compared to head (014187f) 82.35%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4093   +/-   ##
=======================================
  Coverage   82.35%   82.35%           
=======================================
  Files         225      225           
  Lines       28469    28469           
=======================================
  Hits        23447    23447           
  Misses       5022     5022           
Flag Coverage Δ
4.14-c7g.metal 77.78% <ø> (+<0.01%) ⬆️
4.14-m5d.metal 79.66% <ø> (-0.02%) ⬇️
4.14-m6a.metal 78.78% <ø> (ø)
4.14-m6g.metal 77.78% <ø> (ø)
4.14-m6i.metal 79.65% <ø> (ø)
5.10-c7g.metal 80.69% <ø> (ø)
5.10-m5d.metal 82.33% <ø> (ø)
5.10-m6a.metal 81.55% <ø> (ø)
5.10-m6g.metal 80.69% <ø> (ø)
5.10-m6i.metal 82.33% <ø> (+<0.01%) ⬆️
6.1-c7g.metal 80.69% <ø> (ø)
6.1-m5d.metal 82.34% <ø> (ø)
6.1-m6a.metal 81.55% <ø> (ø)
6.1-m6g.metal 80.69% <ø> (ø)
6.1-m6i.metal 82.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roypat roypat merged commit a2fab75 into main Sep 11, 2023
@dependabot dependabot bot deleted the dependabot/cargo/firecracker-eeb1651458 branch September 11, 2023 11:02
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.

2 participants