Skip to content

Fix dependency main class detection throwing an NPE when JAR manifest doesn't list the main class correctly #9667

Fix dependency main class detection throwing an NPE when JAR manifest doesn't list the main class correctly

Fix dependency main class detection throwing an NPE when JAR manifest doesn't list the main class correctly #9667

GitHub Actions / Test report native-mostly-static-tests-4 succeeded Nov 27, 2024 in 1s

433 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test-report.xml

433 tests were completed in 1344s with 433 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
scala.cli.integration.BspTests3Lts.@main in script 1✅ 1s
scala.cli.integration.BspTests3Lts.actionable diagnostics on deprecated using directives 1✅ 3s
scala.cli.integration.BspTests3Lts.bloop projects are initialised properly for a directive for an unfetchable dependency 1✅ 605ms
scala.cli.integration.BspTests3Lts.bloop projects are initialised properly for an invalid directive value 1✅ 474ms
scala.cli.integration.BspTests3Lts.bloop projects are initialised properly for an unrecognised directive 1✅ 429ms
scala.cli.integration.BspTests3Lts.BSP class wrapper for Scala 3 1✅ 3s
scala.cli.integration.BspTests3Lts.BSP fails when --power mode is not set for experimental directives (example: using python directive) 1✅ 425ms
scala.cli.integration.BspTests3Lts.BSP loads verbosity on compile 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP loads verbosity on compile when passed from setup-ide 1✅ 838ms
scala.cli.integration.BspTests3Lts.BSP object wrapper forced with --js 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP object wrapper forced with --object-wrapper 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP object wrapper forced with //> using object.wrapper 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP object wrapper forced with //> using platform js 1✅ 2s
scala.cli.integration.BspTests3Lts.BSP reloads --power mode after setting it via config 1✅ 4s
scala.cli.integration.BspTests3Lts.BSP reloads --power mode after setting it via env passed to setup-ide 1✅ 5s
scala.cli.integration.BspTests3Lts.BSP respects --java-home 1✅ 6s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by environment variable (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by environment variable, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, environment variable (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, environment variable, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, setup-ide option (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, setup-ide option, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, setup-ide option, environment variable (example: using python directive) 1✅ 2s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by launcher option, setup-ide option, environment variable, config (example: using python directive) 1✅ 2s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by setup-ide option (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by setup-ide option, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by setup-ide option, environment variable (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects --power mode set by setup-ide option, environment variable, config (example: using python directive) 1✅ 1s
scala.cli.integration.BspTests3Lts.BSP respects JAVA_HOME 1✅ 15s
scala.cli.integration.BspTests3Lts.bsp should report actionable diagnostic from bloop for .sc files (Scala 3) 1✅ 2s
scala.cli.integration.BspTests3Lts.bsp should report actionable diagnostic from bloop for .scala files (Scala 3) 1✅ 1s
scala.cli.integration.BspTests3Lts.bsp should report actionable diagnostic when enabled 1✅ 1s
scala.cli.integration.BspTests3Lts.bsp should start bloop with correct JVM version from directives 1✅ 5s
scala.cli.integration.BspTests3Lts.bsp should support jvmRunEnvironment request 1✅ 481ms
scala.cli.integration.BspTests3Lts.bsp should support parsing cancel params 1✅ 3s
scala.cli.integration.BspTests3Lts.compile should result in generated bsp file 1✅ 425ms
scala.cli.integration.BspTests3Lts.diagnostics 1✅ 829ms
scala.cli.integration.BspTests3Lts.diagnostics in script 1✅ 847ms
scala.cli.integration.BspTests3Lts.directive diagnostics 1✅ 488ms
scala.cli.integration.BspTests3Lts.directives in multiple files diagnostics 1✅ 1s
scala.cli.integration.BspTests3Lts.invalid diagnostics at startup 1✅ 408ms
scala.cli.integration.BspTests3Lts.return .scala-build directory as a output paths 1✅ 406ms
scala.cli.integration.BspTests3Lts.run should result in generated bsp file 1✅ 644ms
scala.cli.integration.BspTests3Lts.setup-ide 1✅ 46ms
scala.cli.integration.BspTests3Lts.setup-ide doesn't pass unrecognised arguments to old --cli-versions: 1.0.0 1✅ 3s
scala.cli.integration.BspTests3Lts.setup-ide doesn't pass unrecognised arguments to old --cli-versions: 1.5.0 1✅ 3s
scala.cli.integration.BspTests3Lts.setup-ide doesn't pass unrecognised arguments to old --cli-versions: 1.5.0-19-g932866db6-SNAPSHOT 1✅ 3s
scala.cli.integration.BspTests3Lts.setup-ide passes Java props to the BSP configuration correctly 1✅ 35ms
scala.cli.integration.BspTests3Lts.setup-ide prepares a valid BSP configuration with --cli-version 1.5.0-34-g31a88e428-SNAPSHOT 1✅ 3s
scala.cli.integration.BspTests3Lts.setup-ide should fail for invalid dependencies 1✅ 143ms
scala.cli.integration.BspTests3Lts.setup-ide should have only absolute paths even if relative ones were specified 1✅ 41ms
scala.cli.integration.BspTests3Lts.setup-ide should result in generated bsp file 1✅ 35ms
scala.cli.integration.BspTests3Lts.setup-ide should succeed for valid dependencies 1✅ 115ms
scala.cli.integration.BspTests3Lts.simple 1✅ 1s
scala.cli.integration.BspTests3Lts.source jars handled correctly from a test scope using directive 1✅ 2s
scala.cli.integration.BspTests3Lts.source jars handled correctly from the command line 1✅ 2s
scala.cli.integration.BspTests3Lts.source jars handled correctly from the command line smartly assuming a *-sources.jar is a source jar 1✅ 2s
scala.cli.integration.BspTests3Lts.test workspace update after adding file to main scope 1✅ 2s
scala.cli.integration.BspTests3Lts.workspace update 1✅ 1s
scala.cli.integration.BspTests3Lts.workspace update - new file 1✅ 987ms
scala.cli.integration.BspTests3Lts.workspace/reload --dependency option 1✅ 4s
scala.cli.integration.BspTests3Lts.workspace/reload error response when no inputs json present 1✅ 874ms
scala.cli.integration.BspTests3Lts.workspace/reload extra dependency directive 1✅ 3s
scala.cli.integration.BspTests3Lts.workspace/reload of an extra sources directory 1✅ 4s
scala.cli.integration.BspTests3Lts.workspace/reload should restart bloop with correct JVM version from directives 1✅ 10s
scala.cli.integration.BspTests3Lts.workspace/reload should restart bloop with correct JVM version from options 1✅ 18s
scala.cli.integration.BspTests3Lts.workspace/reload when updated source element in using directive 1✅ 1s
scala.cli.integration.CompileTests3Lts.allow to override --Werror compiler option passed via directive by passing --Werror from the command line 1✅ 443ms
scala.cli.integration.CompileTests3Lts.allow to override --Werror compiler option passed via directive by passing -Werror from the command line 1✅ 433ms
scala.cli.integration.CompileTests3Lts.allow to override -Werror compiler option passed via directive by passing --Werror from the command line 1✅ 417ms
scala.cli.integration.CompileTests3Lts.allow to override -Werror compiler option passed via directive by passing -Werror from the command line 1✅ 443ms
scala.cli.integration.CompileTests3Lts.as jar 1✅ 758ms
scala.cli.integration.CompileTests3Lts.build a custom compiler plugin and use it (use plugin via CLI option) 1✅ 4s
scala.cli.integration.CompileTests3Lts.build a custom compiler plugin and use it (use plugin via directive) 1✅ 4s
scala.cli.integration.CompileTests3Lts.code in test error 1✅ 313ms
scala.cli.integration.CompileTests3Lts.consecutive -language:* flags are not ignored 1✅ 871ms
scala.cli.integration.CompileTests3Lts.consecutive -Wconf:* flags are not ignored (passed via command line) 1✅ 4s
scala.cli.integration.CompileTests3Lts.consecutive -Wconf:* flags are not ignored (passed via using directive) 1✅ 4s
scala.cli.integration.CompileTests3Lts.consecutive -Wunused:* flags are not ignored (passed via command line) 1✅ 446ms
scala.cli.integration.CompileTests3Lts.consecutive -Wunused:* flags are not ignored (passed via using directive) 1✅ 512ms
scala.cli.integration.CompileTests3Lts.copy compile output 1✅ 477ms
scala.cli.integration.CompileTests3Lts.ensure the -with-compiler option adds scala3-compiler to the classpath 1✅ 1s
scala.cli.integration.CompileTests3Lts.exit code 1✅ 367ms
scala.cli.integration.CompileTests3Lts.generate scoverage.coverage file 1✅ 1s
scala.cli.integration.CompileTests3Lts.having target + using directives in files should not produce warnings about using directives in multiple files 1✅ 850ms
scala.cli.integration.CompileTests3Lts.java files with no using directives should not produce warnings about using directives in multiple files 1✅ 813ms
scala.cli.integration.CompileTests3Lts.Java SemanticDB 1✅ 1s
scala.cli.integration.CompileTests3Lts.Java SemanticDB (manual) 1✅ 1s
scala.cli.integration.CompileTests3Lts.Java SemanticDB with forced target root 1✅ 1s
scala.cli.integration.CompileTests3Lts.Java SemanticDB with spread source dirs, forced source root 1✅ 1s
scala.cli.integration.CompileTests3Lts.Java SemanticDB with spread source dirs, forced source root and custom workspace directory 1✅ 993ms
scala.cli.integration.CompileTests3Lts.Java SemanticDB with spread source dirs, forced source root and target root 1✅ 1s
scala.cli.integration.CompileTests3Lts.Java SemanticDB with spread source dirs, forced source root and target root and custom workspace directory 1✅ 961ms
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:11/lang:java/sourcesJvm:11 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:11/lang:java/sourcesJvm:8 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:11/lang:scala/sourcesJvm:11 1✅ 5s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:11/lang:scala/sourcesJvm:8 1✅ 5s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:8/lang:java/sourcesJvm:11 1✅ 3s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:8/lang:java/sourcesJvm:8 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:8/lang:scala/sourcesJvm:11 1✅ 6s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:11/targetJvm:8/lang:scala/sourcesJvm:8 1✅ 5s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:11/lang:java/sourcesJvm:11 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:11/lang:java/sourcesJvm:8 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:11/lang:scala/sourcesJvm:11 1✅ 5s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:11/lang:scala/sourcesJvm:8 1✅ 5s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:8/lang:java/sourcesJvm:11 1✅ 3s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:8/lang:java/sourcesJvm:8 1✅ 4s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:8/lang:scala/sourcesJvm:11 1✅ 6s
scala.cli.integration.CompileTests3Lts.JvmCompatibilityTest: bloopJvm:8/targetJvm:8/lang:scala/sourcesJvm:8 1✅ 10s
scala.cli.integration.CompileTests3Lts.new build targets should only be created when CLI options change 1✅ 3s
scala.cli.integration.CompileTests3Lts.no arg 1✅ 444ms
scala.cli.integration.CompileTests3Lts.override settings from tests 1✅ 6s
scala.cli.integration.CompileTests3Lts.pass java options to scalac when server=false 1✅ 137ms
scala.cli.integration.CompileTests3Lts.render explain message 1✅ 697ms
scala.cli.integration.CompileTests3Lts.reuse cached project file under .scala-build 1✅ 2s
scala.cli.integration.CompileTests3Lts.Scala CLI should not infer scalac --release if --release is passed 1✅ 8s
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB 1✅ 512ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with forced source root and custom workspace directory outside of root 1✅ 464ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with forced target root 1✅ 485ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with spread source dirs, forced source root 1✅ 560ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with spread source dirs, forced source root and custom workspace directory 1✅ 535ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with spread source dirs, forced source root and target root 1✅ 509ms
scala.cli.integration.CompileTests3Lts.Scala script SemanticDB with spread source dirs, forced source root and target root and custom workspace directory 1✅ 607ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB 1✅ 462ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB with forced target root 1✅ 403ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB with spread source dirs, forced source root 1✅ 463ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB with spread source dirs, forced source root and custom workspace directory 1✅ 425ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB with spread source dirs, forced source root and target root 1✅ 432ms
scala.cli.integration.CompileTests3Lts.Scala SemanticDB with spread source dirs, forced source root and target root and custom workspace directory 1✅ 430ms
scala.cli.integration.CompileTests3Lts.scalapy 1✅ 911ms
scala.cli.integration.CompileTests3Lts.TASTY processor does not warn about Scala 3.3.4 1✅ 494ms
scala.cli.integration.CompileTests3Lts.test scope 1✅ 798ms
scala.cli.integration.CompileTests3Lts.test scope error 1✅ 698ms
scala.cli.integration.CompileTests3Lts.warn about directives in multiple files 1✅ 925ms
scala.cli.integration.CompileTests3Lts.with >1 file per scope, the warning about spread directives should be printed 1✅ 716ms
scala.cli.integration.CompileTests3Lts.with one file per scope, no warning about spread directives should be printed 1✅ 753ms
scala.cli.integration.DocTests3Lts.generate static scala doc 1✅ 3s
scala.cli.integration.ExportMavenTestJava.pure java 1✅ 4s
scala.cli.integration.ExportMillTests3Lts.Scala Native 1✅ 31s
scala.cli.integration.ExportSbtTests3Lts.Scala Native 1✅ 32s
scala.cli.integration.HadoopTests.simple map-reduce 1✅ 2s
scala.cli.integration.PackageTests3Lts.assembly 1✅ 3s
scala.cli.integration.PackageTests3Lts.assembly classpath 1✅ 3s
scala.cli.integration.PackageTests3Lts.assembly no preamble 1✅ 2s
scala.cli.integration.PackageTests3Lts.assembly no preamble nor main class 1✅ 2s
scala.cli.integration.PackageTests3Lts.assembly provided 1✅ 558ms
scala.cli.integration.PackageTests3Lts.correctly list main classes 1✅ 547ms
scala.cli.integration.PackageTests3Lts.current directory as default input 1✅ 701ms
scala.cli.integration.PackageTests3Lts.default values in help 1✅ 34ms
scala.cli.integration.PackageTests3Lts.doc JAR 1✅ 4s
scala.cli.integration.PackageTests3Lts.ensure directories are created recursively when packaging a jar 1✅ 435ms
scala.cli.integration.PackageTests3Lts.fat jar 1✅ 5s
scala.cli.integration.PackageTests3Lts.ignore test scope 1✅ 674ms
scala.cli.integration.PackageTests3Lts.js header in release mode 1✅ 918ms
scala.cli.integration.PackageTests3Lts.js without main 1✅ 662ms
scala.cli.integration.PackageTests3Lts.multi modules js 1✅ 900ms
scala.cli.integration.PackageTests3Lts.native image 1✅ 41s
scala.cli.integration.PackageTests3Lts.pass java and javac options 1✅ 3s
scala.cli.integration.PackageTests3Lts.pass java options to docker 1✅ 18s
scala.cli.integration.PackageTests3Lts.pass resource dir with command line option 1✅ 912ms
scala.cli.integration.PackageTests3Lts.resource directory for coursier bootstrap launcher 1✅ 754ms
scala.cli.integration.PackageTests3Lts.resource directory for library package 1✅ 350ms
scala.cli.integration.PackageTests3Lts.scalapy 1✅ 1s
scala.cli.integration.PackageTests3Lts.simple JS 1✅ 874ms
scala.cli.integration.PackageTests3Lts.simple script 1✅ 884ms
scala.cli.integration.PackageTests3Lts.small modules js with jvm scalajs-cli 1✅ 3s
scala.cli.integration.PackageTests3Lts.small modules js with native scalajs-cli 1✅ 806ms
scala.cli.integration.PackageTests3Lts.source JAR 1✅ 273ms
scala.cli.integration.PackageTests3Lts.source maps js 1✅ 750ms
scala.cli.integration.PackageTests3Lts.Zip with Scala Script containing resource directive 1✅ 873ms
scala.cli.integration.PublishLocalTests3Lts.publish local twice 1✅ 7s
scala.cli.integration.PublishLocalTests3Lts.publish local with ivy.home 1✅ 3s
scala.cli.integration.PublishLocalTests3Lts.publish local with publish.version 1✅ 3s
scala.cli.integration.PublishLocalTests3Lts.publish local with user.home 1✅ 6s
scala.cli.integration.PublishLocalTests3Lts.publish local without explicit publish.version, reading it from git:tag 1✅ 6s
scala.cli.integration.PublishTests3Lts.artifacts name for scalajs 1✅ 3s
scala.cli.integration.PublishTests3Lts.correctly list main classes 1✅ 776ms
scala.cli.integration.PublishTests3Lts.custom checksums 1✅ 440ms
scala.cli.integration.PublishTests3Lts.incorrect or missing secret key password 1✅ 6s
scala.cli.integration.PublishTests3Lts.no secret key password 1✅ 5s
scala.cli.integration.PublishTests3Lts.secret keys in config 1✅ 5s
scala.cli.integration.PublishTests3Lts.signer=none overrides other options 1✅ 5s
scala.cli.integration.PublishTests3Lts.simple 1✅ 5s
scala.cli.integration.PublishTests3Lts.simple sign with external JVM process, java version too low 1✅ 13s
scala.cli.integration.ReplTests3Lts.ammonite scalapy with Scala 3.3.4 (the default version, may downgrade) 1✅ 8s
scala.cli.integration.ReplTests3Lts.ammonite scalapy with Scala 3.5.1 (the latest supported version) 1✅ 9s
scala.cli.integration.ReplTests3Lts.ammonite with Scala 3.3.4 (the default version, may downgrade) 1✅ 3s
scala.cli.integration.ReplTests3Lts.ammonite with Scala 3.5.1 (the latest supported version) 1✅ 10s
scala.cli.integration.ReplTests3Lts.ammonite with test scope sources 1✅ 6s
scala.cli.integration.ReplTests3Lts.ammonite with test scope sources with Scala 3.3.4 (the default version, may downgrade) 1✅ 4s
scala.cli.integration.ReplTests3Lts.as jar 1✅ 9s
scala.cli.integration.ReplTests3Lts.calling repl with -Xshow-phases flag 1✅ 747ms
scala.cli.integration.ReplTests3Lts.calling repl with a directory with no scala artifacts 1✅ 584ms
scala.cli.integration.ReplTests3Lts.default ammonite version in help 1✅ 33ms
scala.cli.integration.ReplTests3Lts.default scala version in help 1✅ 48ms
scala.cli.integration.ReplTests3Lts.dry run (default) 1✅ 112ms
scala.cli.integration.ReplTests3Lts.dry run (with main and test scope sources, and the --test flag) 1✅ 768ms
scala.cli.integration.ReplTests3Lts.dry run (with main scope sources) 1✅ 457ms
scala.cli.integration.ReplTests3Lts.scala/scala3#21229 1✅ 4s
scala.cli.integration.RunTests3Lts.-classpath allows to run with scala-cli compile -d option pre-compiled classes 1✅ 1s
scala.cli.integration.RunTests3Lts.-D.. options passed to the child app 1✅ 757ms
scala.cli.integration.RunTests3Lts.-encoding CP1252 should be handled correctly in .scala files 1✅ 944ms
scala.cli.integration.RunTests3Lts.-O -classpath allows to run with scala-cli compile -O -d option pre-compiled classes 1✅ 1s
scala.cli.integration.RunTests3Lts.-X.. options passed to the child app 1✅ 699ms
scala.cli.integration.RunTests3Lts.@main error unchanged in .scala 1✅ 4s
scala.cli.integration.RunTests3Lts.add to class path sources from using directive 1✅ 739ms
scala.cli.integration.RunTests3Lts.auth proxy 1✅ 9s
scala.cli.integration.RunTests3Lts.auth proxy (legacy) 1✅ 11s
scala.cli.integration.RunTests3Lts.BuildInfo fields should be reachable 1✅ 1s
scala.cli.integration.RunTests3Lts.BuildInfo should take into account --project-version 1✅ 696ms
scala.cli.integration.RunTests3Lts.class script wrapper satisfies strict compiler flags 1✅ 615ms
scala.cli.integration.RunTests3Lts.CLI args passed to script 1✅ 768ms
scala.cli.integration.RunTests3Lts.CLI args passed to shebang in Scala file 1✅ 811ms
scala.cli.integration.RunTests3Lts.CLI args passed to shebang script 1✅ 2s
scala.cli.integration.RunTests3Lts.compile-time only for jsoniter macros 1✅ 2s
scala.cli.integration.RunTests3Lts.correctly list main classes 1✅ 492ms
scala.cli.integration.RunTests3Lts.correctly run a java snippet 1✅ 761ms
scala.cli.integration.RunTests3Lts.correctly run a markdown snippet 1✅ 620ms
scala.cli.integration.RunTests3Lts.correctly run a scala snippet 1✅ 709ms
scala.cli.integration.RunTests3Lts.correctly run a script snippet 1✅ 797ms
scala.cli.integration.RunTests3Lts.correctly run multiple snippets 1✅ 1s
scala.cli.integration.RunTests3Lts.Debugging 1✅ 841ms
scala.cli.integration.RunTests3Lts.declare test scope custom jar from main scope 1✅ 3s
scala.cli.integration.RunTests3Lts.declare test scope dependencies from main scope 1✅ 2s
scala.cli.integration.RunTests3Lts.decoded classNames in interactive ask 1✅ 660ms
scala.cli.integration.RunTests3Lts.deleting resources after building 1✅ 1s
scala.cli.integration.RunTests3Lts.Directory 1✅ 688ms
scala.cli.integration.RunTests3Lts.Directory JS 1✅ 920ms
scala.cli.integration.RunTests3Lts.dont clear output dir 1✅ 5s
scala.cli.integration.RunTests3Lts.Emit Wasm 1✅ 712ms
scala.cli.integration.RunTests3Lts.ensure -with-compiler is supported for Scala 3 1✅ 1s
scala.cli.integration.RunTests3Lts.error output for invalid sub-command for compile 1✅ 26ms
scala.cli.integration.RunTests3Lts.error output for invalid sub-command for default 1✅ 31ms
scala.cli.integration.RunTests3Lts.error output for invalid sub-command for run 1✅ 28ms
scala.cli.integration.RunTests3Lts.error output for nonexistent file for compile 1✅ 26ms
scala.cli.integration.RunTests3Lts.error output for nonexistent file for default 1✅ 31ms
scala.cli.integration.RunTests3Lts.error output for nonexistent file for run 1✅ 26ms
scala.cli.integration.RunTests3Lts.error output for unrecognized source type for compile 1✅ 26ms
scala.cli.integration.RunTests3Lts.error output for unrecognized source type for default 1✅ 30ms
scala.cli.integration.RunTests3Lts.error output for unrecognized source type for run 1✅ 26ms
scala.cli.integration.RunTests3Lts.esmodule import JS 1✅ 851ms
scala.cli.integration.RunTests3Lts.exclude file 1✅ 578ms
scala.cli.integration.RunTests3Lts.fail with a valid error when multiple main classes are present and a dependency doesn't define main classes in the manifest 1✅ 713ms
scala.cli.integration.RunTests3Lts.fd 1✅ 657ms
scala.cli.integration.RunTests3Lts.find and run main class from --dep even when no explicit inputs are passed 1✅ 339ms
scala.cli.integration.RunTests3Lts.Github Gists Script URL 1✅ 773ms
scala.cli.integration.RunTests3Lts.help js 1✅ 30ms
scala.cli.integration.RunTests3Lts.help native 1✅ 31ms
scala.cli.integration.RunTests3Lts.interconnection between scripts 1✅ 995ms
scala.cli.integration.RunTests3Lts.Java code accepted as piped input 1✅ 2s
scala.cli.integration.RunTests3Lts.Java code with multiple classes accepted as piped input 1✅ 491ms
scala.cli.integration.RunTests3Lts.Java options in config file 1✅ 754ms
scala.cli.integration.RunTests3Lts.java style -Dproperty=value system properties 1✅ 802ms
scala.cli.integration.RunTests3Lts.Java URL 1✅ 615ms
scala.cli.integration.RunTests3Lts.JS arguments 1✅ 1s
scala.cli.integration.RunTests3Lts.js defaults & toolkit default 1✅ 4s
scala.cli.integration.RunTests3Lts.Js DOM 1✅ 4s
scala.cli.integration.RunTests3Lts.JVM id is printed with compilation info correctly 1✅ 5s
scala.cli.integration.RunTests3Lts.load virtual data with UTF_16 encoding 1✅ 666ms
scala.cli.integration.RunTests3Lts.Main class in config file 1✅ 639ms
scala.cli.integration.RunTests3Lts.main.sc is not a special case 1✅ 664ms
scala.cli.integration.RunTests3Lts.manifest 1✅ 808ms
scala.cli.integration.RunTests3Lts.Markdown code with a scala snippet accepted as piped input 1✅ 585ms
scala.cli.integration.RunTests3Lts.Multiple scripts 1✅ 739ms
scala.cli.integration.RunTests3Lts.Multiple scripts JS 1✅ 840ms
scala.cli.integration.RunTests3Lts.Multiple scripts native 1✅ 11s
scala.cli.integration.RunTests3Lts.multiple using directives warning message 1✅ 5s
scala.cli.integration.RunTests3Lts.native (default) & scala toolkit (default) with command line args 1✅ 13s
scala.cli.integration.RunTests3Lts.native (default) & scala toolkit (default) with directives 1✅ 12s
scala.cli.integration.RunTests3Lts.native (default) & typelevel toolkit (default) with command line args 1✅ 17s
scala.cli.integration.RunTests3Lts.native (default) & typelevel toolkit (default) with directives 1✅ 16s
scala.cli.integration.RunTests3Lts.native (explicit: 0.4.17) & scala toolkit (0.3.0) with command line args 1✅ 12s
scala.cli.integration.RunTests3Lts.native (explicit: 0.4.17) & scala toolkit (0.3.0) with directives 1✅ 12s
scala.cli.integration.RunTests3Lts.native (explicit: 0.4.17) & typelevel toolkit (default) with command line args 1✅ 17s
scala.cli.integration.RunTests3Lts.native (explicit: 0.4.17) & typelevel toolkit (default) with directives 1✅ 17s
scala.cli.integration.RunTests3Lts.native (explicit: 0.5.6) & scala toolkit (default) with command line args 1✅ 13s
scala.cli.integration.RunTests3Lts.native (explicit: 0.5.6) & scala toolkit (default) with directives 1✅ 13s
scala.cli.integration.RunTests3Lts.no .scala in forbidden directory 1✅ 1s
scala.cli.integration.RunTests3Lts.no .scala in non-writable directory 1✅ 2s
scala.cli.integration.RunTests3Lts.no deadlock when running background threads 1✅ 745ms
scala.cli.integration.RunTests3Lts.No default inputs when the run sub-command is launched with no args 1✅ 32ms
scala.cli.integration.RunTests3Lts.no JVM installed 1✅ 18s
scala.cli.integration.RunTests3Lts.object script wrapper satisfies strict compiler flags 1✅ 717ms
scala.cli.integration.RunTests3Lts.offline mode should fail on missing artifacts (with Scala 3.3.4) 1✅ 17s
scala.cli.integration.RunTests3Lts.Pass arguments 1✅ 597ms
scala.cli.integration.RunTests3Lts.Pass arguments - Scala 3 1✅ 603ms
scala.cli.integration.RunTests3Lts.pick .scala main class over in-context scripts 1✅ 676ms
scala.cli.integration.RunTests3Lts.pick .scala main class over in-context scripts, including piped ones 1✅ 809ms
scala.cli.integration.RunTests3Lts.pick piped .scala main class over in-context scripts 1✅ 698ms
scala.cli.integration.RunTests3Lts.piping 1✅ 737ms
scala.cli.integration.RunTests3Lts.print command 1✅ 697ms
scala.cli.integration.RunTests3Lts.print error if workspace path contains a : 1✅ 720ms
scala.cli.integration.RunTests3Lts.print the name of nested script 1✅ 728ms
scala.cli.integration.RunTests3Lts.print the name of script 1✅ 723ms
scala.cli.integration.RunTests3Lts.prioritise main class in a .sc file passed as . over main classes in dependencies on the classpath 1✅ 2s
scala.cli.integration.RunTests3Lts.prioritise main class in a .sc file passed as script.sc over main classes in dependencies on the classpath 1✅ 1s
scala.cli.integration.RunTests3Lts.prioritise main class in a .scala file passed as . over main classes in dependencies on the classpath 1✅ 2s
scala.cli.integration.RunTests3Lts.prioritise main class in a .scala file passed as Main.scala over main classes in dependencies on the classpath 1✅ 1s
scala.cli.integration.RunTests3Lts.Python and Scala sources 1✅ 2s
scala.cli.integration.RunTests3Lts.Python and Scala sources (native) 1✅ 11s
scala.cli.integration.RunTests3Lts.remap imports cmd 1✅ 991ms
scala.cli.integration.RunTests3Lts.remap imports directive 1✅ 1s
scala.cli.integration.RunTests3Lts.remap imports directive error 1✅ 38ms
scala.cli.integration.RunTests3Lts.repository credentials passed to coursier 1✅ 10s
scala.cli.integration.RunTests3Lts.Resource embedding in Scala Native 1✅ 12s
scala.cli.integration.RunTests3Lts.resources via command line 1✅ 806ms
scala.cli.integration.RunTests3Lts.resources via directive 1✅ 764ms
scala.cli.integration.RunTests3Lts.return relevant error if multiple .scala main classes are present 1✅ 634ms
scala.cli.integration.RunTests3Lts.return relevant error when main classes list is requested, but no main classes are present 1✅ 422ms
scala.cli.integration.RunTests3Lts.rewrite code to new syntax and then run it correctly (no -O required) 1✅ 3s
scala.cli.integration.RunTests3Lts.rewrite code to old syntax and then run it correctly (no -O required) 1✅ 993ms
scala.cli.integration.RunTests3Lts.run jar file 1✅ 875ms
scala.cli.integration.RunTests3Lts.run main class from --dep even when no explicit inputs are passed 1✅ 981ms
scala.cli.integration.RunTests3Lts.run main class from -classpath even when no explicit inputs are passed 1✅ 694ms
scala.cli.integration.RunTests3Lts.run main class from a jar even when no explicit inputs are passed 1✅ 1s
scala.cli.integration.RunTests3Lts.run main class from a jar in a directory even when no explicit inputs are passed 1✅ 1s
scala.cli.integration.RunTests3Lts.running a .scala file several times doesn't produce Bloop errors 1✅ 6s
scala.cli.integration.RunTests3Lts.running a script snippet should not create the workspace dir in cwd 1✅ 786ms
scala.cli.integration.RunTests3Lts.running a script snippet with one source file should create the workspace dir in cwd 1✅ 742ms
scala.cli.integration.RunTests3Lts.Runs with JVM 8 1✅ 1s
scala.cli.integration.RunTests3Lts.Runs with JVM 8 with using directive 1✅ 953ms
scala.cli.integration.RunTests3Lts.Scala code accepted as piped input 1✅ 632ms
scala.cli.integration.RunTests3Lts.Scala code with references to existing files accepted as piped input 1✅ 724ms
scala.cli.integration.RunTests3Lts.Scala Native C Files are correctly handled as a regular Input 1✅ 18s
scala.cli.integration.RunTests3Lts.Scala Native multithreading set to false with command line option 1✅ 3s
scala.cli.integration.RunTests3Lts.Scala Native multithreading set to false with directive 1✅ 3s
scala.cli.integration.RunTests3Lts.Scala Native multithreading set to true (implicitly) 1✅ 14s
scala.cli.integration.RunTests3Lts.Scala Native multithreading set to true with command line option 1✅ 14s
scala.cli.integration.RunTests3Lts.Scala Native multithreading set to true with directive 1✅ 15s
scala.cli.integration.RunTests3Lts.scala native with lto optimisation 1✅ 12s
scala.cli.integration.RunTests3Lts.Scala URL 1✅ 630ms
scala.cli.integration.RunTests3Lts.scalac help 1✅ 1s
scala.cli.integration.RunTests3Lts.scalac print option: -V (default subcommand) 1✅ 686ms
scala.cli.integration.RunTests3Lts.scalac print option: -V (explicit run subcommand) 1✅ 663ms
scala.cli.integration.RunTests3Lts.scalac print option: -Vphases (default subcommand) 1✅ 776ms
scala.cli.integration.RunTests3Lts.scalac print option: -Vphases (explicit run subcommand) 1✅ 795ms
scala.cli.integration.RunTests3Lts.scalac print option: -W (default subcommand) 1✅ 672ms
scala.cli.integration.RunTests3Lts.scalac print option: -W (explicit run subcommand) 1✅ 667ms
scala.cli.integration.RunTests3Lts.scalac print option: -X (default subcommand) 1✅ 679ms
scala.cli.integration.RunTests3Lts.scalac print option: -X (explicit run subcommand) 1✅ 659ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xplugin-list (default subcommand) 1✅ 657ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xplugin-list (explicit run subcommand) 1✅ 637ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xshow-phases (default subcommand) 1✅ 810ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xshow-phases (explicit run subcommand) 1✅ 796ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xsource:help (default subcommand) 1✅ 697ms
scala.cli.integration.RunTests3Lts.scalac print option: -Xsource:help (explicit run subcommand) 1✅ 696ms
scala.cli.integration.RunTests3Lts.scalac print option: -Y (default subcommand) 1✅ 700ms
scala.cli.integration.RunTests3Lts.scalac print option: -Y (explicit run subcommand) 1✅ 722ms
scala.cli.integration.RunTests3Lts.scalac verbose 1✅ 1s
scala.cli.integration.RunTests3Lts.scalapy from CLI 1✅ 2s
scala.cli.integration.RunTests3Lts.scalapy native with CLI args 1✅ 11s
scala.cli.integration.RunTests3Lts.scalapy native with directives 1✅ 12s
scala.cli.integration.RunTests3Lts.scalapy via directive 1✅ 1s
scala.cli.integration.RunTests3Lts.script file with NO shebang header and no extension run with scala-cli shebang 1✅ 28ms
scala.cli.integration.RunTests3Lts.script file with shebang header and no extension run with scala-cli shebang 1✅ 896ms
scala.cli.integration.RunTests3Lts.Script URL 1✅ 731ms
scala.cli.integration.RunTests3Lts.Scripts accepted as piped input 1✅ 661ms
scala.cli.integration.RunTests3Lts.set es version to scala-js-cli 1✅ 866ms
scala.cli.integration.RunTests3Lts.setting root dir with virtual input 1✅ 916ms
scala.cli.integration.RunTests3Lts.shebang run does not produce update-dependency warnings 1✅ 704ms
scala.cli.integration.RunTests3Lts.should add toolkit to classpath 1✅ 856ms
scala.cli.integration.RunTests3Lts.should add typelevel toolkit to classpath 1✅ 2s
scala.cli.integration.RunTests3Lts.should add typelevel toolkit-test to classpath 1✅ 2s
scala.cli.integration.RunTests3Lts.should pass arguments as is 1✅ 1s
scala.cli.integration.RunTests3Lts.should throw exception for code compiled by scala 3.1.3 1✅ 3s
scala.cli.integration.RunTests3Lts.simple distroless test 1✅ 22s
scala.cli.integration.RunTests3Lts.simple script 1✅ 1s
scala.cli.integration.RunTests3Lts.simple script JS 1✅ 2s
scala.cli.integration.RunTests3Lts.simple script JS command 1✅ 919ms
scala.cli.integration.RunTests3Lts.simple script JS in fastLinkJS mode 1✅ 948ms
scala.cli.integration.RunTests3Lts.simple script JS in fullLinkJS mode 1✅ 992ms
scala.cli.integration.RunTests3Lts.simple script JS via config file 1✅ 845ms
scala.cli.integration.RunTests3Lts.simple script JS via platform option 1✅ 867ms
scala.cli.integration.RunTests3Lts.simple script JS with noOpt 1✅ 789ms
scala.cli.integration.RunTests3Lts.simple script native 1✅ 11s
scala.cli.integration.RunTests3Lts.simple script native command 1✅ 11s
scala.cli.integration.RunTests3Lts.snippets mixed with piped Scala code and existing sources allow for cross-references 1✅ 949ms
scala.cli.integration.RunTests3Lts.stack traces 1✅ 498ms
scala.cli.integration.RunTests3Lts.stack traces in script in Scala 3 1✅ 600ms
scala.cli.integration.RunTests3Lts.sub-directory 1✅ 622ms
scala.cli.integration.RunTests3Lts.sub-directory and script 1✅ 695ms
scala.cli.integration.RunTests3Lts.sudo 1✅ 43s
scala.cli.integration.RunTests3Lts.suppress multiple using directives warning message 1✅ 2s
scala.cli.integration.RunTests3Lts.suppress multiple using directives warning message with global config 1✅ 2s
scala.cli.integration.RunTests3Lts.Take into account interactive main class when caching binaries 1✅ 18s
scala.cli.integration.RunTests3Lts.test scope 1✅ 1s
scala.cli.integration.RunTests3Lts.toolkit default 1✅ 2s
scala.cli.integration.RunTests3Lts.use method from main.sc file 1✅ 693ms
scala.cli.integration.RunTests3Lts.user readable error when @main is used 1✅ 4s
scala.cli.integration.RunTests3Lts.UTF-8 1✅ 691ms
scala.cli.integration.RunTests3Lts.verbosity 1✅ 658ms
scala.cli.integration.RunTests3Lts.verify drive-relative JAVA_HOME works 1✅ 1s
scala.cli.integration.RunTests3Lts.warn about invalid values present in .scala-jvmopts 1✅ 1s
scala.cli.integration.RunTests3Lts.warn about invalid values present in JAVA_OPTS 1✅ 3s
scala.cli.integration.RunTests3Lts.warn about transitive using file directive 1✅ 599ms
scala.cli.integration.RunTests3Lts.warning about using toolkit latest in options should be reported 1✅ 1s
scala.cli.integration.RunTests3Lts.without node on the PATH 1✅ 4s
scala.cli.integration.RunTests3Lts.workspace dir 1✅ 756ms
scala.cli.integration.RunTests3Lts.Zip with Markdown containing resource directive 1✅ 703ms
scala.cli.integration.RunTests3Lts.Zip with multiple Scala files 1✅ 716ms
scala.cli.integration.RunTests3Lts.Zip with Scala containing resource directive 1✅ 710ms
scala.cli.integration.RunTests3Lts.Zip with Scala Script containing resource directive 1✅ 806ms
scala.cli.integration.TestTests3Lts.Cross-tests 1✅ 4s
scala.cli.integration.TestTests3Lts.custom test framework JS 1✅ 5s
scala.cli.integration.TestTests3Lts.custom test framework JVM 1✅ 3s
scala.cli.integration.TestTests3Lts.Fail if no tests were run JS 1✅ 2s
scala.cli.integration.TestTests3Lts.Fail if no tests were run JVM 1✅ 1s
scala.cli.integration.TestTests3Lts.failing test 1✅ 1s
scala.cli.integration.TestTests3Lts.failing test JS 1✅ 3s
scala.cli.integration.TestTests3Lts.failing test Markdown with munit 1✅ 1s
scala.cli.integration.TestTests3Lts.failing test return code 1✅ 1s
scala.cli.integration.TestTests3Lts.failing test return code when compiling error 1✅ 1s
scala.cli.integration.TestTests3Lts.Js DOM 1✅ 6s
scala.cli.integration.TestTests3Lts.junit 1✅ 2s
scala.cli.integration.TestTests3Lts.run only one test from munit 1✅ 2s
scala.cli.integration.TestTests3Lts.run only one test from utest 1✅ 2s
scala.cli.integration.TestTests3Lts.scalacheck from cats 1✅ 25s
scala.cli.integration.TestTests3Lts.several tests 1✅ 1s
scala.cli.integration.TestTests3Lts.successful pure Java test with JUnit 1✅ 2s
scala.cli.integration.TestTests3Lts.successful test 1✅ 15s
scala.cli.integration.TestTests3Lts.successful test esmodule import JS 1✅ 3s
scala.cli.integration.TestTests3Lts.successful test JS 1✅ 7s
scala.cli.integration.TestTests3Lts.successful test Markdown with munit 1✅ 1s
scala.cli.integration.TestTests3Lts.test framework arguments JS 1✅ 18s
scala.cli.integration.TestTests3Lts.test framework arguments JVM 1✅ 5s
scala.cli.integration.TestTests3Lts.toolkit 1✅ 2s
scala.cli.integration.TestTests3Lts.toolkit from command line 1✅ 1s
scala.cli.integration.TestTests3Lts.utest 1✅ 2s
scala.cli.integration.TestTests3Lts.utest JS 1✅ 3s
scala.cli.integration.TestTests3Lts.weaver 1✅ 3s