Build Logs
dacr/drools-scripting • 3.8.0-RC4:2025-12-22
Errors
0
Warnings
2
Total Lines
236
1##################################
2Clonning https://github.com/dacr/drools-scripting.git into /build/repo using revision v1.1.0
3##################################
4Note: switching to '233094cd96114801e97891770c096b79b87a267e'.
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.8.0-RC4
23Scala binary version found: 3.8
24Implicitly using source version 3.8
25Scala binary version found: 3.8
26Implicitly using source version 3.8
27Would try to apply common scalacOption (best-effort, sbt/mill only):
28Append: ,REQUIRE:-source:3.8
29Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
30----
31Starting build for 3.8.0-RC4
32Execute tests: true
33sbt project found:
34Sbt version 1.9.0 is not supported, minimal supported version is 1.11.5
35Enforcing usage of sbt in version 1.11.5
36No prepare script found for project dacr/drools-scripting
37##################################
38Scala version: 3.8.0-RC4
39Targets: fr.janalyse%drools-scripting
40Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
41##################################
42Using extra scalacOptions: ,REQUIRE:-source:3.8
43Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
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.8.0-RC4
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.11.5/bin/sbt-launch.jar
59"setCrossScalaVersions 3.8.0-RC4"
60"++3.8.0-RC4 -v"
61"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
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.8.0-RC4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}""" fr.janalyse%drools-scripting"
68
69[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 17.0.8)
70[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
71[info] loading project definition from /build/repo/project
72[info] compiling 2 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
73[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
74[info] Compilation completed in 8.719s.
75[info] done compiling
76/build/repo/publish.sbt:7: 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:
77 resolvers += Resolver.sonatypeCentralSnapshots
78publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)
79 ^
80/build/repo/publish.sbt:7: 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:
81 publishTo := {
82 if (isSnapshot.value) Some(Resolver.sonatypeCentralSnapshots)
83 else localStaging.value
84 }
85publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging)
86 ^
87[info] loading settings for project repo from build.sbt, publish.sbt, version.sbt...
88[info] set current project to drools-scripting (in build file:/build/repo/)
89Execute setCrossScalaVersions: 3.8.0-RC4
90OpenCB::Changing crossVersion 3.3.0 -> 3.8.0-RC4 in repo/crossScalaVersions
91[info] set current project to drools-scripting (in build file:/build/repo/)
92[info] Setting Scala version to 3.8.0-RC4 on 1 projects.
93[info] Switching Scala version on:
94[info] * repo (2.12.13, 2.13.11, 3.8.0-RC4)
95[info] Excluding projects:
96[info] Reapplying settings...
97[info] set current project to drools-scripting (in build file:/build/repo/)
98Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
99[info] Reapplying settings...
100[info] set current project to drools-scripting (in build file:/build/repo/)
101[info] Defining Global / credentials, credentials
102[info] The new values will be used by Global / pgpSelectPassphrase, Global / pgpSigningKey and 6 others.
103[info] Run `last` for details.
104[info] Reapplying settings...
105[info] set current project to drools-scripting (in build file:/build/repo/)
106Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
107[info] Reapplying settings...
108OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
109
110 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
111 Did you mean allExcludeDependencies ?
112 , retry without global scopes
113[info] Reapplying settings...
114[info] set current project to drools-scripting (in build file:/build/repo/)
115Execute removeScalacOptionsStartingWith: -P:wartremover
116[info] Reapplying settings...
117[info] set current project to drools-scripting (in build file:/build/repo/)
118[success] Total time: 0 s, completed Dec 22, 2025, 7:50:04 PM
119Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"17"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":[],"sourcePatches":[]}
120Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
121Starting build...
122Projects: Set(repo)
123Starting build for ProjectRef(file:/build/repo/,repo) (drools-scripting)... [0/1]
124OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
125OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
126OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
127Compile scalacOptions: -unchecked, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
128[info] compiling 6 Scala sources to /build/repo/target/scala-3.8.0-RC4/classes ...
129[info] done compiling
130[info] compiling 7 Scala sources to /build/repo/target/scala-3.8.0-RC4/test-classes ...
131[info] done compiling
132[info] DroolsEngineJsonTest:
133[info] Drools
134[info] - should manage json inputs associated to simple mvel declarations (1 second, 407 milliseconds)
135[info] - should manage json inputs associated to more complex mvel declarations (143 milliseconds)
136{"@class":"test.Someone","birth":"2019-01-01T14:00:00.000+0000","name":"joe"}
137{"@class":"test.Someone","birth":"2019-01-01T14:00:00.042+0000","name":"sarah"}
138{"@class":"test.Someone","birth":"2019-01-01T15:00:00.042+0000","name":"brad"}
139{"@class":"test.Someone","birth":"2019-01-01T06:00:00.000+0000","name":"joe2"}
140[info] - should be able to deal with ISO8601 json dates (75 milliseconds)
141[info] + Someone( name=joe, birth=Tue Jan 01 15:00:00 CET 2019 ),Someone( name=sarah, birth=Tue Jan 01 15:00:00 CET 2019 ),Someone( name=brad, birth=Tue Jan 01 16:00:00 CET 2019 ),Someone( name=joe2, birth=Tue Jan 01 07:00:00 CET 2019 )
142{"@class":"test.Someone","birth":"2019-01-01T14:00:00.000+0000","name":"joe"}
143{"@class":"test.Someone","birth":"2019-01-01T14:00:00.042-0100","name":"brad"}
144{"@class":"test.Someone","birth":"2019-01-01T14:00:00.000+0800","name":"joe2"}
145{"@class":"test.Someone","birth":"2019-01-01T14:00:00.042+0000","name":"sarah"}
146[info] - should be able to deal with ISO8601 + milliseconds json dates (71 milliseconds)
147[info] + Someone( name=joe, birth=2019-01-01T14:00Z ),Someone( name=brad, birth=2019-01-01T14:00:00.042-01:00 ),Someone( name=joe2, birth=2019-01-01T14:00+08:00 ),Someone( name=sarah, birth=2019-01-01T14:00:00.042Z )
148[info] - should be able to use enumerations (72 milliseconds)
149[info] - should be able to deserialize java Maps (87 milliseconds)
150[info] DroolsEngineEventsTest:
151[info] Drools
152[info] - should manage events, say hello and then goodbye (166 milliseconds)
153[info] + Pseudo clock starts to 0
154[info] - should not possible to update event datetime (163 milliseconds)
155[info] + current pseudo clock state :0
156[info] + Arrived fields: datetime
157[info] + initialDate = Thu Jan 01 01:00:00 CET 1970
158[info] + currentDate = Mon Dec 22 19:51:30 CET 2025
159[info] + ** updating datetime field **
160[info] + => expires 10s
161[info] + => role event
162[info] + => timestamp datetime
163[info] + updatedDate = Thu Jan 01 01:00:04 CET 1970
164[info] + original datetime and expiration occurs, any change is not taken into account
165[info] + event are considerated as immutable !!
166[info] + Pseudo clock starts to 0
167[info] - should be possible refresh to an event (117 milliseconds)
168[info] + DELETE AND THEN INSERT WITH UPDATED TIMESTAMP
169[info] + ArrivedInput( name=John, datetime=Thu Jan 01 01:00:05 CET 1970 )
170[info] DroolsEngineEqualityTest:
171[info] Drools
172[info] - should equality check with mvel objects (115 milliseconds)
173[info] + Take care mvel declarations don't implement the right hashcode and equals implementation by default => solution add @key annotation !
174[info] - should equality check with mvel objects 2 (71 milliseconds)
175[info] + Take care mvel declarations don't implement the right hashcode and equals implementation by default => solution add @key annotation !
176[info] - should equality check with external objects (65 milliseconds)
177[info] - should say hello and then goodbye check equality (92 milliseconds)
178[info] - should say hello and then goodbye check equality again (89 milliseconds)
179[info] DroolsEngineCaseClassesTest:
180[info] drools
181HELLO truc
182[info] - should manage right regular case classes, but unfortunately not those created from ammonite (65 milliseconds)
183[info] + fr.janalyse.droolscripting.namespace1$namespace2$DummyX
184[info] + fr.janalyse.droolscripting.Dummy
185[info] DroolsEngineStreamModesTest:
186[info] DroolsEngine
187[info] - should not allow advance time with a real time clock (36 milliseconds)
188[info] - should not allow advance time in cloud mode event with a pseudo clock (32 milliseconds)
189[info] DroolsEngineBasicsTest:
190[info] Drools
191[info] - should say hello (42 milliseconds)
192[info] - should support logging within defined kb (33 milliseconds)
193[info] - should be possible to get objects (41 milliseconds)
194[info] - should be possible to get object by their types (39 milliseconds)
195[info] - should be possible to get object by their super types (52 milliseconds)
196[info] - should be possible to get java raw types from working memory (31 milliseconds)
197[info] - should be possible to get easily java Strings from working memory (29 milliseconds)
198[info] - should react on an inserted message (36 milliseconds)
199[info] - should allow us to access internal model definitions (47 milliseconds)
200[info] - should be possible collect things and loop over found occurences (93 milliseconds)
201[info] + Drools collect objects into List without supporting generics.
202[info] + In this example $messages is a LinkedList of Objects.
203[info] + In order to iterate in the then clause you'll to iterate through objects and use explicit cast.
204[info] + WARNING : it is forbidden to access the field
205[info] - should be possible to update logically inserted fact (94 milliseconds)
206[info] + As Something is logically inserted, it is removed on updateThat and then reinserted.
207[info] DroolsEngineDrlFileTest:
208[info] DroolsScripting
209[info] - should be able to load knowledge base from a file (179 milliseconds)
210[info] + PatientTemperature( temperature=39.5 )
211[info] + Coughing( strength=MEDIUM, kind=OILY )
212[info] + MuscleAche( strength=HIGH )
213[info] + Fever( strength=MEDIUM )
214[info] + Flu( )
215
216************************
217Build summary:
218[{
219 "module": "drools-scripting",
220 "compile": {"status": "ok", "tookMs": 8591, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
221 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
222 "test-compile": {"status": "ok", "tookMs": 5000, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
223 "test": {"status": "ok", "tookMs": 4775, "passed": 29, "failed": 0, "ignored": 0, "skipped": 0, "total": 29, "byFramework": [{"framework": "unknown", "stats": {"passed": 29, "failed": 0, "ignored": 0, "skipped": 0, "total": 29}}]},
224 "publish": {"status": "skipped", "tookMs": 0},
225 "metadata": {
226 "crossScalaVersions": ["2.12.13", "2.13.11", "3.3.0"]
227}
228}]
229************************
230[success] Total time: 88 s (0:01:28.0), completed Dec 22, 2025, 7:51:32 PM
231[0JChecking patch project/plugins.sbt...
232Checking patch project/build.properties...
233Checking patch build.sbt...
234Applied patch project/plugins.sbt cleanly.
235Applied patch project/build.properties cleanly.
236Applied patch build.sbt cleanly.