From a12083c1f1ac8a4edf4d168a2c03bc145893aa25 Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Thu, 28 Aug 2025 09:29:42 -0400 Subject: [PATCH 1/8] Enable explicit nulls in scalatest --- community-build/community-projects/scalatest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-build/community-projects/scalatest b/community-build/community-projects/scalatest index ab674686d089..8126d136cec0 160000 --- a/community-build/community-projects/scalatest +++ b/community-build/community-projects/scalatest @@ -1 +1 @@ -Subproject commit ab674686d089f13da2e29c3b78fe6c3ab0211189 +Subproject commit 8126d136cec0043c16914bc5fe630a9356adc26d From 9096200dda57d661d75dc66c64487aaec80bdc8f Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Thu, 28 Aug 2025 09:33:17 -0400 Subject: [PATCH 2/8] Enable explicit-nulls in Community Build --- community-build/src/scala/dotty/communitybuild/projects.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 20cc90101eb5..86e12e98487d 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -118,6 +118,7 @@ object SbtCommunityProject: def scalacOptions = List( "-Xcheck-macros", "-Wsafe-init", + "-Yexplicit-nulls", ) object projects: @@ -265,7 +266,8 @@ object projects: project = "scala-xml", sbtTestCommand = "xml/test", sbtPublishCommand = "xml/publishLocal", - sbtDocCommand = "xml/doc" + sbtDocCommand = "xml/doc", + scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Yexplicit-nulls") ) lazy val scalap = SbtCommunityProject( From 3ab8b52e51af7071bb0992ac144445b037c5e3f8 Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Wed, 17 Sep 2025 20:36:35 -0400 Subject: [PATCH 3/8] Migrate more projects AsyncFile, Lucre, cats, izumi-reflect, munit, scala-stm, scalacheck, scalatest, zio --- community-build/community-projects/AsyncFile | 2 +- community-build/community-projects/Lucre | 2 +- community-build/community-projects/cats | 2 +- community-build/community-projects/izumi-reflect | 2 +- community-build/community-projects/munit | 2 +- community-build/community-projects/scala-stm | 2 +- community-build/community-projects/scalacheck | 2 +- community-build/community-projects/scalatest | 2 +- community-build/community-projects/zio | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/community-build/community-projects/AsyncFile b/community-build/community-projects/AsyncFile index 7bdd11657e3e..b29b9408e953 160000 --- a/community-build/community-projects/AsyncFile +++ b/community-build/community-projects/AsyncFile @@ -1 +1 @@ -Subproject commit 7bdd11657e3e840c31f27140942c8dc9e07ea7b8 +Subproject commit b29b9408e953b12428486cdc340996d4f8389602 diff --git a/community-build/community-projects/Lucre b/community-build/community-projects/Lucre index 5f2ca01f44ce..e760a29cf1d9 160000 --- a/community-build/community-projects/Lucre +++ b/community-build/community-projects/Lucre @@ -1 +1 @@ -Subproject commit 5f2ca01f44ce0784ebce0d5455d996fb05a81fdb +Subproject commit e760a29cf1d9861677c531cc5f69f541d2b912ca diff --git a/community-build/community-projects/cats b/community-build/community-projects/cats index 683f28dd0da4..a935e0b745f4 160000 --- a/community-build/community-projects/cats +++ b/community-build/community-projects/cats @@ -1 +1 @@ -Subproject commit 683f28dd0da42e20c4bbf1515c7a7839c3d3c7a9 +Subproject commit a935e0b745f47a11049775810a56efd7d680532c diff --git a/community-build/community-projects/izumi-reflect b/community-build/community-projects/izumi-reflect index 2c7e4a69c386..f8cbf4c93492 160000 --- a/community-build/community-projects/izumi-reflect +++ b/community-build/community-projects/izumi-reflect @@ -1 +1 @@ -Subproject commit 2c7e4a69c386201e479584333a84ce018fef1795 +Subproject commit f8cbf4c934929a1c1c0a5183d57af1b3bf616e9a diff --git a/community-build/community-projects/munit b/community-build/community-projects/munit index c5d6f474fa0d..0776cbb88c15 160000 --- a/community-build/community-projects/munit +++ b/community-build/community-projects/munit @@ -1 +1 @@ -Subproject commit c5d6f474fa0d481e2c29f15d6a67d10ef2099e78 +Subproject commit 0776cbb88c15d9403701bdf8b36c043b52e578af diff --git a/community-build/community-projects/scala-stm b/community-build/community-projects/scala-stm index 8d443ab107e7..e77517713031 160000 --- a/community-build/community-projects/scala-stm +++ b/community-build/community-projects/scala-stm @@ -1 +1 @@ -Subproject commit 8d443ab107e75e809848c2fa3ecd666043171ad5 +Subproject commit e77517713031b295f851088eabeb72ba28ab595e diff --git a/community-build/community-projects/scalacheck b/community-build/community-projects/scalacheck index fbfaabd7b628..8892409dca8f 160000 --- a/community-build/community-projects/scalacheck +++ b/community-build/community-projects/scalacheck @@ -1 +1 @@ -Subproject commit fbfaabd7b628e9b0d8f78ed8a91a0672cf56ba15 +Subproject commit 8892409dca8fb3d431ee10968a97f53e2336653a diff --git a/community-build/community-projects/scalatest b/community-build/community-projects/scalatest index 8126d136cec0..0f9e001fa4df 160000 --- a/community-build/community-projects/scalatest +++ b/community-build/community-projects/scalatest @@ -1 +1 @@ -Subproject commit 8126d136cec0043c16914bc5fe630a9356adc26d +Subproject commit 0f9e001fa4df3095aad0bc2e637ec3cd990c57ca diff --git a/community-build/community-projects/zio b/community-build/community-projects/zio index fee051a48f82..e5aba2540e16 160000 --- a/community-build/community-projects/zio +++ b/community-build/community-projects/zio @@ -1 +1 @@ -Subproject commit fee051a48f82802c397df6b181a602d5929012ce +Subproject commit e5aba2540e16252227e95834c01bc134b0f3880c From 0f0f8afc9199a1cfb5628a30d2197302a9336747 Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Fri, 19 Sep 2025 14:12:27 -0400 Subject: [PATCH 4/8] Update Lucre --- community-build/community-projects/Lucre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-build/community-projects/Lucre b/community-build/community-projects/Lucre index e760a29cf1d9..b0c2ccbaa0be 160000 --- a/community-build/community-projects/Lucre +++ b/community-build/community-projects/Lucre @@ -1 +1 @@ -Subproject commit e760a29cf1d9861677c531cc5f69f541d2b912ca +Subproject commit b0c2ccbaa0bed5d0463e1d39bf5269b5fa924110 From a4407fbd7838d069b5b4cf82397cb5a44e3a306e Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Mon, 22 Sep 2025 18:21:43 -0400 Subject: [PATCH 5/8] Port cats-effect --- community-build/community-projects/cats-effect-3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-build/community-projects/cats-effect-3 b/community-build/community-projects/cats-effect-3 index 1d425e6efdf8..4cb830d6034f 160000 --- a/community-build/community-projects/cats-effect-3 +++ b/community-build/community-projects/cats-effect-3 @@ -1 +1 @@ -Subproject commit 1d425e6efdf8aee619a4a906e950473c51f78161 +Subproject commit 4cb830d6034f6b498c34849af7929e404efc3b8d From db9561402b2efc3238dcc16a4b35cf9849571e0e Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Tue, 23 Sep 2025 16:58:03 -0400 Subject: [PATCH 6/8] Migrate more projects Monocle, cats-effect-3, fs2, http4s, scodec, scodec-bits, spire --- community-build/community-projects/Monocle | 2 +- community-build/community-projects/cats-effect-3 | 2 +- community-build/community-projects/fs2 | 2 +- community-build/community-projects/http4s | 2 +- community-build/community-projects/scodec | 2 +- community-build/community-projects/scodec-bits | 2 +- community-build/community-projects/spire | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/community-build/community-projects/Monocle b/community-build/community-projects/Monocle index b303aa3b98d9..e5a4710cb939 160000 --- a/community-build/community-projects/Monocle +++ b/community-build/community-projects/Monocle @@ -1 +1 @@ -Subproject commit b303aa3b98d9a10c3f77a56765ca5be2f3cc51f7 +Subproject commit e5a4710cb939dd2fbc420f8fb134875089b209be diff --git a/community-build/community-projects/cats-effect-3 b/community-build/community-projects/cats-effect-3 index 4cb830d6034f..95d66c5dc46b 160000 --- a/community-build/community-projects/cats-effect-3 +++ b/community-build/community-projects/cats-effect-3 @@ -1 +1 @@ -Subproject commit 4cb830d6034f6b498c34849af7929e404efc3b8d +Subproject commit 95d66c5dc46bfc82a69bc90cebba78f2f64f0ac2 diff --git a/community-build/community-projects/fs2 b/community-build/community-projects/fs2 index e91c54621b76..a553e79caa22 160000 --- a/community-build/community-projects/fs2 +++ b/community-build/community-projects/fs2 @@ -1 +1 @@ -Subproject commit e91c54621b762a58c942b6576c42dcd94ba0fc0a +Subproject commit a553e79caa22ab559dca918565c95a7744bc82ba diff --git a/community-build/community-projects/http4s b/community-build/community-projects/http4s index aa85f5f2e660..19f5502c6cb5 160000 --- a/community-build/community-projects/http4s +++ b/community-build/community-projects/http4s @@ -1 +1 @@ -Subproject commit aa85f5f2e660d1d4370d90316333718fd6517051 +Subproject commit 19f5502c6cb548f0caaed785057b7f1c8eb4d5b5 diff --git a/community-build/community-projects/scodec b/community-build/community-projects/scodec index 21e68cf7a2dd..a12b9bc3eff0 160000 --- a/community-build/community-projects/scodec +++ b/community-build/community-projects/scodec @@ -1 +1 @@ -Subproject commit 21e68cf7a2ddcd0aece5ff005cad3c53db406068 +Subproject commit a12b9bc3eff0ae257c0ddd55c1c623dc1e2d9423 diff --git a/community-build/community-projects/scodec-bits b/community-build/community-projects/scodec-bits index 5081dc10310d..7307604ac299 160000 --- a/community-build/community-projects/scodec-bits +++ b/community-build/community-projects/scodec-bits @@ -1 +1 @@ -Subproject commit 5081dc10310dc2010d3b968c2772d72b57eb7d1c +Subproject commit 7307604ac29982e12d26249f9b1fafd97cdf5a4a diff --git a/community-build/community-projects/spire b/community-build/community-projects/spire index 993e8c8c7a8e..677f781434d3 160000 --- a/community-build/community-projects/spire +++ b/community-build/community-projects/spire @@ -1 +1 @@ -Subproject commit 993e8c8c7a8e55be943d63c07c8263c1021add2f +Subproject commit 677f781434d3415241039af67e831401ca98defd From a62cd9d7d978b65f98f95a545c4083017bb36e7e Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Tue, 23 Sep 2025 18:54:08 -0400 Subject: [PATCH 7/8] Enable -Yflexify-tasty for select projects scalatest, scalatestplusTestNG --- .../src/scala/dotty/communitybuild/projects.scala | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 86e12e98487d..6b27da8219e1 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -241,6 +241,13 @@ object projects: ).mkString("; "), sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal", sbtDocCommand = ";scalacticDotty/doc", // fails with missing type ;scalatestDotty/doc" + // cannot take signature of (test: org.scalatest.concurrent.ConductorFixture#OneArgTest): + // org.scalatest.Outcome + // Problem parsing scalatest.dotty/target/scala-3.0.0-M2/src_managed/main/org/scalatest/concurrent/ConductorFixture.scala:[602..624..3843], documentation may not be generated. + // dotty.tools.dotc.core.MissingType: + dependencies = List(scalaXml), + scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"), + testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG) ) lazy val scalatestplusScalacheck = SbtCommunityProject( @@ -260,6 +267,8 @@ object projects: project = "scalatestplus-testng", sbtTestCommand = "test", sbtPublishCommand = "publishLocal", + scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"), + dependencies = List(scalatest) ) lazy val scalaXml = SbtCommunityProject( From b1f9bc1e080fea7d4bc4c0049eed6de74ba1bc06 Mon Sep 17 00:00:00 2001 From: HarrisL2 Date: Sun, 28 Sep 2025 14:27:19 -0400 Subject: [PATCH 8/8] Migrate more projects betterfiles, endpoints4s, fastparse, intent, minitest, protoquill, scala-collection-compat, scala-parser-combinators, scalap, scalatestplus-scalacheck, scalaz, specs2, verify --- community-build/community-projects/betterfiles | 2 +- community-build/community-projects/endpoints4s | 2 +- community-build/community-projects/fastparse | 2 +- community-build/community-projects/intent | 2 +- community-build/community-projects/minitest | 2 +- community-build/community-projects/protoquill | 2 +- .../community-projects/scala-collection-compat | 2 +- .../community-projects/scala-parser-combinators | 2 +- community-build/community-projects/scalap | 2 +- .../community-projects/scalatestplus-scalacheck | 2 +- community-build/community-projects/scalaz | 2 +- community-build/community-projects/specs2 | 2 +- community-build/community-projects/verify | 2 +- .../src/scala/dotty/communitybuild/projects.scala | 9 +-------- 14 files changed, 14 insertions(+), 21 deletions(-) diff --git a/community-build/community-projects/betterfiles b/community-build/community-projects/betterfiles index d098f2799092..9301eccb5696 160000 --- a/community-build/community-projects/betterfiles +++ b/community-build/community-projects/betterfiles @@ -1 +1 @@ -Subproject commit d098f279909246243643ba3b85f3520a24c377af +Subproject commit 9301eccb5696fa0ec7e12b516e0c4e92c75edaf7 diff --git a/community-build/community-projects/endpoints4s b/community-build/community-projects/endpoints4s index b004d1388872..2fe9952098ac 160000 --- a/community-build/community-projects/endpoints4s +++ b/community-build/community-projects/endpoints4s @@ -1 +1 @@ -Subproject commit b004d13888723de9f6a86f560137fc31e22edcb6 +Subproject commit 2fe9952098ac5b7c2f5cc42269e64fd240cb8265 diff --git a/community-build/community-projects/fastparse b/community-build/community-projects/fastparse index 4c416b222ad3..4dcb6b829911 160000 --- a/community-build/community-projects/fastparse +++ b/community-build/community-projects/fastparse @@ -1 +1 @@ -Subproject commit 4c416b222ad3dcf0bc71656e22407fa49aec193a +Subproject commit 4dcb6b829911f2025f5bd30270b5dca8041d297a diff --git a/community-build/community-projects/intent b/community-build/community-projects/intent index c0c4a1939b04..188aa898862b 160000 --- a/community-build/community-projects/intent +++ b/community-build/community-projects/intent @@ -1 +1 @@ -Subproject commit c0c4a1939b04a6ce4ae5de3aa8949f04674af1f7 +Subproject commit 188aa898862be0f84b5a176fc3a7fa363e8d141f diff --git a/community-build/community-projects/minitest b/community-build/community-projects/minitest index fb23874c030f..c0255aea5638 160000 --- a/community-build/community-projects/minitest +++ b/community-build/community-projects/minitest @@ -1 +1 @@ -Subproject commit fb23874c030fea4f8d6b160fd4df45bde71ca02b +Subproject commit c0255aea5638494c25ff8d623ed1ad1b1e5ee2b4 diff --git a/community-build/community-projects/protoquill b/community-build/community-projects/protoquill index 494c2ddc06e7..2421244cca99 160000 --- a/community-build/community-projects/protoquill +++ b/community-build/community-projects/protoquill @@ -1 +1 @@ -Subproject commit 494c2ddc06e71f1c7f13b382675525130feee9a0 +Subproject commit 2421244cca9984a23c8d6fc906ca26768fca42dc diff --git a/community-build/community-projects/scala-collection-compat b/community-build/community-projects/scala-collection-compat index c9d3a8b160a3..07ac10951721 160000 --- a/community-build/community-projects/scala-collection-compat +++ b/community-build/community-projects/scala-collection-compat @@ -1 +1 @@ -Subproject commit c9d3a8b160a35c9915816dd84a1063e18db4a84a +Subproject commit 07ac1095172106f84e6d8fb2e564fba6c1ae06af diff --git a/community-build/community-projects/scala-parser-combinators b/community-build/community-projects/scala-parser-combinators index f2f0b4f89e1f..5ec265cb807f 160000 --- a/community-build/community-projects/scala-parser-combinators +++ b/community-build/community-projects/scala-parser-combinators @@ -1 +1 @@ -Subproject commit f2f0b4f89e1fc0ffb67bbc3f93567b866880a01b +Subproject commit 5ec265cb807faa484f9806f7781b9dc7b3f77e85 diff --git a/community-build/community-projects/scalap b/community-build/community-projects/scalap index 050beff061cc..a63e36858ff2 160000 --- a/community-build/community-projects/scalap +++ b/community-build/community-projects/scalap @@ -1 +1 @@ -Subproject commit 050beff061cc637c449e672f5580ce211d42b3f6 +Subproject commit a63e36858ff227e322541834227cf56fcebf8307 diff --git a/community-build/community-projects/scalatestplus-scalacheck b/community-build/community-projects/scalatestplus-scalacheck index 32e7dc67a949..95d4600f78c1 160000 --- a/community-build/community-projects/scalatestplus-scalacheck +++ b/community-build/community-projects/scalatestplus-scalacheck @@ -1 +1 @@ -Subproject commit 32e7dc67a9490147e6a04be9125c3ef0940d6819 +Subproject commit 95d4600f78c1ca0887864b76ee28f4bf714261f6 diff --git a/community-build/community-projects/scalaz b/community-build/community-projects/scalaz index 868749fdb951..4a8a6e2efa65 160000 --- a/community-build/community-projects/scalaz +++ b/community-build/community-projects/scalaz @@ -1 +1 @@ -Subproject commit 868749fdb951909bb04bd6dd7ad2cd89295fd439 +Subproject commit 4a8a6e2efa6571e907c9f0948b98b4eaf4477fde diff --git a/community-build/community-projects/specs2 b/community-build/community-projects/specs2 index b0652c36f995..12277add369e 160000 --- a/community-build/community-projects/specs2 +++ b/community-build/community-projects/specs2 @@ -1 +1 @@ -Subproject commit b0652c36f99570f31673beb8fb3d480e8e7f6102 +Subproject commit 12277add369e8d0db2b37499163d18eac56d896c diff --git a/community-build/community-projects/verify b/community-build/community-projects/verify index f82bb3f52623..929b5d0b5311 160000 --- a/community-build/community-projects/verify +++ b/community-build/community-projects/verify @@ -1 +1 @@ -Subproject commit f82bb3f52623e44f02b4b43f8bdf27f4f0a7d3d4 +Subproject commit 929b5d0b53112e29a75c6bf1f5256a2144d541e5 diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 6b27da8219e1..63167f05e9d3 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -241,13 +241,7 @@ object projects: ).mkString("; "), sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal", sbtDocCommand = ";scalacticDotty/doc", // fails with missing type ;scalatestDotty/doc" - // cannot take signature of (test: org.scalatest.concurrent.ConductorFixture#OneArgTest): - // org.scalatest.Outcome - // Problem parsing scalatest.dotty/target/scala-3.0.0-M2/src_managed/main/org/scalatest/concurrent/ConductorFixture.scala:[602..624..3843], documentation may not be generated. - // dotty.tools.dotc.core.MissingType: - dependencies = List(scalaXml), scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"), - testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG) ) lazy val scalatestplusScalacheck = SbtCommunityProject( @@ -268,7 +262,6 @@ object projects: sbtTestCommand = "test", sbtPublishCommand = "publishLocal", scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"), - dependencies = List(scalatest) ) lazy val scalaXml = SbtCommunityProject( @@ -318,7 +311,7 @@ object projects: project = "shapeless-3", sbtTestCommand = "testJVM; testJS", sbtDocCommand = forceDoc("typeable", "deriving"), - scalacOptions = "-source" :: "3.3" :: SbtCommunityProject.scalacOptions.filter(_ != "-Wsafe-init"), // due to -Xfatal-warnings + scalacOptions = "-source" :: "3.3" :: SbtCommunityProject.scalacOptions.filter(_ != "-Wsafe-init").filter(_ != "-Yexplicit-nulls"), // due to -Xfatal-warnings ) lazy val xmlInterpolator = SbtCommunityProject(