Build Logs

zio-archive/zio-jdbc • 3.8.0-RC6:2026-01-08

Errors

21

Warnings

11

Total Lines

181

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