plugin_wrong_kind
Diagnostic `nanook::plugin::wrong_kind`
Summary
plugin `{0}` is a `{1}` but was loaded as `{2}`
Help
reference {0} from a [[{1}s]] block, not [[{2}s]]
Details
When this fires
The cdylib opened and exposed a nanook_plugin_kind stamp via declare_plugin!, but the kind it claims (collector / adapter / action) doesn't match the registry that asked for it. For instance, you wrote declare_plugin!(MyThing as Adapter) and then referenced the plugin from a [[collectors]] block. The host catches this before invoking awaken so a misrouted plugin can't half-initialise.
What to check
Match the config block to the plugin's declared kind, or change declare_plugin! and rebuild if the plugin should be a different kind. nanook plugins inspect <name> prints the kind read from the stamp.
[[]]
= "my-thing"