E1131: call needs a capability that the caller does not declare
meta capability("name") says that a verb needs a platform primitive, such as posix.cloexec (ADR-0096).
meta capability("name") says that a verb needs a platform primitive, such as
posix.cloexec (ADR-0096). A verb that calls it needs the same primitive, so
it must declare the same capability. Then the requirement stays visible up the
call graph, and the target check of E1132 sees it. The error points at the
call and names the callee and the capability.
Example
actus
toml
Fix
Declare the capability on the caller.
actus
toml
Run actus explain E1131 in your terminal to read this entry offline. Browse Modules & rules or all error codes.