Build Logs

nationalarchives/da-metadata-schema • test-patches-07042025

Errors

0

Warnings

2

Total Lines

154

1##################################
2Clonning https://github.com/nationalarchives/da-metadata-schema.git into repo using revision v0.0.49
3##################################
4Note: switching to 'e1fd2de6730fc77db3c19ef850e4af71b239eb29'.
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
21----
22Preparing build for 3.7.1-RC1-bin-20250407-0cd43fe
23Scala binary version found: 3.7
24Implicitly using source version 3.7-migration
25Scala binary version found: 3.7
26Implicitly using source version 3.7-migration
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
30----
31Starting build for 3.7.1-RC1-bin-20250407-0cd43fe
32Execute tests: false
33sbt project found:
34Sbt version 1.9.9 is not supported, minimal supported version is 1.10.0
35Enforcing usage of sbt in version 1.10.0
36No prepare script found for project nationalarchives/da-metadata-schema
37##################################
38Scala version: 3.7.1-RC1-bin-20250407-0cd43fe
39Targets: uk.gov.nationalarchives%da-metadata-schema
40Project projectConfig: { "tests": "compile-only" }
41##################################
42Using extra scalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
44[sbt_options] declare -a sbt_options=()
45[process_args] java_version = '17'
46[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
47# Executing command line:
48java
49-Dfile.encoding=UTF-8
50-Dcommunitybuild.scala=3.7.1-RC1-bin-20250407-0cd43fe
51-Dcommunitybuild.project.dependencies.add=
52-Xmx7G
53-Xms4G
54-Xss8M
55-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
56-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
57-jar
58/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
59"setCrossScalaVersions 3.7.1-RC1-bin-20250407-0cd43fe"
60"++3.7.1-RC1-bin-20250407-0cd43fe -v"
61"mapScalacOptions ",-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
62"set every credentials := Nil"
63"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
64"removeScalacOptionsStartingWith -P:wartremover"
65
66moduleMappings
67"runBuild 3.7.1-RC1-bin-20250407-0cd43fe """{
68 "tests": "compile-only"
69}""" uk.gov.nationalarchives%da-metadata-schema"
70
71[info] [launcher] getting org.scala-sbt sbt 1.10.0 (this may take some time)...
72[info] [launcher] getting Scala 2.12.19 (for sbt)...
73[info] welcome to sbt 1.10.0 (Eclipse Adoptium Java 17.0.8)
74[info] loading settings for project repo-build from plugins.sbt ...
75[info] loading project definition from /build/repo/project
76[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
77[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.19. Compiling...
78[info] Compilation completed in 8.64s.
79[info] done compiling
80[info] loading settings for project root from build.sbt,version.sbt ...
81[info] set current project to da-metadata-schema (in build file:/build/repo/)
82Execute setCrossScalaVersions: 3.7.1-RC1-bin-20250407-0cd43fe
83OpenCB::Changing crossVersion 3.4.0 -> 3.7.1-RC1-bin-20250407-0cd43fe in root/crossScalaVersions
84OpenCB::Limitting incorrect crossVersions List(2.12.19) -> List(3.7.1-RC1-bin-20250407-0cd43fe) in root/crossScalaVersions
85[info] set current project to da-metadata-schema (in build file:/build/repo/)
86[info] Setting Scala version to 3.7.1-RC1-bin-20250407-0cd43fe on 1 projects.
87[info] Switching Scala version on:
88[info] * root (3.7.1-RC1-bin-20250407-0cd43fe)
89[info] Excluding projects:
90[info] Reapplying settings...
91[info] set current project to da-metadata-schema (in build file:/build/repo/)
92Execute mapScalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
93[info] Reapplying settings...
94[info] set current project to da-metadata-schema (in build file:/build/repo/)
95[info] Defining Global / credentials, credentials
96[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
97[info] Run `last` for details.
98[info] Reapplying settings...
99[info] set current project to da-metadata-schema (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:315)
105 Did you mean allExcludeDependencies ?
106 , retry without global scopes
107[info] Reapplying settings...
108[info] set current project to da-metadata-schema (in build file:/build/repo/)
109Execute removeScalacOptionsStartingWith: -P:wartremover
110[info] Reapplying settings...
111[info] set current project to da-metadata-schema (in build file:/build/repo/)
112[success] Total time: 0 s, completed Apr 7, 2025, 1:44:46 PM
113Build config: {
114 "tests": "compile-only"
115}
116Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
117Starting build...
118Projects: Set(root)
119Starting build for ProjectRef(file:/build/repo/,root) (da-metadata-schema)...
120OpenCB::Exclude Scala3 specific scalacOption `-source:3.7-migration` in Scala 2.12.19 module Global
121Compile scalacOptions: List(-source:3.7-migration, -Wconf:msg=can be rewritten automatically under:s)
122OpenCB::Would not apply setting `-source:3.7-migration`: Project has predefined source version: Some(-source:3.7-migration)
123[info] compiling 4 Scala sources to /build/repo/target/scala-3.7.1-RC1-bin-20250407-0cd43fe/test-classes ...
124[warn] there were 2 deprecation warnings; re-run with -deprecation for details
125[warn] one warning found
126[info] done compiling
127[info] Wrote /build/repo/target/scala-3.7.1-RC1-bin-20250407-0cd43fe/da-metadata-schema_3-0.0.49.pom
128[info] :: delivering :: uk.gov.nationalarchives#da-metadata-schema_3;0.0.49 :: 0.0.49 :: release :: Mon Apr 07 13:45:00 CEST 2025
129[info] delivering ivy file to /build/repo/target/scala-3.7.1-RC1-bin-20250407-0cd43fe/ivy-0.0.49.xml
130[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.49/poms/da-metadata-schema_3.pom
131[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.49/jars/da-metadata-schema_3.jar
132[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.49/srcs/da-metadata-schema_3-sources.jar
133[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.49/docs/da-metadata-schema_3-javadoc.jar
134[info] published ivy to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.49/ivys/ivy.xml
135
136************************
137Build summary:
138[{
139 "module": "da-metadata-schema",
140 "compile": {"status": "ok", "tookMs": 469, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
141 "doc": {"status": "ok", "tookMs": 58, "files": 0, "totalSizeKb": 0},
142 "test-compile": {"status": "ok", "tookMs": 6241, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
143 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
144 "publish": {"status": "ok", "tookMs": 279},
145 "metadata": {
146 "crossScalaVersions": ["2.12.19"]
147}
148}]
149************************
150[success] Total time: 14 s, completed Apr 7, 2025, 1:45:01 PM
151Checking patch project/build.properties...
152Checking patch build.sbt...
153Applied patch project/build.properties cleanly.
154Applied patch build.sbt cleanly.