Home Quick start All builds News Donations
More
Log In
Light Theme Docs
Workers

SparrowCI Report - gh-melezhik-Gray-Code-RBC | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 2342
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 27.12.2022 @ 23:52
Time elapsed: 218 sec
---
SCM: https://github.com/melezhik/Gray-Code-RBC.git
Git sha: b39eab8
Git comment: check doc
image:
  - melezhik/sparrow:debian
tasks:
  -
    name: main
    default: true
    language: Raku
    code: |
      use Text::Table::Simple;
      my @columns = ("Rakudo Version", "Status", "Time", "Linux Dist");
      my @rows;
      my $fail = False;
      for config()<tasks><multi-versions><state><list><> -> $i {
        @rows.push: [ $i<version>, $i<status>,  $i<time>, os() ];
        $fail = True unless $i<status> eq "OK";
      }
      my @table = lol2table(@columns,@rows);
      .say for @table;
      die "some tests failed" if $fail == True;
    depends:
      -
        name: multi-versions
    followup:
      -
        name: good-doc
  -
    name: good-doc
    plugin: good-doc
    config:
      path: source/README.md
      rakudo_version: 2022.12        
  -
    name: multi-versions
    language: Raku
    config:
      list:
        # - 2022.04
        - 2022.07
        - 2022.12
    code: |
      my @state;
      for config()<list><> -> $v {
        my $s = %( version => $v );
        if "{cache_root_dir()}/{$v}_ok".IO ~~ :e {
          $s<status> = "OK";
        } else {
          $s<status> = "FAIL";
        }
        if "{cache_root_dir()}/{$v}_time".IO ~~ :e {
          $s<time> = "{cache_root_dir()}/{$v}_time".IO.slurp();
        } else {
          $s<time> = "NA";
        }
        @state.push: $s;
      }
      update_state %( list => @state );
    init: |
      for config()<list><> -> $v {
        run_task("test", %( version => $v ));
      }
    subtasks:
      -
        name: test
        language: Bash
        init: |
          ignore_error
        code: |
          set -e
          echo "Linux version: $os"
          curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
          -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
          tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz          
          eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
          which raku
          which zef
          raku --version
          zef --version
          
          cd source/
          zef install . --deps-only --test-depends --build-depends --/test -to=home         
          /usr/bin/time -f "%E real,%U user,%S sys | CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
          zef test --debug . && touch "${cache_root_dir}/${version}_ok"
          
    depends:
      -
        name: install-deps
  -
    name: install-deps
    language: Bash
    code: |
      sudo apt-get install -y time 
      zef install --/test Text::Table::Simple
23:52:35 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
23:52:39 :: [repository] - installing good-doc, version 0.000010
[task run: task.bash - good-doc]
[dump code: task.bash]
[1] set -e
[2] 
[3] cd $dir
[4] 
[5] cat $file
[6] 
[7] rakudo_version=$(config rakudo_version)
[8] 
[9] if ! test -z $rakudo_version; then
[10]  eval "$(rakudo-moar-$rakudo_version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[11]  raku --version 
[12] fi
[13] 
[14] echo "run raku -I lib $file ..."
[15] 
[16] raku -I lib $file || echo "error: $!"
[17] 
[task stdout]
23:52:41 :: 
23:52:41 :: use Gray::Code::RBC;
23:52:41 :: 
23:52:41 :: say gray-encode(73);
23:52:41 :: # 93
23:52:41 :: 
23:52:41 :: say gray-encode(73).fmt: '%b';
23:52:41 :: # 1101101
23:52:41 :: 
23:52:41 :: say gray-decode(93);
23:52:41 :: # 73
23:52:41 :: 
23:52:41 :: say gray-encode("١٢٣");
23:52:41 :: # 70
23:52:41 :: ```
23:52:41 :: 
23:52:41 :: DESCRIPTION
23:52:41 :: ===========
23:52:41 :: 
23:52:41 :: Gray code is an integer encoding such that adjacent values differ by at most one bit.
23:52:41 :: 
23:52:41 :: ```raku
23:52:41 ::                   binary   decimal     de-    round-
23:52:41 :: number  binary    encoded  encoded    coded    trip
23:52:41 ::  0:      0000  =>   0000      0   =>   0000      0
23:52:41 ::  1:      0001  =>   0001      1   =>   0001      1
23:52:41 ::  2:      0010  =>   0011      3   =>   0010      2
23:52:41 ::  3:      0011  =>   0010      2   =>   0011      3
23:52:41 ::  4:      0100  =>   0110      6   =>   0100      4
23:52:41 ::  5:      0101  =>   0111      7   =>   0101      5
23:52:41 ::  6:      0110  =>   0101      5   =>   0110      6
23:52:41 ::  7:      0111  =>   0100      4   =>   0111      7
23:52:41 ::  8:      1000  =>   1100     12   =>   1000      8
23:52:41 ::  9:      1001  =>   1101     13   =>   1001      9
23:52:41 :: 10:      1010  =>   1111     15   =>   1010     10
23:52:41 :: 11:      1011  =>   1110     14   =>   1011     11
23:52:41 :: 12:      1100  =>   1010     10   =>   1100     12
23:52:41 :: 13:      1101  =>   1011     11   =>   1101     13
23:52:41 :: 14:      1110  =>   1001      9   =>   1110     14
23:52:41 :: 15:      1111  =>   1000      8   =>   1111     15
23:52:42 :: Welcome to Rakudo™ v2022.12.
23:52:42 :: Implementing the Raku® Programming Language v6.d.
23:52:42 :: Built on MoarVM version 2022.12.
23:52:42 :: run raku -I lib /home/worker/.sparrow6/tmp/51015/code.raku ...
23:52:43 :: error: 
[task stderr]
23:52:43 :: /home/worker/.sparrowdo/good-doc/sparrow6/plugins/good-doc/tasks/run/task.bash: line 10: rakudo-moar-2022.12-01-linux-x86_64-gcc/scripts/set-env.sh: No such file or directory
23:52:43 :: ===SORRY!=== Error while compiling /home/worker/.sparrow6/tmp/51015/code.raku
23:52:43 :: Bogus statement
23:52:43 :: at /home/worker/.sparrow6/tmp/51015/code.raku:15
23:52:43 :: ------> say gray-encode("١٢٣");⏏<EOL>
23:52:43 ::     expecting any of:
23:52:43 ::         prefix
23:52:43 ::         term
23:50:03 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
source directory does not yet exist, download source archive from storage
23:50:08 :: [repository] - installing pack-unpack, version 0.000001
[task run: task.bash - unpack source archive]
[dump code: task.bash]
[1] set -e
[2] 
[3] file=$(config file)
[4] dir=$(config dir)
[5] 
[6] echo "tar -xzf $file "
[7] 
[8] tar -xzf $file
[9] 
[10] if test $dir; then
[11]   ls -l $dir
[12] fi
[13] 
[14] 
[task stdout]
23:50:10 :: tar -xzf source.tar.gz 
[task run: task.raku - tasks/main]
[dump code: task.raku]
[1] use Text::Table::Simple;
[2] my @columns = ("Rakudo Version", "Status", "Time", "Linux Dist");
[3] my @rows;
[4] my $fail = False;
[5] for config()<tasks><multi-versions><state><list><> -> $i {
[6]   @rows.push: [ $i<version>, $i<status>,  $i<time>, os() ];
[7]   $fail = True unless $i<status> eq "OK";
[8] }
[9] my @table = lol2table(@columns,@rows);
[10] .say for @table;
[11] die "some tests failed" if $fail == True;
[12] 
[task stdout]
23:52:15 :: O----------------O--------O--------------------------------------------------------O------------O
23:52:15 :: | Rakudo Version | Status | Time                                                   | Linux Dist |
23:52:15 :: O================O========O========================================================O============O
23:52:15 :: | 2022.07        | OK     | 0:03.65 real,4.81 user,0.59 sys | CPU Percentage: 147% | debian     |
23:52:15 :: | 2022.12        | OK     | 0:03.42 real,4.58 user,0.53 sys | CPU Percentage: 149% | debian     |
23:52:15 :: -------------------------------------------------------------------------------------------------
23:50:35 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/multi-versions]
[dump code: task.bash]
[1] set -e
[2] echo "Linux version: $os"
[3] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[4] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[5] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz          
[6] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[7] which raku
[8] which zef
[9] raku --version
[10] zef --version
[11] 
[12] cd source/
[13] zef install . --deps-only --test-depends --build-depends --/test -to=home         
[14] /usr/bin/time -f "%E real,%U user,%S sys | CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
[15] zef test --debug . && touch "${cache_root_dir}/${version}_ok"
[16] 
[task stdout]
23:51:11 :: Linux version: debian
23:51:12 ::                            Adding Rakudo to PATH
23:51:12 ::                           =======================
23:51:12 :: 
23:51:12 :: Paths successfully added.
23:51:12 :: 
23:51:12 :: ================================================================================
23:51:12 ::  =========                                                             __   __
23:51:12 ::   ||_|_||                =============================                (  \,/  )
23:51:12 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
23:51:12 ::   || # ||                =============================                 (_/ \_)
23:51:12 :: 
23:51:13 :: This console has all the tools available you need to get started using Raku.
23:51:13 :: 
23:51:13 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
23:51:13 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
23:51:13 :: Start it by typing:
23:51:13 :: 
23:51:13 ::     raku
23:51:13 :: 
23:51:13 :: If you already have a Raku program in a file, you can run it by typing:
23:51:13 :: 
23:51:13 ::     raku path/to/my/program.raku
23:51:13 :: 
23:51:13 :: To install additional modules you can use the Zef module manager:
23:51:13 :: 
23:51:13 ::     zef install Some::Module
23:51:13 :: 
23:51:13 :: https://rakudo.org/           - The home of this implementation of Raku.
23:51:13 :: https://raku.land/            - Go here to browse for Raku modules.
23:51:13 :: https://docs.raku.org/        - The Raku documentation.
23:51:13 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
23:51:13 :: 
23:51:13 ::                               Happy hacking!
23:51:13 :: 
23:51:13 :: ================================================================================
23:51:13 :: 
23:51:13 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
23:51:13 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
23:51:13 :: Welcome to Rakudo™ v2022.07.
23:51:13 :: Implementing the Raku® Programming Language v6.d.
23:51:13 :: Built on MoarVM version 2022.07.
23:51:39 :: v0.14.5
23:51:57 :: ===> Testing: Gray::Code::RBC:ver<0.0.4>:auth<zef:thundergnat>
23:51:59 :: [Gray::Code::RBC] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
23:51:59 :: [Gray::Code::RBC] t/01-basic.rakutest .. 
23:51:59 :: [Gray::Code::RBC] 1..112
23:51:59 :: [Gray::Code::RBC] ok 1 - 0 encode
23:51:59 :: [Gray::Code::RBC] ok 2 - 0 encode
23:51:59 :: [Gray::Code::RBC] ok 3 - 0 decode
23:51:59 :: [Gray::Code::RBC] ok 4 - 0 decode
23:51:59 :: [Gray::Code::RBC] ok 5 - 1 encode
23:52:00 :: [Gray::Code::RBC] ok 6 - 1 encode
23:52:00 :: [Gray::Code::RBC] ok 7 - 1 decode
23:52:00 :: [Gray::Code::RBC] ok 8 - 1 decode
23:52:00 :: [Gray::Code::RBC] ok 9 - 2 encode
23:52:00 :: [Gray::Code::RBC] ok 10 - 2 encode
23:52:00 :: [Gray::Code::RBC] ok 11 - 3 decode
23:52:00 :: [Gray::Code::RBC] ok 12 - 3 decode
23:52:00 :: [Gray::Code::RBC] ok 13 - 3 encode
23:52:00 :: [Gray::Code::RBC] ok 14 - 3 encode
23:52:00 :: [Gray::Code::RBC] ok 15 - 2 decode
23:52:00 :: [Gray::Code::RBC] ok 16 - 2 decode
23:52:00 :: [Gray::Code::RBC] ok 17 - 4 encode
23:52:00 :: [Gray::Code::RBC] ok 18 - 4 encode
23:52:00 :: [Gray::Code::RBC] ok 19 - 6 decode
23:52:00 :: [Gray::Code::RBC] ok 20 - 6 decode
23:52:00 :: [Gray::Code::RBC] ok 21 - 5 encode
23:52:00 :: [Gray::Code::RBC] ok 22 - 5 encode
23:52:00 :: [Gray::Code::RBC] ok 23 - 7 decode
23:52:00 :: [Gray::Code::RBC] ok 24 - 7 decode
23:52:00 :: [Gray::Code::RBC] ok 25 - 6 encode
23:52:00 :: [Gray::Code::RBC] ok 26 - 6 encode
23:52:00 :: [Gray::Code::RBC] ok 27 - 5 decode
23:52:00 :: [Gray::Code::RBC] ok 28 - 5 decode
23:52:00 :: [Gray::Code::RBC] ok 29 - 7 encode
23:52:00 :: [Gray::Code::RBC] ok 30 - 7 encode
23:52:00 :: [Gray::Code::RBC] ok 31 - 4 decode
23:52:00 :: [Gray::Code::RBC] ok 32 - 4 decode
23:52:00 :: [Gray::Code::RBC] ok 33 - 8 encode
23:52:00 :: [Gray::Code::RBC] ok 34 - 8 encode
23:52:00 :: [Gray::Code::RBC] ok 35 - 12 decode
23:52:00 :: [Gray::Code::RBC] ok 36 - 12 decode
23:52:00 :: [Gray::Code::RBC] ok 37 - 9 encode
23:52:00 :: [Gray::Code::RBC] ok 38 - 9 encode
23:52:00 :: [Gray::Code::RBC] ok 39 - 13 decode
23:52:00 :: [Gray::Code::RBC] ok 40 - 13 decode
23:52:00 :: [Gray::Code::RBC] ok 41 - 10 encode
23:52:00 :: [Gray::Code::RBC] ok 42 - 10 encode
23:52:00 :: [Gray::Code::RBC] ok 43 - 15 decode
23:52:00 :: [Gray::Code::RBC] ok 44 - 15 decode
23:52:00 :: [Gray::Code::RBC] ok 45 - 11 encode
23:52:00 :: [Gray::Code::RBC] ok 46 - 11 encode
23:52:00 :: [Gray::Code::RBC] ok 47 - 14 decode
23:52:00 :: [Gray::Code::RBC] ok 48 - 14 decode
23:52:00 :: [Gray::Code::RBC] ok 49 - 12 encode
23:52:00 :: [Gray::Code::RBC] ok 50 - 12 encode
23:52:00 :: [Gray::Code::RBC] ok 51 - 10 decode
23:52:00 :: [Gray::Code::RBC] ok 52 - 10 decode
23:52:00 :: [Gray::Code::RBC] ok 53 - 13 encode
23:52:00 :: [Gray::Code::RBC] ok 54 - 13 encode
23:52:00 :: [Gray::Code::RBC] ok 55 - 11 decode
23:52:00 :: [Gray::Code::RBC] ok 56 - 11 decode
23:52:00 :: [Gray::Code::RBC] ok 57 - 14 encode
23:52:00 :: [Gray::Code::RBC] ok 58 - 14 encode
23:52:00 :: [Gray::Code::RBC] ok 59 - 9 decode
23:52:00 :: [Gray::Code::RBC] ok 60 - 9 decode
23:52:00 :: [Gray::Code::RBC] ok 61 - 15 encode
23:52:00 :: [Gray::Code::RBC] ok 62 - 15 encode
23:52:00 :: [Gray::Code::RBC] ok 63 - 8 decode
23:52:00 :: [Gray::Code::RBC] ok 64 - 8 decode
23:52:00 :: [Gray::Code::RBC] ok 65 - 23 encode
23:52:00 :: [Gray::Code::RBC] ok 66 - 23 encode
23:52:00 :: [Gray::Code::RBC] ok 67 - 28 decode
23:52:00 :: [Gray::Code::RBC] ok 68 - 28 decode
23:52:00 :: [Gray::Code::RBC] ok 69 - 30 encode
23:52:00 :: [Gray::Code::RBC] ok 70 - 30 encode
23:52:00 :: [Gray::Code::RBC] ok 71 - 17 decode
23:52:00 :: [Gray::Code::RBC] ok 72 - 17 decode
23:52:00 :: [Gray::Code::RBC] ok 73 - 37 encode
23:52:00 :: [Gray::Code::RBC] ok 74 - 37 encode
23:52:00 :: [Gray::Code::RBC] ok 75 - 55 decode
23:52:00 :: [Gray::Code::RBC] ok 76 - 55 decode
23:52:00 :: [Gray::Code::RBC] ok 77 - 44 encode
23:52:00 :: [Gray::Code::RBC] ok 78 - 44 encode
23:52:00 :: [Gray::Code::RBC] ok 79 - 58 decode
23:52:00 :: [Gray::Code::RBC] ok 80 - 58 decode
23:52:00 :: [Gray::Code::RBC] ok 81 - 51 encode
23:52:00 :: [Gray::Code::RBC] ok 82 - 51 encode
23:52:00 :: [Gray::Code::RBC] ok 83 - 42 decode
23:52:00 :: [Gray::Code::RBC] ok 84 - 42 decode
23:52:00 :: [Gray::Code::RBC] ok 85 - 58 encode
23:52:00 :: [Gray::Code::RBC] ok 86 - 58 encode
23:52:00 :: [Gray::Code::RBC] ok 87 - 39 decode
23:52:00 :: [Gray::Code::RBC] ok 88 - 39 decode
23:52:00 :: [Gray::Code::RBC] ok 89 - 65 encode
23:52:00 :: [Gray::Code::RBC] ok 90 - 65 encode
23:52:00 :: [Gray::Code::RBC] ok 91 - 97 decode
23:52:00 :: [Gray::Code::RBC] ok 92 - 97 decode
23:52:00 :: [Gray::Code::RBC] ok 93 - 72 encode
23:52:00 :: [Gray::Code::RBC] ok 94 - 72 encode
23:52:00 :: [Gray::Code::RBC] ok 95 - 108 decode
23:52:00 :: [Gray::Code::RBC] ok 96 - 108 decode
23:52:00 :: [Gray::Code::RBC] ok 97 - 12345678987654321 encode
23:52:00 :: [Gray::Code::RBC] ok 98 - 12345678987654321 encode
23:52:00 :: [Gray::Code::RBC] ok 99 - 17506966710062825 decode
23:52:00 :: [Gray::Code::RBC] ok 100 - 17506966710062825 decode
23:52:00 :: [Gray::Code::RBC] ok 101 - ١٢٣ encode
23:52:00 :: [Gray::Code::RBC] ok 102 - ١٢٣ encode
23:52:00 :: [Gray::Code::RBC] ok 103 - 70 decode
23:52:00 :: [Gray::Code::RBC] ok 104 - 70 decode
23:52:00 :: [Gray::Code::RBC] ok 105 - Can't encode A
23:52:00 :: [Gray::Code::RBC] ok 106 - Can't decode A
23:52:00 :: [Gray::Code::RBC] ok 107 - Can't encode zero
23:52:00 :: [Gray::Code::RBC] ok 108 - Can't decode zero
23:52:00 :: [Gray::Code::RBC] ok 109 - Can't encode 13e
23:52:00 :: [Gray::Code::RBC] ok 110 - Can't decode 13e
23:52:00 :: [Gray::Code::RBC] ok 111 - Can't encode 0x
23:52:00 :: [Gray::Code::RBC] ok 112 - Can't decode 0x
23:52:00 :: [Gray::Code::RBC] ok
23:52:00 :: [Gray::Code::RBC] All tests successful.
23:52:00 :: [Gray::Code::RBC] Files=1, Tests=112,  2 wallclock secs ( 0.05 usr  0.00 sys +  2.69 cusr  0.23 csys =  2.97 CPU)
23:52:00 :: [Gray::Code::RBC] Result: PASS
23:52:00 :: ===> Testing [OK] for Gray::Code::RBC:ver<0.0.4>:auth<zef:thundergnat>
[task stderr]
23:52:00 :: All candidates are currently installed
[task run: task.bash - tasks/multi-versions]
[dump code: task.bash]
[1] set -e
[2] echo "Linux version: $os"
[3] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[4] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[5] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz          
[6] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[7] which raku
[8] which zef
[9] raku --version
[10] zef --version
[11] 
[12] cd source/
[13] zef install . --deps-only --test-depends --build-depends --/test -to=home         
[14] /usr/bin/time -f "%E real,%U user,%S sys | CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
[15] zef test --debug . && touch "${cache_root_dir}/${version}_ok"
[16] 
[task stdout]
23:52:00 :: Linux version: debian
23:52:01 ::                            Adding Rakudo to PATH
23:52:01 ::                           =======================
23:52:01 :: 
23:52:01 :: Paths successfully added.
23:52:01 :: 
23:52:01 :: ================================================================================
23:52:01 ::  =========                                                             __   __
23:52:01 ::   ||_|_||                =============================                (  \,/  )
23:52:01 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
23:52:01 ::   || # ||                =============================                 (_/ \_)
23:52:01 :: 
23:52:01 :: This console has all the tools available you need to get started using Raku.
23:52:01 :: 
23:52:01 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
23:52:01 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
23:52:01 :: Start it by typing:
23:52:01 :: 
23:52:01 ::     raku
23:52:01 :: 
23:52:01 :: If you already have a Raku program in a file, you can run it by typing:
23:52:01 :: 
23:52:01 ::     raku path/to/my/program.raku
23:52:01 :: 
23:52:01 :: To install additional modules you can use the Zef module manager:
23:52:01 :: 
23:52:01 ::     zef install Some::Module
23:52:01 :: 
23:52:01 :: https://rakudo.org/           - The home of this implementation of Raku.
23:52:01 :: https://raku.land/            - Go here to browse for Raku modules.
23:52:01 :: https://docs.raku.org/        - The Raku documentation.
23:52:01 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
23:52:01 :: 
23:52:01 ::                               Happy hacking!
23:52:01 :: 
23:52:01 :: ================================================================================
23:52:01 :: 
23:52:01 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.12-01-linux-x86_64-gcc/bin/raku
23:52:01 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.12-01-linux-x86_64-gcc/share/perl6/site/bin/zef
23:52:01 :: Welcome to Rakudo™ v2022.12.
23:52:01 :: Implementing the Raku® Programming Language v6.d.
23:52:01 :: Built on MoarVM version 2022.12.
23:52:03 :: v0.14.5
23:52:07 :: ===> Testing: Gray::Code::RBC:ver<0.0.4>:auth<zef:thundergnat>
23:52:09 :: [Gray::Code::RBC] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>}
23:52:09 :: [Gray::Code::RBC] t/01-basic.rakutest .. 
23:52:09 :: [Gray::Code::RBC] 1..112
23:52:09 :: [Gray::Code::RBC] ok 1 - 0 encode
23:52:09 :: [Gray::Code::RBC] ok 2 - 0 encode
23:52:09 :: [Gray::Code::RBC] ok 3 - 0 decode
23:52:09 :: [Gray::Code::RBC] ok 4 - 0 decode
23:52:09 :: [Gray::Code::RBC] ok 5 - 1 encode
23:52:09 :: [Gray::Code::RBC] ok 6 - 1 encode
23:52:09 :: [Gray::Code::RBC] ok 7 - 1 decode
23:52:09 :: [Gray::Code::RBC] ok 8 - 1 decode
23:52:09 :: [Gray::Code::RBC] ok 9 - 2 encode
23:52:09 :: [Gray::Code::RBC] ok 10 - 2 encode
23:52:09 :: [Gray::Code::RBC] ok 11 - 3 decode
23:52:09 :: [Gray::Code::RBC] ok 12 - 3 decode
23:52:09 :: [Gray::Code::RBC] ok 13 - 3 encode
23:52:09 :: [Gray::Code::RBC] ok 14 - 3 encode
23:52:09 :: [Gray::Code::RBC] ok 15 - 2 decode
23:52:09 :: [Gray::Code::RBC] ok 16 - 2 decode
23:52:09 :: [Gray::Code::RBC] ok 17 - 4 encode
23:52:09 :: [Gray::Code::RBC] ok 18 - 4 encode
23:52:09 :: [Gray::Code::RBC] ok 19 - 6 decode
23:52:09 :: [Gray::Code::RBC] ok 20 - 6 decode
23:52:09 :: [Gray::Code::RBC] ok 21 - 5 encode
23:52:09 :: [Gray::Code::RBC] ok 22 - 5 encode
23:52:09 :: [Gray::Code::RBC] ok 23 - 7 decode
23:52:09 :: [Gray::Code::RBC] ok 24 - 7 decode
23:52:09 :: [Gray::Code::RBC] ok 25 - 6 encode
23:52:09 :: [Gray::Code::RBC] ok 26 - 6 encode
23:52:09 :: [Gray::Code::RBC] ok 27 - 5 decode
23:52:09 :: [Gray::Code::RBC] ok 28 - 5 decode
23:52:09 :: [Gray::Code::RBC] ok 29 - 7 encode
23:52:09 :: [Gray::Code::RBC] ok 30 - 7 encode
23:52:09 :: [Gray::Code::RBC] ok 31 - 4 decode
23:52:09 :: [Gray::Code::RBC] ok 32 - 4 decode
23:52:09 :: [Gray::Code::RBC] ok 33 - 8 encode
23:52:09 :: [Gray::Code::RBC] ok 34 - 8 encode
23:52:09 :: [Gray::Code::RBC] ok 35 - 12 decode
23:52:09 :: [Gray::Code::RBC] ok 36 - 12 decode
23:52:09 :: [Gray::Code::RBC] ok 37 - 9 encode
23:52:09 :: [Gray::Code::RBC] ok 38 - 9 encode
23:52:09 :: [Gray::Code::RBC] ok 39 - 13 decode
23:52:09 :: [Gray::Code::RBC] ok 40 - 13 decode
23:52:09 :: [Gray::Code::RBC] ok 41 - 10 encode
23:52:09 :: [Gray::Code::RBC] ok 42 - 10 encode
23:52:09 :: [Gray::Code::RBC] ok 43 - 15 decode
23:52:09 :: [Gray::Code::RBC] ok 44 - 15 decode
23:52:09 :: [Gray::Code::RBC] ok 45 - 11 encode
23:52:09 :: [Gray::Code::RBC] ok 46 - 11 encode
23:52:09 :: [Gray::Code::RBC] ok 47 - 14 decode
23:52:09 :: [Gray::Code::RBC] ok 48 - 14 decode
23:52:09 :: [Gray::Code::RBC] ok 49 - 12 encode
23:52:09 :: [Gray::Code::RBC] ok 50 - 12 encode
23:52:09 :: [Gray::Code::RBC] ok 51 - 10 decode
23:52:09 :: [Gray::Code::RBC] ok 52 - 10 decode
23:52:09 :: [Gray::Code::RBC] ok 53 - 13 encode
23:52:09 :: [Gray::Code::RBC] ok 54 - 13 encode
23:52:09 :: [Gray::Code::RBC] ok 55 - 11 decode
23:52:09 :: [Gray::Code::RBC] ok 56 - 11 decode
23:52:09 :: [Gray::Code::RBC] ok 57 - 14 encode
23:52:09 :: [Gray::Code::RBC] ok 58 - 14 encode
23:52:09 :: [Gray::Code::RBC] ok 59 - 9 decode
23:52:09 :: [Gray::Code::RBC] ok 60 - 9 decode
23:52:09 :: [Gray::Code::RBC] ok 61 - 15 encode
23:52:09 :: [Gray::Code::RBC] ok 62 - 15 encode
23:52:09 :: [Gray::Code::RBC] ok 63 - 8 decode
23:52:09 :: [Gray::Code::RBC] ok 64 - 8 decode
23:52:09 :: [Gray::Code::RBC] ok 65 - 23 encode
23:52:09 :: [Gray::Code::RBC] ok 66 - 23 encode
23:52:09 :: [Gray::Code::RBC] ok 67 - 28 decode
23:52:09 :: [Gray::Code::RBC] ok 68 - 28 decode
23:52:09 :: [Gray::Code::RBC] ok 69 - 30 encode
23:52:09 :: [Gray::Code::RBC] ok 70 - 30 encode
23:52:09 :: [Gray::Code::RBC] ok 71 - 17 decode
23:52:09 :: [Gray::Code::RBC] ok 72 - 17 decode
23:52:09 :: [Gray::Code::RBC] ok 73 - 37 encode
23:52:09 :: [Gray::Code::RBC] ok 74 - 37 encode
23:52:09 :: [Gray::Code::RBC] ok 75 - 55 decode
23:52:09 :: [Gray::Code::RBC] ok 76 - 55 decode
23:52:09 :: [Gray::Code::RBC] ok 77 - 44 encode
23:52:09 :: [Gray::Code::RBC] ok 78 - 44 encode
23:52:09 :: [Gray::Code::RBC] ok 79 - 58 decode
23:52:09 :: [Gray::Code::RBC] ok 80 - 58 decode
23:52:09 :: [Gray::Code::RBC] ok 81 - 51 encode
23:52:09 :: [Gray::Code::RBC] ok 82 - 51 encode
23:52:09 :: [Gray::Code::RBC] ok 83 - 42 decode
23:52:09 :: [Gray::Code::RBC] ok 84 - 42 decode
23:52:09 :: [Gray::Code::RBC] ok 85 - 58 encode
23:52:09 :: [Gray::Code::RBC] ok 86 - 58 encode
23:52:09 :: [Gray::Code::RBC] ok 87 - 39 decode
23:52:09 :: [Gray::Code::RBC] ok 88 - 39 decode
23:52:09 :: [Gray::Code::RBC] ok 89 - 65 encode
23:52:09 :: [Gray::Code::RBC] ok 90 - 65 encode
23:52:09 :: [Gray::Code::RBC] ok 91 - 97 decode
23:52:09 :: [Gray::Code::RBC] ok 92 - 97 decode
23:52:09 :: [Gray::Code::RBC] ok 93 - 72 encode
23:52:09 :: [Gray::Code::RBC] ok 94 - 72 encode
23:52:09 :: [Gray::Code::RBC] ok 95 - 108 decode
23:52:09 :: [Gray::Code::RBC] ok 96 - 108 decode
23:52:09 :: [Gray::Code::RBC] ok 97 - 12345678987654321 encode
23:52:09 :: [Gray::Code::RBC] ok 98 - 12345678987654321 encode
23:52:09 :: [Gray::Code::RBC] ok 99 - 17506966710062825 decode
23:52:09 :: [Gray::Code::RBC] ok 100 - 17506966710062825 decode
23:52:09 :: [Gray::Code::RBC] ok 101 - ١٢٣ encode
23:52:09 :: [Gray::Code::RBC] ok 102 - ١٢٣ encode
23:52:09 :: [Gray::Code::RBC] ok 103 - 70 decode
23:52:09 :: [Gray::Code::RBC] ok 104 - 70 decode
23:52:09 :: [Gray::Code::RBC] ok 105 - Can't encode A
23:52:09 :: [Gray::Code::RBC] ok 106 - Can't decode A
23:52:09 :: [Gray::Code::RBC] ok 107 - Can't encode zero
23:52:09 :: [Gray::Code::RBC] ok 108 - Can't decode zero
23:52:09 :: [Gray::Code::RBC] ok 109 - Can't encode 13e
23:52:09 :: [Gray::Code::RBC] ok 110 - Can't decode 13e
23:52:09 :: [Gray::Code::RBC] ok 111 - Can't encode 0x
23:52:09 :: [Gray::Code::RBC] ok 112 - Can't decode 0x
23:52:09 :: [Gray::Code::RBC] ok
23:52:09 :: [Gray::Code::RBC] All tests successful.
23:52:09 :: [Gray::Code::RBC] Files=1, Tests=112,  2 wallclock secs ( 0.02 usr  0.01 sys +  2.25 cusr  0.21 csys =  2.49 CPU)
23:52:09 :: [Gray::Code::RBC] Result: PASS
23:52:09 :: ===> Testing [OK] for Gray::Code::RBC:ver<0.0.4>:auth<zef:thundergnat>
[task stderr]
23:52:09 :: All candidates are currently installed
[task run: task.raku - tasks/multi-versions]
[dump code: task.raku]
[1] my @state;
[2] for config()<list><> -> $v {
[3]   my $s = %( version => $v );
[4]   if "{cache_root_dir()}/{$v}_ok".IO ~~ :e {
[5]     $s<status> = "OK";
[6]   } else {
[7]     $s<status> = "FAIL";
[8]   }
[9]   if "{cache_root_dir()}/{$v}_time".IO ~~ :e {
[10]     $s<time> = "{cache_root_dir()}/{$v}_time".IO.slurp();
[11]   } else {
[12]     $s<time> = "NA";
[13]   }
[14]   @state.push: $s;
[15] }
[16] update_state %( list => @state );
[17] 
[task stdout]
23:50:48 :: [repository] - index updated from https://sparrowhub.io/repo/api/v1/index
run stage: run
[task run: task.bash - tasks/install-deps]
[dump code: task.bash]
[1] sudo apt-get install -y time 
[2] zef install --/test Text::Table::Simple
[3] 
[task stdout]
23:50:52 :: Reading package lists...
23:50:52 :: Building dependency tree...
23:50:52 :: Reading state information...
23:50:53 :: The following NEW packages will be installed:
23:50:53 ::   time
23:50:53 :: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
23:50:53 :: Need to get 50.8 kB of archives.
23:50:53 :: After this operation, 132 kB of additional disk space will be used.
23:50:53 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
23:50:53 :: Fetched 50.8 kB in 0s (2383 kB/s)
23:50:53 :: Selecting previously unselected package time.
23:50:53 :: (Reading database ... 
23:50:53 :: (Reading database ... 5%
23:50:53 :: (Reading database ... 10%
23:50:53 :: (Reading database ... 15%
23:50:53 :: (Reading database ... 20%
23:50:53 :: (Reading database ... 25%
23:50:53 :: (Reading database ... 30%
23:50:53 :: (Reading database ... 35%
23:50:53 :: (Reading database ... 40%
23:50:53 :: (Reading database ... 45%
23:50:53 :: (Reading database ... 50%
23:50:53 :: (Reading database ... 55%
23:50:53 :: (Reading database ... 60%
23:50:53 :: (Reading database ... 65%
23:50:53 :: (Reading database ... 70%
23:50:53 :: (Reading database ... 75%
23:50:53 :: (Reading database ... 80%
23:50:53 :: (Reading database ... 85%
23:50:53 :: (Reading database ... 90%
23:50:53 :: (Reading database ... 95%
23:50:53 :: (Reading database ... 100%
23:50:53 :: (Reading database ... 19016 files and directories currently installed.)
23:50:53 :: Preparing to unpack .../time_1.9-0.1_amd64.deb ...
23:50:53 :: Unpacking time (1.9-0.1) ...
23:50:53 :: Setting up time (1.9-0.1) ...
23:50:55 :: ===> Searching for: Text::Table::Simple
23:51:07 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
23:51:07 :: debconf: delaying package configuration, since apt-utils is not installed
23:51:07 :: ===> Updating fez mirror: https://360.zef.pm/
23:51:07 :: ===> Updated fez mirror: https://360.zef.pm/
23:51:07 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
23:51:07 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json