Build Logs

joernio/flatgraph • 3.8.0-RC2:2025-11-26

Errors

57

Warnings

3

Total Lines

286

1##################################
2Clonning https://github.com/joernio/flatgraph.git into /build/repo using revision v0.1.27
3##################################
4Note: switching to 'b496584b0db55078b32ae4389de12a305416e89b'.
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
21Would override fixed Scala version: 3.3.6
22Using target Scala version for migration: 3.7.4-RC2
23Migrating project for -source:3.6 using Scala 3.7.4-RC2
24----
25Preparing build for 3.7.4-RC2
26Would try to apply common scalacOption (best-effort, sbt/mill only):
27Append: -rewrite,REQUIRE:-source:3.6-migration
28Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
29
30Try apply source patch:
31Path: build.sbt
32Pattern: val scala3 = "3.3.6"
33Replacement: val scala3 = "3.7.4-RC2"
34Starting compilation server
35Compiling project (Scala 3.7.3, JVM (21))
36Compiled project (Scala 3.7.3, JVM (21))
37Successfully applied pattern 'val scala3 = "3.3.6"' in build.sbt
38----
39Starting build for 3.7.4-RC2
40Execute tests: false
41sbt project found:
42Sbt version 1.11.2 is not supported, minimal supported version is 1.11.5
43Enforcing usage of sbt in version 1.11.5
44No prepare script found for project joernio/flatgraph
45/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
46##################################
47Scala version: 3.7.4-RC2
48Targets: io.joern%flatgraph-core io.joern%flatgraph-domain-classes-generator io.joern%flatgraph-formats io.joern%flatgraph-help io.joern%flatgraph-odb-convert
49Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.6","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
50##################################
51Using extra scalacOptions: -rewrite,REQUIRE:-source:3.6-migration
52Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
53[sbt_options] declare -a sbt_options=()
54[process_args] java_version = '21'
55[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
56# Executing command line:
57java
58-Dfile.encoding=UTF-8
59-Dcommunitybuild.scala=3.7.4-RC2
60-Dcommunitybuild.project.dependencies.add=
61-Xmx7G
62-Xms4G
63-Xss8M
64-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
65-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
66-jar
67/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
68"setCrossScalaVersions 3.7.4-RC2"
69"++3.7.4-RC2 -v"
70"mapScalacOptions "-rewrite,REQUIRE:-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
71"set every credentials := Nil"
72"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
73"removeScalacOptionsStartingWith -P:wartremover"
74
75moduleMappings
76"runBuild 3.7.4-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.6","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}""" io.joern%flatgraph-core io.joern%flatgraph-domain-classes-generator io.joern%flatgraph-formats io.joern%flatgraph-help io.joern%flatgraph-odb-convert"
77
78[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
79[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
80[info] loading project definition from /build/repo/project
81[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
82[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
83[info] Compilation completed in 8.789s.
84[info] done compiling
85[info] loading settings for project root from build.sbt...
86[info] resolving key references (10284 settings) ...
87[info] set current project to flatgraph (in build file:/build/repo/)
88Execute setCrossScalaVersions: 3.7.4-RC2
89OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in core/crossScalaVersions
90OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in formats/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in domainClassesGenerator_3/crossScalaVersions
92OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in testSchemasDomainClasses/crossScalaVersions
93OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in tests/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(3.7.4-RC2) -> List(2.12.20) in domainClassesGenerator_2_12/crossScalaVersions
95OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in testSchemas/crossScalaVersions
96OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in root/crossScalaVersions
97OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in odbConvert/crossScalaVersions
98OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in help/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(3.7.4-RC2) -> List(2.12.20) in sbtPlugin/crossScalaVersions
100[info] set current project to flatgraph (in build file:/build/repo/)
101[info] Setting Scala version to 3.7.4-RC2 on 9 projects.
102[info] Switching Scala version on:
103[info] * root (3.7.4-RC2)
104[info] domainClassesGenerator_3 (3.7.4-RC2)
105[info] tests (3.7.4-RC2)
106[info] testSchemas (3.7.4-RC2)
107[info] odbConvert (3.7.4-RC2)
108[info] help (3.7.4-RC2)
109[info] formats (3.7.4-RC2)
110[info] core (3.7.4-RC2)
111[info] testSchemasDomainClasses (3.7.4-RC2)
112[info] Excluding projects:
113[info] sbtPlugin (2.12.20)
114[info] domainClassesGenerator_2_12 (2.12.20)
115[info] Reapplying settings...
116[info] set current project to flatgraph (in build file:/build/repo/)
117Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.6-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
118[info] Reapplying settings...
119[info] set current project to flatgraph (in build file:/build/repo/)
120[info] Defining Global / credentials, core / credentials and 9 others.
121[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 87 others.
122[info] Run `last` for details.
123[info] Reapplying settings...
124[info] set current project to flatgraph (in build file:/build/repo/)
125Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
126[info] Reapplying settings...
127OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
128
129 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
130 Did you mean allExcludeDependencies ?
131 , retry without global scopes
132[info] Reapplying settings...
133[info] set current project to flatgraph (in build file:/build/repo/)
134Execute removeScalacOptionsStartingWith: -P:wartremover
135[info] Reapplying settings...
136[info] set current project to flatgraph (in build file:/build/repo/)
137[success] Total time: 0 s, completed Nov 26, 2025, 4:07:05 PM
138Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.6","3.7"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = \"3.3.6\"","replaceWith":"val scala3 = \"<SCALA_VERSION>\""}]}
139Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
140Starting build...
141Projects: Set(domainClassesGenerator_3, odbConvert, help, formats, core)
142Starting build for ProjectRef(file:/build/repo/,core) (flatgraph-core)... [0/5]
143OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
144OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.6-migration` in Scala 2.12.20 module Global
145OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
146OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
147Compile scalacOptions: --release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.6-migration
148[info] compiling 35 Scala sources and 9 Java sources to /build/repo/core/target/scala-3.7.4-RC2/classes ...
149[warn] source value 8 is obsolete and will be removed in a future release
150[warn] target value 8 is obsolete and will be removed in a future release
151[warn] To suppress warnings about obsolete options, use -Xlint:-options.
152[info] /build/repo/core/src/main/java/flatgraph/util/DiffTool.java: DiffTool.java uses unchecked or unsafe operations.
153[info] /build/repo/core/src/main/java/flatgraph/util/DiffTool.java: Recompile with -Xlint:unchecked for details.
154[info] done compiling
155[info] compiling 11 Scala sources to /build/repo/core/target/scala-3.7.4-RC2/test-classes ...
156[info] done compiling
157Starting build for ProjectRef(file:/build/repo/,formats) (flatgraph-formats)... [1/5]
158Compile scalacOptions: --release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.6-migration
159[info] compiling 17 Scala sources to /build/repo/formats/target/scala-3.7.4-RC2/classes ...
160[info] done compiling
161Starting build for ProjectRef(file:/build/repo/,help) (flatgraph-help)... [2/5]
162Compile scalacOptions: --release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.6-migration
163[info] compiling 3 Scala sources to /build/repo/help/target/scala-3.7.4-RC2/classes ...
164[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:27:11 --
165[error] 23 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
166[error] 24 | |start with `given DocSearchPackages = DocSearchPackages.default`.
167[error] 25 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
168[error] 26 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
169[error] 27 | |""".stripMargin)
170[error] | ^
171[error] | @implicitNotFound requires constant expressions as a parameter
172[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:40:11 --
173[error] 36 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
174[error] 37 | |start with `given DocSearchPackages = DocSearchPackages.default`.
175[error] 38 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
176[error] 39 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
177[error] 40 | |""".stripMargin)
178[error] | ^
179[error] | @implicitNotFound requires constant expressions as a parameter
180[error] two errors found
181[error] (help / Compile / compileIncremental) Compilation failed
182[info] compiling 3 Scala sources to /build/repo/help/target/scala-3.7.4-RC2/classes ...
183[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:27:11 --
184[error] 23 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
185[error] 24 | |start with `given DocSearchPackages = DocSearchPackages.default`.
186[error] 25 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
187[error] 26 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
188[error] 27 | |""".stripMargin)
189[error] | ^
190[error] | @implicitNotFound requires constant expressions as a parameter
191[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:40:11 --
192[error] 36 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
193[error] 37 | |start with `given DocSearchPackages = DocSearchPackages.default`.
194[error] 38 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
195[error] 39 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
196[error] 40 | |""".stripMargin)
197[error] | ^
198[error] | @implicitNotFound requires constant expressions as a parameter
199[error] two errors found
200[error] (help / Compile / compileIncremental) Compilation failed
201[info] compiling 3 Scala sources to /build/repo/help/target/scala-3.7.4-RC2/classes ...
202[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:27:11 --
203[error] 23 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
204[error] 24 | |start with `given DocSearchPackages = DocSearchPackages.default`.
205[error] 25 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
206[error] 26 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
207[error] 27 | |""".stripMargin)
208[error] | ^
209[error] | @implicitNotFound requires constant expressions as a parameter
210[error] -- Error: /build/repo/help/src/main/scala/flatgraph/help/Language.scala:40:11 --
211[error] 36 | @implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
212[error] 37 | |start with `given DocSearchPackages = DocSearchPackages.default`.
213[error] 38 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
214[error] 39 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
215[error] 40 | |""".stripMargin)
216[error] | ^
217[error] | @implicitNotFound requires constant expressions as a parameter
218[error] two errors found
219[error] (help / Compile / compileIncremental) Compilation failed
220Starting build for ProjectRef(file:/build/repo/,odbConvert) (flatgraph-odb-convert)... [3/5]
221Compile scalacOptions: --release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.6-migration
222[info] compiling 1 Scala source to /build/repo/odb-convert/target/scala-3.7.4-RC2/classes ...
223[info] done compiling
224Starting build for ProjectRef(file:/build/repo/,domainClassesGenerator_3) (flatgraph-domain-classes-generator)... [4/5]
225Compile scalacOptions: --release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.6-migration
226[info] compiling 11 Scala sources to /build/repo/domain-classes-generator_3/target/scala-3.7.4-RC2/classes ...
227[info] done compiling
228
229************************
230Build summary:
231[{
232 "module": "flatgraph-core",
233 "compile": {"status": "ok", "tookMs": 14475, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
234 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
235 "test-compile": {"status": "ok", "tookMs": 6165, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
236 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
237 "publish": {"status": "skipped", "tookMs": 0},
238 "metadata": {
239 "crossScalaVersions": ["3.3.6"]
240}
241},{
242 "module": "flatgraph-formats",
243 "compile": {"status": "ok", "tookMs": 2764, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
244 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
245 "test-compile": {"status": "ok", "tookMs": 142, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
246 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
247 "publish": {"status": "skipped", "tookMs": 0},
248 "metadata": {
249 "crossScalaVersions": ["3.3.6"]
250}
251},{
252 "module": "flatgraph-help",
253 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 465, "warnings": 0, "errors": 2, "sourceVersion": "3.6-migration"},
254 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
255 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
256 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
257 "publish": {"status": "skipped", "tookMs": 0},
258 "metadata": {
259 "crossScalaVersions": ["3.3.6"]
260}
261},{
262 "module": "flatgraph-odb-convert",
263 "compile": {"status": "ok", "tookMs": 772, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
264 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
265 "test-compile": {"status": "ok", "tookMs": 133, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
266 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
267 "publish": {"status": "skipped", "tookMs": 0},
268 "metadata": {
269 "crossScalaVersions": ["3.3.6"]
270}
271},{
272 "module": "flatgraph-domain-classes-generator",
273 "compile": {"status": "ok", "tookMs": 2640, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
274 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
275 "test-compile": {"status": "ok", "tookMs": 94, "warnings": 0, "errors": 0, "sourceVersion": "3.6-migration"},
276 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
277 "publish": {"status": "skipped", "tookMs": 0},
278 "metadata": {
279 "crossScalaVersions": ["3.3.6"]
280}
281}]
282************************
283[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: flatgraph-help
284[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: flatgraph-help
285[error] Total time: 69 s (0:01:09.0), completed Nov 26, 2025, 4:08:14 PM
286[0JBuild failed, not retrying.