this package dont build, there is a dep alpm, it out of date and can't build(while waiting yay repo just works)
error[E0425]: cannot find function `alpm_option_set_disable_sandbox_filesystem` in this scope
--> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/handle.rs:181:18
|
181 | unsafe { alpm_option_set_disable_sandbox_filesystem(self.as_ptr(), b) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `alpm_option_set_disable_sandbox`
|
::: /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2385:5
|
2385 | / pub fn alpm_option_set_disable_sandbox(
2386 | | handle: *mut alpm_handle_t,
2387 | | disable_sandbox: ::std::os::raw::c_ushort,
2388 | | ) -> ::std::os::raw::c_int;
| |_______________________________- similarly named function `alpm_option_set_disable_sandbox` defined here
Compiling anstream v0.6.19
error[E0425]: cannot find function `alpm_option_set_disable_sandbox_syscalls` in this scope
--> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/handle.rs:182:18
|
182 | unsafe { alpm_option_set_disable_sandbox_syscalls(self.as_ptr(), b) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `alpm_option_set_disable_sandbox`
|
::: /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2385:5
|
2385 | / pub fn alpm_option_set_disable_sandbox(
2386 | | handle: *mut alpm_handle_t,
2387 | | disable_sandbox: ::std::os::raw::c_ushort,
2388 | | ) -> ::std::os::raw::c_int;
| |_______________________________- similarly named function `alpm_option_set_disable_sandbox` defined here
Compiling openssl-sys v0.9.109
error[E0061]: this function takes 3 arguments but 4 arguments were supplied
--> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-4.0.4/src/sandbox.rs:14:22
|
14 | unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr(), false) };
| ^^^^^^^^^^^^^^^^^^^^^^^^ ----- unexpected argument #4 of type `bool`
|
note: function defined here
--> /home/vs/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/alpm-sys-4.0.4/src/ffi.rs:2817:12
|
2817 | pub fn alpm_sandbox_setup_child(
| ^^^^^^^^^^^^^^^^^^^^^^^^
help: remove the extra argument
|
14 - unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr(), false) };
14 + unsafe { alpm_sandbox_setup_child(self.as_ptr(), user.as_ptr(), path.as_ptr()) };
Pinned Comments
alex19EP commented on 2021-12-06 17:29 (UTC)
pleas don't flag if it builds.