7
44
Fork
You've already forked nice-plug
22

macOS: rejection warning with block dependency #47

Closed
opened 2026年06月09日 01:46:52 +02:00 by sourcebox · 4 comments
Contributor
Copy link

When building the examples, e.g. cargo xtask bundle gain_egui --release a warning is shown for the block crate:

warning: the following packages contain code that will be rejected by a future version of Rust: block v0.1.6

This crate is not a direct dependency, needs more investigation how to fix it.

When building the examples, e.g. `cargo xtask bundle gain_egui --release` a warning is shown for the `block` crate: ``` warning: the following packages contain code that will be rejected by a future version of Rust: block v0.1.6 ``` This crate is not a direct dependency, needs more investigation how to fix it.

Does it still happen with the latest commit 87d35a98de?

If so, you can run cargo tree to see what dependencies are using the block crate.

Does it still happen with the latest commit 87d35a98de? If so, you can run `cargo tree` to see what dependencies are using the `block` crate.
Author
Contributor
Copy link

It still happens with the latest commit and seems to be related to midir. The standard cargo tree -i block does not show any results but cargo tree -p gain_egui -i block does the trick:

block v0.1.6
└── coremidi v0.9.0
 └── midir v0.11.0
 └── nice-plug v0.1.7 (/Users/olli/Desktop/nice-plug/crates/nice-plug)
 └── gain_egui v0.1.0 (/Users/olli/Desktop/nice-plug/examples/gain_egui)
It still happens with the latest commit and seems to be related to `midir`. The standard `cargo tree -i block` does not show any results but `cargo tree -p gain_egui -i block` does the trick: ``` block v0.1.6 └── coremidi v0.9.0 └── midir v0.11.0 └── nice-plug v0.1.7 (/Users/olli/Desktop/nice-plug/crates/nice-plug) └── gain_egui v0.1.0 (/Users/olli/Desktop/nice-plug/examples/gain_egui) ```
Author
Contributor
Copy link

A fix was already made to coremidi, but it's not published yet.

See github.com/chris-zen/coremidi@22e10bf7e3

A fix was already made to `coremidi`, but it's not published yet. See https://github.com/chris-zen/coremidi/commit/22e10bf7e36ecb89931e1c7d9489f33b2783673e
Author
Contributor
Copy link

coremidi was updated to 0.9.1 replacing the block dependency with block2. So no more warning is shown and this issue can be closed.

`coremidi` was updated to `0.9.1` replacing the `block` dependency with `block2`. So no more warning is shown and this issue can be closed.
Sign in to join this conversation.
No Branch/Tag specified
main
resizing
dev
standalone_fixes
FoobarIT/main
fixes
egui_3rd_party
vizia_baseview_update
egui_32
softbuffer
byo_gui_examples
raw_graphics_examples
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.3
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RustAudio/nice-plug#47
Reference in a new issue
RustAudio/nice-plug
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?