Skip to content

Instantly share code, notes, and snippets.

@Altai-man

Altai-man/Data Secret

Created August 9, 2017 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Altai-man/f5da19fdd10879af98a8061b13af6b2c to your computer and use it in GitHub Desktop.
Save Altai-man/f5da19fdd10879af98a8061b13af6b2c to your computer and use it in GitHub Desktop.
➜ ~ zef install Data::Dump::Tree
===> Searching for: Data::Dump::Tree
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
===> Searching for missing dependencies: Test::META
===> Searching for missing dependencies: META6
===> Searching for missing dependencies: JSON::Class, JSON::Fast
===> Searching for missing dependencies: JSON::Marshal, JSON::Unmarshal
===> Searching for missing dependencies: JSON::Name
===> Testing: JSON::Fast:ver('0.9.2')
===> Testing [OK] for JSON::Fast:ver('0.9.2')
===> Testing: JSON::Name:ver('0.0.2'):auth('github:jonathanstowe')
===> Testing [OK] for JSON::Name:ver('0.0.2'):auth('github:jonathanstowe')
===> Testing: JSON::Marshal:ver('0.0.13'):auth('github:jonathanstowe')
===> Testing [OK] for JSON::Marshal:ver('0.0.13'):auth('github:jonathanstowe')
===> Testing: JSON::Unmarshal:ver('0.08')
===> Testing [OK] for JSON::Unmarshal:ver('0.08')
===> Testing: JSON::Class:ver('0.0.9'):auth('github:jonathanstowe')
===> Testing [OK] for JSON::Class:ver('0.0.9'):auth('github:jonathanstowe')
===> Testing: META6:ver('0.0.16'):auth('github:jonathanstowe')
===> Testing [OK] for META6:ver('0.0.16'):auth('github:jonathanstowe')
===> Testing: Test::META:ver('0.0.10'):auth('github:jonathanstowe')
# the following may make some diagnostics from the module itself
===> Testing [OK] for Test::META:ver('0.0.10'):auth('github:jonathanstowe')
===> Testing: Data::Dump::Tree:ver('1.5.3'):auth('github:nkh')
# Failed test at t/04_flat.t line 53
# expected: '14'
# got: '12'
# flat .Pair @0
# └ k:flat, v:(1) @1
# └ 0 = {}:U
# test Hash (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test Hash (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ c => 3.IntStr
# ├ 2 = {2} @3
# │ a => 1.IntStr b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '6'
# got: '5'
# flat (flat, 0).Pair
# test 0 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test 0 (4) @0
# 0 = [3] @1 1 = {1} @2 2 = {2} @3 3 = [2] @4
# ├ 0 = 1 └ c => 3.IntStr ├ a => 1.IntStr ├ 0 = 4
# ├ 1 = 2 └ b => 2.IntStr └ 1 = 5
# └ 2 = 3
# Failed test at t/04_flat.t line 53
# expected: '11'
# got: '10'
# flat (flat, 2).Pair
# test 2 (2) @0
# ├ 0 = [1] @1
# │ └ 0 = [2] @2
# │ ├ 0 = [2] @3
# │ │ ├ 0 = 1
# │ │ └ 1 = 2
# │ └ 1 = [2] @4
# │ ├ 0 = 3
# │ └ 1 = 4
# └ 1 = [3] @5
# ├ 0 = 3
# ├ 1 = 4
# └ 2 = 5
# test 2 (2) @0
# ├ 0 = [1] @1
# │ └ 0 = [2] @2
# │ 0 = [2] @3 1 = [2] @4
# │ ├ 0 = 1 ├ 0 = 3
# │ └ 1 = 2 └ 1 = 4
# └ 1 = [3] @5
# ├ 0 = 3
# ├ 1 = 4
# └ 2 = 5
# Failed test at t/04_flat.t line 53
# expected: '14'
# got: '12'
# flat (flat, 3).Pair
# test 3 (3) @0
# ├ 0 = [1] @1
# │ └ 0 = [2] @2
# │ ├ 0 = [2] @3
# │ │ ├ 0 = 1
# │ │ └ 1 = 2
# │ └ 1 = [2] @4
# │ ├ 0 = 3
# │ └ 1 = 4
# ├ 1 = [3] @5
# │ ├ 0 = 3
# │ ├ 1 = 4
# │ └ 2 = 5
# └ 2 = [1] §1
# test 3 (3) @0
# ├ 0 = [1] @1
# │ └ 0 = [2] @2
# │ ├ 0 = [2] @3
# │ │ 0 = 1 1 = 2
# │ └ 1 = [2] @4
# │ 0 = 3 1 = 4
# ├ 1 = [3] @5
# │ ├ 0 = 3
# │ ├ 1 = 4
# │ └ 2 = 5
# └ 2 = [1] §1
# Failed test at t/04_flat.t line 53
# expected: '14'
# got: '13'
# flat .Pair @0
# └ k:flat, v:(1) @1
# └ 0 = {1} @2
# └ c => 3.IntStr
# test %h1 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test %h1 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '13'
# got: '12'
# flat .Pair @0
# └ k:flat, v:(1) @1
# └ 0 = [2] @2
# ├ 0 = 4
# └ 1 = 5
# test @a (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test @a (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# 0 = 4 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '14'
# got: '12'
# flat .Pair @0
# └ k:flat, v:-> ;; $_? is raw { #`(Block|156897800) ... }.Block
# test sub: Hash (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test sub: Hash (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ c => 3.IntStr
# ├ 2 = {2} @3
# │ a => 1.IntStr b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '12'
# got: '11'
# flat .Pair @0
# └ k:flat, v:-> ;; $_? is raw { #`(Block|156897656) ... }.Block
# test sub Array $s.first: 3 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test sub Array $s.first: 3 (4) @0
# ├ 0 = [3] @1
# │ 0 = 1 1 = 2 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '14'
# got: '13'
# flat .Pair @0
# └ k:flat, v:-> ;; $_? is raw { #`(Block|156897512) ... }.Block
# test sub: $s == %h1 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ └ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# test sub: $s == %h1 (4) @0
# ├ 0 = [3] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} @2
# │ c => 3.IntStr
# ├ 2 = {2} @3
# │ ├ a => 1.IntStr
# │ └ b => 2.IntStr
# └ 3 = [2] @4
# ├ 0 = 4
# └ 1 = 5
# Failed test at t/04_flat.t line 53
# expected: '48'
# got: '47'
# flat .Pair @0
# └ k:flat, v:(2) @1
# ├ 0 = -> ;; $_? is raw { #`(Block|156896504) ... }.Block
# └ 1 = -> ;; $_? is raw { #`(Block|156896360) ... }.Block
# d3, flat(H, sA-5) (3) @0
# ├ 0 = [10] @1
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ ├ 2 = 3
# │ ├ 3 = 4
# │ ├ 4 = 5
# │ ├ 5 = 6
# │ ├ 6 = 7
# │ ├ 7 = 8
# │ ├ 8 = 9
# │ └ 9 = 10
# ├ 1 = [11] @2
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ ├ 2 = 3
# │ ├ 3 = 4
# │ ├ 4 = 5
# │ ├ 5 = 6
# │ ├ 6 = 7
# │ ├ 7 = 8
# │ ├ 8 = 9
# │ ├ 9 = 10
# │ └ 10 = [38] @3
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ ├ 2 = 3
# │ ├ 3 = 4
# │ ├ 4 = 5
# │ ├ 5 = 6
# │ ├ 6 = 7
# │ ├ 7 = 8
# │ ├ 8 = 9
# │ ├ 9 = 10
# │ ├ 10 = 11
# │ ├ 11 = 12
# │ ├ 12 = 13
# │ ├ 13 = 14
# │ ├ 14 = 15
# │ ├ 15 = 16
# │ ├ 16 = 17
# │ ├ 17 = 18
# │ ├ 18 = 19
# │ ├ 19 = 20
# │ ├ 20 = 21
# │ ├ 21 = 22
# │ ├ 22 = {1} @4
# │ │ └ c => 3.IntStr
# │ ├ 23 = {2} @5
# │ │ ├ a => 1.IntStr
# │ │ └ b => 2.IntStr
# │ ├ 24 = {2} §5
# │ ├ 25 = 23
# │ ├ 26 = 24
# │ ├ 27 = 25
# │ ├ 28 = 26
# │ ├ 29 = 27
# │ ├ 30 = 28
# │ ├ 31 = 29
# │ ├ 32 = 30
# │ ├ 33 = [6] @7
# │ │ ├ 0 = 1
# │ │ ├ 1 = 2
# │ │ ├ 2 = 3
# │ │ ├ 3 = 4
# │ │ ├ 4 = 5
# │ │ └ 5 = 6
# │ ├ 34 = 1
# │ ├ 35 = 2
# │ ├ 36 = 3
# │ └ 37 = 4
# └ 2 = {2} @8
# ├ some => {2} @9
# │ ├ a => 1
# │ └ b => [6] @10
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ ├ 2 = 3
# │ ├ 3 = 4
# │ ├ 4 = 5
# │ └ 5 = {1} §4
# └ thing => (4) @12
# ├ 0 = [3] @13
# │ ├ 0 = 1
# │ ├ 1 = 2
# │ └ 2 = 3
# ├ 1 = {1} §4
# ├ 2 = {2} §5
# └ 3 = [2] @16
# ├ 0 = 4
# └ 1 = 5
# d3, flat(H, sA-5) (3) @0
# ├ 0 = [10] @1
# │ 0 = 1 5 = 6
# │ 1 = 2 6 = 7
# │ 2 = 3 7 = 8
# │ 3 = 4 8 = 9
# │ 4 = 5 9 = 10
# │
# ├ 1 = [11] @2
# │ 0 = 1 5 = 6
# │ 1 = 2 6 = 7
# │ 2 = 3 7 = 8
# │ 3 = 4 8 = 9
# │ 4 = 5 9 = 10
# │
# │ 10 = [38] @3
# │ 0 = 1 5 = 6 10 = 11 15 = 16 20 = 21
# │ 1 = 2 6 = 7 11 = 12 16 = 17 21 = 22
# │ 2 = 3 7 = 8 12 = 13 17 = 18 22 = {1} @4
# │ 3 = 4 8 = 9 13 = 14 18 = 19 └ c => 3.IntStr
# │ 4 = 5 9 = 10 14 = 15 19 = 20
# │
# │ 23 = {2} @5 27 = 25 32 = 30
# │ a => 1.IntStr b => 2.IntStr 28 = 26
# │ 24 = {2} §5 29 = 27
# │ 25 = 23 30 = 28
# │ 26 = 24 31 = 29
# │
# │ 33 = [6] @7 34 = 1
# │ 0 = 1 5 = 6 35 = 2
# │ 1 = 2 36 = 3
# │ 2 = 3 37 = 4
# │ 3 = 4
# │ 4 = 5
# │
# │
# └ 2 = {2} @8
# some => {2} @9 thing => (4) @12
# a => 1 b => [6] @10 ├ 0 = [3] @13
# 0 = 1 5 = {1} §4 │ ├ 0 = 1
# 1 = 2 │ ├ 1 = 2
# 2 = 3 │ └ 2 = 3
# 3 = 4 ├ 1 = {1} §4
# 4 = 5 ├ 2 = {2} §5
# └ 3 = [2] @16
# ├ 0 = 4
# └ 1 = 5
# Looks like you failed 10 tests of 21
===> Testing [FAIL]: Data::Dump::Tree:ver('1.5.3'):auth('github:nkh')
Aborting due to test failure: Data::Dump::Tree:ver('1.5.3'):auth('github:nkh') (use --force-test to override)
in code at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 375
in method test at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 353
in code at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 530
in sub at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 527
in method install at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/1C5B2A3EA861108A89345CD9B974CE9BF1FEE32F (Zef::Client) line 633
in sub MAIN at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/sources/8CF719A0E6E0BBDC883C69273F5806F53CE89B08 (Zef::CLI) line 152
in block <unit> at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/resources/9F7A8B63F1D79866260D0A0CD3594BA28A8D75BA line 1
in sub MAIN at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/bin/zef line 2
in block <unit> at /home/koto/.rakudobrew/moar-nom/install/share/perl6/site/bin/zef line 2
➜ ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment