Build Logs

shiftleftsecurity/codepropertygraph • 3.8.0-RC3:2025-12-04

Errors

111

Warnings

3

Total Lines

381

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 8.585s.
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 Dec 4, 2025, 4:03:33 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/scalameta/scalafmt-core_2.13/3.9.6/scalafmt-core_2.13-3.9.6.pom
138Downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.13.16/scala-reflect-2.13.16.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/mdoc-parser_2.13/2.6.4/mdoc-parser_2.13-2.6.4.pom
142Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-config_2.13/3.9.6/scalafmt-config_2.13-3.9.6.pom
143Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-macros_2.13/3.9.6/scalafmt-macros_2.13-3.9.6.pom
144Downloading https://repo1.maven.org/maven2/org/scalameta/scalafmt-sysops_2.13/3.9.6/scalafmt-sysops_2.13-3.9.6.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/mdoc-parser_2.13/2.6.4/mdoc-parser_2.13-2.6.4.pom
147Downloaded https://repo1.maven.org/maven2/org/scalameta/scalafmt-macros_2.13/3.9.6/scalafmt-macros_2.13-3.9.6.pom
148Downloaded https://repo1.maven.org/maven2/org/scalameta/scalafmt-sysops_2.13/3.9.6/scalafmt-sysops_2.13-3.9.6.pom
149Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-core_2.13/0.15.0/metaconfig-core_2.13-0.15.0.pom
150Downloading https://repo1.maven.org/maven2/org/scalameta/scalameta_2.13/4.13.5/scalameta_2.13-4.13.5.pom
151Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-typesafe-config_2.13/0.15.0/metaconfig-typesafe-config_2.13-0.15.0.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
153Downloaded https://repo1.maven.org/maven2/org/scalameta/scalameta_2.13/4.13.5/scalameta_2.13-4.13.5.pom
154Downloaded https://repo1.maven.org/maven2/org/scalameta/metaconfig-core_2.13/0.15.0/metaconfig-core_2.13-0.15.0.pom
155Downloading https://repo1.maven.org/maven2/org/scalameta/metaconfig-pprint_2.13/0.15.0/metaconfig-pprint_2.13-0.15.0.pom
156Downloading https://repo1.maven.org/maven2/org/scalameta/parsers_2.13/4.13.5/parsers_2.13-4.13.5.pom
157Downloaded https://repo1.maven.org/maven2/org/scalameta/parsers_2.13/4.13.5/parsers_2.13-4.13.5.pom
158Downloaded https://repo1.maven.org/maven2/org/scalameta/metaconfig-pprint_2.13/0.15.0/metaconfig-pprint_2.13-0.15.0.pom
159Downloading https://repo1.maven.org/maven2/org/scalameta/trees_2.13/4.13.5/trees_2.13-4.13.5.pom
160Downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.16/scala-compiler-2.13.16.pom
161Downloaded https://repo1.maven.org/maven2/org/scalameta/trees_2.13/4.13.5/trees_2.13-4.13.5.pom
162Downloaded https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.16/scala-compiler-2.13.16.pom
163Downloading https://repo1.maven.org/maven2/org/scalameta/io_2.13/4.13.5/io_2.13-4.13.5.pom
164Downloading https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils/4.15/java-diff-utils-4.15.pom
165Downloading https://repo1.maven.org/maven2/org/scalameta/common_2.13/4.13.5/common_2.13-4.13.5.pom
166Downloading https://repo1.maven.org/maven2/org/jline/jline/3.27.1/jline-3.27.1.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/org/scalameta/common_2.13/4.13.5/common_2.13-4.13.5.pom
169Downloaded https://repo1.maven.org/maven2/org/jline/jline/3.27.1/jline-3.27.1.pom
170Downloaded https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils/4.15/java-diff-utils-4.15.pom
171Downloading https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils-parent/4.15/java-diff-utils-parent-4.15.pom
172Downloaded https://repo1.maven.org/maven2/io/github/java-diff-utils/java-diff-utils-parent/4.15/java-diff-utils-parent-4.15.pom
173Downloading https://repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.13/0.4.2/sourcecode_2.13-0.4.2.pom
174Downloaded https://repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.13/0.4.2/sourcecode_2.13-0.4.2.pom
175parsed config (v3.9.6): /build/repo/.scalafmt.conf
176[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
177[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
178[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
179[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
180[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
181[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)"`
182[error] 14 | |""".stripMargin)
183[error] | ^
184[error] | @implicitNotFound requires constant expressions as a parameter
185[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
186[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
187[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
188[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
189[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)"`
190[error] 22 | |""".stripMargin)
191[error] | ^
192[error] | @implicitNotFound requires constant expressions as a parameter
193[error] two errors found
194[error] (domainClasses / Compile / compileIncremental) Compilation failed
195[info] inputs did not change -> no need to run codegen
196[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
197[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
198[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
199[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
200[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
201[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)"`
202[error] 14 | |""".stripMargin)
203[error] | ^
204[error] | @implicitNotFound requires constant expressions as a parameter
205[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
206[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
207[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
208[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
209[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)"`
210[error] 22 | |""".stripMargin)
211[error] | ^
212[error] | @implicitNotFound requires constant expressions as a parameter
213[error] two errors found
214[error] (domainClasses / Compile / compileIncremental) Compilation failed
215[info] inputs did not change -> no need to run codegen
216[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
217[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
218[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
219[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
220[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
221[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)"`
222[error] 14 | |""".stripMargin)
223[error] | ^
224[error] | @implicitNotFound requires constant expressions as a parameter
225[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
226[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
227[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
228[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
229[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)"`
230[error] 22 | |""".stripMargin)
231[error] | ^
232[error] | @implicitNotFound requires constant expressions as a parameter
233[error] two errors found
234[error] (domainClasses / Compile / compileIncremental) Compilation failed
235Starting build for ProjectRef(file:/build/repo/,schema2json) (schema2json)... [1/5]
236Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
237[info] compiling 1 Scala source to /build/repo/schema2json/target/scala-3.7.4/classes ...
238[info] done compiling
239Starting build for ProjectRef(file:/build/repo/,codepropertygraph) (codepropertygraph)... [2/5]
240Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
241downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.18.0/protoc-3.18.0-linux-x86_64.zip and extracting into protoc
242[info] inputs did not change -> no need to run codegen
243[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
244[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
245[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
246[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
247[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
248[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)"`
249[error] 14 | |""".stripMargin)
250[error] | ^
251[error] | @implicitNotFound requires constant expressions as a parameter
252[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
253[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
254[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
255[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
256[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)"`
257[error] 22 | |""".stripMargin)
258[error] | ^
259[error] | @implicitNotFound requires constant expressions as a parameter
260[info] running io.shiftleft.codepropertygraph.schema.Protogen schema/target/protos
261[info] compiling 1 protobuf files to /build/repo/proto-bindings/target/scala-3.7.4/src_managed/main/compiled_protobuf
262[info] Compiling schema /build/repo/proto-bindings/target/protobuf_external/cpg.proto
263[info] Compiling protobuf
264[info] Protoc target directory: /build/repo/proto-bindings/target/scala-3.7.4/src_managed/main/compiled_protobuf
265[info] compiling 1 Scala source and 1 Java source to /build/repo/proto-bindings/target/scala-3.7.4/classes ...
266[warn] source value 8 is obsolete and will be removed in a future release
267[warn] target value 8 is obsolete and will be removed in a future release
268[warn] To suppress warnings about obsolete options, use -Xlint:-options.
269[info] Annotation processing is enabled because one or more processors were found
270[info] on the class path. A future release of javac may disable annotation processing
271[info] unless at least one processor is specified by name (-processor), or a search
272[info] path is specified (--processor-path, --processor-module-path), or annotation
273[info] processing is enabled explicitly (-proc:only, -proc:full).
274[info] Use -Xlint:-options to suppress this message.
275[info] Use -proc:none to disable annotation processing.
276[error] two errors found
277[info] done compiling
278[error] (domainClasses / Compile / compileIncremental) Compilation failed
279[info] inputs did not change -> no need to run codegen
280[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
281[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
282[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
283[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
284[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
285[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)"`
286[error] 14 | |""".stripMargin)
287[error] | ^
288[error] | @implicitNotFound requires constant expressions as a parameter
289[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
290[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
291[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
292[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
293[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)"`
294[error] 22 | |""".stripMargin)
295[error] | ^
296[error] | @implicitNotFound requires constant expressions as a parameter
297[error] two errors found
298[error] (domainClasses / Compile / compileIncremental) Compilation failed
299[info] inputs did not change -> no need to run codegen
300[info] compiling 240 Scala sources and 8 Java sources to /build/repo/domainClasses/target/scala-3.7.4/classes ...
301[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:14:9
302[error] 10 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
303[error] 11 | |start with `given DocSearchPackages = DocSearchPackages.default`.
304[error] 12 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
305[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)"`
306[error] 14 | |""".stripMargin)
307[error] | ^
308[error] | @implicitNotFound requires constant expressions as a parameter
309[error] -- Error: /build/repo/domainClasses/src/main/generated/io/shiftleft/codepropertygraph/generated/Cpg.scala:22:9
310[error] 18 | @scala.annotation.implicitNotFound("""If you're using flatgraph purely without a schema and associated generated domain classes, you can
311[error] 19 | |start with `given DocSearchPackages = DocSearchPackages.default`.
312[error] 20 | |If you have generated domain classes, use `given DocSearchPackages = MyDomain.defaultDocSearchPackage`.
313[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)"`
314[error] 22 | |""".stripMargin)
315[error] | ^
316[error] | @implicitNotFound requires constant expressions as a parameter
317[error] two errors found
318[error] (domainClasses / Compile / compileIncremental) Compilation failed
319Starting build for ProjectRef(file:/build/repo/,protoBindings) (codepropertygraph-protos)... [3/5]
320Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
321Starting build for ProjectRef(file:/build/repo/,schema) (codepropertygraph-schema)... [4/5]
322Compile scalacOptions: -release, 8, -language:implicitConversions, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
323
324************************
325Build summary:
326[{
327 "module": "codepropertygraph-domain-classes",
328 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 54374, "warnings": 0, "errors": 2, "sourceVersion": "3.7-migration"},
329 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
330 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
331 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
332 "publish": {"status": "skipped", "tookMs": 0},
333 "metadata": {
334 "crossScalaVersions": ["3.6.4"]
335}
336},{
337 "module": "schema2json",
338 "compile": {"status": "ok", "tookMs": 1673, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
339 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
340 "test-compile": {"status": "ok", "tookMs": 260, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
341 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
342 "publish": {"status": "skipped", "tookMs": 0},
343 "metadata": {
344 "crossScalaVersions": ["3.6.4"]
345}
346},{
347 "module": "codepropertygraph",
348 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 9892, "warnings": 0, "errors": 2, "sourceVersion": "3.7-migration"},
349 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
350 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
351 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
352 "publish": {"status": "skipped", "tookMs": 0},
353 "metadata": {
354 "crossScalaVersions": ["3.6.4"]
355}
356},{
357 "module": "codepropertygraph-protos",
358 "compile": {"status": "ok", "tookMs": 791, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
359 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
360 "test-compile": {"status": "ok", "tookMs": 818, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
361 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
362 "publish": {"status": "skipped", "tookMs": 0},
363 "metadata": {
364 "crossScalaVersions": ["3.6.4"]
365}
366},{
367 "module": "codepropertygraph-schema",
368 "compile": {"status": "ok", "tookMs": 32, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
369 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
370 "test-compile": {"status": "ok", "tookMs": 67, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
371 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
372 "publish": {"status": "skipped", "tookMs": 0},
373 "metadata": {
374 "crossScalaVersions": ["3.6.4"]
375}
376}]
377************************
378[error] Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: codepropertygraph-domain-classes, codepropertygraph
379[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 2 module(s) finished with failures: codepropertygraph-domain-classes, codepropertygraph
380[error] Total time: 145 s (0:02:25.0), completed Dec 4, 2025, 4:05:59 PM
381[0JBuild failed, not retrying.