Build Logs

sbt/librarymanagement • 12332952851

Errors

0

Warnings

47

Total Lines

609

1##################################
2Clonning https://github.com/sbt/librarymanagement.git into repo using revision wip/sbt-2.x
3##################################
4Migrating project using Scala 3.4.2
5----
6Preparing build for 3.4.2
7Scala binary version found: 3.4
8Implicitly using source version 3.4-migration
9Scala binary version found: 3.4
10Implicitly using source version 3.4-migration
11Would try to apply common scalacOption (best-effort, sbt/mill only):
12Append: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s
13Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
14----
15Starting build for 3.4.2
16Execute tests: false
17sbt project found:
18Try apply source patch:
19Path: project/Dependencies.scala
20Pattern: val scala3 = "3.3.3"
21Replacement: val scala3 = "3.4.2"
22Starting compilation server
23Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.2/scala3-compiler_3-3.4.2.pom
24Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.2/scala3-compiler_3-3.4.2.pom
25Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.2/scala3-library_3-3.4.2.pom
26Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-interfaces/3.4.2/scala3-interfaces-3.4.2.pom
27Downloading https://repo1.maven.org/maven2/org/scala-lang/tasty-core_3/3.4.2/tasty-core_3-3.4.2.pom
28Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.2/scala3-library_3-3.4.2.pom
29Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-interfaces/3.4.2/scala3-interfaces-3.4.2.pom
30Downloaded https://repo1.maven.org/maven2/org/scala-lang/tasty-core_3/3.4.2/tasty-core_3-3.4.2.pom
31Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-interfaces/3.4.2/scala3-interfaces-3.4.2.jar
32Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.2/scala3-compiler_3-3.4.2.jar
33Downloading https://repo1.maven.org/maven2/org/scala-lang/tasty-core_3/3.4.2/tasty-core_3-3.4.2.jar
34Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.2/scala3-library_3-3.4.2.jar
35Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-interfaces/3.4.2/scala3-interfaces-3.4.2.jar
36Downloaded https://repo1.maven.org/maven2/org/scala-lang/tasty-core_3/3.4.2/tasty-core_3-3.4.2.jar
37Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.4.2/scala3-library_3-3.4.2.jar
38Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.2/scala3-compiler_3-3.4.2.jar
39Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-sbt-bridge/3.4.2/scala3-sbt-bridge-3.4.2.pom
40Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-sbt-bridge/3.4.2/scala3-sbt-bridge-3.4.2.pom
41Downloading https://repo1.maven.org/maven2/org/scala-lang/scala3-sbt-bridge/3.4.2/scala3-sbt-bridge-3.4.2.jar
42Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala3-sbt-bridge/3.4.2/scala3-sbt-bridge-3.4.2.jar
43Compiling project (Scala 3.4.2, JVM (11))
44Compiled project (Scala 3.4.2, JVM (11))
45Successfully applied pattern 'val scala3 = "3.3.3"' in repo/project/Dependencies.scala
46No prepare script found for project sbt/librarymanagement
47##################################
48Scala version: 3.4.2
49Targets: org.scala-sbt%librarymanagement-core org.scala-sbt%librarymanagement-ivy
50Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": {}, "sbt": { "commands": [ "set every scalafmtOnCompile := false" ], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [ "3.4.2" ], "sourcePatches": [ { "path": "project/Dependencies.scala", "pattern": "val scala3 = \"3.3.3\"", "replaceWith": "val scala3 = \"<SCALA_VERSION>\"" } ] }
51##################################
52Using extra scalacOptions: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s
53Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
54[sbt_options] declare -a sbt_options=()
55[process_args] java_version = '11'
56[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
57# Executing command line:
58java
59-Dfile.encoding=UTF-8
60-Dcommunitybuild.scala=3.4.2
61-Dcommunitybuild.project.dependencies.add=
62-Xmx7G
63-Xms4G
64-Xss8M
65-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
66-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
67-jar
68/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
69"setCrossScalaVersions 3.4.2"
70"++3.4.2 -v"
71"mapScalacOptions "-rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
72"set every credentials := Nil"
73"set every scalafmtOnCompile := false"
74moduleMappings
75"runBuild 3.4.2 """{
76 "projects": {
77 "exclude": [],
78 "overrides": {}
79 },
80 "java": {},
81 "sbt": {
82 "commands": [
83 "set every scalafmtOnCompile := false"
84 ],
85 "options": []
86 },
87 "mill": {
88 "options": []
89 },
90 "tests": "compile-only",
91 "migrationVersions": [
92 "3.4.2"
93 ],
94 "sourcePatches": [
95 {
96 "path": "project/Dependencies.scala",
97 "pattern": "val scala3 = \"3.3.3\"",
98 "replaceWith": "val scala3 = \"<SCALA_VERSION>\""
99 }
100 ]
101}""" org.scala-sbt%librarymanagement-core org.scala-sbt%librarymanagement-ivy"
102
103[info] [launcher] getting org.scala-sbt sbt 1.9.3 (this may take some time)...
104[info] welcome to sbt 1.9.3 (Eclipse Adoptium Java 11.0.20)
105[info] loading settings for project repo-build from plugins.sbt ...
106[info] loading project definition from /build/repo/project
107[info] compiling 7 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
108[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.18. Compiling...
109[info] Compilation completed in 7.922s.
110[info] done compiling
111/build/repo/build.sbt:0: warning: This wildcard import imports sbt.Import.Util, which is shadowed by Util.
112This is not according to the language specification and has changed in Scala 2.13, where sbt.Import.Util takes precedence.
113To keep the same meaning in 2.12 and 2.13, un-import Util by adding `Util => _` to the import list.
114import _root_.sbt._
115 ^
116[info] loading settings for project lmRoot from build.sbt ...
117[info] set current project to LM Root (in build file:/build/repo/)
118[warn] there are 2 keys that are not used by any other settings/tasks:
119[warn]
120[warn] * ThisBuild / Test / classLoaderLayeringStrategy
121[warn] +- /build/repo/build.sbt:40
122[warn] * ThisBuild / scalafmtOnCompile
123[warn] +- /build/repo/build.sbt:29
124[warn]
125[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
126[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
127Execute setCrossScalaVersions: 3.4.2
128OpenCB::Changing crossVersion 3.4.2 -> 3.4.2 in lmRoot/crossScalaVersions
129OpenCB::Changing crossVersion 3.4.2 -> 3.4.2 in lmIvy/crossScalaVersions
130OpenCB::Changing crossVersion 3.4.2 -> 3.4.2 in lmCore/crossScalaVersions
131[info] set current project to LM Root (in build file:/build/repo/)
132[info] Setting Scala version to 3.4.2 on 3 projects.
133[info] Switching Scala version on:
134[info] * lmRoot (3.4.2)
135[info] lmCore (3.4.2)
136[info] lmIvy (3.4.2)
137[info] Excluding projects:
138[info] Reapplying settings...
139[info] set current project to LM Root (in build file:/build/repo/)
140Execute mapScalacOptions: -rewrite,-source:3.4-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
141[info] Reapplying settings...
142[info] set current project to LM Root (in build file:/build/repo/)
143[info] Defining Global / credentials
144[info] The new value will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 20 others.
145[info] Run `last` for details.
146[info] Reapplying settings...
147[info] set current project to LM Root (in build file:/build/repo/)
148[info] Defining Global / scalafmtOnCompile, Test / scalafmtOnCompile and 5 others.
149[info] The new values will be used by Compile / scalafmtDoFormatOnCompile, IntegrationTest / scalafmtDoFormatOnCompile and 6 others.
150[info] Run `last` for details.
151[info] Reapplying settings...
152[info] set current project to LM Root (in build file:/build/repo/)
153[success] Total time: 0 s, completed Dec 14, 2024, 10:58:06 PM
154Build config: {
155 "projects": {
156 "exclude": [],
157 "overrides": {}
158 },
159 "java": {},
160 "sbt": {
161 "commands": [
162 "set every scalafmtOnCompile := false"
163 ],
164 "options": []
165 },
166 "mill": {
167 "options": []
168 },
169 "tests": "compile-only",
170 "migrationVersions": [
171 "3.4.2"
172 ],
173 "sourcePatches": [
174 {
175 "path": "project/Dependencies.scala",
176 "pattern": "val scala3 = \"3.3.3\"",
177 "replaceWith": "val scala3 = \"<SCALA_VERSION>\""
178 }
179 ]
180}
181Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
182Starting build...
183Projects: Set(lmCore, lmIvy)
184Starting build for ProjectRef(file:/build/repo/,lmCore) (librarymanagement-core)...
185OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.18 module Global
186OpenCB::Exclude Scala3 specific scalacOption `-source:3.4-migration` in Scala 2.12.18 module Global
187OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
188OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
189[warn] Found intransitive dependency (com.github.mwiede:jsch:0.2.17 intransitive) while publishMavenStyle is true, but Maven repositories
190[warn] do not support intransitive dependencies. Use exclusions instead so transitive dependencies
191[warn] will be correctly excluded in dependent projects.
192[warn]
193OpenCB::Would not apply setting `-source:3.4-migration`: Project has predefined source version: Some(-source:3.4-migration)
194Compile scalacOptions: List(-encoding, utf8, -unchecked, -language:higherKinds, -language:implicitConversions, -source:3.4-migration, -Xsemanticdb, -semanticdb-target, /build/repo/core/target/scala-3.4.2/meta, -rewrite, -Wconf:msg=can be rewritten automatically under:s)
195[info] compiling 144 Scala sources and 1 Java source to /build/repo/core/target/scala-3.4.2/classes ...
196[info] [patched file /build/repo/core/src/main/scala/sbt/internal/librarymanagement/SemanticSelectorExtra.scala]
197[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/RetrieveConfigurationFormats.scala]
198[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/FileRepositoryFormats.scala]
199[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/RichUpdateReport.scala]
200[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/SshConnectionFormats.scala]
201[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ChainedResolverFormats.scala]
202[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/SshAuthenticationFormats.scala]
203[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ConfigurationFormats.scala]
204[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/PomConfigurationFormats.scala]
205[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleDescriptorConfigurationFormats.scala]
206[info] [patched file /build/repo/core/src/main/scala/sbt/internal/librarymanagement/VersionRange.scala]
207[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/VersionNumber.scala]
208[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ConfigurationReportLiteFormats.scala]
209[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ConfigRef.scala]
210[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleReportFormats.scala]
211[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/URLRepositoryFormats.scala]
212[info] [patched file /build/repo/core/src/main/scala/sbt/internal/librarymanagement/formats/LoggerFormat.scala]
213[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/UpdateReportExtra.scala]
214[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleInfoFormats.scala]
215[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ConfigurationReportFormats.scala]
216[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ScalaArtifacts.scala]
217[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/SshBasedRepositoryFormats.scala]
218[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/IvyFileConfigurationFormats.scala]
219[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/PublishConfigurationFormats.scala]
220[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ArtifactFormats.scala]
221[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/GetClassifiersConfigurationFormats.scala]
222[info] [patched file /build/repo/core/src/main/scala/sbt/internal/librarymanagement/formats/GlobalLockFormat.scala]
223[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/DependencyFilter.scala]
224[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/MavenRepositoryFormats.scala]
225[info] [patched file /build/repo/core/src/main/scala/sbt/internal/librarymanagement/cross/CrossVersionUtil.scala]
226[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/OrganizationArtifactReportFormats.scala]
227[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/EvictionError.scala]
228[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ScalaModuleInfoFormats.scala]
229[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/CallerFormats.scala]
230[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/UpdateReportFormats.scala]
231[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/SshRepositoryFormats.scala]
232[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ConfigurationExtra.scala]
233[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleIDFormats.scala]
234[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/UpdateReportLiteFormats.scala]
235[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/PatternsBasedRepositoryFormats.scala]
236[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ResolverFormats.scala]
237[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleConfigurationFormats.scala]
238[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/SftpRepositoryFormats.scala]
239[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/DependencyResolution.scala]
240[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/Configuration.scala]
241[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/CrossVersion.scala]
242[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/UpdateConfigurationFormats.scala]
243[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/InclExclRuleFormats.scala]
244[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ResolverExtra.scala]
245[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/UnresolvedWarning.scala]
246[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/GetClassifiersModuleFormats.scala]
247[info] [patched file /build/repo/core/src/main/contraband-scala/sbt/librarymanagement/ModuleSettingsFormats.scala]
248[info] [patched file /build/repo/core/src/main/scala/sbt/librarymanagement/ConflictWarning.scala]
249[info] done compiling
250[info] compiling 53 Scala sources to /build/repo/core/target/scala-3.4.2/classes ...
251[info] done compiling
252[info] compiling 37 Scala sources to /build/repo/core/target/scala-3.4.2/classes ...
253[info] done compiling
254[info] Main Scala API documentation to /build/repo/core/target/scala-3.4.2/api...
255[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source, -rewrite
256[info] Main Scala API documentation successful.
257[info] Writing version information to /build/repo/core/target/scala-3.4.2/resource_managed/xsbt.version.properties :
258[info] version=2.0.0-SNAPSHOT
259[info] timestamp=20241214T215846
260[info] compiling 12 Scala sources to /build/repo/core/target/scala-3.4.2/test-classes ...
261[info] [patched file /build/repo/core/src/test/scala/UpdateReportSpec.scala]
262[info] [patched file /build/repo/core/src/test/scala/sbt/librarymanagement/VersionNumberSpec.scala]
263[info] [patched file /build/repo/core/src/test/scala/sbt/librarymanagement/SemanticSelectorSpec.scala]
264[warn] there were 2 deprecation warnings; re-run with -deprecation for details
265[warn] one warning found
266[info] done compiling
267[info] Wrote /build/repo/core/target/scala-3.4.2/librarymanagement-core_3-2.0.0-SNAPSHOT.pom
268[info] Main Scala API documentation to /build/repo/core/target/scala-3.4.2/api...
269[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source, -rewrite
270[info] Main Scala API documentation successful.
271[info] :: delivering :: org.scala-sbt#librarymanagement-core_3;2.0.0-SNAPSHOT :: 2.0.0-SNAPSHOT :: integration :: Sat Dec 14 22:58:56 CET 2024
272[info] delivering ivy file to /build/repo/core/target/scala-3.4.2/ivy-2.0.0-SNAPSHOT.xml
273[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/poms/librarymanagement-core_3.pom
274[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/jars/librarymanagement-core_3.jar
275[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/srcs/librarymanagement-core_3-sources.jar
276[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/docs/librarymanagement-core_3-javadoc.jar
277[info] published ivy to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/ivys/ivy.xml
278[info] compiling 3 Scala sources to /build/repo/core/target/scala-3.4.2/test-classes ...
279[info] done compiling
280Starting build for ProjectRef(file:/build/repo/,lmIvy) (librarymanagement-ivy)...
281Compile scalacOptions: List(-encoding, utf8, -unchecked, -language:higherKinds, -language:implicitConversions, -source:3.4-migration, -Xsemanticdb, -semanticdb-target, /build/repo/ivy/target/scala-3.4.2/meta, -rewrite, -Wconf:msg=can be rewritten automatically under:s)
282[info] compiling 42 Scala sources and 1 Java source to /build/repo/ivy/target/scala-3.4.2/classes ...
283[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ComponentManager.scala]
284[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ConvertResolver.scala]
285[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/IvyActions.scala]
286[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ResolutionCache.scala]
287[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/SbtChainResolver.scala]
288[info] [patched file /build/repo/ivy/src/main/scala/sbt/librarymanagement/ivy/Credentials.scala]
289[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/FakeResolver.scala]
290[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/MakePom.scala]
291[info] [patched file /build/repo/ivy/src/main/scala/sbt/librarymanagement/ivy/formats/UpdateOptionsFormat.scala]
292[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/Ivy.scala]
293[info] [patched file /build/repo/ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/IvyConfigurationFormats.scala]
294[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/CustomPomParser.scala]
295[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ProjectResolver.scala]
296[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/MergeDescriptors.scala]
297[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/IvyScalaUtil.scala]
298[info] [patched file /build/repo/ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/ExternalIvyConfigurationFormats.scala]
299[info] [patched file /build/repo/ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/InlineIvyConfigurationFormats.scala]
300[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/mavenint/PomExtraDependencyAttributes.scala]
301[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/CachedResolutionResolveEngine.scala]
302[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/IvyRetrieve.scala]
303[info] [patched file /build/repo/ivy/src/main/scala/sbt/internal/librarymanagement/ivyint/ErrorMessageAuthenticator.scala]
304[warn] there was 1 deprecation warning; re-run with -deprecation for details
305[warn] one warning found
306[info] done compiling
307[info] compiling 21 Scala sources to /build/repo/ivy/target/scala-3.4.2/classes ...
308[warn] there was 1 deprecation warning; re-run with -deprecation for details
309[warn] one warning found
310[info] done compiling
311[info] compiling 2 Scala sources to /build/repo/ivy/target/scala-3.4.2/classes ...
312[warn] one warning found
313[info] done compiling
314[info] Main Scala API documentation to /build/repo/ivy/target/scala-3.4.2/api...
315[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source, -rewrite
316[info] Main Scala API documentation successful.
317[info] compiling 32 Scala sources to /build/repo/ivy/target/scala-3.4.2/test-classes ...
318[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/ResolverSpec.scala]
319[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/PlatformResolutionSpec.scala]
320[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/InconsistentDuplicateSpec.scala]
321[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/ResolutionSpec.scala]
322[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/EvictionWarningSpec.scala]
323[info] [patched file /build/repo/ivy/src/test/scala/sbt/internal/librarymanagement/EvictionErrorSpec.scala]
324[info] done compiling
325[info] Wrote /build/repo/ivy/target/scala-3.4.2/librarymanagement-ivy_3-2.0.0-SNAPSHOT.pom
326[info] Main Scala API documentation to /build/repo/ivy/target/scala-3.4.2/api...
327[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source, -rewrite
328[info] Main Scala API documentation successful.
329[info] :: delivering :: org.scala-sbt#librarymanagement-ivy_3;2.0.0-SNAPSHOT :: 2.0.0-SNAPSHOT :: integration :: Sat Dec 14 22:59:17 CET 2024
330[info] delivering ivy file to /build/repo/ivy/target/scala-3.4.2/ivy-2.0.0-SNAPSHOT.xml
331[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/poms/librarymanagement-ivy_3.pom
332[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/jars/librarymanagement-ivy_3.jar
333[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/srcs/librarymanagement-ivy_3-sources.jar
334[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/docs/librarymanagement-ivy_3-javadoc.jar
335[info] published ivy to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/ivys/ivy.xml
336[info] compiling 6 Scala sources to /build/repo/ivy/target/scala-3.4.2/test-classes ...
337[info] done compiling
338
339************************
340Build summary:
341[{
342 "module": "librarymanagement-core",
343 "compile": {"status": "ok", "tookMs": 18059, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
344 "doc": {"status": "ok", "tookMs": 16162, "files": 602, "totalSizeKb": 24650},
345 "test-compile": {"status": "ok", "tookMs": 4265, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
346 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
347 "publish": {"status": "ok", "tookMs": 5956}
348},{
349 "module": "librarymanagement-ivy",
350 "compile": {"status": "ok", "tookMs": 5257, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
351 "doc": {"status": "ok", "tookMs": 7483, "files": 398, "totalSizeKb": 10326},
352 "test-compile": {"status": "ok", "tookMs": 3193, "warnings": 0, "errors": 0, "sourceVersion": "3.4-migration"},
353 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
354 "publish": {"status": "ok", "tookMs": 2796}
355}]
356************************
357[success] Total time: 72 s (01:12), completed Dec 14, 2024, 10:59:18 PM
358Checking patch project/Dependencies.scala...
359Checking patch build.sbt...
360Applied patch project/Dependencies.scala cleanly.
361Applied patch build.sbt cleanly.
362Commit migration rewrites
363Switched to a new branch 'opencb/migrate-3.4.2'
364[opencb/migrate-3.4.2 3276e84] Apply Scala compiler rewrites for 3.4.2
365 83 files changed, 364 insertions(+), 460 deletions(-)
366 rewrite core/src/main/contraband-scala/sbt/librarymanagement/ModuleSettingsFormats.scala (66%)
367 rewrite ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/ExternalIvyConfigurationFormats.scala (91%)
368 rewrite ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/InlineIvyConfigurationFormats.scala (93%)
369 rewrite ivy/src/main/contraband-scala/sbt/librarymanagement/ivy/IvyConfigurationFormats.scala (89%)
370----
371Preparing build for 3.6.3-RC1
372Scala binary version found: 3.6
373Implicitly using source version 3.6-migration
374Scala binary version found: 3.6
375Implicitly using source version 3.6-migration
376Would try to apply common scalacOption (best-effort, sbt/mill only):
377Append: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
378Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
379----
380Starting build for 3.6.3-RC1
381Execute tests: false
382sbt project found:
383Try apply source patch:
384Path: project/Dependencies.scala
385Pattern: val scala3 = "3.3.3"
386Replacement: val scala3 = "3.6.3-RC1"
387Successfully applied pattern 'val scala3 = "3.3.3"' in repo/project/Dependencies.scala
388No prepare script found for project sbt/librarymanagement
389##################################
390Scala version: 3.6.3-RC1
391Targets: org.scala-sbt%librarymanagement-core org.scala-sbt%librarymanagement-ivy
392Project projectConfig: { "projects": { "exclude": [], "overrides": {} }, "java": {}, "sbt": { "commands": [ "set every scalafmtOnCompile := false" ], "options": [] }, "mill": { "options": [] }, "tests": "compile-only", "migrationVersions": [ "3.4.2" ], "sourcePatches": [ { "path": "project/Dependencies.scala", "pattern": "val scala3 = \"3.3.3\"", "replaceWith": "val scala3 = \"<SCALA_VERSION>\"" } ] }
393##################################
394Using extra scalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s
395Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
396[sbt_options] declare -a sbt_options=()
397[process_args] java_version = '11'
398[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20/rt.jar'
399# Executing command line:
400java
401-Dfile.encoding=UTF-8
402-Dcommunitybuild.scala=3.6.3-RC1
403-Dcommunitybuild.project.dependencies.add=
404-Xmx7G
405-Xms4G
406-Xss8M
407-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
408-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_11_0_20
409-jar
410/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
411"setCrossScalaVersions 3.6.3-RC1"
412"++3.6.3-RC1 -v"
413"mapScalacOptions ",-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
414"set every credentials := Nil"
415"set every scalafmtOnCompile := false"
416moduleMappings
417"runBuild 3.6.3-RC1 """{
418 "projects": {
419 "exclude": [],
420 "overrides": {}
421 },
422 "java": {},
423 "sbt": {
424 "commands": [
425 "set every scalafmtOnCompile := false"
426 ],
427 "options": []
428 },
429 "mill": {
430 "options": []
431 },
432 "tests": "compile-only",
433 "migrationVersions": [
434 "3.4.2"
435 ],
436 "sourcePatches": [
437 {
438 "path": "project/Dependencies.scala",
439 "pattern": "val scala3 = \"3.3.3\"",
440 "replaceWith": "val scala3 = \"<SCALA_VERSION>\""
441 }
442 ]
443}""" org.scala-sbt%librarymanagement-core org.scala-sbt%librarymanagement-ivy"
444
445[info] welcome to sbt 1.9.3 (Eclipse Adoptium Java 11.0.20)
446[info] loading settings for project repo-build from plugins.sbt ...
447[info] loading project definition from /build/repo/project
448[info] compiling 1 Scala source to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
449[info] done compiling
450/build/repo/build.sbt:0: warning: This wildcard import imports sbt.Import.Util, which is shadowed by Util.
451This is not according to the language specification and has changed in Scala 2.13, where sbt.Import.Util takes precedence.
452To keep the same meaning in 2.12 and 2.13, un-import Util by adding `Util => _` to the import list.
453import _root_.sbt._
454 ^
455[info] loading settings for project lmRoot from build.sbt ...
456[info] set current project to LM Root (in build file:/build/repo/)
457[warn] there are 2 keys that are not used by any other settings/tasks:
458[warn]
459[warn] * ThisBuild / Test / classLoaderLayeringStrategy
460[warn] +- /build/repo/build.sbt:40
461[warn] * ThisBuild / scalafmtOnCompile
462[warn] +- /build/repo/build.sbt:29
463[warn]
464[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
465[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
466Execute setCrossScalaVersions: 3.6.3-RC1
467OpenCB::Changing crossVersion 3.6.3-RC1 -> 3.6.3-RC1 in lmRoot/crossScalaVersions
468OpenCB::Changing crossVersion 3.6.3-RC1 -> 3.6.3-RC1 in lmIvy/crossScalaVersions
469OpenCB::Changing crossVersion 3.6.3-RC1 -> 3.6.3-RC1 in lmCore/crossScalaVersions
470[info] set current project to LM Root (in build file:/build/repo/)
471[info] Setting Scala version to 3.6.3-RC1 on 3 projects.
472[info] Switching Scala version on:
473[info] * lmRoot (3.6.3-RC1)
474[info] lmCore (3.6.3-RC1)
475[info] lmIvy (3.6.3-RC1)
476[info] Excluding projects:
477[info] Reapplying settings...
478[info] set current project to LM Root (in build file:/build/repo/)
479Execute mapScalacOptions: ,-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
480[info] Reapplying settings...
481[info] set current project to LM Root (in build file:/build/repo/)
482[info] Defining Global / credentials
483[info] The new value will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 20 others.
484[info] Run `last` for details.
485[info] Reapplying settings...
486[info] set current project to LM Root (in build file:/build/repo/)
487[info] Defining Global / scalafmtOnCompile, Test / scalafmtOnCompile and 5 others.
488[info] The new values will be used by Compile / scalafmtDoFormatOnCompile, IntegrationTest / scalafmtDoFormatOnCompile and 6 others.
489[info] Run `last` for details.
490[info] Reapplying settings...
491[info] set current project to LM Root (in build file:/build/repo/)
492[success] Total time: 0 s, completed Dec 14, 2024, 10:59:37 PM
493Build config: {
494 "projects": {
495 "exclude": [],
496 "overrides": {}
497 },
498 "java": {},
499 "sbt": {
500 "commands": [
501 "set every scalafmtOnCompile := false"
502 ],
503 "options": []
504 },
505 "mill": {
506 "options": []
507 },
508 "tests": "compile-only",
509 "migrationVersions": [
510 "3.4.2"
511 ],
512 "sourcePatches": [
513 {
514 "path": "project/Dependencies.scala",
515 "pattern": "val scala3 = \"3.3.3\"",
516 "replaceWith": "val scala3 = \"<SCALA_VERSION>\""
517 }
518 ]
519}
520Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
521Starting build...
522Projects: Set(lmCore, lmIvy)
523Starting build for ProjectRef(file:/build/repo/,lmCore) (librarymanagement-core)...
524OpenCB::Exclude Scala3 specific scalacOption `-source:3.6-migration` in Scala 2.12.18 module Global
525OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
526OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
527[warn] Found intransitive dependency (com.github.mwiede:jsch:0.2.17 intransitive) while publishMavenStyle is true, but Maven repositories
528[warn] do not support intransitive dependencies. Use exclusions instead so transitive dependencies
529[warn] will be correctly excluded in dependent projects.
530[warn]
531OpenCB::Would not apply setting `-source:3.6-migration`: Project has predefined source version: Some(-source:3.6-migration)
532Compile scalacOptions: List(-encoding, utf8, -unchecked, -language:higherKinds, -language:implicitConversions, -source:3.6-migration, -Xsemanticdb, -semanticdb-target, /build/repo/core/target/scala-3.6.3-RC1/meta, -Wconf:msg=can be rewritten automatically under:s)
533[info] compiling 144 Scala sources and 1 Java source to /build/repo/core/target/scala-3.6.3-RC1/classes ...
534[info] done compiling
535[info] Main Scala API documentation to /build/repo/core/target/scala-3.6.3-RC1/api...
536[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
537[warn] Flag -classpath set repeatedly
538[warn] one warning found
539[info] Main Scala API documentation successful.
540[info] Writing version information to /build/repo/core/target/scala-3.6.3-RC1/resource_managed/xsbt.version.properties :
541[info] version=2.0.0-SNAPSHOT
542[info] timestamp=20241214T220007
543[info] compiling 12 Scala sources to /build/repo/core/target/scala-3.6.3-RC1/test-classes ...
544[warn] there were 2 deprecation warnings; re-run with -deprecation for details
545[warn] one warning found
546[info] done compiling
547[info] Wrote /build/repo/core/target/scala-3.6.3-RC1/librarymanagement-core_3-2.0.0-SNAPSHOT.pom
548[info] Main Scala API documentation to /build/repo/core/target/scala-3.6.3-RC1/api...
549[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
550[warn] Flag -classpath set repeatedly
551[warn] one warning found
552[info] Main Scala API documentation successful.
553[info] :: delivering :: org.scala-sbt#librarymanagement-core_3;2.0.0-SNAPSHOT :: 2.0.0-SNAPSHOT :: integration :: Sat Dec 14 23:00:17 CET 2024
554[info] delivering ivy file to /build/repo/core/target/scala-3.6.3-RC1/ivy-2.0.0-SNAPSHOT.xml
555[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/poms/librarymanagement-core_3.pom
556[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/jars/librarymanagement-core_3.jar
557[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/srcs/librarymanagement-core_3-sources.jar
558[info] published librarymanagement-core_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/docs/librarymanagement-core_3-javadoc.jar
559[info] published ivy to /root/.ivy2/local/org.scala-sbt/librarymanagement-core_3/2.0.0-SNAPSHOT/ivys/ivy.xml
560Starting build for ProjectRef(file:/build/repo/,lmIvy) (librarymanagement-ivy)...
561Compile scalacOptions: List(-encoding, utf8, -unchecked, -language:higherKinds, -language:implicitConversions, -source:3.6-migration, -Xsemanticdb, -semanticdb-target, /build/repo/ivy/target/scala-3.6.3-RC1/meta, -Wconf:msg=can be rewritten automatically under:s)
562[info] compiling 42 Scala sources and 1 Java source to /build/repo/ivy/target/scala-3.6.3-RC1/classes ...
563[warn] there was 1 deprecation warning; re-run with -deprecation for details
564[warn] one warning found
565[info] done compiling
566[info] Main Scala API documentation to /build/repo/ivy/target/scala-3.6.3-RC1/api...
567[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
568[warn] Flag -classpath set repeatedly
569[warn] one warning found
570[info] Main Scala API documentation successful.
571[info] compiling 32 Scala sources to /build/repo/ivy/target/scala-3.6.3-RC1/test-classes ...
572[info] done compiling
573[info] Wrote /build/repo/ivy/target/scala-3.6.3-RC1/librarymanagement-ivy_3-2.0.0-SNAPSHOT.pom
574[info] Main Scala API documentation to /build/repo/ivy/target/scala-3.6.3-RC1/api...
575[info] Skipping unused scalacOptions: -Wconf, -Xsemanticdb, -semanticdb-target, -source
576[warn] Flag -classpath set repeatedly
577[warn] one warning found
578[info] Main Scala API documentation successful.
579[info] :: delivering :: org.scala-sbt#librarymanagement-ivy_3;2.0.0-SNAPSHOT :: 2.0.0-SNAPSHOT :: integration :: Sat Dec 14 23:00:31 CET 2024
580[info] delivering ivy file to /build/repo/ivy/target/scala-3.6.3-RC1/ivy-2.0.0-SNAPSHOT.xml
581[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/poms/librarymanagement-ivy_3.pom
582[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/jars/librarymanagement-ivy_3.jar
583[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/srcs/librarymanagement-ivy_3-sources.jar
584[info] published librarymanagement-ivy_3 to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/docs/librarymanagement-ivy_3-javadoc.jar
585[info] published ivy to /root/.ivy2/local/org.scala-sbt/librarymanagement-ivy_3/2.0.0-SNAPSHOT/ivys/ivy.xml
586
587************************
588Build summary:
589[{
590 "module": "librarymanagement-core",
591 "compile": {"status": "ok", "tookMs": 17230, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
592 "doc": {"status": "ok", "tookMs": 7968, "files": 602, "totalSizeKb": 24708},
593 "test-compile": {"status": "ok", "tookMs": 4403, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
594 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
595 "publish": {"status": "ok", "tookMs": 4910}
596},{
597 "module": "librarymanagement-ivy",
598 "compile": {"status": "ok", "tookMs": 5663, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
599 "doc": {"status": "ok", "tookMs": 2433, "files": 398, "totalSizeKb": 10384},
600 "test-compile": {"status": "ok", "tookMs": 2757, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
601 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
602 "publish": {"status": "ok", "tookMs": 2827}
603}]
604************************
605[success] Total time: 54 s, completed Dec 14, 2024, 11:00:32 PM
606Checking patch project/Dependencies.scala...
607Checking patch build.sbt...
608Applied patch project/Dependencies.scala cleanly.
609Applied patch build.sbt cleanly.