S0003: unknown ingress effect
Generated from rellum-diagnostics/src/db.rs.
Explanation
An event binding must be sourced from a known ingress effect such as stdin_line!, stdin_char!, button!, or tick_ms!. Unknown effect names cannot deliver values into the reactive graph.
Common causes
- misspelling an ingress effect name
- using a wrapper or output effect name as an event source
- calling an ingress effect that is not defined by the runtime
Canonical fixes
- use a known ingress effect in event(...)
Before:
line = event(stdin_lines!())
After:
line = event(stdin_line!())
- keep output work in effect bindings instead of event sources
Before:
done = event(print!("ready"))
After:
main! = print!("ready")
Code example
line = event(stdin_lines!())