trycmd icon indicating copy to clipboard operation
trycmd copied to clipboard

chore(deps): Update Rust crate libtest-mimic to 0.8.0

Open renovate[bot] opened this issue 1 year ago • 1 comments

This PR contains the following updates:

Package Type Update Change
libtest-mimic dependencies minor 0.7.0 -> 0.8.0

Release Notes

LukasKalbertodt/libtest-mimic (libtest-mimic)

v0.8.1

Compare Source

  • Fix bug when executing trial on fewer threads than trials (thanks @​hanna-kruppe for catching this)

v0.8.0

Compare Source

  • Breaking: bump MSRV to 1.65
  • Remove threadpool dependency, getting rid of memory leaks observed when running under valgrind (thanks @​Felix-El) in #​46
  • Switch from termcolor to anstream to get rid of duplicate dependencies (thanks @​hanna-kruppe) in #​44
  • Bump dev-dependency fastrand to 2 (thanks @​alexanderkjall) in #​47
  • Fix outdated docs

Configuration

📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Nov 01 '24 02:11 renovate[bot]

Pull Request Test Coverage Report for Build 18914448766

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 51.103%

Totals Coverage Status
Change from base Build 18914423365: 0.0%
Covered Lines: 1436
Relevant Lines: 2810

💛 - Coveralls

coveralls avatar Nov 01 '24 02:11 coveralls

I just tried this locally, and cargo test --workspace passed. The logs from the failing CI runs have been cleaned up, so it’s not possible to tell what went wrong. I wonder if this would succeed now if it were re-triggered.

musicinmybrain avatar Apr 05 '25 12:04 musicinmybrain

  error[E0277]: `Sender<(Outcome, TestInfo)>` cannot be shared between threads safely
     --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/libtest-mimic-0.8.1/src/lib.rs:521:29
      |
  521 |                   scope.spawn(|| {
      |  _______________________-----_^
      | |                       |
      | |                       required by a bound introduced by this call
  522 | |                     loop {
  523 | |                         // Get next test to process from the iterator.
  524 | |                         let Some(trial) = iter.lock().unwrap().next() else {
  ...   |
  539 | |                     }
  540 | |                 });
      | |_________________^ `Sender<(Outcome, TestInfo)>` cannot be shared between threads safely
      |
      = help: the trait `Sync` is not implemented for `Sender<(Outcome, TestInfo)>`
      = note: required for `&Sender<(Outcome, TestInfo)>` to implement `Send`
  note: required because it's used within this closure
     --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/libtest-mimic-0.8.1/src/lib.rs:521:29
      |
  521 |                 scope.spawn(|| {
      |                             ^^
  note: required by a bound in `Scope::<'scope, 'env>::spawn`

epage avatar Apr 09 '25 22:04 epage

See LukasKalbertodt/libtest-mimic#49

epage avatar Apr 09 '25 22:04 epage

Makes sense – MSRV is the issue. Thanks for checking.

musicinmybrain avatar Apr 10 '25 01:04 musicinmybrain