Skip to content

Instantly share code, notes, and snippets.

@NikkyAI
Created January 5, 2019 21:52
Show Gist options
  • Save NikkyAI/1567d08d61f0e2aaff81fe7024476f6b to your computer and use it in GitHub Desktop.
Save NikkyAI/1567d08d61f0e2aaff81fe7024476f6b to your computer and use it in GitHub Desktop.
10:48:20: Executing task 'run'...
> Task :buildSrc:discoverMainScriptsExtensions
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
> Task :buildSrc:compileKotlin UP-TO-DATE
> Task :buildSrc:compileJava NO-SOURCE
> Task :buildSrc:compileGroovy NO-SOURCE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources NO-SOURCE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:inspectClassesForKotlinIC UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> Task :buildSrc:discoverTestScriptsExtensions
> Task :buildSrc:compileTestKotlin NO-SOURCE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validateTaskProperties UP-TO-DATE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE
> Task :discoverMainScriptsExtensions
> Task :compileKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+InlineClasses
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
> Task :compileJava NO-SOURCE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :run
config entries
Key(defaultImports)=[example.Constants]
Key(dependencies)=[JvmDependency(classpath=[/home/nikky/dev/MinimalScriptingExample/build/classes/kotlin/main, /home/nikky/dev/MinimalScriptingExample/build/resources/main, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm-host/1.3.20-eap-52/a7ab4cabba2b7380f486fed9721a676da6a024a3/kotlin-scripting-jvm-host-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-util/1.3.20-eap-52/6a940c3fd86d2448b637cbb1efb957b395fe1899/kotlin-script-util-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-jvm/1.3.20-eap-52/528dd3dfacfd17c48b013b11e48dce02e1e4aec8/kotlin-scripting-jvm-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-scripting-common/1.3.20-eap-52/e1cbfc4efb75e004bf8fee739ac15b2b5fe8d4c5/kotlin-scripting-common-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-compiler/1.3.20-eap-52/930bbcd37de071f4a65347eda69c4951b8e2b310/kotlin-compiler-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.3.20-eap-52/ade8b4b8ca034fff1c71f95e5551c84675259c78/kotlin-reflect-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.3.20-eap-52/492603cd4d21a8d2f2724e85ee62c1592bf4cc85/kotlin-stdlib-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.3.20-eap-52/9386e7f30ca68351cee7c7668bcec4c8b072fea4/kotlin-stdlib-common-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-script-runtime/1.3.20-eap-52/efe08448c36e5e3491a7b104818f07ebf9f83554/kotlin-script-runtime-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-daemon-client/1.3.20-eap-52/d833ebf8c1ba7c12c99a5e691ee2dbf3cb8e860b/kotlin-daemon-client-1.3.20-eap-52.jar, /home/nikky/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.0.1/f33e8dab753f33d1bbb07cca664fd6f13d993d7e/kotlinx-coroutines-core-1.0.1.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/jfxrt.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/sunpkcs11.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/localedata.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/nashorn.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/zipfs.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/sunec.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/sunjce_provider.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/jaccess.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/cldrdata.jar, /usr/lib/jvm/intellij-jdk/jre/lib/ext/dnsns.jar])]
Key(compilerOptions)=[-jvm-target, 1.8, -jvm-target, 1.8]
Key(baseClass)=kotlin.script.experimental.api.KotlinType@7f9fcf7f
Key(fileExtension)=example.kts
Key(displayName)=Example Script
Key(jdkHome)=/usr/lib/jvm/intellij-jdk
evaluationConfig entries
Key(constructorArgs)=[/home/nikky/dev/MinimalScriptingExample/run/.]
ScriptDiagnostic(message=Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option, severity=ERROR, location=Location(start=Position(line=14, col=13, absolutePos=null), end=null), exception=null)
e: /home/nikky/dev/MinimalScriptingExample/run/./hello.example.kts: (14, 13): Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
Failure(reports=[ScriptDiagnostic(message=Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option, severity=ERROR, location=Location(start=Position(line=14, col=13, absolutePos=null), end=null), exception=null)])
evaluation failed
> Task :run FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':run'.
> Process 'command '/usr/lib/jvm/intellij-jdk/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1-rc-1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 7s
4 actionable tasks: 3 executed, 1 up-to-date
Process 'command '/usr/lib/jvm/intellij-jdk/bin/java'' finished with non-zero exit value 1
10:48:28: Task execution finished 'run'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment