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