Build Logs
nthportal/spaghetti • scala/scala3:main:2025-09-05
Errors
2
Warnings
19
Total Lines
186
1##################################
2Clonning https://github.com/nthportal/spaghetti.git into /build/repo using revision v0.2.0
3##################################
4Note: switching to 'dbe6b956353ed9faef7cfbff9f1b686c72fcad1a'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21----
22Preparing build for 3.8.0-RC1-bin-20250904-48bc891
23Scala binary version found: 3.8
24Implicitly using source version 3.8-migration
25Scala binary version found: 3.8
26Implicitly using source version 3.8-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8-migration
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC1-bin-20250904-48bc891
32Execute tests: false
33sbt project found:
34Sbt version 1.5.5 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project nthportal/spaghetti
37##################################
38Scala version: 3.8.0-RC1-bin-20250904-48bc891
39Targets: lgbt.princess%spaghetti
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8-migration
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.8.0-RC1-bin-20250904-48bc891
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC1-bin-20250904-48bc891"
60"++3.8.0-RC1-bin-20250904-48bc891 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
62"set every credentials := Nil"
63"set every csrSameVersions := Nil"
64"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
65"removeScalacOptionsStartingWith -P:wartremover"
66
67moduleMappings
68"runBuild 3.8.0-RC1-bin-20250904-48bc891 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}""" lgbt.princess%spaghetti"
69
70[info] [launcher] getting org.scala-sbt sbt 1.11.5 (this may take some time)...
71[info] [launcher] getting Scala 2.12.20 (for sbt)...
72[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
73[info] loading settings for project repo-build from plugins.sbt...
74[info] loading project definition from /build/repo/project
75[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
76[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
77[info] Compilation completed in 8.528s.
78[info] done compiling
79[info] loading settings for project root from build.sbt...
80[info] set current project to spaghetti (in build file:/build/repo/)
81Execute setCrossScalaVersions: 3.8.0-RC1-bin-20250904-48bc891
82OpenCB::Changing crossVersion 3.1.0 -> 3.8.0-RC1-bin-20250904-48bc891 in root/crossScalaVersions
83[info] set current project to spaghetti (in build file:/build/repo/)
84[info] Setting Scala version to 3.8.0-RC1-bin-20250904-48bc891 on 1 projects.
85[info] Switching Scala version on:
86[info] * root (3.8.0-RC1-bin-20250904-48bc891)
87[info] Excluding projects:
88[info] Reapplying settings...
89[info] set current project to spaghetti (in build file:/build/repo/)
90Execute mapScalacOptions: ,REQUIRE:-source:3.8-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
91[info] Reapplying settings...
92[info] set current project to spaghetti (in build file:/build/repo/)
93[info] Defining Global / credentials, credentials
94[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 4 others.
95[info] Run `last` for details.
96[info] Reapplying settings...
97[info] set current project to spaghetti (in build file:/build/repo/)
98[info] Defining Global / csrSameVersions, csrSameVersions
99[info] The new values will be used by csrConfiguration, csrSameVersions and 3 others.
100[info] Run `last` for details.
101[info] Reapplying settings...
102[info] set current project to spaghetti (in build file:/build/repo/)
103Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
104[info] Reapplying settings...
105OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
106
107 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:315)
108 Did you mean allExcludeDependencies ?
109 , retry without global scopes
110[info] Reapplying settings...
111[info] set current project to spaghetti (in build file:/build/repo/)
112Execute removeScalacOptionsStartingWith: -P:wartremover
113[info] Reapplying settings...
114[info] set current project to spaghetti (in build file:/build/repo/)
115[success] Total time: 0 s, completed Sep 5, 2025, 3:31:54 AM
116Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":[],"sourcePatches":[]}
117Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
118Starting build...
119Projects: Set(root)
120Starting build for ProjectRef(file:/build/repo/,root) (spaghetti)... [0/1]
121OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8-migration` in Scala 2.12.20 module Global
122OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
123OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
124OpenCB::Filter out '-Werror', matches setting pattern '^-?-Werror'
125Compile scalacOptions: List(-new-syntax, -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8-migration)
126[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/classes ...
127[warn] -- [E029] Pattern Match Exhaustivity Warning: /build/repo/src/main/scala/lgbt/princess/spaghetti/Spaghetti.scala:43:4
128[warn] 43 | next match
129[warn] | ^^^^
130[warn] | match may not be exhaustive.
131[warn] |
132[warn] | It would fail on pattern case: lgbt.princess.spaghetti.ReturnValue(_)
133[warn] |
134[warn] | longer explanation available when compiling with `-explain`
135[warn] one warning found
136[info] done compiling
137[info] Main Scala API documentation to /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/api...
138[info] Skipping unused scalacOptions: -Wconf, -source, -new-syntax
139[warn] Flag -classpath set repeatedly
140[warn] -- Warning: src/main/scala/lgbt/princess/spaghetti/Spaghetti.scala:83:4 --------
141[warn] 83 |def spaghettiWithReturn[A](init: Spaghetti[A] ?=> Unit): A =
142[warn] | ^
143[warn] |Couldn't resolve a member for the given link query: IllegalStateException
144[warn] two warnings found
145[info] Main Scala API documentation successful.
146[info] compiling 1 Scala source to /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/test-classes ...
147[info] done compiling
148[info] Wrote /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/spaghetti_3-0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT.pom
149[info] Main Scala API documentation to /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/api...
150[info] Skipping unused scalacOptions: -Wconf, -source, -new-syntax
151[warn] Flag -classpath set repeatedly
152[warn] -- Warning: src/main/scala/lgbt/princess/spaghetti/Spaghetti.scala:83:4 --------
153[warn] 83 |def spaghettiWithReturn[A](init: Spaghetti[A] ?=> Unit): A =
154[warn] | ^
155[warn] |Couldn't resolve a member for the given link query: IllegalStateException
156[warn] two warnings found
157[info] Main Scala API documentation successful.
158[info] :: delivering :: lgbt.princess#spaghetti_3;0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT :: 0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT :: integration :: Fri Sep 05 03:32:11 CEST 2025
159[info] delivering ivy file to /build/repo/target/scala-3.8.0-RC1-bin-20250904-48bc891/ivy-0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT.xml
160[info] published spaghetti_3 to /root/.ivy2/local/lgbt.princess/spaghetti_3/0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT/poms/spaghetti_3.pom
161[info] published spaghetti_3 to /root/.ivy2/local/lgbt.princess/spaghetti_3/0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT/jars/spaghetti_3.jar
162[info] published spaghetti_3 to /root/.ivy2/local/lgbt.princess/spaghetti_3/0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT/srcs/spaghetti_3-sources.jar
163[info] published spaghetti_3 to /root/.ivy2/local/lgbt.princess/spaghetti_3/0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT/docs/spaghetti_3-javadoc.jar
164[info] published ivy to /root/.ivy2/local/lgbt.princess/spaghetti_3/0.2.0+0-dbe6b956+20250905-0331-SNAPSHOT/ivys/ivy.xml
165
166************************
167Build summary:
168[{
169 "module": "spaghetti",
170 "compile": {"status": "ok", "tookMs": 4743, "warnings": 1, "errors": 0, "sourceVersion": "3.8-migration"},
171 "doc": {"status": "ok", "tookMs": 1559, "files": 337, "totalSizeKb": 6300},
172 "test-compile": {"status": "ok", "tookMs": 984, "warnings": 0, "errors": 0, "sourceVersion": "3.8-migration"},
173 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
174 "publish": {"status": "ok", "tookMs": 1157},
175 "metadata": {
176 "crossScalaVersions": ["3.1.0"]
177}
178}]
179************************
180[success] Total time: 16 s, completed Sep 5, 2025, 3:32:11 AM
181Checking patch project/plugins.sbt...
182Checking patch project/build.properties...
183Checking patch build.sbt...
184Applied patch project/plugins.sbt cleanly.
185Applied patch project/build.properties cleanly.
186Applied patch build.sbt cleanly.