Module Data::StaticTable cannot be installed (Flapper), perhaps it has some failing tests.
Tickets are opened/closed in this repo automatically (though not immediately).
If you can install the module without any problems, add works for me label, leave a comment saying that it works for you and mention any details that you feel are important.
If it needs a native library, put native dependency label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.
If the module is broken, try to fix it and send a PR. Add PR sent label.
If there is a problem in one of the dependencies, add failing dependency label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.
It is a good idea to assign yourself to this ticket if you're working on it (to make sure two or more people are not working on the same ticket at the same time).
If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.
Output:
===> Searching for: Data::StaticTable
===> Found: Data::StaticTable:ver<0.1.0>:auth<github:shinobi> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Data::StaticTable:ver<0.1.0>:auth<github:shinobi> to /home/alex/Blin/data/zef-data/tmp/1549580453.12314.242/Data-StaticTable.git
===> Extraction [OK]: Data::StaticTable to /home/alex/Blin/data/zef-data/store/Data-StaticTable.git
===> Testing: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
# == Basic tests ==
# A B C D E F G H I J
# ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
# [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
# == Adding empty cells when data is not enough ==
# A B C D E F G H I J
# ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
# [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
# [11] [Any] [Any] [Any] [Any] [Any] [Any] [Any] [Any] [Any]
# == Referencing individual cells ==
# Col1 Col2 Col3
# ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯
# [1] [2] [3]
# ["four"] ["five"] ["six"]
# [Any] [Any] ["NINE"]
# == Reading cells, rows and columns ==
# A B C
# ⋯ ⋯ ⋯
# [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]
# == Indexes, Generating a new table from a number (index) of rows ==
# UID Type Color Price
# ⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯
# [1402] ["Car"] ["white"] [100]
# [1403] ["Car"] ["blue"] [200]
# [1404] ["Boat"] ["white"] [3000]
# Index based on Type: {:Boat(Array[Data::StaticTable::Position].new(3)), :Car(Array[Data::StaticTable::Position].new(1, 2))}
# Index based on Color: {:blue(Array[Data::StaticTable::Position].new(2)), :white(Array[Data::StaticTable::Position].new(1, 3))}
# == Resulting StaticTable with only Color='white' ==
# UID Type Color Price
# ⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯
# [1402] ["Car"] ["white"] [100]
# [1404] ["Boat"] ["white"] [3000]
# == Complex cells and shaped arrays ==
# Attr Dim1 Dim2 Dim3 Dim4
# ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯
# ["attribute-1"] [1] [2] [3] ["D+"]
# ["attribute-2"] [4] [5] [6] ["B+"]
# ["attribute-3"] [7] [8] [9] ["A-"]
# ["attribute-4"] [$("ALPHA", "BETA", 3.0)] [5] [6] ["A++"]
# ["attribute-10"] [0] [0] [0] ["Z"]
# ["attribute-11"] [-2..2] [Any] [Any] ["X"]
# == Resulting StaticTable with only Dim2=5 ==
# Array[Data::StaticTable::Position].new(2, 4)
# Array[Data::StaticTable::Position].new(2, 4)
# Attr Dim1 Dim2 Dim3 Dim4
# ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯
# ["attribute-2"] [4] [5] [6] ["B+"]
# ["attribute-4"] [$("ALPHA", "BETA", 3.0)] [5] [6] ["A++"]
# == Shaped array ==
t/StaticTable-basic.t ............... ok
t/StaticTable-examples.t ............ ok
# == Extra features tests ==
# A B C
# ⋯ ⋯ ⋯
# [1] [2] [3]
# [4] [5] [6]
# [7] [8] [9]
# == Serialization and EVAL test ==
# Data::StaticTable.new(Array[Str].new("A", "B", "C"), [1, 2, 3, 4, 5, 6, 7, 8, 9])
# == Comparison test ==
# == Filler tests ==
# A B C
# ⋯ ⋯ ⋯
# [1] [2] [3]
# [4] [5] [6]
# [7] ["N/A"] ["N/A"]
# == 'take' using Int and Position types ==
t/StaticTable-extra.t ............... ok
# == Reading a sample file in a StaticTable ==
# == Populate StaticTable took : 0.00559357 secs. ==
# == Discarding rows with aggregation data ==
# == Creation of sub-StaticTable took : 0.0541562 secs. ==
# == Time per row : 0.00338476 secs. ==
# == Reading a big sample file in a StaticTable ==
# == File now in memory. Creating array ==
# == Data array created : 659412 total elements ==
# == Populate StaticTable took : 0.7549254 secs. ==
# == Total rows : 36634 ==
# == Sub-tables stress tests starting : 366 rowsets, 100 rows per set ... ==
# == Average : 0.00081368 secs. per row ==
# == Index speed ==
# == Index creation 'county' took : 3.5459588 secs. ==
# == Search with index (scored 0.0018) took : 0.012377 secs. ==
# == Search without index took : 2.4050094 secs. ==
# == Index creation 'policyID' took : 3.66822219 secs. ==
# == Search with index (scored 1) took : 0.57674091 secs. ==
# == Search without index took : 2.3739446 secs. ==
# == Cloning ==
# == Cloning a big StaticTable took : 0.384105 secs. ==
# == Comparison on a big StaticTable (might take a while...) ==
# == Comparing 2 big equal StaticTables took : 132.2140829 secs. ==
t/StaticTable-perf.t ................ ok
# == Testing indexes ==
# Attr Dim1 Dim2 Dim3 Dim4
# ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯
# ["attribute-1"] [1] [21] [3] ["D+"]
# ["attribute-2"] [4] [51] [6] ["B+"]
# ["attribute-3"] [7] [80] [9] ["A-"]
# ["attribute-4"] [$("ALPHA", "BETA", 3.0)] [5] [6] ["A++"]
# ["attribute-10"] [0] [0] [0] ["B+"]
# ["attribute-11"] [-2..2] [Any] [Any] ["B+"]
# == Check indexes ==
# == Searching without index ==
# == Check different grep modes ==
# (4, 5, 6)
# [("attribute-4", $("ALPHA", "BETA", 3.0), 5, 6, "A++"), ("attribute-10", 0, 0, 0, "B+"), ("attribute-11", -2..2, Any, Any, "B+")]
# [{:Attr("attribute-4"), :Dim1($("ALPHA", "BETA", 3.0)), :Dim2(5), :Dim3(6), :Dim4("A++")}, {:Attr("attribute-10"), :Dim1(0), :Dim2(0), :Dim3(0), :Dim4("B+")}, {:Attr("attribute-11"), :Dim1(-2..2), :Dim2(Any), :Dim3(Any), :Dim4("B+")}]
# {"4" => $("attribute-4", $("ALPHA", "BETA", 3.0), 5, 6, "A++"), "5" => $("attribute-10", 0, 0, 0, "B+"), "6" => $("attribute-11", -2..2, Any, Any, "B+")}
# {"4" => ${:Attr("attribute-4"), :Dim1($("ALPHA", "BETA", 3.0)), :Dim2(5), :Dim3(6), :Dim4("A++")}, "5" => ${:Attr("attribute-10"), :Dim1(0), :Dim2(0), :Dim3(0), :Dim4("B+")}, "6" => ${:Attr("attribute-11"), :Dim1(-2..2), :Dim2(Any), :Dim3(Any), :Dim4("B+")}}
# == Create a new table from grep results of row numbers ==
# Attr Dim1 Dim2 Dim3 Dim4
# ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯
# ["attribute-1"] [1] [21] [3] ["D+"]
# ["attribute-4"] [$("ALPHA", "BETA", 3.0)] [5] [6] ["A++"]
# ["attribute-2"] [4] [51] [6] ["B+"]
# == Index creation at construction ==
# == Serialization and EVAL test ==
# Data::StaticTable::Query.new(Data::StaticTable.new(Array[Str].new("Attr", "Dim1", "Dim2", "Dim3", "Dim4"), ["attribute-1", 1, 21, 3, "D+", "attribute-2", 4, 51, 6, "B+"]), ["Dim1", "Dim2"])
# Failed test 'Can be serialized using .perl method'
# at t/StaticTable-query.t line 101
# Looks like you failed 1 test of 27
t/StaticTable-query.t ...............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests
# == Rowset constructor tests ==
# == First row is a header ==
# ONE TWO THREE FOUR
# ⋯⋯⋯ ⋯⋯⋯ ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯
# [1] [2] [3] [Any]
# [1] [2] [3] [4]
# [1] [2] [3] [4]
# [1] [$(2, 1)] [Any] [Any]
# == First row is NOT a header ==
# A B C D E
# ⋯ ⋯ ⋯ ⋯ ⋯
# ["ONE"] ["TWO"] ["THREE"] ["FOUR"] [Any]
# [1] [2] [3] [Any] [Any]
# [1] [2] [3] [4] [Any]
# [1] [2] [3] [4] [5]
# [1] [$(2, 1)] [Any] [Any] [Any]
# == Hash to StaticTable ==
# brand color model nOfDoors year airbags autopilot ashtrays battery-kWh
# ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯⋯ ⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯
# ["Zubata"] ["gray"] ["Bronco XS"] [5] [1970] [Any] [Any] [4] [Any]
# ["Atto"] ["yellow"] ["Star Hybrid"] [4] [2007] [2] [Any] [Any] [Any]
# ["Renu"] ["yellow"] ["City Ranger"] [4] [2018] [8] ["OpenAI based"] [Any] [Any]
# ["Astoni"] ["blue"] ["534-Z SPX"] [2] [2018] [4] ["Unknown"] [Any] [75]
# == Recovering discarded data ==
# == Rejected data by row ==
# {"3" => $[5]}
# == Rejected: rows that are not hashes ==
# [(10, 20),]
t/StaticTable-rowset-constructor.t .. ok
Test Summary Report
-------------------
t/StaticTable-query.t (Wstat: 256 Tests: 27 Failed: 1)
Failed test: 27
Non-zero exit status: 1
Files=6, Tests=106, 197 wallclock secs ( 0.07 usr 0.01 sys + 172.50 cusr 1.23 csys = 173.81 CPU)
Result: FAIL
===> Testing [FAIL]: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
Failed to get passing tests, but continuing with --force-test
===> Installing: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
===> Install [OK] for Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
Module Data::StaticTable cannot be installed (
Flapper
), perhaps it has some failing tests.works for me
label, leave a comment saying that it works for you and mention any details that you feel are important.native dependency
label, describe what you did to install it and ensure that same instructions are present in the README file of the module (otherwise submit a pull request). Also try to update this wiki page.PR sent
label.failing dependency
label and write a comment explaining the situation. Feel free to work on the corresponding ticket for the failing dependency.If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.
Output:
Ping @shinobi