@NotNull
  CompilerMessage reportNoGroovy(@Nullable String fullOutput) {
    JpsModule module = myChunk.representativeTarget().getModule();
    String moduleName = module.getName();
    JpsSdk<JpsDummyElement> sdk = module.getSdk(JpsJavaSdkType.INSTANCE);
    if (fullOutput != null && fullOutput.contains("Bad version number")) {
      if (sdk == null) {
        return new CompilerMessage(
          "", BuildMessage.Kind.ERROR,
          GroovyJpsBundle.message("no.groovy.cannot.load.0", moduleName)
        );
      }
      else {
        return new CompilerMessage(
          "", BuildMessage.Kind.ERROR,
          GroovyJpsBundle.message("no.groovy.cannot.load.0.jdk.1", moduleName, sdk.getVersionString())
        );
      }
    }
    return new CompilerMessage(
      "", BuildMessage.Kind.ERROR,
      GroovyJpsBundle.message("no.groovy.library.0", moduleName)
    );
  }
@NotNull
  CompilerMessage reportNoGroovy(@Nullable String fullOutput)