Build Logs
nationalarchives/da-metadata-schema • 3.7.0-RC3:2025-04-15
Errors
1
Warnings
2
Total Lines
175
1##################################
2Clonning https://github.com/nationalarchives/da-metadata-schema.git into repo using revision v0.0.52
3##################################
4Note: switching to '577c20acab7e30e120ccebea5202ccf7bc624a09'.
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.0-RC3
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.0-RC3
32Execute tests: true
33sbt project found:
34No prepare script found for project nationalarchives/da-metadata-schema
35##################################
36Scala version: 3.7.0-RC3
37Targets: uk.gov.nationalarchives%da-metadata-schema
38Project projectConfig: { "tests": null }
39##################################
40Using extra scalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s
41Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
42[sbt_options] declare -a sbt_options=()
43[process_args] java_version = '17'
44[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8/rt.jar'
45# Executing command line:
46java
47-Dfile.encoding=UTF-8
48-Dcommunitybuild.scala=3.7.0-RC3
49-Dcommunitybuild.project.dependencies.add=
50-Xmx7G
51-Xms4G
52-Xss8M
53-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
54-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_17_0_8
55-jar
56/root/.sdkman/candidates/sbt/1.9.6/bin/sbt-launch.jar
57"setCrossScalaVersions 3.7.0-RC3"
58"++3.7.0-RC3 -v"
59"mapScalacOptions ",-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,""
60"set every credentials := Nil"
61"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
62"removeScalacOptionsStartingWith -P:wartremover"
63
64moduleMappings
65"runBuild 3.7.0-RC3 """{
66 "tests": null
67}""" uk.gov.nationalarchives%da-metadata-schema"
68
69[info] [launcher] getting org.scala-sbt sbt 1.9.9 (this may take some time)...
70[info] welcome to sbt 1.9.9 (Eclipse Adoptium Java 17.0.8)
71[info] loading settings for project repo-build from plugins.sbt ...
72[info] loading project definition from /build/repo/project
73[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
74[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.18. Compiling...
75[info] Compilation completed in 8.444s.
76[info] done compiling
77[info] loading settings for project root from build.sbt,version.sbt ...
78[info] set current project to da-metadata-schema (in build file:/build/repo/)
79Execute setCrossScalaVersions: 3.7.0-RC3
80OpenCB::Changing crossVersion 3.4.0 -> 3.7.0-RC3 in root/crossScalaVersions
81OpenCB::Limitting incorrect crossVersions List(2.12.18) -> List(3.7.0-RC3) in root/crossScalaVersions
82[info] set current project to da-metadata-schema (in build file:/build/repo/)
83[info] Setting Scala version to 3.7.0-RC3 on 1 projects.
84[info] Switching Scala version on:
85[info] * root (3.7.0-RC3)
86[info] Excluding projects:
87[info] Reapplying settings...
88[info] set current project to da-metadata-schema (in build file:/build/repo/)
89Execute mapScalacOptions: ,-source:3.7-migration,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e,-migration,
90[info] Reapplying settings...
91[info] set current project to da-metadata-schema (in build file:/build/repo/)
92[info] Defining Global / credentials, credentials
93[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 7 others.
94[info] Run `last` for details.
95[info] Reapplying settings...
96[info] set current project to da-metadata-schema (in build file:/build/repo/)
97Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
98[info] Reapplying settings...
99OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
100
101 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:315)
102 Did you mean allExcludeDependencies ?
103 , retry without global scopes
104[info] Reapplying settings...
105[info] set current project to da-metadata-schema (in build file:/build/repo/)
106Execute removeScalacOptionsStartingWith: -P:wartremover
107[info] Reapplying settings...
108[info] set current project to da-metadata-schema (in build file:/build/repo/)
109[success] Total time: 0 s, completed Apr 15, 2025, 1:24:29 PM
110Build config: {
111 "tests": null
112}
113Parsed config: Failure(sjsonnew.DeserializationException: Expected String as JString, but got JNull)
114Starting build...
115Projects: Set(root)
116Starting build for ProjectRef(file:/build/repo/,root) (da-metadata-schema)...
117OpenCB::Exclude Scala3 specific scalacOption `-source:3.7-migration` in Scala 2.12.18 module Global
118Compile scalacOptions: List(-source:3.7-migration, -Wconf:msg=can be rewritten automatically under:s)
119OpenCB::Would not apply setting `-source:3.7-migration`: Project has predefined source version: Some(-source:3.7-migration)
120[info] compiling 4 Scala sources to /build/repo/target/scala-3.7.0-RC3/test-classes ...
121[warn] there were 2 deprecation warnings; re-run with -deprecation for details
122[warn] one warning found
123[info] done compiling
124SLF4J(W): No SLF4J providers were found.
125SLF4J(W): Defaulting to no-operation (NOP) logger implementation
126SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
127[info] RelationshipSchemaSpec:
128[info] relationship schema validation
129[info] - should fail if missing required property
130$.description_closed: must be the constant value 'true'
131$.title_closed: must be the constant value 'true'
132[info] ClosureSchemaSpec:
133[info] closure schema validation
134[info] - should fail when document is closed and missing closure property when using closureSchemaClosed
135[info] - should fail when document is closed and provided closure property is invalid when using closureSchemaClosed
136[info] - should fail when document is closed and alternative title is provided but title has NOT been set to closed
137[info] - should succeed when document is closed and valid closure property is provided when using closureSchemaClosed
138[info] - should fail when document is open and provided closure property is invalid when using closureSchemaOpen
139[info] - should succeed when document is open and valid closure property is provided when using closureSchemaOpen
140[info] SharepointDataLoadSchemaSpec:
141[info] sharepoint data load schema validation
142[info] - should pass when all required properties present
143[info] - should fail when missing required property
144[info] - should fail when 'Length' is less than 0
145[info] - should fail when 'FileRef' is less than 1
146[info] - should fail when 'FileLeafRef' is less than 1
147[info] - should fail when contains an invalid uuid
148[info] Wrote /build/repo/target/scala-3.7.0-RC3/da-metadata-schema_3-0.0.52.pom
149[info] :: delivering :: uk.gov.nationalarchives#da-metadata-schema_3;0.0.52 :: 0.0.52 :: release :: Tue Apr 15 13:24:45 CEST 2025
150[info] delivering ivy file to /build/repo/target/scala-3.7.0-RC3/ivy-0.0.52.xml
151[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.52/poms/da-metadata-schema_3.pom
152[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.52/jars/da-metadata-schema_3.jar
153[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.52/srcs/da-metadata-schema_3-sources.jar
154[info] published da-metadata-schema_3 to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.52/docs/da-metadata-schema_3-javadoc.jar
155[info] published ivy to /root/.ivy2/local/uk.gov.nationalarchives/da-metadata-schema_3/0.0.52/ivys/ivy.xml
156
157************************
158Build summary:
159[{
160 "module": "da-metadata-schema",
161 "compile": {"status": "ok", "tookMs": 390, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
162 "doc": {"status": "ok", "tookMs": 50, "files": 0, "totalSizeKb": 0},
163 "test-compile": {"status": "ok", "tookMs": 6149, "warnings": 0, "errors": 0, "sourceVersion": "3.7-migration"},
164 "test": {"status": "ok", "tookMs": 927, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
165 "publish": {"status": "ok", "tookMs": 255},
166 "metadata": {
167 "crossScalaVersions": ["2.12.18"]
168}
169}]
170************************
171[success] Total time: 16 s, completed Apr 15, 2025, 1:24:45 PM
172Checking patch project/plugins.sbt...
173Checking patch build.sbt...
174Applied patch project/plugins.sbt cleanly.
175Applied patch build.sbt cleanly.