Discussion thread for Mill 1.0.0-RC3 #5189
Replies: 14 comments 54 replies
-
@lolgab @joan38 could we get releases of mill-mima and mill-scalafix for 1.0.0-RC1? That would let us roll out RC1 across the rest of the com-lihaoyi projects |
Beta Was this translation helpful? Give feedback.
-
Where would be the best place to make recommendations about documentation related to the 1.0.0 release please? E.g., you can select a mill version to view the documentation, but the search runs across all versions. This can be quite confusing for this changed or removed between the 0.12 and main/1.0.0 code bases. There are sometimes other small nits or potential omissions that I spot when reading the documentation. E.g., I don't think that I can find any reference to "os.checker.withValue(os.Checker.Nop)" in the documentation, only the 1.0.0 candidate release notes. Is flagging them here most useful, or just raising issues, or something else (and probably I don't have time to do a PR). |
Beta Was this translation helpful? Give feedback.
-
It wasn't entirely obvious to me that the YAML syntax is only available for the root build.mill file. It looks like if it is in any package.mill files then it will be silently ignored? |
Beta Was this translation helpful? Give feedback.
-
Not sure that it is relevant to a Mill 1.0.0 release - but if in an implementation of a rule, I use the wrong name for a def, i.e., I'm trying to define/use a rule that doesn't exist, then I don't get any warning or error, it is just silently ignored because it never gets invoked. Is there anyway to mitigate this? Or is this just an inherent limitation in the approach? |
Beta Was this translation helpful? Give feedback.
-
@lolgab I'm hitting a hang in the The stack trace indicates it is somewhere in the mima logic "execution-contexts-threadpool-1-thread-7" #25 daemon prio=5 os_prio=31 cpu=209.05ms elapsed=28.52s tid=0x000000016080bc00 nid=0x9003 waiting on condition [0x0000000280e47000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park([email protected]/Native Method) - parking to wait for <0x0000000601384588> (a java.util.concurrent.CountDownLatch$Sync) at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:211) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire([email protected]/AbstractQueuedSynchronizer.java:715) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly([email protected]/AbstractQueuedSynchronizer.java:1047) at java.util.concurrent.CountDownLatch.await([email protected]/CountDownLatch.java:230) at com.typesafe.tools.mima.core.ClassInfo.superClasses$lzyINIT3(ClassInfo.scala:113) at com.typesafe.tools.mima.core.ClassInfo.superClasses(ClassInfo.scala:110) at com.typesafe.tools.mima.core.ClassInfo.thisAndSuperClasses$$anonfun$1(ClassInfo.scala:115) at com.typesafe.tools.mima.core.ClassInfo$$Lambda$5088/0x00000008015b1770.apply(Unknown Source) at scala.collection.Iterator$ConcatIteratorCell.headIterator(Iterator.scala:1213) at scala.collection.Iterator$ConcatIterator.advance$1(Iterator.scala:1177) at scala.collection.Iterator$ConcatIterator.hasNext(Iterator.scala:1188) at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:601) at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619) at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617) at scala.collection.AbstractIterator.foreach(Iterator.scala:1306) at com.typesafe.tools.mima.core.TastyUnpickler$.com$typesafe$tools$mima$core$TastyUnpickler$$anon$1$$_$forEachClass$$anonfun$2(TastyUnpickler.scala:71) at com.typesafe.tools.mima.core.TastyUnpickler$$anon$1$$Lambda$5085/0x00000008015b0b98.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.List.foreach(List.scala:334) at com.typesafe.tools.mima.core.TastyUnpickler$$anon$1.forEachClass(TastyUnpickler.scala:72) at com.typesafe.tools.mima.core.TastyUnpickler$ClassTraverser.traverseClsDef(TastyUnpickler.scala:39) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traverse(TastyUnpickler.scala:306) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg$$anonfun$1(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser$$Lambda$5067/0x00000008015ab3e8.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.List.foreach(List.scala:334) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$ClassTraverser.traversePkg(TastyUnpickler.scala:32) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traverse(TastyUnpickler.scala:305) at com.typesafe.tools.mima.core.TastyUnpickler$.copyAnnotations(TastyUnpickler.scala:74) at com.typesafe.tools.mima.core.TastyUnpickler$.unpickleClass(TastyUnpickler.scala:23) at com.typesafe.tools.mima.core.ClassfileParser.parseTasty(ClassfileParser.scala:150) at com.typesafe.tools.mima.core.ClassfileParser.parseClassAttributes$$anonfun$1(ClassfileParser.scala:60) at com.typesafe.tools.mima.core.ClassfileParser$$Lambda$5043/0x000000080159ac58.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at com.typesafe.tools.mima.core.ClassfileParser.parseAttributes$$anonfun$1(ClassfileParser.scala:80) at com.typesafe.tools.mima.core.ClassfileParser$$Lambda$5042/0x000000080159a868.apply$mcVI$sp(Unknown Source) at scala.runtime.java8.JFunction1$mcVI$sp.apply(JFunction1$mcVI$sp.scala:18) at scala.collection.immutable.Range.foreach(Range.scala:192) at com.typesafe.tools.mima.core.ClassfileParser.parseAttributes(ClassfileParser.scala:82) at com.typesafe.tools.mima.core.ClassfileParser.parseClassAttributes(ClassfileParser.scala:62) at com.typesafe.tools.mima.core.ClassfileParser.com$typesafe$tools$mima$core$ClassfileParser$$parseClass(ClassfileParser.scala:20) at com.typesafe.tools.mima.core.ClassfileParser$.parseInPlace(ClassfileParser.scala:171) at com.typesafe.tools.mima.core.ConcreteClassInfo.afterLoading(ClassInfo.scala:44) at com.typesafe.tools.mima.core.ClassInfo.superClass(ClassInfo.scala:73) at com.typesafe.tools.mima.core.ClassInfo.superClasses$lzyINIT3(ClassInfo.scala:112) at com.typesafe.tools.mima.core.ClassInfo.superClasses(ClassInfo.scala:110) at com.typesafe.tools.mima.core.ClassInfo.superClasses$lzyINIT3(ClassInfo.scala:112) at com.typesafe.tools.mima.core.ClassInfo.superClasses(ClassInfo.scala:110) at com.typesafe.tools.mima.core.ClassInfo.thisAndSuperClasses$$anonfun$1(ClassInfo.scala:115) at com.typesafe.tools.mima.core.ClassInfo$$Lambda$5088/0x00000008015b1770.apply(Unknown Source) at scala.collection.Iterator$ConcatIteratorCell.headIterator(Iterator.scala:1213) at scala.collection.Iterator$ConcatIterator.advance$1(Iterator.scala:1177) at scala.collection.Iterator$ConcatIterator.hasNext(Iterator.scala:1188) at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:601) at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619) at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617) at scala.collection.AbstractIterator.foreach(Iterator.scala:1306) at com.typesafe.tools.mima.core.TastyUnpickler$.com$typesafe$tools$mima$core$TastyUnpickler$$anon$1$$_$forEachClass$$anonfun$2(TastyUnpickler.scala:71) at com.typesafe.tools.mima.core.TastyUnpickler$$anon$1$$Lambda$5085/0x00000008015b0b98.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.List.foreach(List.scala:334) at com.typesafe.tools.mima.core.TastyUnpickler$$anon$1.forEachClass(TastyUnpickler.scala:72) at com.typesafe.tools.mima.core.TastyUnpickler$ClassTraverser.traverseClsDef(TastyUnpickler.scala:39) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traverse(TastyUnpickler.scala:306) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg$$anonfun$1(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser$$Lambda$5067/0x00000008015ab3e8.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.List.foreach(List.scala:334) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$ClassTraverser.traversePkg(TastyUnpickler.scala:32) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traverse(TastyUnpickler.scala:305) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg$$anonfun$1(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser$$Lambda$5067/0x00000008015ab3e8.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.List.foreach(List.scala:334) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traversePkg(TastyUnpickler.scala:317) at com.typesafe.tools.mima.core.TastyUnpickler$ClassTraverser.traversePkg(TastyUnpickler.scala:32) at com.typesafe.tools.mima.core.TastyUnpickler$Traverser.traverse(TastyUnpickler.scala:305) at com.typesafe.tools.mima.core.TastyUnpickler$.copyAnnotations(TastyUnpickler.scala:74) at com.typesafe.tools.mima.core.TastyUnpickler$.unpickleClass(TastyUnpickler.scala:23) at com.typesafe.tools.mima.core.ClassfileParser.parseTasty(ClassfileParser.scala:150) at com.typesafe.tools.mima.core.ClassfileParser.parseClassAttributes$$anonfun$1(ClassfileParser.scala:60) at com.typesafe.tools.mima.core.ClassfileParser$$Lambda$5043/0x000000080159ac58.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at com.typesafe.tools.mima.core.ClassfileParser.parseAttributes$$anonfun$1(ClassfileParser.scala:80) at com.typesafe.tools.mima.core.ClassfileParser$$Lambda$5042/0x000000080159a868.apply$mcVI$sp(Unknown Source) at scala.runtime.java8.JFunction1$mcVI$sp.apply(JFunction1$mcVI$sp.scala:18) at scala.collection.immutable.Range.foreach(Range.scala:192) at com.typesafe.tools.mima.core.ClassfileParser.parseAttributes(ClassfileParser.scala:82) at com.typesafe.tools.mima.core.ClassfileParser.parseClassAttributes(ClassfileParser.scala:62) at com.typesafe.tools.mima.core.ClassfileParser.com$typesafe$tools$mima$core$ClassfileParser$$parseClass(ClassfileParser.scala:20) at com.typesafe.tools.mima.core.ClassfileParser$.parseInPlace(ClassfileParser.scala:171) at com.typesafe.tools.mima.core.ConcreteClassInfo.afterLoading(ClassInfo.scala:44) at com.typesafe.tools.mima.core.ClassInfo.flags(ClassInfo.scala:77) at com.typesafe.tools.mima.core.InfoLike.isPublic(InfoLike.scala:14) at com.typesafe.tools.mima.core.PackageInfo.isAccessible$1(PackageInfo.scala:82) at com.typesafe.tools.mima.core.PackageInfo.$anonfun$1(PackageInfo.scala:76) at com.typesafe.tools.mima.core.PackageInfo$$Lambda$5014/0x000000080158eb70.apply(Unknown Source) at scala.collection.Iterator$$anon$6.hasNext(Iterator.scala:479) at scala.collection.mutable.Growable.addAll(Growable.scala:61) at scala.collection.mutable.Growable.addAll$(Growable.scala:57) at scala.collection.immutable.SetBuilderImpl.addAll(Set.scala:405) at scala.collection.immutable.Set$.from(Set.scala:362) at scala.collection.IterableOnceOps.toSet(IterableOnce.scala:1469) at scala.collection.IterableOnceOps.toSet$(IterableOnce.scala:1469) at scala.collection.AbstractIterator.toSet(Iterator.scala:1306) at com.typesafe.tools.mima.core.PackageInfo.loop$1(PackageInfo.scala:76) at com.typesafe.tools.mima.core.PackageInfo.accessibleClasses$lzyINIT1(PackageInfo.scala:89) at com.typesafe.tools.mima.core.PackageInfo.accessibleClasses(PackageInfo.scala:74) at com.typesafe.tools.mima.lib.analyze.Analyzer$.analyze(Analyzer.scala:12) at com.typesafe.tools.mima.lib.MiMaLib.traversePackages(MiMaLib.scala:32) at com.typesafe.tools.mima.lib.MiMaLib.traversePackages$$anonfun$2(MiMaLib.scala:34) at com.typesafe.tools.mima.lib.MiMaLib$$Lambda$5022/0x0000000801590798.apply(Unknown Source) at scala.collection.immutable.List.flatMap(List.scala:294) at scala.collection.immutable.List.flatMap(List.scala:79) at com.typesafe.tools.mima.lib.MiMaLib.traversePackages(MiMaLib.scala:34) at com.typesafe.tools.mima.lib.MiMaLib.collectProblems(MiMaLib.scala:45) at com.github.lolgab.mill.mima.worker.MimaWorkerImpl.checkBC$1(MimaWorkerImpl.scala:51) at com.github.lolgab.mill.mima.worker.MimaWorkerImpl.$anonfun$3(MimaWorkerImpl.scala:57) at com.github.lolgab.mill.mima.worker.MimaWorkerImpl$$Lambda$4994/0x0000000801583000.apply(Unknown Source) at scala.collection.LinearSeqOps.foldLeft(LinearSeq.scala:183) at scala.collection.LinearSeqOps.foldLeft$(LinearSeq.scala:179) at scala.collection.immutable.List.foldLeft(List.scala:79) at com.github.lolgab.mill.mima.worker.MimaWorkerImpl.reportBinaryIssues(MimaWorkerImpl.scala:49) at com.github.lolgab.mill.mima.Mima.mimaReportBinaryIssues$$anonfun$1(Mima.scala:223) at com.github.lolgab.mill.mima.Mima$$Lambda$3402/0x0000000801366478.apply(Unknown Source) at mill.define.Task$Named.evaluate(Task.scala:342) at mill.define.Task$Named.evaluate$(Task.scala:327) at mill.define.Task$Command.evaluate(Task.scala:406) at mill.exec.GroupExecution.$anonfun$15(GroupExecution.scala:332) at mill.exec.GroupExecution$$Lambda$3960/0x0000000801409c80.apply(Unknown Source) at mill.exec.GroupExecution$.wrap$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(GroupExecution.scala:584) at mill.exec.GroupExecution$$$Lambda$3988/0x0000000801410da8.apply(Unknown Source) at mill.define.Evaluator$.withCurrentEvaluator$$anonfun$2$$anonfun$1(Evaluator.scala:124) at mill.define.Evaluator$$$Lambda$2921/0x00000008012a5b30.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.Evaluator$.withCurrentEvaluator$$anonfun$2(Evaluator.scala:125) at mill.define.Evaluator$$$Lambda$2920/0x00000008012a5760.apply(Unknown Source) at scala.util.Using$.resource(Using.scala:296) at mill.define.Evaluator$.withCurrentEvaluator(Evaluator.scala:126) at mill.exec.GroupExecution$.wrap$$anonfun$1$$anonfun$1$$anonfun$1(GroupExecution.scala:591) at mill.exec.GroupExecution$$$Lambda$3977/0x000000080140e220.apply(Unknown Source) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:85) at mill.define.SystemStreams$$$Lambda$3578/0x00000008013a1e40.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:86) at mill.define.SystemStreams$$$Lambda$3574/0x00000008013a0dc0.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:87) at mill.define.SystemStreams$$$Lambda$3564/0x000000080139f560.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:88) at mill.define.SystemStreams$$$Lambda$3555/0x000000080139dd18.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withErr(Console.scala:193) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:89) at mill.define.SystemStreams$$$Lambda$3547/0x000000080139c198.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withOut(Console.scala:164) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1(SystemStreams.scala:90) at mill.define.SystemStreams$$$Lambda$3543/0x000000080139b118.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withIn(Console.scala:227) at mill.define.SystemStreams$.withStreams$$anonfun$1(SystemStreams.scala:91) at mill.define.SystemStreams$$$Lambda$3531/0x0000000801399598.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams(SystemStreams.scala:92) at mill.exec.GroupExecution$.wrap$$anonfun$1$$anonfun$1(GroupExecution.scala:592) at mill.exec.GroupExecution$$$Lambda$3969/0x000000080140ca00.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.exec.GroupExecution$.wrap$$anonfun$1(GroupExecution.scala:593) at mill.exec.GroupExecution$$$Lambda$3966/0x000000080140c1f0.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.exec.GroupExecution$.wrap(GroupExecution.scala:594) at mill.exec.GroupExecution.executeGroup$$anonfun$1(GroupExecution.scala:345) at mill.exec.GroupExecution$$Lambda$3938/0x0000000801403140.applyVoid(Unknown Source) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) at scala.collection.immutable.Vector.foreach(Vector.scala:2125) at mill.exec.GroupExecution.executeGroup(GroupExecution.scala:283) at mill.exec.GroupExecution.executeGroupCached$$anonfun$1(GroupExecution.scala:193) at mill.exec.GroupExecution$$Lambda$3660/0x00000008013b5138.apply(Unknown Source) at mill.api.Logger.withPromptLine(Logger.scala:74) at mill.api.Logger.withPromptLine$(Logger.scala:12) at mill.internal.PrefixLogger.withPromptLine(PrefixLogger.scala:21) at mill.exec.GroupExecution.executeGroupCached(GroupExecution.scala:253) at mill.exec.GroupExecution.executeGroupCached$(GroupExecution.scala:21) at mill.exec.Execution.executeGroupCached(Execution.scala:17) at mill.exec.Execution.evaluateTerminals$1$$anonfun$1$$anonfun$1(Execution.scala:223) at mill.exec.Execution$$Lambda$3484/0x000000080138c9c8.apply(Unknown Source) at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467) at mill.exec.ExecutionContexts$.execute$$anonfun$1$$anonfun$2$$anonfun$1(ExecutionContexts.scala:65) at mill.exec.ExecutionContexts$.mill$exec$ExecutionContexts$ThreadPool$$_$execute$$anonfun$1$$anonfun$2$$anonfun$adapted$1(ExecutionContexts.scala:66) at mill.exec.ExecutionContexts$ThreadPool$$Lambda$3497/0x0000000801390580.apply(Unknown Source) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:85) at mill.define.SystemStreams$$$Lambda$3578/0x00000008013a1e40.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:86) at mill.define.SystemStreams$$$Lambda$3574/0x00000008013a0dc0.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:87) at mill.define.SystemStreams$$$Lambda$3564/0x000000080139f560.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:88) at mill.define.SystemStreams$$$Lambda$3555/0x000000080139dd18.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withErr(Console.scala:193) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1$$anonfun$1(SystemStreams.scala:89) at mill.define.SystemStreams$$$Lambda$3547/0x000000080139c198.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withOut(Console.scala:164) at mill.define.SystemStreams$.withStreams$$anonfun$1$$anonfun$1(SystemStreams.scala:90) at mill.define.SystemStreams$$$Lambda$3543/0x000000080139b118.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at scala.Console$.withIn(Console.scala:227) at mill.define.SystemStreams$.withStreams$$anonfun$1(SystemStreams.scala:91) at mill.define.SystemStreams$$$Lambda$3531/0x0000000801399598.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.define.SystemStreams$.withStreams(SystemStreams.scala:92) at mill.exec.ExecutionContexts$ThreadPool.execute$$anonfun$1$$anonfun$2(ExecutionContexts.scala:66) at mill.exec.ExecutionContexts$ThreadPool.execute$$anonfun$1$$anonfun$adapted$1(ExecutionContexts.scala:67) at mill.exec.ExecutionContexts$ThreadPool$$Lambda$3489/0x000000080138db20.apply(Unknown Source) at scala.util.DynamicVariable.withValue(DynamicVariable.scala:59) at mill.exec.ExecutionContexts$ThreadPool.execute$$anonfun$1(ExecutionContexts.scala:67) at mill.exec.ExecutionContexts$ThreadPool$$Lambda$3485/0x000000080138d000.apply$mcV$sp(Unknown Source) at mill.exec.ExecutionContexts$ThreadPool$PriorityRunnable.run(ExecutionContexts.scala:86) at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1136) at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:635) at java.lang.Thread.run([email protected]/Thread.java:833) This can be reproduced by |
Beta Was this translation helpful? Give feedback.
-
I'm exploring RC-1 (on windows), and have some observations;
Perhaps this comes from scala itself?
will get you this;
What you need, is this;
But if you aren't making small incremental changes, tracking that back is not entirely obvious. I'm now at the stage of wading through build errors (which is good) but wanted to post these things here before I forget them, I don't think any are "dealbreaking" . |
Beta Was this translation helpful? Give feedback.
-
I have this unit test for a plugin, which worked in mill 0.12 series. object SimpleTest extends TestSuite:
def tests: Tests = Tests {
test("simple") {
object wrapper extends TestRootModule:
object foo extends SimpleModule:
override def scalaVersion = "3.3.4"
end foo
object simples extends ScalaModule with SiteModule:
override def scalaVersion = "3.3.4"
override def moduleDeps = Seq(foo)
end simples
end wrapper
val resourceFolder = os.Path(sys.env("MILL_TEST_RESOURCE_DIR"))
UnitTester(wrapper, resourceFolder / "01-simple").scoped { eval =>
///...etc
}} In the mill 1.0.0 series, it appears to fail at compile time.
Is this. known / intentional? Or have I messed up? I can't see where... |
Beta Was this translation helpful? Give feedback.
-
1.0.0-RC2 is out https://github.com/com-lihaoyi/mill/blob/main/changelog.adoc#100-rc2 |
Beta Was this translation helpful? Give feedback.
-
When I use This is for a scala server + scalajs project: |
Beta Was this translation helpful? Give feedback.
-
I'm trying to rebootstrap Mill in preparation for releasing 1.0.0 but hit this issue #5398 that is likely a blocker for the release |
Beta Was this translation helpful? Give feedback.
-
I think we need to review all open scheduled issues for the current milestone. https://github.com/com-lihaoyi/mill/issues?q=is%3Aopen%20milestone%3A%221.0.0-RC3%22 EDIT: E.g. #5302 is a real blocker. We should make sure, the setup works, e.g. by applying it to detect (warn-level) changes between RC2 and RC3. And given the many changes since RC2, we might just cut a RC3 and wait one or two days for feedback before cutting the final 1.0.0. |
Beta Was this translation helpful? Give feedback.
-
Seems the next steps for 1.0.0 are:
|
Beta Was this translation helpful? Give feedback.
-
1.0.0-RC3 is out. @joan38 @lolgab could we get releases of mill-scalafix and mill-mima for 1.0.0-RC3? |
Beta Was this translation helpful? Give feedback.
-
Aiming to publish Mill 1.0.0 final on 10 July 2025, so please try out 1.0.0-RC3 if you have a chance! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This thread is for questions, answers, and other discussions around Mill 1.0.0-RC1/RC2
Changelog for RC1 https://github.com/com-lihaoyi/mill/blob/main/changelog.adoc#100-rc1
Changelog for RC2 https://github.com/com-lihaoyi/mill/blob/main/changelog.adoc#100-rc2
Changelog for RC3 https://github.com/com-lihaoyi/mill/blob/main/changelog.adoc#100-rc3
com.lihaoyi
upgrade PRs for reference:Beta Was this translation helpful? Give feedback.
All reactions