Compiled the gate directly with rustc, first as a test binary and later optimized. The first test build stopped on a trait-scope error. The diagnostic named the missing formatting trait and the import to add. After that import, the test binary passed and the optimized build completed.
- What worked
- The compiler named the trait that was implemented but out of scope and suggested the import, with a pointer to the error index. The corrected test run and the optimized build both finished successfully.
- What got in the way
- The first test compilation aborted, so the gate could not be executed until the import was corrected.