Build Logs

shiftleftsecurity/codepropertygraph • 3.8.0:2026-01-13

Errors

111

Warnings

3

Total Lines

379

1##################################
2Clonning https://github.com/shiftleftsecurity/codepropertygraph.git into /build/repo using revision v1.7.50
3##################################
4Note: switching to '34fa2db754b9212cbf4bf81520e84425302ec838'.
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
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.7 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.7-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28----
29Starting build for 3.7.4
30Execute tests: false
31sbt project found:
32No prepare script found for project shiftleftsecurity/codepropertygraph
33##################################
34Scala version: 3.7.4
35Targets: io.shiftleft%codepropertygraph io.shiftleft%codepropertygraph-domain-classes io.shiftleft%codepropertygraph-protos io.shiftleft%codepropertygraph-schema io.shiftleft%schema2json
36Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
37##################################
38Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
39Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
40[sbt_options] declare -a sbt_options=()
41[process_args] java_version = '21'
42[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
43# Executing command line:
44java
45-Dfile.encoding=UTF-8
46-Dcommunitybuild.scala=3.7.4
47-Dcommunitybuild.project.dependencies.add=
48-Xmx7G
49-Xms4G
50-Xss8M
51-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
52-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
53-jar
54/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
55"setCrossScalaVersions 3.7.4"
56"++3.7.4 -v"
57"mapScalacOptions "-rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
58"set every credentials := Nil"
59"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
60"removeScalacOptionsStartingWith -P:wartremover"
61
62moduleMappings
63"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}""" io.shiftleft%codepropertygraph io.shiftleft%codepropertygraph-domain-classes io.shiftleft%codepropertygraph-protos io.shiftleft%codepropertygraph-schema io.shiftleft%schema2json"
64
65[info] [launcher] getting org.scala-sbt sbt 1.11.6 (this may take some time)...
66[info] welcome to sbt 1.11.6 (Eclipse Adoptium Java 21)
67[info] loading project definition from /build/repo/project/project
68[info] compiling 1 Scala source to /build/repo/project/project/target/scala-2.12/sbt-1.0/classes ...
69[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
70[info] Compilation completed in 9.06s.
71[info] done compiling
72[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
73[info] loading project definition from /build/repo/project
74[info] compiling 6 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
75[info] done compiling
76[info] loading settings for project schema from build.sbt...
77[info] loading settings for project domainClasses from build.sbt...
78[info] loading settings for project protoBindings from build.sbt...
79[info] loading settings for project codepropertygraph from build.sbt...
80[info] loading settings for project schema2json from build.sbt...
81[info] loading settings for project repo from build.sbt...
82[info] set current project to codepropertygraph (in build file:/build/repo/)
83Execute setCrossScalaVersions: 3.7.4
84OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in schema/crossScalaVersions
85OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in codepropertygraph/crossScalaVersions
86OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in protoBindings/crossScalaVersions
87OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in repo/crossScalaVersions
88OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in domainClasses/crossScalaVersions
89OpenCB::Changing crossVersion 3.6.4 -> 3.7.4 in schema2json/crossScalaVersions
90[info] set current project to codepropertygraph (in build file:/build/repo/)
91[info] Setting Scala version to 3.7.4 on 6 projects.
92[info] Switching Scala version on:
93[info] schema2json (3.7.4)
94[info] codepropertygraph (3.7.4)
95[info] protoBindings (3.7.4)
96[info] schema (3.7.4)
97[info] domainClasses (3.7.4)
98[info] * repo (3.7.4)
99[info] Excluding projects:
100[info] Reapplying settings...
101[info] set current project to codepropertygraph (in build file:/build/repo/)
102Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
103[info] Reapplying settings...
104[info] set current project to codepropertygraph (in build file:/build/repo/)
105[info] Defining Global / credentials, codepropertygraph / credentials and 4 others.
106[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 47 others.
107[info] Run `last` for details.
108[info] Reapplying settings...
109[info] set current project to codepropertygraph (in build file:/build/repo/)
110Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
111[info] Reapplying settings...
112OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
113
114 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
115 Did you mean schema2json / allExcludeDependencies ?
116 , retry without global scopes
117[info] Reapplying settings...
118[info] set current project to codepropertygraph (in build file:/build/repo/)
119Execute removeScalacOptionsStartingWith: -P:wartremover
120[info] Reapplying settings...
121[info] set current project to codepropertygraph (in build file:/build/repo/)
122[success] Total time: 0 s, completed Jan 13, 2026, 4:17:12 PM
123Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[]}
124Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
125Starting build...
126Projects: Set(schema2json, codepropertygraph, protoBindings, schema, domainClasses)
127Starting build for ProjectRef(file:/build/repo/,domainClasses) (codepropertygraph-domain-classes)... [0/5]
128OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
129OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.12.20 module Global
130OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
131OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
132Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
133[info] compiling 25 Scala sources to /build/repo/schema/target/scala-3.7.4/classes ...
134[info] done compiling
135[info] running flatgraph.codegen.Main --classWithSchema=io.shiftleft.codepropertygraph.schema.CpgSchema$ --field=instance --out=/build/repo/domainClasses/src/main/generated --scalafmtConfig=/build/repo/.scalafmt.conf
136invoking scalafmt on 240 files
137Downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.16/scala-reflect-2.13.16.pom
138Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-core_2.13/3.9.6/scalafmt-core_2.13-3.9.6.pom
139Downloaded https://repo1.maven.org/maven2/org/scalameta/scalafmt-core_2.13/3.9.6/scalafmt-core_2.13-3.9.6.pom
140Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.16/scala-reflect-2.13.16.pom
141Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-config_2.13/3.9.6/scalafmt-config_2.13-3.9.6.pom
142Downloading https://repo1.maven.org/maven2/org/scalameta/mdoc-parser_2.13/2.6.4/mdoc-parser_2.13-2.6.4.pom
143Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-macros_2.13/3.9.6/scalafmt-macros_2.13-3.9.6.pom
144Downloaded https://repo1.maven.org/maven2/org/scalameta/mdoc-parser_2.13/2.6.4/mdoc-parser_2.13-2.6.4.pom
145Downloaded https://repo1.maven.org/maven2/org/scalameta/scalafmt-config_2.13/3.9.6/scalafmt-config_2.13-3.9.6.pom
146Downloaded https://repo1.maven.org/maven2/org/scalameta/scalafmt-macros_2.13/3.9.6/scalafmt-macros_2.13-3.9.6.pom
147Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-core_2.13/0.15.0/metaconfig-core_2.13-0.15.0.pom
148Downloading https://repo1.maven.org/maven2/org/scalameta/scalameta_2.13/4.13.5/scalameta_2.13-4.13.5.pom
149Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-typesafe-config_2.13/0.15.0/metaconfig-typesafe-config_2.13-0.15.0.pom
150Downloaded https://repo1.maven.org/maven2/org/scalameta/metaconfig-core_2.13/0.15.0/metaconfig-core_2.13-0.15.0.pom
151Downloaded https://repo1.maven.org/maven2/org/scalameta/scalameta_2.13/4.13.5/scalameta_2.13-4.13.5.pom
152Downloaded https://repo1.maven.org/maven2/org/scalameta/metaconfig-typesafe-config_2.13/0.15.0/metaconfig-typesafe-config_2.13-0.15.0.pom
153Downloading https://repo1.maven.org/maven2/org/scalameta/parsers_2.13/4.13.5/parsers_2.13-4.13.5.pom
154Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-pprint_2.13/0.15.0/metaconfig-pprint_2.13-0.15.0.pom
155Downloaded https://repo1.maven.org/maven2/org/scalameta/metaconfig-pprint_2.13/0.15.0/metaconfig-pprint_2.13-0.15.0.pom
156Downloaded https://repo1.maven.org/maven2/org/scalameta/parsers_2.13/4.13.5/parsers_2.13-4.13.5.pom
157Downloading https://repo1.maven.org/maven2/org/scalameta/trees_2.13/4.13.5/trees_2.13-4.13.5.pom
158Downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.16/scala-compiler-2.13.16.pom
159Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.16/scala-compiler-2.13.16.pom
160Downloaded https://repo1.maven.org/maven2/org/scalameta/trees_2.13/4.13.5/trees_2.13-4.13.5.pom
161Downloading https://repo1.maven.org/maven2/org/scalameta/io_2.13/4.13.5/io_2.13-4.13.5.pom
162Downloading https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils/4.15/java-diff-utils-4.15.pom
163Downloading https://repo1.maven.org/maven2/org/jline/jline/3.27.1/jline-3.27.1.pom
164Downloading https://repo1.maven.org/maven2/org/scalameta/common_2.13/4.13.5/common_2.13-4.13.5.pom
165Downloaded https://repo1.maven.org/maven2/org/jline/jline/3.27.1/jline-3.27.1.pom
166Downloaded https://repo1.maven.org/maven2/org/scalameta/common_2.13/4.13.5/common_2.13-4.13.5.pom
167Downloaded https://repo1.maven.org/maven2/org/scalameta/io_2.13/4.13.5/io_2.13-4.13.5.pom
168Downloaded https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils/4.15/java-diff-utils-4.15.pom
169Downloading https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils-parent/4.15/java-diff-utils-parent-4.15.pom
170Downloaded https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils-parent/4.15/java-diff-utils-parent-4.15.pom
171Downloading https://repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.13/0.4.2/sourcecode_2.13-0.4.2.pom
172Downloaded https://repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.13/0.4.2/sourcecode_2.13-0.4.2.pom
173parsed config (v3.9.6): /build/repo/.scalafmt.conf
174[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
175[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
176[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
177[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
178[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
179[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
180[error] 14 | |""".stripMargin)
181[error] | ^
182[error] | @implicitNotFound requires constant expressions as a parameter
183[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
184[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
185[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
186[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
187[error] 21 | |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] 22 | |""".stripMargin)
189[error] | ^
190[error] | @implicitNotFound requires constant expressions as a parameter
191[error] two errors found
192[error] (domainClasses / Compile / compileIncremental) Compilation failed
193[info] inputs did not change -> no need to run codegen
194[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
195[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
196[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
197[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
198[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
199[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
200[error] 14 | |""".stripMargin)
201[error] | ^
202[error] | @implicitNotFound requires constant expressions as a parameter
203[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
204[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
205[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
206[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
207[error] 21 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
208[error] 22 | |""".stripMargin)
209[error] | ^
210[error] | @implicitNotFound requires constant expressions as a parameter
211[error] two errors found
212[error] (domainClasses / Compile / compileIncremental) Compilation failed
213[info] inputs did not change -> no need to run codegen
214[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
215[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
216[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
217[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
218[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
219[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
220[error] 14 | |""".stripMargin)
221[error] | ^
222[error] | @implicitNotFound requires constant expressions as a parameter
223[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
224[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
225[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
226[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
227[error] 21 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
228[error] 22 | |""".stripMargin)
229[error] | ^
230[error] | @implicitNotFound requires constant expressions as a parameter
231[error] two errors found
232[error] (domainClasses / Compile / compileIncremental) Compilation failed
233Starting build for ProjectRef(file:/build/repo/,schema2json) (schema2json)... [1/5]
234Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
235[info] compiling 1 Scala source to /build/repo/schema2json/target/scala-3.7.4/classes ...
236[info] done compiling
237Starting build for ProjectRef(file:/build/repo/,codepropertygraph) (codepropertygraph)... [2/5]
238Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
239downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.18.0/protoc-3.18.0-linux-x86_64.zip and extracting into protoc
240[info] inputs did not change -> no need to run codegen
241[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
242[info] running io.shiftleft.codepropertygraph.schema.Protogen schema/target/protos
243[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
244[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
245[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
246[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
247[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
248[error] 14 | |""".stripMargin)
249[error] | ^
250[error] | @implicitNotFound requires constant expressions as a parameter
251[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
252[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
253[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
254[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
255[error] 21 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
256[error] 22 | |""".stripMargin)
257[error] | ^
258[error] | @implicitNotFound requires constant expressions as a parameter
259[info] compiling 1 protobuf files to /build/repo/proto-bindings/target/scala-3.7.4/src_managed/main/compiled_protobuf
260[info] Compiling schema /build/repo/proto-bindings/target/protobuf_external/cpg.proto
261[info] Compiling protobuf
262[info] Protoc target directory: /build/repo/proto-bindings/target/scala-3.7.4/src_managed/main/compiled_protobuf
263[info] compiling 1 Scala source and 1 Java source to /build/repo/proto-bindings/target/scala-3.7.4/classes ...
264[warn] source value 8 is obsolete and will be removed in a future release
265[warn] target value 8 is obsolete and will be removed in a future release
266[warn] To suppress warnings about obsolete options, use -Xlint:-options.
267[info] Annotation processing is enabled because one or more processors were found
268[info] on the class path. A future release of javac may disable annotation processing
269[info] unless at least one processor is specified by name (-processor), or a search
270[info] path is specified (--processor-path, --processor-module-path), or annotation
271[info] processing is enabled explicitly (-proc:only, -proc:full).
272[info] Use -Xlint:-options to suppress this message.
273[info] Use -proc:none to disable annotation processing.
274[info] done compiling
275[error] two errors found
276[error] (domainClasses / Compile / compileIncremental) Compilation failed
277[info] inputs did not change -> no need to run codegen
278[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
279[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
280[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
281[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
282[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
283[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
284[error] 14 | |""".stripMargin)
285[error] | ^
286[error] | @implicitNotFound requires constant expressions as a parameter
287[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
288[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
289[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
290[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
291[error] 21 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
292[error] 22 | |""".stripMargin)
293[error] | ^
294[error] | @implicitNotFound requires constant expressions as a parameter
295[error] two errors found
296[error] (domainClasses / Compile / compileIncremental) Compilation failed
297[info] inputs did not change -> no need to run codegen
298[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
299[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
300[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
301[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
302[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
303[error] 13 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
304[error] 14 | |""".stripMargin)
305[error] | ^
306[error] | @implicitNotFound requires constant expressions as a parameter
307[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
308[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
309[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
310[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
311[error] 21 | |If you have additional custom extension steps that specify help texts via @Doc annotations, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage.withAdditionalPackage("my.custom.package)"`
312[error] 22 | |""".stripMargin)
313[error] | ^
314[error] | @implicitNotFound requires constant expressions as a parameter
315[error] two errors found
316[error] (domainClasses / Compile / compileIncremental) Compilation failed
317Starting build for ProjectRef(file:/build/repo/,protoBindings) (codepropertygraph-protos)... [3/5]
318Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
319Starting build for ProjectRef(file:/build/repo/,schema) (codepropertygraph-schema)... [4/5]
320Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
321
322************************
323Build summary:
324[{
325 "module": "codepropertygraph-domain-classes",
326 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 49750, "warnings": 0, "errors": 2, "sourceVersion": "3.7-migration"},
327 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
328 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
329 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
330 "publish": {"status": "skipped", "tookMs": 0},
331 "metadata": {
332 "crossScalaVersions": ["3.6.4"]
333}
334},{
335 "module": "schema2json",
336 "compile": {"status": "ok", "tookMs": 1715, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
337 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
338 "test-compile": {"status": "ok", "tookMs": 280, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
339 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
340 "publish": {"status": "skipped", "tookMs": 0},
341 "metadata": {
342 "crossScalaVersions": ["3.6.4"]
343}
344},{
345 "module": "codepropertygraph",
346 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 10071, "warnings": 0, "errors": 2, "sourceVersion": "3.7-migration"},
347 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
348 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
349 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
350 "publish": {"status": "skipped", "tookMs": 0},
351 "metadata": {
352 "crossScalaVersions": ["3.6.4"]
353}
354},{
355 "module": "codepropertygraph-protos",
356 "compile": {"status": "ok", "tookMs": 833, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
357 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
358 "test-compile": {"status": "ok", "tookMs": 853, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
359 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
360 "publish": {"status": "skipped", "tookMs": 0},
361 "metadata": {
362 "crossScalaVersions": ["3.6.4"]
363}
364},{
365 "module": "codepropertygraph-schema",
366 "compile": {"status": "ok", "tookMs": 38, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
367 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
368 "test-compile": {"status": "ok", "tookMs": 76, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
369 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
370 "publish": {"status": "skipped", "tookMs": 0},
371 "metadata": {
372 "crossScalaVersions": ["3.6.4"]
373}
374}]
375************************
376[error] Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: codepropertygraph-domain-classes, codepropertygraph
377[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: codepropertygraph-domain-classes, codepropertygraph
378[error] Total time: 95 s (0:01:35.0), completed Jan 13, 2026, 4:18:47 PM
379[0JBuild failed, not retrying.