trycmd
trycmd copied to clipboard
chore(deps): Update Rust crate libtest-mimic to 0.8.0
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
- Fix bug when executing trial on fewer threads than trials (thanks @hanna-kruppe for catching this)
v0.8.0
- Breaking: bump MSRV to 1.65
- Remove
threadpooldependency, getting rid of memory leaks observed when running under valgrind (thanks @Felix-El) in #46 - Switch from
termcolortoanstreamto get rid of duplicate dependencies (thanks @hanna-kruppe) in #44 - Bump dev-dependency
fastrandto2(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.
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 | |
|---|---|
| Change from base Build 18914423365: | 0.0% |
| Covered Lines: | 1436 |
| Relevant Lines: | 2810 |
💛 - 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.
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`
See LukasKalbertodt/libtest-mimic#49
Makes sense – MSRV is the issue. Thanks for checking.