Fix unused parameters, implicit this capture and unused local variables. This also fixes a bug in CprJobHandler and LagerStoreEventEmitter that does not correctly remove timers/listeners from the list.
Enable -Werror on CI jobs.
Type: fix
The code is generated by OpenCode (DeepSeek V4 Pro). tusooa has reviewed it and takes full responsibility for the code.
CCBUG: https://iron.lily-is.land/T22
CCBUG: https://iron.lily-is.land/T25