Page MenuHomePhabricator

WikiLambda Quick start fails with `Error: Interface "Opis\JsonSchema\ISchemaLoader" not found`
Closed, ResolvedPublicBUG REPORT

Description

I'm following Quick start instructions from README.md.

The npm run local:setup fails with Error: Interface "Opis\JsonSchema\ISchemaLoader" not found.

1~/Documents/T358530$ git clone "https://gerrit.wikimedia.org/r/mediawiki/core" mediawiki
2Cloning into 'mediawiki'...
3remote: Counting objects: 35810, done
4remote: Finding sources: 100% (1221172/1221172)
5remote: Getting sizes: 100% (67752/67752)
6remote: Compressing objects: 100% (5877841/5877841)
7Receiving objects: 85% (1037997/1221172), 765.63 MiB | Receiving objects: 85% (1038836/1221172), 765.63 MiB | Receiving objects: 85% (1044869/1221172), 768.01 MiB | Receiving objects: 85% (1047025/1221172), 769.88 MiB | Receiving objects: 86% (1050208/1221172), 769.88 MiB | Receiving objects: 86% (1057678/1221172), 772.26 MiB | Recremote: Total 1221172 (delta 1005352), reused 1220939 (delta 1005253)
8Receiving objects: 100% (1221172/1221172), 827.97 MiB | 2.83 MiB/s, done.
9Resolving deltas: 100% (1005352/1005352), done.
10Updating files: 100% (10033/10033), done.
11
12
13
14~/Documents/T358530$ cd mediawiki
15
16
17
18~/Documents/T358530/mediawiki$ git clone --recurse-submodules --remote-submodules https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiLambda extensions/WikiLambda
19Cloning into 'extensions/WikiLambda'...
20remote: Counting objects: 33, done
21remote: Finding sources: 100% (33/33)
22remote: Getting sizes: 100% (27/27)
23remote: Compressing objects: 100% (78781/78781)
24remote: Total 43732 (delta 4), reused 43708 (delta 2)
25Receiving objects: 100% (43732/43732), 19.24 MiB | 773.00 KiB/s, done.
26Resolving deltas: 100% (32762/32762), done.
27Submodule 'function-schemata' (https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-schemata.git) registered for path 'function-schemata'
28Cloning into '/Users/z/Documents/T358530/mediawiki/extensions/WikiLambda/function-schemata'...
29remote: Enumerating objects: 8748, done.
30remote: Counting objects: 100% (7564/7564), done.
31remote: Compressing objects: 100% (810/810), done.
32remote: Total 8748 (delta 7163), reused 6750 (delta 6750), pack-reused 1184 (from 1)
33Receiving objects: 100% (8748/8748), 1.79 MiB | 249.00 KiB/s, done.
34Resolving deltas: 100% (7163/7163), done.
35Submodule path 'function-schemata': checked out '6f95e1a072ed972f384dbe42099459e07351d08f'
36
37
38
39~/Documents/T358530/mediawiki$ cd extensions/WikiLambda
40
41
42
43~/Documents/T358530/mediawiki/extensions/WikiLambda$ npm run local:setup
44
45> local:setup
46> bash scripts/local_setup.sh
47
48Cloning into '/Users/z/Documents/T358530/mediawiki/extensions/WikiLambda/scripts/../../..//skins/Vector'...
49remote: Counting objects: 42, done
50remote: Finding sources: 100% (37/37)
51remote: Getting sizes: 100% (30/30)
52remote: Compressing objects: 100% (127985/127985)
53remote: Total 39896 (delta 14), reused 39868 (delta 4)
54Receiving objects: 100% (39896/39896), 11.79 MiB | 579.00 KiB/s, done.
55Resolving deltas: 100% (29690/29690), done.
56Cloning into '/Users/z/Documents/T358530/mediawiki/extensions/WikiLambda/scripts/../../..//extensions/WikimediaMessages'...
57remote: Counting objects: 91, done
58remote: Finding sources: 100% (91/91)
59remote: Getting sizes: 100% (75/75)
60remote: Compressing objects: 100% (1394226/1394226)
61remote: Total 65699 (delta 25), reused 65636 (delta 12)
62Receiving objects: 100% (65699/65699), 21.23 MiB | 919.00 KiB/s, done.
63Resolving deltas: 100% (55013/55013), done.
64Cloning into '/Users/z/Documents/T358530/mediawiki/extensions/WikiLambda/scripts/../../..//extensions/UniversalLanguageSelector'...
65remote: Counting objects: 363, done
66remote: Finding sources: 100% (10/10)
67remote: Getting sizes: 100% (8/8)
68remote: Compressing objects: 100% (48424/48424)
69remote: Total 32629 (delta 2), reused 32622 (delta 0)
70Receiving objects: 100% (32629/32629), 98.18 MiB | 2.13 MiB/s, done.
71Resolving deltas: 100% (24059/24059), done.
72[+] Running 7/0
73 ✔ Network mediawiki_default Created0.0s
74 ✔ Container mediawiki-mediawiki-1 Created0.1s
75 ✔ Container mediawiki-mediawiki-web-1 Created0.1s
76[+] Running 4/7diawiki-mediawiki-jobrunner-1 ✔ Network mediawiki_default Created0.0s t match the detected host platform (linux/arm64/ ⠙ Container mediawiki-mediawiki-1 Starting0.2s ) does not match the detected host platform (li ⠙ Container mediawiki-mediawiki-web-1 Starting0.2s not match the detected host platform (linux/ar[+] Running 4/7diawiki-mediawiki-jobrunner-1 ✔ Network mediawiki_default Created0.0s t match the detected host platform (linux/arm64/ ⠹ Container mediawiki-mediawiki-1 Starting0.3s ) does not match the detected host platform (li ⠹ Container mediawiki-mediawiki-web-1 Starting0.3s not match the detected host platform (linux/ar[+] Running 7/7diawiki-mediawiki-jobrunner-1 ✔ Network mediawiki_default Created0.0s t match the detected host platform (linux/arm64/ ✔ Container mediawiki-mediawiki-1 Started0.3s 4) does not match the detected host platform (li ✔ Container mediawiki-mediawiki-web-1 Started0.3s s not match the detected host platform (linux/ar ✔ Container mediawiki-mediawiki-jobrunner-1 Started0.3s
77 ! mediawiki The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
78 ! mediawiki-jobrunner The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
79 ! mediawiki-web The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
80> MediaWiki\Composer\VersionChecker::onEvent
81Loading composer repositories with package information
82Updating dependencies
83Lock file operations: 136 installs, 0 updates, 0 removals
84 - Locking composer/pcre (3.2.0)
85 - Locking composer/semver (3.4.0)
86 - Locking composer/spdx-licenses (1.5.8)
87 - Locking composer/xdebug-handler (3.0.5)
88 - Locking cssjanus/cssjanus (v2.2.0)
89 - Locking dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
90 - Locking doctrine/cache (2.2.0)
91 - Locking doctrine/dbal (3.8.4)
92 - Locking doctrine/deprecations (1.1.3)
93 - Locking doctrine/event-manager (2.0.1)
94 - Locking doctrine/instantiator (2.0.0)
95 - Locking doctrine/sql-formatter (1.1.3)
96 - Locking felixfbecker/advanced-json-rpc (v3.2.1)
97 - Locking giorgiosironi/eris (0.14.0)
98 - Locking guzzlehttp/guzzle (7.8.1)
99 - Locking guzzlehttp/promises (2.0.3)
100 - Locking guzzlehttp/psr7 (2.7.0)
101 - Locking hamcrest/hamcrest-php (v2.0.1)
102 - Locking johnkary/phpunit-speedtrap (v4.0.1)
103 - Locking justinrainbow/json-schema (v5.2.13)
104 - Locking liuggio/statsd-php-client (v1.0.18)
105 - Locking mck89/peast (v1.16.2)
106 - Locking mediawiki/mediawiki-codesniffer (v43.0.0)
107 - Locking mediawiki/mediawiki-phan-config (0.14.0)
108 - Locking mediawiki/minus-x (1.1.3)
109 - Locking mediawiki/phan-taint-check-plugin (6.0.0)
110 - Locking microsoft/tolerant-php-parser (v0.1.2)
111 - Locking monolog/monolog (2.9.3)
112 - Locking myclabs/deep-copy (1.12.0)
113 - Locking netresearch/jsonmapper (v4.4.1)
114 - Locking nikic/php-parser (v4.19.1)
115 - Locking oojs/oojs-ui (v0.50.4)
116 - Locking pear/console_getopt (v1.4.3)
117 - Locking pear/mail (v1.6.0)
118 - Locking pear/mail_mime (1.10.12)
119 - Locking pear/net_smtp (1.12.1)
120 - Locking pear/net_socket (v1.2.2)
121 - Locking pear/net_url2 (v2.2.2)
122 - Locking pear/pear-core-minimal (v1.10.15)
123 - Locking pear/pear_exception (v1.0.2)
124 - Locking phan/phan (5.4.3)
125 - Locking phar-io/manifest (2.0.4)
126 - Locking phar-io/version (3.2.1)
127 - Locking php-parallel-lint/php-console-color (v1.0.1)
128 - Locking php-parallel-lint/php-console-highlighter (v1.0.0)
129 - Locking php-parallel-lint/php-parallel-lint (v1.4.0)
130 - Locking phpcsstandards/phpcsextra (1.1.2)
131 - Locking phpcsstandards/phpcsutils (1.0.9)
132 - Locking phpdocumentor/reflection-common (2.2.0)
133 - Locking phpdocumentor/reflection-docblock (5.4.1)
134 - Locking phpdocumentor/type-resolver (1.8.2)
135 - Locking phpstan/phpdoc-parser (1.29.1)
136 - Locking phpunit/php-code-coverage (9.2.31)
137 - Locking phpunit/php-file-iterator (3.0.6)
138 - Locking phpunit/php-invoker (3.1.1)
139 - Locking phpunit/php-text-template (2.0.4)
140 - Locking phpunit/php-timer (5.0.3)
141 - Locking phpunit/phpunit (9.6.19)
142 - Locking psr/cache (3.0.0)
143 - Locking psr/container (1.1.2)
144 - Locking psr/http-client (1.0.3)
145 - Locking psr/http-factory (1.1.0)
146 - Locking psr/http-message (1.1)
147 - Locking psr/log (1.1.4)
148 - Locking psy/psysh (v0.12.4)
149 - Locking ralouphie/getallheaders (3.0.3)
150 - Locking sabre/event (5.1.6)
151 - Locking sebastian/cli-parser (1.0.2)
152 - Locking sebastian/code-unit (1.0.8)
153 - Locking sebastian/code-unit-reverse-lookup (2.0.3)
154 - Locking sebastian/comparator (4.0.8)
155 - Locking sebastian/complexity (2.0.3)
156 - Locking sebastian/diff (4.0.6)
157 - Locking sebastian/environment (5.1.5)
158 - Locking sebastian/exporter (4.0.6)
159 - Locking sebastian/global-state (5.0.7)
160 - Locking sebastian/lines-of-code (1.0.4)
161 - Locking sebastian/object-enumerator (4.0.4)
162 - Locking sebastian/object-reflector (2.0.4)
163 - Locking sebastian/recursion-context (4.0.5)
164 - Locking sebastian/resource-operations (3.0.4)
165 - Locking sebastian/type (3.2.1)
166 - Locking sebastian/version (3.0.2)
167 - Locking seld/jsonlint (1.10.2)
168 - Locking squizlabs/php_codesniffer (3.8.1)
169 - Locking symfony/console (v6.4.10)
170 - Locking symfony/deprecation-contracts (v3.5.0)
171 - Locking symfony/polyfill-php80 (v1.29.0)
172 - Locking symfony/polyfill-php81 (v1.29.0)
173 - Locking symfony/polyfill-php82 (v1.29.0)
174 - Locking symfony/polyfill-php83 (v1.29.0)
175 - Locking symfony/service-contracts (v3.5.0)
176 - Locking symfony/string (v6.4.10)
177 - Locking symfony/var-dumper (v6.4.10)
178 - Locking symfony/yaml (v5.4.39)
179 - Locking theseer/tokenizer (1.2.3)
180 - Locking tysonandre/var_representation_polyfill (0.1.3)
181 - Locking webmozart/assert (1.11.0)
182 - Locking wikimedia/alea (1.0.0)
183 - Locking wikimedia/assert (v0.5.1)
184 - Locking wikimedia/at-ease (v2.1.0)
185 - Locking wikimedia/base-convert (v2.0.2)
186 - Locking wikimedia/bcp-47-code (v2.0.0)
187 - Locking wikimedia/cdb (3.0.0)
188 - Locking wikimedia/cldr-plural-rule-parser (v2.0.0)
189 - Locking wikimedia/common-passwords (v0.5.0)
190 - Locking wikimedia/composer-merge-plugin (v2.1.0)
191 - Locking wikimedia/html-formatter (4.1.0)
192 - Locking wikimedia/idle-dom (v1.0.0)
193 - Locking wikimedia/ip-utils (5.0.0)
194 - Locking wikimedia/json-codec (v3.0.2)
195 - Locking wikimedia/langconv (0.4.2)
196 - Locking wikimedia/less.php (v5.0.0)
197 - Locking wikimedia/minify (2.7.0)
198 - Locking wikimedia/normalized-exception (v1.0.1)
199 - Locking wikimedia/object-factory (v5.0.1)
200 - Locking wikimedia/parsoid (v0.20.0-a16)
201 - Locking wikimedia/php-session-serializer (v2.0.1)
202 - Locking wikimedia/purtle (v1.0.8)
203 - Locking wikimedia/relpath (4.0.0)
204 - Locking wikimedia/remex-html (4.1.0)
205 - Locking wikimedia/request-timeout (1.2.0)
206 - Locking wikimedia/running-stat (v2.1.0)
207 - Locking wikimedia/scoped-callback (v4.0.0)
208 - Locking wikimedia/services (3.0.0)
209 - Locking wikimedia/shellbox (4.0.2)
210 - Locking wikimedia/testing-access-wrapper (3.0.0)
211 - Locking wikimedia/timestamp (v4.1.1)
212 - Locking wikimedia/utfnormal (4.0.0)
213 - Locking wikimedia/wait-condition-loop (v2.0.2)
214 - Locking wikimedia/wikipeg (4.0.0)
215 - Locking wikimedia/wrappedstring (v4.0.1)
216 - Locking wikimedia/xmp-reader (0.9.1)
217 - Locking wikimedia/zest-css (3.0.1)
218 - Locking wmde/hamcrest-html-matchers (v1.0.0)
219 - Locking zordius/lightncandy (v1.2.6)
220Writing lock file
221Installing dependencies from lock file (including require-dev)
222Package operations: 136 installs, 0 updates, 0 removals
223 - Downloading wikimedia/composer-merge-plugin (v2.1.0)
224 - Downloading squizlabs/php_codesniffer (3.8.1)
225 - Downloading dealerdirect/phpcodesniffer-composer-installer (v1.0.0)
226 - Downloading composer/pcre (3.2.0)
227 - Downloading cssjanus/cssjanus (v2.2.0)
228 - Downloading psr/log (1.1.4)
229 - Downloading psr/cache (3.0.0)
230 - Downloading doctrine/event-manager (2.0.1)
231 - Downloading doctrine/deprecations (1.1.3)
232 - Downloading doctrine/cache (2.2.0)
233 - Downloading doctrine/dbal (3.8.4)
234 - Downloading doctrine/sql-formatter (1.1.3)
235 - Downloading giorgiosironi/eris (0.14.0)
236 - Downloading guzzlehttp/promises (2.0.3)
237 - Downloading ralouphie/getallheaders (3.0.3)
238 - Downloading psr/http-message (1.1)
239 - Downloading psr/http-factory (1.1.0)
240 - Downloading guzzlehttp/psr7 (2.7.0)
241 - Downloading sebastian/version (3.0.2)
242 - Downloading sebastian/type (3.2.1)
243 - Downloading sebastian/resource-operations (3.0.4)
244 - Downloading sebastian/recursion-context (4.0.5)
245 - Downloading sebastian/object-reflector (2.0.4)
246 - Downloading sebastian/object-enumerator (4.0.4)
247 - Downloading sebastian/global-state (5.0.7)
248 - Downloading sebastian/exporter (4.0.6)
249 - Downloading sebastian/environment (5.1.5)
250 - Downloading sebastian/diff (4.0.6)
251 - Downloading sebastian/comparator (4.0.8)
252 - Downloading sebastian/code-unit (1.0.8)
253 - Downloading sebastian/cli-parser (1.0.2)
254 - Downloading phpunit/php-timer (5.0.3)
255 - Downloading phpunit/php-text-template (2.0.4)
256 - Downloading phpunit/php-invoker (3.1.1)
257 - Downloading phpunit/php-file-iterator (3.0.6)
258 - Downloading theseer/tokenizer (1.2.3)
259 - Downloading nikic/php-parser (v4.19.1)
260 - Downloading sebastian/lines-of-code (1.0.4)
261 - Downloading sebastian/complexity (2.0.3)
262 - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
263 - Downloading phpunit/php-code-coverage (9.2.31)
264 - Downloading phar-io/version (3.2.1)
265 - Downloading phar-io/manifest (2.0.4)
266 - Downloading myclabs/deep-copy (1.12.0)
267 - Downloading doctrine/instantiator (2.0.0)
268 - Downloading phpunit/phpunit (9.6.19)
269 - Downloading johnkary/phpunit-speedtrap (v4.0.1)
270 - Downloading justinrainbow/json-schema (v5.2.13)
271 - Downloading mck89/peast (v1.16.2)
272 - Downloading symfony/polyfill-php80 (v1.29.0)
273 - Downloading phpcsstandards/phpcsutils (1.0.9)
274 - Downloading phpcsstandards/phpcsextra (1.1.2)
275 - Downloading composer/spdx-licenses (1.5.8)
276 - Downloading composer/semver (3.4.0)
277 - Downloading mediawiki/mediawiki-codesniffer (v43.0.0)
278 - Downloading tysonandre/var_representation_polyfill (0.1.3)
279 - Downloading symfony/string (v6.4.10)
280 - Downloading symfony/deprecation-contracts (v3.5.0)
281 - Downloading psr/container (1.1.2)
282 - Downloading symfony/service-contracts (v3.5.0)
283 - Downloading symfony/console (v6.4.10)
284 - Downloading sabre/event (5.1.6)
285 - Downloading netresearch/jsonmapper (v4.4.1)
286 - Downloading microsoft/tolerant-php-parser (v0.1.2)
287 - Downloading webmozart/assert (1.11.0)
288 - Downloading phpstan/phpdoc-parser (1.29.1)
289 - Downloading phpdocumentor/reflection-common (2.2.0)
290 - Downloading phpdocumentor/type-resolver (1.8.2)
291 - Downloading phpdocumentor/reflection-docblock (5.4.1)
292 - Downloading felixfbecker/advanced-json-rpc (v3.2.1)
293 - Downloading composer/xdebug-handler (3.0.5)
294 - Downloading phan/phan (5.4.3)
295 - Downloading mediawiki/phan-taint-check-plugin (6.0.0)
296 - Downloading mediawiki/mediawiki-phan-config (0.14.0)
297 - Downloading mediawiki/minus-x (1.1.3)
298 - Downloading oojs/oojs-ui (v0.50.4)
299 - Downloading pear/pear_exception (v1.0.2)
300 - Downloading pear/console_getopt (v1.4.3)
301 - Downloading pear/pear-core-minimal (v1.10.15)
302 - Downloading pear/mail (v1.6.0)
303 - Downloading pear/mail_mime (1.10.12)
304 - Downloading pear/net_socket (v1.2.2)
305 - Downloading pear/net_smtp (1.12.1)
306 - Downloading php-parallel-lint/php-console-color (v1.0.1)
307 - Downloading php-parallel-lint/php-console-highlighter (v1.0.0)
308 - Downloading php-parallel-lint/php-parallel-lint (v1.4.0)
309 - Downloading psr/http-client (1.0.3)
310 - Downloading symfony/var-dumper (v6.4.10)
311 - Downloading psy/psysh (v0.12.4)
312 - Downloading seld/jsonlint (1.10.2)
313 - Downloading symfony/polyfill-php81 (v1.29.0)
314 - Downloading symfony/polyfill-php82 (v1.29.0)
315 - Downloading symfony/polyfill-php83 (v1.29.0)
316 - Downloading symfony/yaml (v5.4.39)
317 - Downloading wikimedia/alea (1.0.0)
318 - Downloading wikimedia/base-convert (v2.0.2)
319 - Downloading wikimedia/cdb (3.0.0)
320 - Downloading wikimedia/cldr-plural-rule-parser (v2.0.0)
321 - Downloading wikimedia/common-passwords (v0.5.0)
322 - Downloading wikimedia/html-formatter (4.1.0)
323 - Downloading wikimedia/assert (v0.5.1)
324 - Downloading wikimedia/langconv (0.4.2)
325 - Downloading wikimedia/less.php (v5.0.0)
326 - Downloading pear/net_url2 (v2.2.2)
327 - Downloading wikimedia/minify (2.7.0)
328 - Downloading wikimedia/zest-css (3.0.1)
329 - Downloading wikimedia/wikipeg (4.0.0)
330 - Downloading wikimedia/scoped-callback (v4.0.0)
331 - Downloading wikimedia/utfnormal (4.0.0)
332 - Downloading wikimedia/remex-html (4.1.0)
333 - Downloading wikimedia/object-factory (v5.0.1)
334 - Downloading wikimedia/json-codec (v3.0.2)
335 - Downloading wikimedia/ip-utils (5.0.0)
336 - Downloading wikimedia/idle-dom (v1.0.0)
337 - Downloading wikimedia/bcp-47-code (v2.0.0)
338 - Downloading liuggio/statsd-php-client (v1.0.18)
339 - Downloading wikimedia/parsoid (v0.20.0-a16)
340 - Downloading wikimedia/at-ease (v2.1.0)
341 - Downloading wikimedia/php-session-serializer (v2.0.1)
342 - Downloading wikimedia/purtle (v1.0.8)
343 - Downloading wikimedia/relpath (4.0.0)
344 - Downloading wikimedia/normalized-exception (v1.0.1)
345 - Downloading wikimedia/request-timeout (1.2.0)
346 - Downloading wikimedia/running-stat (v2.1.0)
347 - Downloading wikimedia/services (3.0.0)
348 - Downloading monolog/monolog (2.9.3)
349 - Downloading guzzlehttp/guzzle (7.8.1)
350 - Downloading wikimedia/shellbox (4.0.2)
351 - Downloading wikimedia/testing-access-wrapper (3.0.0)
352 - Downloading wikimedia/wait-condition-loop (v2.0.2)
353 - Downloading wikimedia/wrappedstring (v4.0.1)
354 - Downloading wikimedia/timestamp (v4.1.1)
355 - Downloading wikimedia/xmp-reader (0.9.1)
356 - Downloading hamcrest/hamcrest-php (v2.0.1)
357 - Downloading wmde/hamcrest-html-matchers (v1.0.0)
358 - Downloading zordius/lightncandy (v1.2.6)
359 - Installing wikimedia/composer-merge-plugin (v2.1.0): Extracting archive
360 - Installing squizlabs/php_codesniffer (3.8.1): Extracting archive
361 - Installing dealerdirect/phpcodesniffer-composer-installer (v1.0.0): Extracting archive
362 - Installing composer/pcre (3.2.0): Extracting archive
363 - Installing cssjanus/cssjanus (v2.2.0): Extracting archive
364 - Installing psr/log (1.1.4): Extracting archive
365 - Installing psr/cache (3.0.0): Extracting archive
366 - Installing doctrine/event-manager (2.0.1): Extracting archive
367 - Installing doctrine/deprecations (1.1.3): Extracting archive
368 - Installing doctrine/cache (2.2.0): Extracting archive
369 - Installing doctrine/dbal (3.8.4): Extracting archive
370 - Installing doctrine/sql-formatter (1.1.3): Extracting archive
371 - Installing giorgiosironi/eris (0.14.0): Extracting archive
372 - Installing guzzlehttp/promises (2.0.3): Extracting archive
373 - Installing ralouphie/getallheaders (3.0.3): Extracting archive
374 - Installing psr/http-message (1.1): Extracting archive
375 - Installing psr/http-factory (1.1.0): Extracting archive
376 - Installing guzzlehttp/psr7 (2.7.0): Extracting archive
377 - Installing sebastian/version (3.0.2): Extracting archive
378 - Installing sebastian/type (3.2.1): Extracting archive
379 - Installing sebastian/resource-operations (3.0.4): Extracting archive
380 - Installing sebastian/recursion-context (4.0.5): Extracting archive
381 - Installing sebastian/object-reflector (2.0.4): Extracting archive
382 - Installing sebastian/object-enumerator (4.0.4): Extracting archive
383 - Installing sebastian/global-state (5.0.7): Extracting archive
384 - Installing sebastian/exporter (4.0.6): Extracting archive
385 - Installing sebastian/environment (5.1.5): Extracting archive
386 - Installing sebastian/diff (4.0.6): Extracting archive
387 - Installing sebastian/comparator (4.0.8): Extracting archive
388 - Installing sebastian/code-unit (1.0.8): Extracting archive
389 - Installing sebastian/cli-parser (1.0.2): Extracting archive
390 - Installing phpunit/php-timer (5.0.3): Extracting archive
391 - Installing phpunit/php-text-template (2.0.4): Extracting archive
392 - Installing phpunit/php-invoker (3.1.1): Extracting archive
393 - Installing phpunit/php-file-iterator (3.0.6): Extracting archive
394 - Installing theseer/tokenizer (1.2.3): Extracting archive
395 - Installing nikic/php-parser (v4.19.1): Extracting archive
396 - Installing sebastian/lines-of-code (1.0.4): Extracting archive
397 - Installing sebastian/complexity (2.0.3): Extracting archive
398 - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
399 - Installing phpunit/php-code-coverage (9.2.31): Extracting archive
400 - Installing phar-io/version (3.2.1): Extracting archive
401 - Installing phar-io/manifest (2.0.4): Extracting archive
402 - Installing myclabs/deep-copy (1.12.0): Extracting archive
403 - Installing doctrine/instantiator (2.0.0): Extracting archive
404 - Installing phpunit/phpunit (9.6.19): Extracting archive
405 - Installing johnkary/phpunit-speedtrap (v4.0.1): Extracting archive
406 - Installing justinrainbow/json-schema (v5.2.13): Extracting archive
407 - Installing mck89/peast (v1.16.2): Extracting archive
408 - Installing symfony/polyfill-php80 (v1.29.0): Extracting archive
409 - Installing phpcsstandards/phpcsutils (1.0.9): Extracting archive
410 - Installing phpcsstandards/phpcsextra (1.1.2): Extracting archive
411 - Installing composer/spdx-licenses (1.5.8): Extracting archive
412 - Installing composer/semver (3.4.0): Extracting archive
413 - Installing mediawiki/mediawiki-codesniffer (v43.0.0): Extracting archive
414 - Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
415 - Installing symfony/string (v6.4.10): Extracting archive
416 - Installing symfony/deprecation-contracts (v3.5.0): Extracting archive
417 - Installing psr/container (1.1.2): Extracting archive
418 - Installing symfony/service-contracts (v3.5.0): Extracting archive
419 - Installing symfony/console (v6.4.10): Extracting archive
420 - Installing sabre/event (5.1.6): Extracting archive
421 - Installing netresearch/jsonmapper (v4.4.1): Extracting archive
422 - Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
423 - Installing webmozart/assert (1.11.0): Extracting archive
424 - Installing phpstan/phpdoc-parser (1.29.1): Extracting archive
425 - Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
426 - Installing phpdocumentor/type-resolver (1.8.2): Extracting archive
427 - Installing phpdocumentor/reflection-docblock (5.4.1): Extracting archive
428 - Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
429 - Installing composer/xdebug-handler (3.0.5): Extracting archive
430 - Installing phan/phan (5.4.3): Extracting archive
431 - Installing mediawiki/phan-taint-check-plugin (6.0.0): Extracting archive
432 - Installing mediawiki/mediawiki-phan-config (0.14.0): Extracting archive
433 - Installing mediawiki/minus-x (1.1.3): Extracting archive
434 - Installing oojs/oojs-ui (v0.50.4): Extracting archive
435 - Installing pear/pear_exception (v1.0.2): Extracting archive
436 - Installing pear/console_getopt (v1.4.3): Extracting archive
437 - Installing pear/pear-core-minimal (v1.10.15): Extracting archive
438 - Installing pear/mail (v1.6.0): Extracting archive
439 - Installing pear/mail_mime (1.10.12): Extracting archive
440 - Installing pear/net_socket (v1.2.2): Extracting archive
441 - Installing pear/net_smtp (1.12.1): Extracting archive
442 - Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
443 - Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
444 - Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
445 - Installing psr/http-client (1.0.3): Extracting archive
446 - Installing symfony/var-dumper (v6.4.10): Extracting archive
447 - Installing psy/psysh (v0.12.4): Extracting archive
448 - Installing seld/jsonlint (1.10.2): Extracting archive
449 - Installing symfony/polyfill-php81 (v1.29.0): Extracting archive
450 - Installing symfony/polyfill-php82 (v1.29.0): Extracting archive
451 - Installing symfony/polyfill-php83 (v1.29.0): Extracting archive
452 - Installing symfony/yaml (v5.4.39): Extracting archive
453 - Installing wikimedia/alea (1.0.0): Extracting archive
454 - Installing wikimedia/base-convert (v2.0.2): Extracting archive
455 - Installing wikimedia/cdb (3.0.0): Extracting archive
456 - Installing wikimedia/cldr-plural-rule-parser (v2.0.0): Extracting archive
457 - Installing wikimedia/common-passwords (v0.5.0): Extracting archive
458 - Installing wikimedia/html-formatter (4.1.0): Extracting archive
459 - Installing wikimedia/assert (v0.5.1): Extracting archive
460 - Installing wikimedia/langconv (0.4.2): Extracting archive
461 - Installing wikimedia/less.php (v5.0.0): Extracting archive
462 - Installing pear/net_url2 (v2.2.2): Extracting archive
463 - Installing wikimedia/minify (2.7.0): Extracting archive
464 - Installing wikimedia/zest-css (3.0.1): Extracting archive
465 - Installing wikimedia/wikipeg (4.0.0): Extracting archive
466 - Installing wikimedia/scoped-callback (v4.0.0): Extracting archive
467 - Installing wikimedia/utfnormal (4.0.0): Extracting archive
468 - Installing wikimedia/remex-html (4.1.0): Extracting archive
469 - Installing wikimedia/object-factory (v5.0.1): Extracting archive
470 - Installing wikimedia/json-codec (v3.0.2): Extracting archive
471 - Installing wikimedia/ip-utils (5.0.0): Extracting archive
472 - Installing wikimedia/idle-dom (v1.0.0): Extracting archive
473 - Installing wikimedia/bcp-47-code (v2.0.0): Extracting archive
474 - Installing liuggio/statsd-php-client (v1.0.18): Extracting archive
475 - Installing wikimedia/parsoid (v0.20.0-a16): Extracting archive
476 - Installing wikimedia/at-ease (v2.1.0): Extracting archive
477 - Installing wikimedia/php-session-serializer (v2.0.1): Extracting archive
478 - Installing wikimedia/purtle (v1.0.8): Extracting archive
479 - Installing wikimedia/relpath (4.0.0): Extracting archive
480 - Installing wikimedia/normalized-exception (v1.0.1): Extracting archive
481 - Installing wikimedia/request-timeout (1.2.0): Extracting archive
482 - Installing wikimedia/running-stat (v2.1.0): Extracting archive
483 - Installing wikimedia/services (3.0.0): Extracting archive
484 - Installing monolog/monolog (2.9.3): Extracting archive
485 - Installing guzzlehttp/guzzle (7.8.1): Extracting archive
486 - Installing wikimedia/shellbox (4.0.2): Extracting archive
487 - Installing wikimedia/testing-access-wrapper (3.0.0): Extracting archive
488 - Installing wikimedia/wait-condition-loop (v2.0.2): Extracting archive
489 - Installing wikimedia/wrappedstring (v4.0.1): Extracting archive
490 - Installing wikimedia/timestamp (v4.1.1): Extracting archive
491 - Installing wikimedia/xmp-reader (0.9.1): Extracting archive
492 - Installing hamcrest/hamcrest-php (v2.0.1): Extracting archive
493 - Installing wmde/hamcrest-html-matchers (v1.0.0): Extracting archive
494 - Installing zordius/lightncandy (v1.2.6): Extracting archive
49520 package suggestions were added by new dependencies, use `composer suggest` to see details.
496Generating optimized autoload files
49750 packages you are using are looking for funding.
498Use the `composer fund` command to find out more!
499PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils
500> MediaWiki\Composer\ComposerVendorHtaccessCreator::onEvent
501+ php maintenance/install.php --server http://localhost:8080 --scriptpath=/w --dbtype sqlite --dbpath /var/www/html/w/cache/sqlite --lang en --pass dockerpass MediaWiki Admin
502
503*******************************************************************************
504NOTE: Do not run maintenance scripts directly, use maintenance/run.php instead!
505 Running scripts directly has been deprecated in MediaWiki 1.40.
506 It may not work for some (or any) scripts in the future.
507*******************************************************************************
508
509PHP 8.1.20 is installed.
510ICU 65.1 is installed (supports Unicode 12.1.0).
511Found ImageMagick: /usr/bin/convert. Image thumbnailing will be enabled if you enable uploads.
512Found the Git version control software: /usr/bin/git.
513Using server name "http://localhost".
514Using server URL "http://localhost:8080/w".
515Warning: Your default directory for uploads (/var/www/html/w/images/) is not checked for vulnerability to arbitrary script execution during the CLI install.
516Warning: Because of a connection error, it was not possibly to verify that images in your uploads directory, respond with the HTTP header X-Content-Type-Options: nosniff to protect browsers from potentially unsafe files. It is highly recommended to configure appropriate response headers on your webserver before enabling uploads.
517The environment has been checked. You can install MediaWiki.
518Setting up database
519done
520Creating tables, step one
521done
522Creating tables, step two
523done
524Populating default interwiki table
525done
526Initializing statistics
527done
528Generating secret keys
529done
530Prevent running unneeded updates
531done
532Restoring MediaWiki services
533done
534Creating administrator user account
535done
536Creating main page with default content
537done
538Database was successfully set up
539MediaWiki has been successfully installed. You can now visit <http://localhost:8080/w> to view your wiki. If you have questions, check out our frequently asked questions list: <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ> or use one of the support forums linked on that page.
540MediaWiki 1.43.0-alpha Updater
541
542Your composer.lock file is up to date with current dependencies!
543Going to run database updates for my_wiki
544Using SQLite file: '/var/www/html/w/cache/sqlite/my_wiki.sqlite'
545Depending on the size of your database this may take a while!
546Updating category collations...
547Selecting next 100 pages from cl_from = 0... processing... 0 done.
5480 rows processed
549...done.
550Modifying content_id field of table content...done.
551Modifying rd_title field of table redirect...done.
552...pl_title field does not exist in pagelinks table, skipping modify field patch.
553...tl_title field does not exist in templatelinks table, skipping modify field patch.
554Modifying il_to field of table imagelinks...done.
555Modifying ll_title field of table langlinks...done.
556Modifying iwl_title field of table iwlinks...done.
557Modifying cat_title field of table category...done.
558Modifying qc_title field of table querycache...done.
559Modifying qcc_title field of table querycachetwo...done.
560Modifying wl_title field of table watchlist...done.
561Modifying pt_title field of table protected_titles...done.
562Modifying pt_expiry field of table protected_titles...done.
563Modifying ipc_rev_timestamp field of table ip_changes...done.
564Renaming index namespace_title into wl_namespace_title to table watchlist...done.
565Modifying job_title field of table job...done.
566Modifying role_id field of table slot_roles...done.
567Modifying model_id field of table content_models...done.
568Modifying cl_to field of table categorylinks...done.
569Modifying log_title field of table logging...done.
570...index up_property already set on user_properties table.
571...index site_global_key already set on sites table.
572Renaming index type_time into log_type_time to table logging...done.
573Modifying fa_name field of table filearchive...done.
574Modifying oi_name field of table oldimage...done.
575Modifying exptime field of table objectcache...done.
576...ipblocks table does not exist, skipping modify field patch.
577...index ar_name_title_timestamp already set on archive table.
578Modifying img_name field of table image...done.
579...index si_key already set on site_identifiers table.
580Modifying rc_title field of table recentchanges...done.
581Renaming index new_name_timestamp into rc_new_name_timestamp to table recentchanges...done.
582Modifying ar_title field of table archive...done.
583Modifying page_title field of table page...done.
584Modifying user_name field of table user...done.
585...index rev_page_timestamp already set on revision table.
586Adding modtoken field to table objectcache...done.
587Modifying rev_timestamp field of table revision...done.
588Adding index oi_timestamp to table oldimage...done.
589Renaming index name_title into page_name_title to table page...done.
590...index ct_rc_tag_id already set on change_tag table.
591Converting djvu metadata...
592Finished refreshing file metadata for 0 files. 0 needed to be refreshed, 0 did not need to be but were refreshed anyways, and 0 refreshes were suspicious.
593...done.
594...page_restrictions table does not contain pr_user field.
595...linktarget table already exists.
596Dropping rev_page_id index from table revision...done.
597Modifying pr_page field of table page_restrictions...done.
598Modifying pp_page field of table page_props...done.
599Modifying ir_value field of table ipblocks_restrictions...done.
600...have tl_target_id field in templatelinks table.
601...user_autocreate_serial table already exists.
602Modifying ir_ipb_id field of table ipblocks_restrictions...done.
603...ipblocks table does not exist, skipping modify field patch.
604Modifying user_editcount field of table user...done.
605Running MigrateRevisionActorTemp...
606revision_actor_temp does not exist, so nothing to do.
607done.
608...revision_actor_temp doesn't exist.
609Running UpdateRestrictions...
610Migration is not needed.
611done.
612...page table does not contain page_restrictions field.
613Running migrateLinksTable.php on templatelinks...
614Old fields don't exist. There is no need to run this script
615done.
616...tl_namespace field does not exist in templatelinks table, skipping modify field patch.
617...templatelinks table does not contain tl_title field.
618...have el_to_path field in externallinks table.
619Adding user_is_temp field to table user...done.
620Running MigrateRevisionCommentTemp...
621revision_comment_temp does not exist, so nothing to do.
622done.
623...revision_comment_temp doesn't exist.
624Running MigrateExternallinks...
625Old fields don't exist. There is no need to run this script
626done.
627...el_to field does not exist in externallinks table, skipping modify field patch.
628...have pl_target_id field in pagelinks table.
629...externallinks table does not contain el_to field.
630Running FixInconsistentRedirects...
631Fixing inconsistent redirects ...
632Estimated redirect page count: 0
6330/0
634Done, updated 0 of 0 rows.
635done.
636Modifying img_size field of table image...done.
637Modifying fa_size field of table filearchive...done.
638Modifying oi_size field of table oldimage...done.
639Modifying us_size field of table uploadstash...done.
640...have uas_year field in user_autocreate_serial table.
641...block_target table already exists.
642Dropping cl_collation_ext index from table categorylinks...done.
643Running PopulateUserIsTemp...
644done.
645...site_type key doesn't exist.
646Dropping iwl_prefix_from_title index from table iwlinks...done.
647Running migrateLinksTable.php on pagelinks...
648Old fields don't exist. There is no need to run this script
649done.
650Modifying rev_id field of table revision...done.
651Modifying ct_rc_id field of table change_tag...done.
652Running MigrateBlocks...
653No ipblocks table, skipping migration to block_target.
654done.
655...ipblocks doesn't exist.
656...pagelinks table does not contain pl_title field.
657Creating wikilambda_zobject_labels table...done.
658Creating wikilambda_zobject_label_conflicts table...done.
659Creating wikilambda_zobject_function_join table...done.
660Creating wikilambda_ztester_results table...done.
661Creating wikilambda_zlanguages table...done.
662Creating wikilambda_zobject_join table...done.
663...have wlzl_label_primary field in wikilambda_zobject_labels table.
664...have wlzl_return_type field in wikilambda_zobject_labels table.
665[d310879ee12ebb6a3ae14e4a] [no req] Error: Interface "Opis\JsonSchema\ISchemaLoader" not found
666Backtrace:
667from /var/www/html/w/extensions/WikiLambda/includes/Validation/YumYumYamlLoader.php(16)
668#0 /var/www/html/w/includes/AutoLoader.php(225): require()
669#1 /var/www/html/w/extensions/WikiLambda/includes/Validation/SchemaFactory.php(53): AutoLoader::autoload()
670#2 /var/www/html/w/extensions/WikiLambda/includes/Validation/ZObjectStructureValidator.php(40): MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::getCanonicalFormFactory()
671#3 /var/www/html/w/extensions/WikiLambda/includes/ZObjectFactory.php(162): MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator::createCanonicalValidator()
672#4 /var/www/html/w/extensions/WikiLambda/includes/ZObjectFactory.php(97): MediaWiki\Extension\WikiLambda\ZObjectFactory::validatePersistentKeys()
673#5 /var/www/html/w/extensions/WikiLambda/includes/ZObjectContent.php(117): MediaWiki\Extension\WikiLambda\ZObjectFactory::createPersistentContent()
674#6 /var/www/html/w/extensions/WikiLambda/includes/ZObjectContent.php(130): MediaWiki\Extension\WikiLambda\ZObjectContent->validateContent()
675#7 /var/www/html/w/extensions/WikiLambda/includes/ZObjectContentHandler.php(554): MediaWiki\Extension\WikiLambda\ZObjectContent->isValid()
676#8 /var/www/html/w/includes/content/Transform/ContentTransformer.php(46): MediaWiki\Extension\WikiLambda\ZObjectContentHandler->preSaveTransform()
677#9 /var/www/html/w/includes/Storage/DerivedPageDataUpdater.php(947): MediaWiki\Content\Transform\ContentTransformer->preSaveTransform()
678#10 /var/www/html/w/includes/Storage/PageUpdater.php(338): MediaWiki\Storage\DerivedPageDataUpdater->prepareContent()
679#11 /var/www/html/w/includes/Storage/PageUpdater.php(883): MediaWiki\Storage\PageUpdater->prepareUpdate()
680#12 /var/www/html/w/extensions/WikiLambda/includes/Hooks.php(262): MediaWiki\Storage\PageUpdater->saveRevision()
681#13 /var/www/html/w/extensions/WikiLambda/includes/Hooks.php(157): MediaWiki\Extension\WikiLambda\Hooks::insertContentObject()
682#14 /var/www/html/w/includes/installer/DatabaseUpdater.php(606): MediaWiki\Extension\WikiLambda\Hooks::createInitialContent()
683#15 /var/www/html/w/includes/installer/DatabaseUpdater.php(563): MediaWiki\Installer\DatabaseUpdater->runUpdates()
684#16 /var/www/html/w/maintenance/update.php(188): MediaWiki\Installer\DatabaseUpdater->doUpdates()
685#17 /var/www/html/w/maintenance/includes/MaintenanceRunner.php(696): UpdateMediaWiki->execute()
686#18 /var/www/html/w/maintenance/run.php(51): MediaWiki\Maintenance\MaintenanceRunner->run()
687#19 {main}

Environment:

~$ sysctl -n machdep.cpu.brand_string
Apple M1 Max

~$ sw_vers
ProductName:		macOS
ProductVersion:		14.5
BuildVersion:		23F79

~$ docker --version
Docker version 27.1.1, build 6312585

~$ docker-compose --version
Docker Compose version v2.29.1-desktop.1

~$ node --version 
v18.20.2

~$ npm --version
10.5.0

Event Timeline

zeljkofilipin updated the task description. (Show Details)
zeljkofilipin added a subscriber: Mhurd.
zeljkofilipin removed a subscriber: Mhurd.

The composer.local.json file is not being set through the setup script. The content is given in the README file below as the following:

{
  "extra": {
    "merge-plugin": {
      "include": [
        "extensions/WikiLambda/composer.json"
      ]
    }
  }
}

That should probably be set in the setup or reset scripts.

Change #1060390 had a related patch set uploaded (by DVrandecic; author: DVrandecic):

[mediawiki/extensions/WikiLambda@master] Add composer.local.json on setup

https://gerrit.wikimedia.org/r/1060390

Change #1060419 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/WikiLambda@master] README: Use `docker compose` instead of `docker-compose`

https://gerrit.wikimedia.org/r/1060419

Jdforrester-WMF changed the task status from Open to In Progress.Aug 9 2024, 8:56 AM
Jdforrester-WMF assigned this task to DVrandecic.
Jdforrester-WMF changed the subtype of this task from "Task" to "Bug Report".

Change #1060390 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add composer.local.json on setup

https://gerrit.wikimedia.org/r/1060390

Change #1060419 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] README: Use `docker compose` instead of `docker-compose`

https://gerrit.wikimedia.org/r/1060419