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

use of deprecated method inotify::Inotify::add_watch #584

Closed
olafhering opened this issue Jan 24, 2024 · 1 comment
Closed

use of deprecated method inotify::Inotify::add_watch #584

olafhering opened this issue Jan 24, 2024 · 1 comment

Comments

@olafhering
Copy link
Contributor

After upgrading from 4ccc639 to 59d55a8, build starts to fail:

   Compiling nitro-cli v1.2.2 (/home/abuild/rpmbuild/BUILD/aws-nitro-enclaves-cli-1.2.2~git79.59d55a8)
error: use of deprecated method `inotify::Inotify::add_watch`: use `Inotify.watches().add()` instead
  --> src/enclave_proc/socket.rs:89:14
   |
89 |             .add_watch(
   |              ^^^^^^^^^
   |
note: the lint level is defined here
  --> src/enclave_proc/socket.rs:4:9
   |
4  | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`

error: could not compile `nitro-cli` (lib) due to previous error

The same appears in #547. Full log:
log.Cloud:Tools.aws-nitro-enclaves-cli.openSUSE_Tumbleweed.x86_64.txt

@olafhering
Copy link
Contributor Author

This was apparently fixed by #597

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant