Build Logs
zio-archive/zio-jdbc • 3.7.4:2025-11-06
Errors
21
Warnings
11
Total Lines
182
1##################################
2Clonning https://github.com/zio-archive/zio-jdbc.git into /build/repo using revision v0.1.2
3##################################
4Note: switching to 'a13a5a58da156ed7e0947945bafc2acb16c55314'.
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
29Try apply source patch:
30Path: project/BuildHelper.scala
31Pattern: val Scala3: String = versions("3.3")
32Replacement: val Scala3: String = "3.7.4-RC2"
33Starting compilation server
34Compiling project (Scala 3.7.3, JVM (17))
35Compiled project (Scala 3.7.3, JVM (17))
36Successfully applied pattern 'val Scala3: String = versions("3.3")' in project/BuildHelper.scala
37----
38Starting build for 3.7.4-RC2
39Execute tests: false
40sbt project found:
41Sbt version 1.9.8 is not supported, minimal supported version is 1.11.5
42Enforcing usage of sbt in version 1.11.5
43No prepare script found for project zio-archive/zio-jdbc
44/opencb/project-builder/sbt/prepare-project.sh: line 107: /root/.ssh/config: No such file or directory
45##################################
46Scala version: 3.7.4-RC2
47Targets: dev.zio%zio-jdbc
48Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3.3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
49##################################
50Using extra scalacOptions: -rewrite,REQUIRE:-source:3.7-migration
51Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
52[sbt_options] declare -a sbt_options=()
53[process_args] java_version = '17'
54[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
55# Executing command line:
56java
57-Dfile.encoding=UTF-8
58-Dcommunitybuild.scala=3.7.4-RC2
59-Dcommunitybuild.project.dependencies.add=
60-Xmx7G
61-Xms4G
62-Xss8M
63-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
64-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
65-jar
66/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
67"setCrossScalaVersions 3.7.4-RC2"
68"++3.7.4-RC2 -v"
69"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""
70"set every credentials := Nil"
71"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
72"removeScalacOptionsStartingWith -P:wartremover"
73
74moduleMappings
75"runBuild 3.7.4-RC2 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3.3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}""" dev.zio%zio-jdbc"
76
77[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
78[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
79[info] loading project definition from /build/repo/project
80[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
81[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
82[info] Compilation completed in 8.631s.
83[warn] /build/repo/project/BuildHelper.scala:188:19: value scalafixScalaBinaryVersion in object autoImport is deprecated (since 0.12.1): scalafixScalaBinaryVersion now follows scalaVersion by default
84[warn] ThisBuild / scalafixScalaBinaryVersion := CrossVersion.binaryScalaVersion(scalaVersion.value),
85[warn] ^
86[warn] one warning found
87[info] done compiling
88[info] loading settings for project root from build.sbt...
89[info] set current project to zio-jdbc (in build file:/build/repo/)
90[warn] there's a key that's not used by any other settings/tasks:
91[warn]
92[warn] * ThisBuild / scalafixScalaBinaryVersion
93[warn] +- /build/repo/project/BuildHelper.scala:188
94[warn]
95[warn] note: a setting might still be used by a command; to exclude a key from this `lintUnused` check
96[warn] either append it to `Global / excludeLintKeys` or call .withRank(KeyRanks.Invisible) on the key
97Execute setCrossScalaVersions: 3.7.4-RC2
98OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in core/crossScalaVersions
99OpenCB::Changing crossVersion 3.7.4-RC2 -> 3.7.4-RC2 in examples/crossScalaVersions
100[info] set current project to zio-jdbc (in build file:/build/repo/)
101[info] Setting Scala version to 3.7.4-RC2 on 2 projects.
102[info] Switching Scala version on:
103[info] examples (2.12.18, 2.13.12, 3.7.4-RC2)
104[info] core (2.12.18, 2.13.12, 3.7.4-RC2)
105[info] Excluding projects:
106[info] * root (2.13.12)
107[info] integration (2.13.12)
108[info] docs (2.13.12)
109[info] Reapplying settings...
110[info] set current project to zio-jdbc (in build file:/build/repo/)
111Execute 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
112[info] Reapplying settings...
113[info] set current project to zio-jdbc (in build file:/build/repo/)
114[info] Defining Global / credentials, core / credentials and 3 others.
115[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 40 others.
116[info] Run `last` for details.
117[info] Reapplying settings...
118[info] set current project to zio-jdbc (in build file:/build/repo/)
119Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
120[info] Reapplying settings...
121OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
122
123 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:336)
124 Did you mean allExcludeDependencies ?
125 , retry without global scopes
126[info] Reapplying settings...
127[info] set current project to zio-jdbc (in build file:/build/repo/)
128Execute removeScalacOptionsStartingWith: -P:wartremover
129[info] Reapplying settings...
130[info] set current project to zio-jdbc (in build file:/build/repo/)
131[success] Total time: 0 s, completed Nov 6, 2025, 12:29:32 AM
132Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.7"],"sourcePatches":[{"path":"project/BuildHelper.scala","pattern":"val Scala3: String = versions(\"3.3\")","replaceWith":"val Scala3: String = \"<SCALA_VERSION>\""}]}
133Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
134Starting build...
135Projects: Set(core)
136Starting build for ProjectRef(file:/build/repo/,core) (zio-jdbc)... [0/1]
137OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.13.12 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
138OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.7-migration` in Scala 2.13.12 module Scope(Select(BuildRef(file:/build/repo/)), Zero, Zero, Zero)
139OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
140OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
141OpenCB::Filter out '-Xfatal-warnings', matches setting pattern '^-?-Xfatal-warnings'
142Compile scalacOptions: -encoding, UTF-8, -unchecked, -language:implicitConversions, -Xignore-scala2-macros, -Xsemanticdb, -semanticdb-target, /build/repo/core/target/scala-3.7.4-RC2/meta, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.7-migration
143[info] compiling 14 Scala sources to /build/repo/core/target/scala-3.7.4-RC2/classes ...
144[error] -- [E172] Type Error: /build/repo/core/src/main/scala/zio/jdbc/JdbcEncoder.scala:665:33
145[error] 665 | JdbcEncoder.tuple2Encoder(self.fromSchema(left), self.fromSchema(right))
146[error] | ^
147[error] |Ambiguous given instances: both value byteChunkEncoder in object JdbcEncoder and value uuidEncoder in object JdbcEncoder match type zio.jdbc.JdbcEncoder[A] of a context parameter of method tuple2Encoder in object JdbcEncoder
148[error] one error found
149[error] (core / Compile / compileIncremental) Compilation failed
150[info] compiling 14 Scala sources to /build/repo/core/target/scala-3.7.4-RC2/classes ...
151[error] -- [E172] Type Error: /build/repo/core/src/main/scala/zio/jdbc/JdbcEncoder.scala:665:33
152[error] 665 | JdbcEncoder.tuple2Encoder(self.fromSchema(left), self.fromSchema(right))
153[error] | ^
154[error] |Ambiguous given instances: both value byteChunkEncoder in object JdbcEncoder and value uuidEncoder in object JdbcEncoder match type zio.jdbc.JdbcEncoder[A] of a context parameter of method tuple2Encoder in object JdbcEncoder
155[error] one error found
156[error] (core / Compile / compileIncremental) Compilation failed
157[info] compiling 14 Scala sources to /build/repo/core/target/scala-3.7.4-RC2/classes ...
158[error] -- [E172] Type Error: /build/repo/core/src/main/scala/zio/jdbc/JdbcEncoder.scala:665:33
159[error] 665 | JdbcEncoder.tuple2Encoder(self.fromSchema(left), self.fromSchema(right))
160[error] | ^
161[error] |Ambiguous given instances: both value byteChunkEncoder in object JdbcEncoder and value uuidEncoder in object JdbcEncoder match type zio.jdbc.JdbcEncoder[A] of a context parameter of method tuple2Encoder in object JdbcEncoder
162[error] one error found
163[error] (core / Compile / compileIncremental) Compilation failed
164
165************************
166Build summary:
167[{
168 "module": "zio-jdbc",
169 "compile": {"status": "failed", "failureContext": {"type": "buildError", "reasons": ["Compilation failed"]}, "tookMs": 9981, "warnings": 0, "errors": 1, "sourceVersion": "3.7-migration"},
170 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
171 "test-compile": {"status": "skipped", "tookMs": 0, "warnings": 0, "errors": 0},
172 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
173 "publish": {"status": "skipped", "tookMs": 0},
174 "metadata": {
175 "crossScalaVersions": ["2.12.18", "2.13.12"]
176}
177}]
178************************
179[error] Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: zio-jdbc
180[error] (Global / runBuild) Scala3CommunityBuild$ProjectBuildFailureException: 1 module(s) finished with failures: zio-jdbc
181[error] Total time: 29 s, completed Nov 6, 2025, 12:30:01 AM
182[0JBuild failed, not retrying.