~emersion/#1507844

failed

Add Key.params

1e554f0ae1 — Simon Ser

Owner
~emersion
Created
9 days ago
Updated
9 days ago
Build manifest
view manifest »

Tasks

view log »
build view log »
test view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[#1507844] 2025/06/10 16:30:06 Running build on fra02.builds.sr.ht
[#1507844] 2025/06/10 16:30:06 Booting image alpine/latest (default) on port 22220
[#1507844] 2025/06/10 16:30:07 Waiting for guest to settle
[#1507844] 2025/06/10 16:30:15 Sending tasks
[#1507844] 2025/06/10 16:30:16 Sending build environment
[#1507844] 2025/06/10 16:30:17 Installing packages
Warning: Permanently added '[localhost]:22220' (ED25519) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
(1/4) Upgrading python3 (3.12.10-r1 -> 3.12.11-r0)
(2/4) Upgrading python3-pycache-pyc0 (3.12.10-r1 -> 3.12.11-r0)
(3/4) Upgrading pyc (3.12.10-r1 -> 3.12.11-r0)
(4/4) Upgrading python3-pyc (3.12.10-r1 -> 3.12.11-r0)
Executing busybox-1.37.0-r12.trigger
OK: 473 MiB in 137 packages
Warning: Permanently added '[localhost]:22220' (ED25519) to the list of known hosts.
(1/8) Installing ca-certificates (20241121-r1)
(2/8) Installing ada-libs (2.9.2-r1)
(3/8) Installing icu-data-en (74.2-r0)
Executing icu-data-en-74.2-r0.post-install
*
* If you need ICU with non-English locales and legacy charset support, install
* package icu-data-full.
*
(4/8) Installing icu-libs (74.2-r0)
(5/8) Installing simdjson (3.10.1-r0)
(6/8) Installing simdutf (5.6.3-r0)
(7/8) Installing nodejs (22.15.1-r0)
(8/8) Installing npm (10.9.1-r0)
Executing busybox-1.37.0-r12.trigger
Executing ca-certificates-20241121-r1.trigger
OK: 538 MiB in 145 packages
[#1507844] 2025/06/10 16:30:18 Cloning repositories
Cloning into 'i18next-typescript-parser'...
+ git -C i18next-typescript-parser checkout -q 1e554f0ae1975cb7121910abd8e81acdddaa8d7a
+ git -C i18next-typescript-parser submodule update --init --recursive
[#1507844] 2025/06/10 16:30:19 Running task build
[#1507844] 2025/06/10 16:30:22 Running task test
[#1507844] 2025/06/10 16:30:28 Build failed.
[#1507844] 2025/06/10 16:30:28 The build environment will be kept alive for 10 minutes.
[#1507844] 2025/06/10 16:30:28 To log in with SSH and examine it, use the following command:
[#1507844] 2025/06/10 16:30:28 
[#1507844] 2025/06/10 16:30:28 	ssh -t builds@fra02.builds.sr.ht connect 1507844
[#1507844] 2025/06/10 16:30:28 
[#1507844] 2025/06/10 16:30:28 After logging in, the deadline is increased to your remaining build time.
[#1507844] 2025/06/10 16:40:28 Deadline elapsed. Terminating build environment.
[#1507844] 2025/06/10 16:40:28 Error: Running task on guest: exit status 1
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
+ cd i18next-typescript-parser
+ npm clean-install

added 5 packages, and audited 6 packages in 673ms

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
+ npm run build

> i18next-typescript-parser@0.2.0 build
> tsc --project tsconfig.build.json

test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
+ cd i18next-typescript-parser
+ npx tsc
+ npx tsx test/index.ts
npm warn exec The following package was not found and will be installed: tsx@4.19.4
node:internal/modules/run_main:122
    triggerUncaughtException(
    ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
+ actual - expected

  [
    {
      key: 'simple',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'withNoopOptions',
      namespace: 'translation',
+     params: Set(1) {
+       'defaultValue'
+     }
    },
    {
      key: 'withNsOptions',
      namespace: 'foo',
+     params: Set(1) {
+       'ns'
+     }
    },
    {
      key: 'withDefaultValue',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'withDefaultValueAndNoopOptions',
      namespace: 'translation',
+     params: Set(1) {
+       'count'
+     }
    },
    {
      key: 'withDefaultValueAndNsOptions',
      namespace: 'foo',
+     params: Set(1) {
+       'ns'
+     }
    },
    {
      key: 'overrideNs',
      namespace: 'foo',
+     params: undefined
    },
    {
      key: 'templateWithoutSubstitution',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'bar.simple',
      namespace: 'custom',
+     params: undefined
    },
    {
      key: 'bar.withNsOptions',
      namespace: 'customFoo',
+     params: Set(1) {
+       'ns'
+     }
    },
    {
      key: 'overrideNs',
      namespace: 'customFoo',
+     params: undefined
    },
    {
      key: 'simple',
      namespace: 'multipleNs',
+     params: undefined
    },
    {
      key: 'withNsOptions',
      namespace: 'multipleNsFoo',
+     params: Set(1) {
+       'ns'
+     }
    },
    {
      key: 'overrideNs',
      namespace: 'multipleNsFoo',
+     params: undefined
    },
    {
      key: 'union.bar',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'union.baz',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'unionTemplate.h.asdf',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'unionTemplate.i.asdf',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'twoUnionTemplate.h.and.h',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'twoUnionTemplate.h.and.i',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'twoUnionTemplate.i.and.h',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'twoUnionTemplate.i.and.i',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'bar.unionWithPrefix.h',
      namespace: 'custom',
+     params: undefined
    },
    {
      key: 'bar.unionWithPrefix.i',
      namespace: 'custom',
+     params: undefined
    },
    {
      key: 'unionWithOverrideNs.h',
      namespace: 'customFoo',
+     params: undefined
    },
    {
      key: 'unionWithOverrideNs.i',
      namespace: 'customFoo',
+     params: undefined
    },
    {
      key: 'ternary.bar',
      namespace: 'translation',
+     params: undefined
    },
    {
      key: 'ternary.baz',
      namespace: 'translation',
+     params: undefined
    }
  ]

    at <anonymous> (/home/build/i18next-typescript-parser/test/index.ts:47:8)
    at ModuleJob.run (node:internal/modules/esm/module_job:274:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: [
    { namespace: 'translation', key: 'simple', params: undefined },
    {
      namespace: 'translation',
      key: 'withNoopOptions',
      params: Set(1) { 'defaultValue' }
    },
    { namespace: 'foo', key: 'withNsOptions', params: Set(1) { 'ns' } },
    {
      namespace: 'translation',
      key: 'withDefaultValue',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'withDefaultValueAndNoopOptions',
      params: Set(1) { 'count' }
    },
    {
      namespace: 'foo',
      key: 'withDefaultValueAndNsOptions',
      params: Set(1) { 'ns' }
    },
    { namespace: 'foo', key: 'overrideNs', params: undefined },
    {
      namespace: 'translation',
      key: 'templateWithoutSubstitution',
      params: undefined
    },
    { namespace: 'custom', key: 'bar.simple', params: undefined },
    {
      namespace: 'customFoo',
      key: 'bar.withNsOptions',
      params: Set(1) { 'ns' }
    },
    { namespace: 'customFoo', key: 'overrideNs', params: undefined },
    { namespace: 'multipleNs', key: 'simple', params: undefined },
    {
      namespace: 'multipleNsFoo',
      key: 'withNsOptions',
      params: Set(1) { 'ns' }
    },
    {
      namespace: 'multipleNsFoo',
      key: 'overrideNs',
      params: undefined
    },
    { namespace: 'translation', key: 'union.bar', params: undefined },
    { namespace: 'translation', key: 'union.baz', params: undefined },
    {
      namespace: 'translation',
      key: 'unionTemplate.h.asdf',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'unionTemplate.i.asdf',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'twoUnionTemplate.h.and.h',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'twoUnionTemplate.h.and.i',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'twoUnionTemplate.i.and.h',
      params: undefined
    },
    {
      namespace: 'translation',
      key: 'twoUnionTemplate.i.and.i',
      params: undefined
    },
    {
      namespace: 'custom',
      key: 'bar.unionWithPrefix.h',
      params: undefined
    },
    {
      namespace: 'custom',
      key: 'bar.unionWithPrefix.i',
      params: undefined
    },
    {
      namespace: 'customFoo',
      key: 'unionWithOverrideNs.h',
      params: undefined
    },
    {
      namespace: 'customFoo',
      key: 'unionWithOverrideNs.i',
      params: undefined
    },
    { namespace: 'translation', key: 'ternary.bar', params: undefined },
    { namespace: 'translation', key: 'ternary.baz', params: undefined }
  ],
  expected: [
    { namespace: 'translation', key: 'simple' },
    { namespace: 'translation', key: 'withNoopOptions' },
    { namespace: 'foo', key: 'withNsOptions' },
    { namespace: 'translation', key: 'withDefaultValue' },
    { namespace: 'translation', key: 'withDefaultValueAndNoopOptions' },
    { namespace: 'foo', key: 'withDefaultValueAndNsOptions' },
    { namespace: 'foo', key: 'overrideNs' },
    { namespace: 'translation', key: 'templateWithoutSubstitution' },
    { namespace: 'custom', key: 'bar.simple' },
    { namespace: 'customFoo', key: 'bar.withNsOptions' },
    { namespace: 'customFoo', key: 'overrideNs' },
    { namespace: 'multipleNs', key: 'simple' },
    { namespace: 'multipleNsFoo', key: 'withNsOptions' },
    { namespace: 'multipleNsFoo', key: 'overrideNs' },
    { namespace: 'translation', key: 'union.bar' },
    { namespace: 'translation', key: 'union.baz' },
    { namespace: 'translation', key: 'unionTemplate.h.asdf' },
    { namespace: 'translation', key: 'unionTemplate.i.asdf' },
    { namespace: 'translation', key: 'twoUnionTemplate.h.and.h' },
    { namespace: 'translation', key: 'twoUnionTemplate.h.and.i' },
    { namespace: 'translation', key: 'twoUnionTemplate.i.and.h' },
    { namespace: 'translation', key: 'twoUnionTemplate.i.and.i' },
    { namespace: 'custom', key: 'bar.unionWithPrefix.h' },
    { namespace: 'custom', key: 'bar.unionWithPrefix.i' },
    { namespace: 'customFoo', key: 'unionWithOverrideNs.h' },
    { namespace: 'customFoo', key: 'unionWithOverrideNs.i' },
    { namespace: 'translation', key: 'ternary.bar' },
    { namespace: 'translation', key: 'ternary.baz' }
  ],
  operator: 'deepStrictEqual'
}

Node.js v22.15.1
Build complete: failed 9 days ago (took 21 seconds)