Build Logs

shiftleftsecurity/codepropertygraph • 3.8.0-RC2:2025-11-25

Errors

111

Warnings

3

Total Lines

382

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