Skip to content

Instantly share code, notes, and snippets.

@sjrd
Created September 24, 2018 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjrd/45d569e3e7a3ecd0f5ae1b3fb3746d9c to your computer and use it in GitHub Desktop.
Save sjrd/45d569e3e7a3ecd0f5ae1b3fb3746d9c to your computer and use it in GitHub Desktop.
C:\Users\Sepi\Documents\Projets\dotty>sbt
[info] Loading settings for project global-plugins from plugins.sbt ...
[info] Loading global plugins from C:\Users\Sepi\.sbt\1.0\plugins
[info] Loading settings for project dotty-build-build from build.sbt ...
[info] Loading project definition from C:\Users\Sepi\Documents\Projets\dotty\project\project
[info] Loading settings for project dotty-build from build.sbt,inject-sbt-dotty.sbt,plugins.sbt,scripted.sbt ...
[info] Loading project definition from C:\Users\Sepi\Documents\Projets\dotty\project
[info] Updating ProjectRef(uri("file:/C:/Users/Sepi/Documents/Projets/dotty/project/"), "dotty-build")...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Run 'evicted' to see detailed eviction warnings
[info] Compiling 1 Scala source to C:\Users\Sepi\Documents\Projets\dotty\project\target\scala-2.12\sbt-1.0\classes ...
[info] Done compiling.
[info] Loading settings for project dotty from build.sbt ...
[info] Resolving key references (12711 settings) ...
[info] Set current project to dotty (in build file:/C:/Users/Sepi/Documents/Projets/dotty/)
[info] sbt server started at local:sbt-server-bb9daa96d319e6f4461c
sbt:dotty> ;clean;dotty-bootstrapped/clean
[success] Total time: 8 s, completed 24-sept.-2018 20:17:09
[success] Total time: 29 s, completed 24-sept.-2018 20:17:38
sbt:dotty> testCompilation
[info] Updating dotty-interfaces...
[info] Updating dotty-library...
[info] Done updating.
[info] Compiling 7 Java sources to C:\Users\Sepi\Documents\Projets\dotty\interfaces\target\classes ...
[info] Done updating.
[info] Updating dotty-compiler...
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Run 'evicted' to see detailed eviction warnings
[info] Updating dotty-doc...
[info] Compiling 60 Scala sources and 136 Java sources to C:\Users\Sepi\Documents\Projets\dotty\library\target\scala-2.1
2\classes ...
[info] Done compiling.
[info] Packaging C:\Users\Sepi\Documents\Projets\dotty\interfaces\target\dotty-interfaces-0.10.0-bin-SNAPSHOT.jar ...
[info] Done packaging.
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Run 'evicted' to see detailed eviction warnings
[info] Updating dotty-sbt-bridge...
[info] Done updating.
[info] Done compiling.
[info] Compiling 372 Scala sources and 3 Java sources to C:\Users\Sepi\Documents\Projets\dotty\compiler\target\scala-2.1
2\classes ...
[info] Done compiling.
[warn] Multiple main classes detected. Run 'show discoveredMainClasses' to see the list
[info] Packaging C:\Users\Sepi\Documents\Projets\dotty\compiler\target\scala-2.12\dotty-compiler_2.12-0.10.0-bin-SNAPSHO
T-nonbootstrapped.jar ...
[info] Compiling 68 Scala sources and 3 Java sources to C:\Users\Sepi\Documents\Projets\dotty\compiler\target\scala-2.12
\test-classes ...
[info] Compiling 46 Scala sources to C:\Users\Sepi\Documents\Projets\dotty\doc-tool\target\scala-2.12\classes ...
[info] Done packaging.
[info] Done compiling.
[info] Done compiling.
[info] Compiling 6 Scala sources to C:\Users\Sepi\Documents\Projets\dotty\sbt-bridge\target\classes ...
[info] Done compiling.
[info] Cleaning the dotty-sbt-bridge cache because it was recompiled.
[info] Packaging C:\Users\Sepi\Documents\Projets\dotty\sbt-bridge\target\dotty-sbt-bridge-0.10.0-bin-SNAPSHOT-nonbootstr
apped-sources.jar ...
[info] Done packaging.
[info] Updating dotty-library-bootstrapped...
[info] Packaging C:\Users\Sepi\Documents\Projets\dotty\library\target\scala-2.12\dotty-library_2.12-0.10.0-bin-SNAPSHOT-
nonbootstrapped.jar ...
[info] Done updating.
[info] Done packaging.
[info] Compiling 61 Scala sources and 136 Java sources to C:\Users\Sepi\Documents\Projets\dotty\library\..\out\bootstrap
\dotty-library-bootstrapped\scala-0.10\classes ...
[info] Non-compiled module 'dotty-sbt-bridge' for Scala 0.10.0-bin-SNAPSHOT-nonbootstrapped. Compiling...
[info] Compilation completed in 5.147s.
[info] Done compiling.
[info] Packaging C:\Users\Sepi\Documents\Projets\dotty\library\..\out\bootstrap\dotty-library-bootstrapped\scala-0.10\do
tty-library_0.10-0.10.0-bin-SNAPSHOT.jar ...
[info] Done packaging.
[info] Test run started
[info] Test dotty.tools.dotc.CompilationTests.negAll started
[=======================================] completed (532/532, 0 failed, 14s)
[info] Test dotty.tools.dotc.CompilationTests.runAll started
java.nio.file.NoSuchFileException: C:\Users\Sepi\Documents\Projets\dotty\out\runAll\run\i4947c\Aux.tasty
Error while emitting i4947c.scala
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
C:\Users\Sepi\Documents\Projets\dotty\out\runAll\run\i4947c\Aux.tasty
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.createFile(Files.java:632)
at dotty.tools.io.AbstractFile.fileOrSubdirectoryNamed(AbstractFile.scala:242)
at dotty.tools.io.AbstractFile.fileNamed(AbstractFile.scala:253)
at scala.tools.nsc.backend.jvm.BytecodeWriters.getFile(BytecodeWriters.scala:35)
at scala.tools.nsc.backend.jvm.BytecodeWriters.getFile$(BytecodeWriters.scala:28)
at dotty.tools.backend.jvm.GenBCodePipeline.getFile(GenBCode.scala:71)
at scala.tools.nsc.backend.jvm.BCodeHelpers.getFileForClassfile(BCodeHelpers.scala:38)
at scala.tools.nsc.backend.jvm.BCodeHelpers.getFileForClassfile$(BCodeHelpers.scala:37)
at dotty.tools.backend.jvm.GenBCodePipeline.getFileForClassfile(GenBCode.scala:71)
at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.$anonfun$visit$2(GenBCode.scala:221)
at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.$anonfun$visit$2$adapted(GenBCode.scala:217)
at scala.Option.foreach(Option.scala:257)
at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.visit(GenBCode.scala:217)
at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.run(GenBCode.scala:179)
at dotty.tools.backend.jvm.GenBCodePipeline.buildAndSendToDisk(GenBCode.scala:417)
at dotty.tools.backend.jvm.GenBCodePipeline.run(GenBCode.scala:383)
at dotty.tools.backend.jvm.GenBCode.run(GenBCode.scala:53)
at dotty.tools.dotc.core.Phases$Phase.$anonfun$runOn$1(Phases.scala:299)
at scala.collection.immutable.List.map(List.scala:283)
at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:297)
at dotty.tools.dotc.core.Phases$Phase.runOn$(Phases.scala:296)
at dotty.tools.backend.jvm.GenBCode.runOn(GenBCode.scala:58)
at dotty.tools.dotc.Run.$anonfun$compileUnits$3(Run.scala:175)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at dotty.tools.dotc.util.Stats$.trackTime(Stats.scala:49)
at dotty.tools.dotc.Run.$anonfun$compileUnits$2(Run.scala:172)
at dotty.tools.dotc.Run.$anonfun$compileUnits$2$adapted(Run.scala:170)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:194)
at dotty.tools.dotc.Run.runPhases$1(Run.scala:170)
at dotty.tools.dotc.Run.$anonfun$compileUnits$1(Run.scala:195)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:90)
at dotty.tools.dotc.Run.compileUnits(Run.scala:150)
at dotty.tools.dotc.Run.compileSources(Run.scala:137)
at dotty.tools.dotc.Run.compile(Run.scala:121)
at dotty.tools.dotc.Driver.doCompile(Driver.scala:31)
at dotty.tools.dotc.Driver.process(Driver.scala:134)
at dotty.tools.dotc.Driver.process(Driver.scala:103)
at dotty.tools.vulpix.ParallelTesting$Test.compile(ParallelTesting.scala:376)
at dotty.tools.vulpix.ParallelTesting$RunTest$$anon$3.$anonfun$checkTestSource$14(ParallelTesting.scala:674)
at dotty.tools.vulpix.ParallelTesting$Test.tryCompile(ParallelTesting.scala:313)
at dotty.tools.vulpix.ParallelTesting$RunTest$$anon$3.checkTestSource(ParallelTesting.scala:660)
at dotty.tools.vulpix.ParallelTesting$Test$LoggedRunnable.run(ParallelTesting.scala:209)
at dotty.tools.vulpix.ParallelTesting$Test$LoggedRunnable.run$(ParallelTesting.scala:208)
at dotty.tools.vulpix.ParallelTesting$RunTest$$anon$3.run(ParallelTesting.scala:659)
at java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1386)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Compilation failed for: 'tests\run\i4947c.scala'
[=======================================] completed (1058/1058, 2 failed, 117s)
[error] Test dotty.tools.dotc.CompilationTests.runAll failed: java.lang.AssertionError: Run test failed, but should not,
reasons:
[error]
[error] - encountered 2 test failures(s), took 126.89 sec
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkRuns(ParallelTesting.scala:1008)
[error] at dotty.tools.dotc.CompilationTests.runAll(CompilationTests.scala:173)
[error] ...
[info] Test dotty.tools.dotc.CompilationTests.testPlugins started
[=======================================] completed (2/2, 0 failed, 0s)
[error] Test dotty.tools.dotc.CompilationTests.testPlugins failed: java.nio.file.FileSystemException: out\testPlugins\ne
g\divideZero-research\plugin.properties: Le processus ne peut pas accÚder au fichier car ce fichier est utilisÚ par un a
utre processus.
[error] , took 1.514 sec
[error] at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
[error] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
[error] at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
[error] at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
[error] at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
[error] at java.nio.file.Files.delete(Files.java:1126)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.delete(ParallelTesting.scala:1109)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.$anonfun$delete$2(ParallelTesting.scala:1108)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.$anonfun$delete$2$adapted(ParallelTesting.scala:1108)
[error] at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
[error] at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
[error] at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:194)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.delete(ParallelTesting.scala:1108)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.$anonfun$delete$1(ParallelTesting.scala:1105)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.$anonfun$delete$1$adapted(ParallelTesting.scala:1105)
[error] at scala.collection.immutable.List.foreach(List.scala:389)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.delete(ParallelTesting.scala:1105)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.cleanup(ParallelTesting.scala:1019)
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkExpectedErrors(ParallelTesting.scala:985)
[error] at dotty.tools.dotc.CompilationTests.testPlugins(CompilationTests.scala:295)
[error] ...
[info] Test dotty.tools.dotc.CompilationTests.pickling started
[=======================================] completed (2506/2506, 0 failed, 65s)
[info] Test dotty.tools.dotc.CompilationTests.pos started
[=======================================] completed (1676/1676, 0 failed, 129s)
[info] Test dotty.tools.dotc.CompilationTests.tastyBootstrap started
error while loading Throwable, ] completed (0/1, 0 failed, 0s)
class file out\java\lang\Throwable.class is broken, reading aborted with class dotty.tools.dotc.core.tasty.TastyUnpickle
r$UnpickleException
TASTy signature has wrong version.
expected: 11.0
found : 0.5
error while loading GenericTraversableTemplate,
class file out\scala\collection\generic\GenericTraversableTemplate.class is broken, reading aborted with class dotty.too
ls.dotc.core.tasty.TastyUnpickler$UnpickleException
TASTy signature has wrong version.
expected: 11.0
found : 0.5
error while loading uncheckedVariance,
class file out\scala\annotation\unchecked\uncheckedVariance.class is broken, reading aborted with class dotty.tools.dotc
.core.tasty.TastyUnpickler$UnpickleException
TASTy signature has wrong version.
expected: 11.0
found : 0.5
[=======================================] completed (1/1, 1 failed, 0s)
[error] Test dotty.tools.dotc.CompilationTests.tastyBootstrap failed: java.lang.AssertionError: Expected no errors when
compiling, failed for the following reason(s):
[error]
[error] - encountered 1 test failures(s), took 0.933 sec
[error] at dotty.tools.vulpix.ParallelTesting$CompilationTest.checkCompile(ParallelTesting.scala:969)
[error] at dotty.tools.dotc.CompilationTests.$anonfun$tastyBootstrap$2(CompilationTests.scala:261)
[error] at scala.collection.immutable.List.map(List.scala:283)
[error] at dotty.tools.dotc.CompilationTests.tastyBootstrap(CompilationTests.scala:261)
[error] ...
[info] Test dotty.tools.dotc.CompilationTests.posTwice started
[=======================================] completed (108/108, 0 failed, 13s)
[info] Test dotty.tools.dotc.CompilationTests.genericJavaSignatures started
[=======================================] completed (20/20, 0 failed, 1s)
================================================================================
Test Report
================================================================================
6 suites passed, 2 failed, 8 total
tests\run\i4947c.scala failed
src from tastyBootstrap/lib failed
--------------------------------------------------------------------------------
Note - reproduction instructions have been dumped to log file:
C:\Users\Sepi\Documents\Projets\dotty\testlogs\tests-2018-09-24\tests-2018-09-24-T20-19-34.log
--------------------------------------------------------------------------------
[info] Test run finished: 3 failed, 0 ignored, 8 total, 381.183s
[info] Test run started
[info] Test run finished: 0 failed, 0 ignored, 0 total, 0.0s
[error] Failed: Total 8, Failed 3, Errors 0, Passed 5
[error] Failed tests:
[error] dotty.tools.dotc.CompilationTests
[error] (dotty-compiler / Test / testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 499 s, completed 24-sept.-2018 20:25:57
sbt:dotty>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment