Skip to content
Skip to Content

W3011

Warning code: the run goes on. Raised by: plugin manifests and contract resolution.

Cause

Modulator <modulator> targets <point>, but <contract> has no active provider: it stays neutral (factor 1) for the whole run.

Fix

Activate a plugin that provides <contract>, or remove <modulator> from the scenario if it is not needed.

What the engine prints

The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.

warning[W3011]
warning[W3011]: Modulator <modulator> targets <point>, but <contract> has no active provider: it stays neutral (factor 1) for the whole run.
  --> <file>:<line>:<column>
  = fix: Activate a plugin that provides <contract>, or remove <modulator> from the scenario if it is not needed.

With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.

Values filled in

modulator, point, contract.

Generated from schemas/messages/en.toml. Do not edit. This page (code W3011) is built from the engine sources at every documentation build. To change it, edit the W3011 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.