Build Logs

ashwinbhaskar/sight-scala • 3.8.1-RC1:2026-01-13

Errors

0

Warnings

2

Total Lines

179

1##################################
2Clonning https://github.com/ashwinbhaskar/sight-scala.git into /build/repo using revision
3##################################
4----
5Preparing build for 3.8.1-RC1
6Scala binary version found: 3.8
7Implicitly using source version 3.8
8Scala binary version found: 3.8
9Implicitly using source version 3.8
10Would try to apply common scalacOption (best-effort, sbt/mill only):
11Append: ,REQUIRE:-source:3.8
12Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
13
14Try apply source patch:
15Path: project/plugins.sbt
16Pattern: addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.0.3")
17Replacement: addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.4.0")
18Starting compilation server
19Compiling project (Scala 3.7.3, JVM (17))
20Compiled project (Scala 3.7.3, JVM (17))
21Successfully applied pattern 'addSbtPlugin("com.github.sbt" % "sbt-jacoco" % "3.0.3")' in project/plugins.sbt
22----
23Starting build for 3.8.1-RC1
24Execute tests: true
25sbt project found:
26Sbt version 1.5.2 is not supported, minimal supported version is 1.11.5
27Enforcing usage of sbt in version 1.11.5
28No prepare script found for project ashwinbhaskar/sight-scala
29##################################
30Scala version: 3.8.1-RC1
31Targets: io.github.ashwinbhaskar%sight-client
32Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":["set root/Test/unmanagedSources/excludeFilter ~= { _ || \"IntegrationTest.scala\" }"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/plugins.sbt","pattern":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.0.3\")","replaceWith":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.4.0\")"}]}
33##################################
34Using extra scalacOptions: ,REQUIRE:-source:3.8
35Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
36[sbt_options] declare -a sbt_options=()
37[process_args] java_version = '17'
38[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
39# Executing command line:
40java
41-Dfile.encoding=UTF-8
42-Dcommunitybuild.scala=3.8.1-RC1
43-Dcommunitybuild.project.dependencies.add=
44-Xmx7G
45-Xms4G
46-Xss8M
47-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
48-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
49-jar
50/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
51"setCrossScalaVersions 3.8.1-RC1"
52"++3.8.1-RC1 -v"
53"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
54"set every credentials := Nil"
55"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
56"removeScalacOptionsStartingWith -P:wartremover"
57"set root/Test/unmanagedSources/excludeFilter ~= { _ || "IntegrationTest.scala" }"
58moduleMappings
59"runBuild 3.8.1-RC1 """{"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":["set root/Test/unmanagedSources/excludeFilter ~= { _ || \"IntegrationTest.scala\" }"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/plugins.sbt","pattern":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.0.3\")","replaceWith":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.4.0\")"}]}""" io.github.ashwinbhaskar%sight-client"
60
61[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
62[info] loading project definition from /build/repo/project/project
63[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
64[info] loading project definition from /build/repo/project
65[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
66[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
67[info] Compilation completed in 8.8s.
68[info] done compiling
69/build/repo/build.sbt:15: warning: value sonatypeSnapshots in object resolver is deprecated (since 1.7.0): Sonatype OSS Repository Hosting (OSSRH) will be sunset on 2025-06-30; use the following instead:
70 resolvers += Resolver.sonatypeCentralSnapshots
71 Opts.resolver.sonatypeSnapshots
72 ^
73/build/repo/build.sbt:17: warning: value sonatypeStaging in object resolver is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) will be sunset on 2025-06-30; use the following instead:
74 publishTo := {
75 if (isSnapshot.value) Some(Resolver.sonatypeCentralSnapshots)
76 else localStaging.value
77 }
78 Opts.resolver.sonatypeStaging
79 ^
80[info] loading settings for project root from build.sbt...
81[info] set current project to sight-client (in build file:/build/repo/)
82Execute setCrossScalaVersions: 3.8.1-RC1
83OpenCB::Changing crossVersion 3.0.0 -> 3.8.1-RC1 in root/crossScalaVersions
84OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in root/crossScalaVersions
85[info] set current project to sight-client (in build file:/build/repo/)
86[info] Setting Scala version to 3.8.1-RC1 on 1 projects.
87[info] Switching Scala version on:
88[info] * root (3.8.1-RC1)
89[info] Excluding projects:
90[info] Reapplying settings...
91[info] set current project to sight-client (in build file:/build/repo/)
92Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
93[info] Reapplying settings...
94[info] set current project to sight-client (in build file:/build/repo/)
95[info] Defining Global / credentials, credentials
96[info] The new values will be used by Global / pgpSelectPassphrase, allCredentials and 3 others.
97[info] Run `last` for details.
98[info] Reapplying settings...
99[info] set current project to sight-client (in build file:/build/repo/)
100Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
101[info] Reapplying settings...
102OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
103
104 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
105 Did you mean allExcludeDependencies ?
106 , retry without global scopes
107[info] Reapplying settings...
108[info] set current project to sight-client (in build file:/build/repo/)
109Execute removeScalacOptionsStartingWith: -P:wartremover
110[info] Reapplying settings...
111[info] set current project to sight-client (in build file:/build/repo/)
112[info] Defining Test / unmanagedSources / excludeFilter
113[info] The new value will be used by Test / unmanagedSources / fileInputs
114[info] Reapplying settings...
115[info] set current project to sight-client (in build file:/build/repo/)
116[success] Total time: 0 s, completed Jan 13, 2026, 8:25:06 PM
117Build config: {"projects":{"exclude":[],"overrides":{}},"java":{},"sbt":{"commands":["set root/Test/unmanagedSources/excludeFilter ~= { _ || \"IntegrationTest.scala\" }"],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[{"path":"project/plugins.sbt","pattern":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.0.3\")","replaceWith":"addSbtPlugin(\"com.github.sbt\" % \"sbt-jacoco\" % \"3.4.0\")"}]}
118Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
119Starting build...
120Projects: Set(root)
121Starting build for ProjectRef(file:/build/repo/,root) (sight-client)... [0/1]
122OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
123Compile scalacOptions: -Wconf:msg=can be rewritten automatically under:s, -source:3.8
124[info] compiling 10 Scala sources to /build/repo/target/scala-3.8.1-RC1/classes ...
125[info] done compiling
126[info] compiling 6 Scala sources to /build/repo/target/scala-3.8.1-RC1/test-classes ...
127[info] done compiling
128[info] Instrumenting 60 classes to /build/repo/target/scala-3.8.1-RC1/jacoco/instrumented-classes
129[info] Instrumenting 60 classes to /build/repo/target/scala-3.8.1-RC1/jacoco/instrumented-classes
130APIKeyTest:
131FileContentReaderImplTest:
132MimeTypeTest:
133SightClientImplTest:
134 + fromExtension should return the correct MimeType 0.061s
135 + fromExtension should return an error when an invalid extension is given 0.002s
136JsonTest:
137 + Should encode and decode json correctly when error is Empty String 0.202s
138 + Should return correct mime types when valid 0.377s
139 + Should return error when the format of the key is wrong 0.376s
140 + Should return correct error when mime types are not valid 0.002s
141 + Should encode and decode json correctly when error is NOT an Empty String 0.005s
142 + SightClientImpl should return the same error as FileContenReader - With wordLevelBoundBoxes = false 0.382s
143 + Should return APIKey when the format is correct 0.004s
144 + SightClientImpl should return the same error as FileContenReader - With wordLevelBoundBoxes = true 0.001s
145 + Should encode and decode polling url correctly 0.004s
146 + Should return correct base64 content 0.013s
147PageOpsTest:
148 + method allText 0.007s
149 + method allTextWithConfidenceGreaterThan 0.003s
150 + SightClientImpl should make the http call and return expected result when the content is valid - Single Page, One Shot 0.115s
151 + SightClientImpl should make the http call and return expected result when the content is valid - Single Page, Stream 0.004s
152 + SightClientImpl should make the http call and return expected result when the content is valid - PollingUrl, One Shot 0.01s
153 + SightClientImpl should return error when call to PollingURL returns error - One Shot 0.004s
154 + SightClientImpl should make the http call and return expected result when the content is valid - PollingUrl, Stream 0.008s
155 + SightClientImpl should return error when call to PollingURL returns error - Stream 0.003s
156[info] Instrumenting 60 classes to /build/repo/target/scala-3.8.1-RC1/jacoco/instrumented-classes
157[info] Instrumenting 60 classes to /build/repo/target/scala-3.8.1-RC1/jacoco/instrumented-classes
158
159************************
160Build summary:
161[{
162 "module": "sight-client",
163 "compile": {"status": "ok", "tookMs": 8568, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
164 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
165 "test-compile": {"status": "ok", "tookMs": 2970, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
166 "test": {"status": "ok", "tookMs": 1035, "passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20, "byFramework": [{"framework": "munit", "stats": {"passed": 20, "failed": 0, "ignored": 0, "skipped": 0, "total": 20}}]},
167 "publish": {"status": "skipped", "tookMs": 0},
168 "metadata": {
169 "crossScalaVersions": ["2.12.20"]
170}
171}]
172************************
173[success] Total time: 15 s, completed Jan 13, 2026, 8:25:21 PM
174[0JChecking patch project/plugins.sbt...
175Checking patch project/build.properties...
176Checking patch build.sbt...
177Applied patch project/plugins.sbt cleanly.
178Applied patch project/build.properties cleanly.
179Applied patch build.sbt cleanly.