-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.6.0-DEV-f05b821fe7.log
870 lines (858 loc) · 26.4 KB
/
1.6.0-DEV-f05b821fe7.log
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
Julia Version 1.6.0-DEV.1218
Commit f05b821fe7 (2020-10-14 11:56 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: AMD EPYC 7502 32-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.0 (ORCJIT, znver2)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
JULIA_MAX_NUM_PRECOMPILE_FILES = 9223372036854775807
Resolving package versions...
Installed Zlib_jll ─────────── v1.2.11+17
Installed TupleTools ───────── v1.2.0
Installed ZipFile ──────────── v0.9.3
Installed Strided ──────────── v1.1.1
Installed OrderedCollections ─ v1.3.1
Installed DataStructures ───── v0.17.20
Installed Pickle ───────────── v0.2.0
Installed JLLWrappers ──────── v1.1.2
Installed InternedStrings ──── v0.7.0
Updating `~/.julia/environments/v1.6/Project.toml`
[fbb45041] + Pickle v0.2.0
Updating `~/.julia/environments/v1.6/Manifest.toml`
[864edb3b] + DataStructures v0.17.20
[7d512f48] + InternedStrings v0.7.0
[692b3bcd] + JLLWrappers v1.1.2
[bac558e1] + OrderedCollections v1.3.1
[fbb45041] + Pickle v0.2.0
[5e0ebb24] + Strided v1.1.1
[9d95972d] + TupleTools v1.2.0
[a5390f91] + ZipFile v0.9.3
[83775a58] + Zlib_jll v1.2.11+17
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[b77e0a4c] + InteractiveUtils
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[fa267f1f] + TOML
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
Precompiling project... (tip: to disable auto-precompilation set ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0)
[90m[32m ✓ [39mInternedStrings[39m
[90m[32m ✓ [39mJLLWrappers[39m
[90m[32m ✓ [39mTupleTools[39m
[90m[32m ✓ [39mOrderedCollections[39m
[90m[32m ✓ [39mStrided[39m
[90m[32m ✓ [39mZlib_jll[39m
[90m[32m ✓ [39mDataStructures[39m
[90m[32m ✓ [39mZipFile[39m
[32m ✓ [39mPickle
9 dependencies successfully precompiled
Testing Pickle
Status `/tmp/jl_JGQNr0/Project.toml`
[864edb3b] DataStructures v0.17.20
[e30172f5] Documenter v0.25.2
[7d512f48] InternedStrings v0.7.0
[fbb45041] Pickle v0.2.0
[438e738f] PyCall v1.92.1
[5e0ebb24] Strided v1.1.1
[a5390f91] ZipFile v0.9.3
[9e88b42a] Serialization
[8dfed614] Test
Status `/tmp/jl_JGQNr0/Manifest.toml`
[8f4d0f93] Conda v1.4.1
[864edb3b] DataStructures v0.17.20
[ffbed154] DocStringExtensions v0.8.3
[e30172f5] Documenter v0.25.2
[7d512f48] InternedStrings v0.7.0
[692b3bcd] JLLWrappers v1.1.2
[682c06a0] JSON v0.21.1
[1914dd2f] MacroTools v0.5.5
[bac558e1] OrderedCollections v1.3.1
[69de0a69] Parsers v1.0.11
[fbb45041] Pickle v0.2.0
[438e738f] PyCall v1.92.1
[5e0ebb24] Strided v1.1.1
[9d95972d] TupleTools v1.2.0
[81def892] VersionParsing v1.2.0
[a5390f91] ZipFile v0.9.3
[83775a58] Zlib_jll v1.2.11+17
[56f22d72] Artifacts
[2a0f44e3] Base64
[ade2ca70] Dates
[b77e0a4c] InteractiveUtils
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[44cfe95a] Pkg
[de0858da] Printf
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA
[9e88b42a] Serialization
[6462fe0b] Sockets
[fa267f1f] TOML
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
Testing Running tests...
[ Info: Installing torch via the Conda pytorch package...
[ Info: Running `conda install -q -y pytorch` in root environment
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /home/pkgeval/.julia/conda/3
added / updated specs:
- pytorch
The following packages will be downloaded:
package | build
---------------------------|-----------------
_pytorch_select-0.2 | gpu_0 2 KB
cudatoolkit-10.1.243 | h6bb024c_0 347.4 MB
cudnn-7.6.5 | cuda10.1_0 179.9 MB
ninja-1.10.1 | py38hfd86e86_0 1.4 MB
pytorch-1.4.0 |cuda101py38h02f0884_0 167.4 MB
------------------------------------------------------------
Total: 696.3 MB
The following NEW packages will be INSTALLED:
_pytorch_select pkgs/main/linux-64::_pytorch_select-0.2-gpu_0
cudatoolkit pkgs/main/linux-64::cudatoolkit-10.1.243-h6bb024c_0
cudnn pkgs/main/linux-64::cudnn-7.6.5-cuda10.1_0
ninja pkgs/main/linux-64::ninja-1.10.1-py38hfd86e86_0
pytorch pkgs/main/linux-64::pytorch-1.4.0-cuda101py38h02f0884_0
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
[ Info: BATCHSIZE is set to: 3
[ Info: Test doctest
[ Info: SetupBuildDirectory: setting up build directory.
[ Info: Doctest: running doctests.
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/readarg.jl:175-187
│
│ ```jldoctest
│ julia> Pickle.read_bytes1(IOBuffer(b"\x00")) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.read_bytes1(IOBuffer(b"\x03abcdef"))
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ julia> Pickle.read_bytes1(IOBuffer(b"\x03abcdef")) |> String
│ "abc"
│ ```
│
│ Subexpression:
│
│ Pickle.read_bytes1(IOBuffer(b"\x03abcdef"))
│
│ Evaluated output:
│
│ 3-element Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
│
│ Expected output:
│
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ diff =
│ Warning: Diff output requires color.
│ 3-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/readarg.jl:232-241
│
│ ```jldoctest
│ julia> Pickle.read_bytearray8(IOBuffer(b"\x00\x00\x00\x00\x00\x00\x00\x00abc")) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.read_bytearray8(IOBuffer(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef"))
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│ ```
│
│ Subexpression:
│
│ Pickle.read_bytearray8(IOBuffer(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef"))
│
│ Evaluated output:
│
│ 3-element Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
│
│ Expected output:
│
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ diff =
│ Warning: Diff output requires color.
│ 3-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/readarg.jl:193-206
│
│ ```jldoctest
│ julia> Pickle.read_bytes4(IOBuffer(b"\x00\x00\x00\x00abc")) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.read_bytes4(IOBuffer(b"\x03\x00\x00\x00abcdef"))
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ julia> Pickle.read_bytes4(IOBuffer(b"\x00\x00\x00\x03abcdef"))
│ ERROR: expected 50331648 bytes in bytes4, but only 6 remain
│ [...]
│ ```
│
│ Subexpression:
│
│ Pickle.read_bytes4(IOBuffer(b"\x03\x00\x00\x00abcdef"))
│
│ Evaluated output:
│
│ 3-element Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
│
│ Expected output:
│
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ diff =
│ Warning: Diff output requires color.
│ 3-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(255)
│
│ Evaluated output:
│
│ 2-element Vector{UInt8}:
│ 0xff
│ 0x00
│
│ Expected output:
│
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ diff =
│ Warning: Diff output requires color.
│ 2-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0xff
│ 0x00
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(32767)
│
│ Evaluated output:
│
│ 2-element Vector{UInt8}:
│ 0xff
│ 0x7f
│
│ Expected output:
│
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ diff =
│ Warning: Diff output requires color.
│ 2-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0xff
│ 0x7f
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(-256)
│
│ Evaluated output:
│
│ 2-element Vector{UInt8}:
│ 0x00
│ 0xff
│
│ Expected output:
│
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ diff =
│ Warning: Diff output requires color.
│ 2-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x00
│ 0xff
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(-32768)
│
│ Evaluated output:
│
│ 2-element Vector{UInt8}:
│ 0x00
│ 0x80
│
│ Expected output:
│
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ diff =
│ Warning: Diff output requires color.
│ 2-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x00
│ 0x80
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(-128)
│
│ Evaluated output:
│
│ 1-element Vector{UInt8}:
│ 0x80
│
│ Expected output:
│
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ diff =
│ Warning: Diff output requires color.
│ 1-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x80
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/writearg.jl:59-90
│
│ ```jldoctest
│ julia> Pickle.int_to_bytes(0) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.int_to_bytes(255)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x00
│
│ julia> Pickle.int_to_bytes(32767)
│ 2-element Array{UInt8,1}:
│ 0xff
│ 0x7f
│
│ julia> Pickle.int_to_bytes(-256)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0xff
│
│ julia> Pickle.int_to_bytes(-32768)
│ 2-element Array{UInt8,1}:
│ 0x00
│ 0x80
│
│ julia> Pickle.int_to_bytes(-128)
│ 1-element Array{UInt8,1}:
│ 0x80
│
│ julia> Pickle.int_to_bytes(127)
│ 1-element Array{UInt8,1}:
│ 0x7f
│ ```
│
│ Subexpression:
│
│ Pickle.int_to_bytes(127)
│
│ Evaluated output:
│
│ 1-element Vector{UInt8}:
│ 0x7f
│
│ Expected output:
│
│ 1-element Array{UInt8,1}:
│ 0x7f
│
│ diff =
│ Warning: Diff output requires color.
│ 1-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x7f
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: doctest failure in ~/.julia/packages/Pickle/Njhfn/src/readarg.jl:212-221
│
│ ```jldoctest
│ julia> Pickle.read_bytes8(IOBuffer(b"\x00\x00\x00\x00\x00\x00\x00\x00abc")) |> isempty # 0-element Array{UInt8,1}
│ true
│
│ julia> Pickle.read_bytes8(IOBuffer(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef"))
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│ ```
│
│ Subexpression:
│
│ Pickle.read_bytes8(IOBuffer(b"\x03\x00\x00\x00\x00\x00\x00\x00abcdef"))
│
│ Evaluated output:
│
│ 3-element Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
│
│ Expected output:
│
│ 3-element Array{UInt8,1}:
│ 0x61
│ 0x62
│ 0x63
│
│ diff =
│ Warning: Diff output requires color.
│ 3-element Array{UInt8,1}:
│ Vector{UInt8}:
│ 0x61
│ 0x62
│ 0x63
└ @ Documenter.DocTests ~/.julia/packages/Documenter/pjwqp/src/DocTests.jl:369
┌ Error: Doctesting failed
│ exception =
│ `makedocs` encountered a doctest error. Terminating build
│ Stacktrace:
│ [1] error(s::String)
│ @ Base ./error.jl:33
│ [2] runner(#unused#::Type{Documenter.Builder.Doctest}, doc::Documenter.Documents.Document)
│ @ Documenter.Builder ~/.julia/packages/Documenter/pjwqp/src/Builder.jl:217
│ [3] dispatch(#unused#::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Documents.Document)
│ @ Documenter.Utilities.Selectors ~/.julia/packages/Documenter/pjwqp/src/Utilities/Selectors.jl:167
│ [4] #2
│ @ ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:241 [inlined]
│ [5] cd(f::Documenter.var"#2#3"{Documenter.Documents.Document}, dir::String)
│ @ Base.Filesystem ./file.jl:104
│ [6] makedocs(; debug::Bool, format::Documenter.Writers.HTMLWriter.HTML, kwargs::Base.Iterators.Pairs{Symbol, Any, NTuple{5, Symbol}, NamedTuple{(:root, :source, :sitename, :doctest, :modules), Tuple{String, String, String, Symbol, Vector{Module}}}})
│ @ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:240
│ [7] (::Documenter.var"#all_doctests#31"{Bool, Vector{Module}})()
│ @ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:802
│ [8] macro expansion
│ @ ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:818 [inlined]
│ [9] macro expansion
│ @ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
│ [10] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String)
│ @ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:818
│ [11] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
│ @ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:761
│ [12] doctest
│ @ ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:748 [inlined]
│ [13] macro expansion
│ @ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:33 [inlined]
│ [14] macro expansion
│ @ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
│ [15] top-level scope
│ @ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:31
│ [16] include(fname::String)
│ @ Base.MainInclude ./client.jl:444
│ [17] top-level scope
│ @ none:6
│ [18] eval(m::Module, e::Any)
│ @ Core ./boot.jl:360
│ [19] exec_options(opts::Base.JLOptions)
│ @ Base ./client.jl:261
│ [20] _start()
│ @ Base ./client.jl:485
└ @ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:811
Doctests: Pickle: Test Failed at /home/pkgeval/.julia/packages/Documenter/pjwqp/src/Documenter.jl:818
Expression: all_doctests()
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:818 [inlined]
[2] macro expansion
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
[3] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String)
@ Documenter ~/.julia/packages/Documenter/pjwqp/src/Documenter.jl:818
[ Info: Test LOAD
[ Info: Test STORE
STORE: Error During Test at /home/pkgeval/.julia/packages/Pickle/Njhfn/test/test_store.jl:1
Got exception outside of a @test
AssertionError: python name for `typename(Set)` is not registered.
Stacktrace:
[1] save_global(p::Pickler{0}, io::IOStream, Tname::String)
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:307
[2] save(p::Pickler{0}, io::IOStream, x::Set{Int64})
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:324
[3] save_object(p::Pickler{0}, io::IOStream, x::Set{Int64})
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:25
[4] batch_setitems(p::Pickler{0}, io::IOStream, x::Dict{String, Any})
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:266
[5] save
@ ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:298 [inlined]
[6] save_object(p::Pickler{0}, io::IOStream, x::Dict{String, Any})
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:25
[7] store(p::Pickler{0}, io::IOStream, x::Any)
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:18
[8] store(io::IOStream, x::Dict{String, Any}; proto::Int64)
@ Pickle ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:15
[9] #29
@ ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:14 [inlined]
[10] open(::Pickle.var"#29#30"{Int64, Dict{String, Any}}, ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:330
[11] open(::Function, ::String, ::String)
@ Base ./io.jl:328
[12] #store#28
@ ~/.julia/packages/Pickle/Njhfn/src/serializer.jl:14 [inlined]
[13] (::var"#3#5")(path::String)
@ Main ~/.julia/packages/Pickle/Njhfn/test/test_store.jl:7
[14] mktempdir(fn::var"#3#5", parent::String; prefix::String)
@ Base.Filesystem ./file.jl:711
[15] mktempdir(fn::Function, parent::String)
@ Base.Filesystem ./file.jl:709
[16] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/test_store.jl:3
[17] top-level scope
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144
[18] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/test_store.jl:3
[19] include(fname::String)
@ Base.MainInclude ./client.jl:444
[20] macro expansion
@ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:38 [inlined]
[21] macro expansion
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
[22] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:31
[23] include(fname::String)
@ Base.MainInclude ./client.jl:444
[24] top-level scope
@ none:6
[25] eval(m::Module, e::Any)
@ Core ./boot.jl:360
[26] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:261
[27] _start()
@ Base ./client.jl:485
[ Info: Test Pickle.Torch
[ Info: Test Torch LOAD
[ Info: Test Torch LOAD_ZIP
[ Info: Test Torch SAVE
[ Info: Test Torch PREBUILD
PREBUILD: Error During Test at /home/pkgeval/.julia/packages/Pickle/Njhfn/test/torch/torch_prebuild.jl:1
Got exception outside of a @test
AssertionError: !(isdefer(typeinfo))
Stacktrace:
[1] legacy_load(tp::Pickle.Torch.TorchPickler{2}, io::IOStream)
@ Pickle.Torch ~/.julia/packages/Pickle/Njhfn/src/torch/torch_load.jl:95
[2] THload(tp::Pickle.Torch.TorchPickler{2}, io::IOStream)
@ Pickle.Torch ~/.julia/packages/Pickle/Njhfn/src/torch/torch_load.jl:62
[3] (::Pickle.Torch.var"#7#8")(io::IOStream)
@ Pickle.Torch ~/.julia/packages/Pickle/Njhfn/src/torch/torch_load.jl:57
[4] open(f::Pickle.Torch.var"#7#8", args::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:330
[5] open
@ ./io.jl:328 [inlined]
[6] THload
@ ~/.julia/packages/Pickle/Njhfn/src/torch/torch_load.jl:56 [inlined]
[7] macro expansion
@ ~/.julia/packages/Pickle/Njhfn/test/torch/torch_prebuild.jl:5 [inlined]
[8] macro expansion
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
[9] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/torch/torch_prebuild.jl:3
[10] include(fname::String)
@ Base.MainInclude ./client.jl:444
[11] macro expansion
@ ~/.julia/packages/Pickle/Njhfn/test/torch/torch.jl:16 [inlined]
[12] macro expansion
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
[13] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/torch/torch.jl:13
[14] include(fname::String)
@ Base.MainInclude ./client.jl:444
[15] macro expansion
@ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:42 [inlined]
[16] macro expansion
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1144 [inlined]
[17] top-level scope
@ ~/.julia/packages/Pickle/Njhfn/test/runtests.jl:31
[18] include(fname::String)
@ Base.MainInclude ./client.jl:444
[19] top-level scope
@ none:6
[20] eval(m::Module, e::Any)
@ Core ./boot.jl:360
[21] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:261
[22] _start()
@ Base ./client.jl:485
Test Summary: | Pass Fail Error Total
Pickle | 99 1 2 102
Doctests: Pickle | 1 1
LOAD | 15 15
STORE | 1 1
Torch | 84 1 85
LOAD | 32 32
LOAD_ZIP | 32 32
SAVE | 18 18
PREBUILD | 2 1 3
ERROR: LoadError: Some tests did not pass: 99 passed, 1 failed, 2 errored, 0 broken.
in expression starting at /home/pkgeval/.julia/packages/Pickle/Njhfn/test/runtests.jl:30
ERROR: Package Pickle errored during testing
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:52
[2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing)
@ Pkg.Operations /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/Operations.jl:1632
[3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:333
[4] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:320
[5] #test#62
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:70 [inlined]
[6] test
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:69 [inlined]
[7] #test#61
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
[8] test
@ /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:67 [inlined]
[9] test(pkg::String; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66
[10] test(pkg::String)
@ Pkg.API /workspace/srcdir/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:66
[11] top-level scope
@ none:31