Skip to content

notify failing on MacOS with new fsevent-sys update #314

@NathanSWard

Description

@NathanSWard

System details

  • OS/Platform name and version: MacOS - latest
  • Rust version (if building from source): rustc --version: 1.52
  • Notify version (or commit hash if building from git):
    In Cargo.toml
    notify = { version = "5.0.0-pre.2", optional = true }

What you did (as detailed as you can)

On the bevy github page, our CI builds are failing due to a recent update within the fsevent-sys crate.
See CI failures here;

What you expected

No CI failure on a simple minor release version change.

What happened

CI failed due to:

error[E0308]: mismatched types
   --> /Users/runner/.cargo/registry/src/github.zerozr99.workers.dev-1ecc6299db9ec823/notify-5.0.0-pre.7/src/fsevent.rs:361:17
    |
361 |                 callback,
    |                 ^^^^^^^^ expected `u32`, found enum `c_void`
    |
    = note: expected fn pointer `extern "C" fn(_, _, _, _, *const u32, *const u64)`
                  found fn item `extern "C" fn(_, _, _, _, *const c_void, *const c_void) {callback}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions