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

SparrowCI Report - gh-dwarring-FontConfig-raku | [image: melezhik/sparrow:debian]

  • Summary
  • Pipeline YAML
  • Report
BuildID: 3485
Status: OK
Image: melezhik/sparrow:debian
Worker status: OK
---
Date: 19.07.2023 @ 01:07
Time elapsed: 235 sec
---
SCM: https://github.com/pdf-raku/FontConfig-raku.git
Git sha: bab863b
Git comment: rename FontConfig::Match::List -> FontConfig::Match::Series
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
  -
    name: multi-versions
    language: Raku
    config:
      list:
        # - 2022.04
        - 2022.07
        - 2022.06
    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
          zef build . 
          /usr/bin/time -f "%E real,%U user,%S sys / CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
          zef test . && touch "${cache_root_dir}/${version}_ok"
          
    depends:
      -
        name: install-deps
  -
    name: install-deps
    language: Bash
    code: |
      set -e
      sudo apt-get update -y
      sudo apt-get install -y time libfontconfig1-dev
      zef install --/test Text::Table::Simple
 
01:05:26 :: [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] set -e
[2] sudo apt-get update -y
[3] sudo apt-get install -y time libfontconfig1-dev
[4] zef install --/test Text::Table::Simple
[5] 
[task stdout]
01:05:28 :: Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
01:05:28 :: Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
01:05:28 :: Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
01:05:28 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
01:05:28 :: Get:5 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye InRelease [5264 B]
01:05:28 :: Get:6 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [252 kB]
01:05:28 :: Get:7 http://deb.debian.org/debian bullseye-updates/main amd64 Packages.diff/Index [18.5 kB]
01:05:28 :: Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-05-24-2006.01-F-2023-02-20-2009.57.pdiff [1516 B]
01:05:28 :: Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages T-2023-05-24-2006.01-F-2023-02-20-2009.57.pdiff [1516 B]
01:05:28 :: Get:9 https://dl.cloudsmith.io/public/nxadm-pkgs/rakudo-pkg/deb/debian bullseye/main amd64 Packages [3969 B]
01:05:29 :: Fetched 8673 kB in 1s (6337 kB/s)
01:05:30 :: Reading package lists...
01:05:30 :: Reading package lists...
01:05:30 :: Building dependency tree...
01:05:30 :: Reading state information...
01:05:30 :: The following additional packages will be installed:
01:05:30 ::   libbrotli-dev libexpat1-dev libfontconfig-dev libfreetype-dev
01:05:30 ::   libfreetype6-dev libglib2.0-0 libglib2.0-data libicu67 libpng-dev
01:05:30 ::   libpng-tools libxml2 pkg-config shared-mime-info uuid-dev xdg-user-dirs
01:05:30 ::   zlib1g-dev
01:05:30 :: Suggested packages:
01:05:30 ::   freetype2-doc
01:05:30 :: The following NEW packages will be installed:
01:05:30 ::   libbrotli-dev libexpat1-dev libfontconfig-dev libfontconfig1-dev
01:05:30 ::   libfreetype-dev libfreetype6-dev libglib2.0-0 libglib2.0-data libicu67
01:05:30 ::   libpng-dev libpng-tools libxml2 pkg-config shared-mime-info time uuid-dev
01:05:30 ::   xdg-user-dirs zlib1g-dev
01:05:31 :: 0 upgraded, 18 newly installed, 0 to remove and 35 not upgraded.
01:05:31 :: Need to get 15.1 MB of archives.
01:05:31 :: After this operation, 61.7 MB of additional disk space will be used.
01:05:31 :: Get:1 http://deb.debian.org/debian bullseye/main amd64 libbrotli-dev amd64 1.0.9-2+b2 [288 kB]
01:05:31 :: Get:2 http://deb.debian.org/debian bullseye/main amd64 libexpat1-dev amd64 2.2.10-2+deb11u5 [141 kB]
01:05:31 :: Get:3 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB]
01:05:31 :: Get:4 http://deb.debian.org/debian bullseye/main amd64 libpng-dev amd64 1.6.37-3 [298 kB]
01:05:31 :: Get:5 http://deb.debian.org/debian bullseye/main amd64 libfreetype-dev amd64 2.10.4+dfsg-1+deb11u1 [571 kB]
01:05:31 :: Get:6 http://deb.debian.org/debian bullseye/main amd64 libfreetype6-dev amd64 2.10.4+dfsg-1+deb11u1 [82.6 kB]
01:05:31 :: Get:7 http://deb.debian.org/debian bullseye/main amd64 uuid-dev amd64 2.36.1-8+deb11u1 [99.4 kB]
01:05:31 :: Get:8 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-0 amd64 2.66.8-1 [1370 kB]
01:05:31 :: Get:9 http://deb.debian.org/debian bullseye/main amd64 pkg-config amd64 0.29.2-1 [65.1 kB]
01:05:31 :: Get:10 http://deb.debian.org/debian bullseye/main amd64 libfontconfig-dev amd64 2.13.1-4.2 [368 kB]
01:05:31 :: Get:11 http://deb.debian.org/debian bullseye/main amd64 libfontconfig1-dev amd64 2.13.1-4.2 [238 kB]
01:05:31 :: Get:12 http://deb.debian.org/debian bullseye/main amd64 libglib2.0-data all 2.66.8-1 [1164 kB]
01:05:31 :: Get:13 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB]
01:05:31 :: Get:14 http://deb.debian.org/debian bullseye/main amd64 libpng-tools amd64 1.6.37-3 [141 kB]
01:05:31 :: Get:15 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7+deb11u4 [693 kB]
01:05:31 :: Get:16 http://deb.debian.org/debian bullseye/main amd64 shared-mime-info amd64 2.0-1 [701 kB]
01:05:31 :: Get:17 http://deb.debian.org/debian bullseye/main amd64 time amd64 1.9-0.1 [50.8 kB]
01:05:31 :: Get:18 http://deb.debian.org/debian bullseye/main amd64 xdg-user-dirs amd64 0.17-2 [53.8 kB]
01:05:31 :: Fetched 15.1 MB in 0s (77.0 MB/s)
01:05:31 :: Selecting previously unselected package libbrotli-dev:amd64.
01:05:31 :: (Reading database ... 
01:05:31 :: (Reading database ... 5%
01:05:31 :: (Reading database ... 10%
01:05:31 :: (Reading database ... 15%
01:05:31 :: (Reading database ... 20%
01:05:31 :: (Reading database ... 25%
01:05:31 :: (Reading database ... 30%
01:05:31 :: (Reading database ... 35%
01:05:31 :: (Reading database ... 40%
01:05:31 :: (Reading database ... 45%
01:05:31 :: (Reading database ... 50%
01:05:31 :: (Reading database ... 55%
01:05:31 :: (Reading database ... 60%
01:05:31 :: (Reading database ... 65%
01:05:31 :: (Reading database ... 70%
01:05:31 :: (Reading database ... 75%
01:05:31 :: (Reading database ... 80%
01:05:31 :: (Reading database ... 85%
01:05:31 :: (Reading database ... 90%
01:05:31 :: (Reading database ... 95%
01:05:31 :: (Reading database ... 100%
01:05:31 :: (Reading database ... 19016 files and directories currently installed.)
01:05:31 :: Preparing to unpack .../00-libbrotli-dev_1.0.9-2+b2_amd64.deb ...
01:05:31 :: Unpacking libbrotli-dev:amd64 (1.0.9-2+b2) ...
01:05:31 :: Selecting previously unselected package libexpat1-dev:amd64.
01:05:31 :: Preparing to unpack .../01-libexpat1-dev_2.2.10-2+deb11u5_amd64.deb ...
01:05:31 :: Unpacking libexpat1-dev:amd64 (2.2.10-2+deb11u5) ...
01:05:31 :: Selecting previously unselected package zlib1g-dev:amd64.
01:05:31 :: Preparing to unpack .../02-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_amd64.deb ...
01:05:31 :: Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
01:05:31 :: Selecting previously unselected package libpng-dev:amd64.
01:05:31 :: Preparing to unpack .../03-libpng-dev_1.6.37-3_amd64.deb ...
01:05:31 :: Unpacking libpng-dev:amd64 (1.6.37-3) ...
01:05:31 :: Selecting previously unselected package libfreetype-dev:amd64.
01:05:31 :: Preparing to unpack .../04-libfreetype-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ...
01:05:31 :: Unpacking libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
01:05:31 :: Selecting previously unselected package libfreetype6-dev:amd64.
01:05:31 :: Preparing to unpack .../05-libfreetype6-dev_2.10.4+dfsg-1+deb11u1_amd64.deb ...
01:05:31 :: Unpacking libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
01:05:31 :: Selecting previously unselected package uuid-dev:amd64.
01:05:31 :: Preparing to unpack .../06-uuid-dev_2.36.1-8+deb11u1_amd64.deb ...
01:05:31 :: Unpacking uuid-dev:amd64 (2.36.1-8+deb11u1) ...
01:05:31 :: Selecting previously unselected package libglib2.0-0:amd64.
01:05:31 :: Preparing to unpack .../07-libglib2.0-0_2.66.8-1_amd64.deb ...
01:05:31 :: Unpacking libglib2.0-0:amd64 (2.66.8-1) ...
01:05:31 :: Selecting previously unselected package pkg-config.
01:05:31 :: Preparing to unpack .../08-pkg-config_0.29.2-1_amd64.deb ...
01:05:31 :: Unpacking pkg-config (0.29.2-1) ...
01:05:31 :: Selecting previously unselected package libfontconfig-dev:amd64.
01:05:31 :: Preparing to unpack .../09-libfontconfig-dev_2.13.1-4.2_amd64.deb ...
01:05:31 :: Unpacking libfontconfig-dev:amd64 (2.13.1-4.2) ...
01:05:31 :: Selecting previously unselected package libfontconfig1-dev:amd64.
01:05:31 :: Preparing to unpack .../10-libfontconfig1-dev_2.13.1-4.2_amd64.deb ...
01:05:31 :: Unpacking libfontconfig1-dev:amd64 (2.13.1-4.2) ...
01:05:31 :: Selecting previously unselected package libglib2.0-data.
01:05:31 :: Preparing to unpack .../11-libglib2.0-data_2.66.8-1_all.deb ...
01:05:31 :: Unpacking libglib2.0-data (2.66.8-1) ...
01:05:31 :: Selecting previously unselected package libicu67:amd64.
01:05:31 :: Preparing to unpack .../12-libicu67_67.1-7_amd64.deb ...
01:05:31 :: Unpacking libicu67:amd64 (67.1-7) ...
01:05:32 :: Selecting previously unselected package libpng-tools.
01:05:32 :: Preparing to unpack .../13-libpng-tools_1.6.37-3_amd64.deb ...
01:05:32 :: Unpacking libpng-tools (1.6.37-3) ...
01:05:32 :: Selecting previously unselected package libxml2:amd64.
01:05:32 :: Preparing to unpack .../14-libxml2_2.9.10+dfsg-6.7+deb11u4_amd64.deb ...
01:05:32 :: Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ...
01:05:32 :: Selecting previously unselected package shared-mime-info.
01:05:32 :: Preparing to unpack .../15-shared-mime-info_2.0-1_amd64.deb ...
01:05:32 :: Unpacking shared-mime-info (2.0-1) ...
01:05:32 :: Selecting previously unselected package time.
01:05:32 :: Preparing to unpack .../16-time_1.9-0.1_amd64.deb ...
01:05:32 :: Unpacking time (1.9-0.1) ...
01:05:32 :: Selecting previously unselected package xdg-user-dirs.
01:05:32 :: Preparing to unpack .../17-xdg-user-dirs_0.17-2_amd64.deb ...
01:05:32 :: Unpacking xdg-user-dirs (0.17-2) ...
01:05:32 :: Setting up time (1.9-0.1) ...
01:05:32 :: Setting up libicu67:amd64 (67.1-7) ...
01:05:32 :: Setting up xdg-user-dirs (0.17-2) ...
01:05:32 :: Setting up libpng-tools (1.6.37-3) ...
01:05:32 :: Setting up libglib2.0-0:amd64 (2.66.8-1) ...
01:05:32 :: No schema files found: doing nothing.
01:05:32 :: Setting up libglib2.0-data (2.66.8-1) ...
01:05:32 :: Setting up libexpat1-dev:amd64 (2.2.10-2+deb11u5) ...
01:05:32 :: Setting up uuid-dev:amd64 (2.36.1-8+deb11u1) ...
01:05:32 :: Setting up pkg-config (0.29.2-1) ...
01:05:33 :: Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2+deb11u2) ...
01:05:33 :: Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u4) ...
01:05:33 :: Setting up libbrotli-dev:amd64 (1.0.9-2+b2) ...
01:05:33 :: Setting up libpng-dev:amd64 (1.6.37-3) ...
01:05:33 :: Setting up libfreetype-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
01:05:33 :: Setting up shared-mime-info (2.0-1) ...
01:05:33 :: Setting up libfreetype6-dev:amd64 (2.10.4+dfsg-1+deb11u1) ...
01:05:33 :: Setting up libfontconfig-dev:amd64 (2.13.1-4.2) ...
01:05:33 :: Setting up libfontconfig1-dev:amd64 (2.13.1-4.2) ...
01:05:33 :: Processing triggers for libc-bin (2.31-13+deb11u5) ...
01:05:35 :: ===> Searching for: Text::Table::Simple
01:05:44 :: ===> Installing: Text::Table::Simple:ver<0.1.0>:auth<github:ugexe>
[task stderr]
01:05:44 :: debconf: delaying package configuration, since apt-utils is not installed
01:05:44 :: ===> Updating fez mirror: https://360.zef.pm/
01:05:44 :: ===> Updated fez mirror: https://360.zef.pm/
01:05:44 :: ===> Updating rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:05:44 :: ===> Updated rea mirror: https://raw.githubusercontent.com/Raku/REA/main/META.json
01:05:09 :: [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] 
[3] echo "Linux version: $os"
[4] 
[5] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[6] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[7] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz          
[8] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[9] 
[10] which raku
[11] which zef
[12] 
[13] raku --version
[14] zef --version
[15] 
[16] cd source/
[17] zef install . --deps-only --test-depends --build-depends --/test -to=home
[18] zef build . 
[19] /usr/bin/time -f "%E real,%U user,%S sys / CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
[20] zef test . && touch "${cache_root_dir}/${version}_ok"
[21] 
[task stdout]
01:05:50 :: Linux version: debian
01:05:51 ::                            Adding Rakudo to PATH
01:05:51 ::                           =======================
01:05:51 :: 
01:05:51 :: Paths successfully added.
01:05:51 :: 
01:05:51 :: ================================================================================
01:05:51 ::  =========                                                             __   __
01:05:51 ::   ||_|_||                =============================                (  \,/  )
01:05:51 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
01:05:51 ::   || # ||                =============================                 (_/ \_)
01:05:51 :: 
01:05:51 :: This console has all the tools available you need to get started using Raku.
01:05:51 :: 
01:05:51 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
01:05:51 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
01:05:51 :: Start it by typing:
01:05:51 :: 
01:05:51 ::     raku
01:05:51 :: 
01:05:51 :: If you already have a Raku program in a file, you can run it by typing:
01:05:51 :: 
01:05:51 ::     raku path/to/my/program.raku
01:05:51 :: 
01:05:51 :: To install additional modules you can use the Zef module manager:
01:05:51 :: 
01:05:51 ::     zef install Some::Module
01:05:51 :: 
01:05:51 :: https://rakudo.org/           - The home of this implementation of Raku.
01:05:51 :: https://raku.land/            - Go here to browse for Raku modules.
01:05:51 :: https://docs.raku.org/        - The Raku documentation.
01:05:51 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
01:05:51 :: 
01:05:51 ::                               Happy hacking!
01:05:51 :: 
01:05:51 :: ================================================================================
01:05:51 :: 
01:05:51 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/bin/raku
01:05:51 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.07-01-linux-x86_64-gcc/share/perl6/site/bin/zef
01:05:51 :: Welcome to Rakudo™ v2022.07.
01:05:51 :: Implementing the Raku® Programming Language v6.d.
01:05:51 :: Built on MoarVM version 2022.07.
01:06:08 :: v0.14.5
01:06:20 :: ===> Searching for missing dependencies: LibraryMake
01:06:38 :: ===> Searching for missing dependencies: Shell::Command
01:06:38 :: ===> Searching for missing dependencies: File::Which, File::Find
01:06:38 :: ===> Installing: File::Which:ver<1.0.4>
01:06:38 :: ===> Installing: File::Find:ver<0.1.1>
01:06:38 :: ===> Installing: Shell::Command
01:06:38 :: ===> Installing: LibraryMake:ver<1.0.0>
01:06:39 :: ===> Building: FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:06:40 :: ===> Building [OK] for FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:06:41 :: ===> Testing: FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:06:50 :: [FontConfig] fontconfig library version: 2.13.01
01:06:50 :: ===> Testing [OK] for FontConfig:ver<0.0.4>:auth<zef:dwarring>
[task run: task.bash - tasks/multi-versions]
[dump code: task.bash]
[1] set -e
[2] 
[3] echo "Linux version: $os"
[4] 
[5] curl -sL https://rakudo.org/dl/rakudo/rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz \
[6] -o rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz
[7] tar -xzf rakudo-moar-$version-01-linux-x86_64-gcc.tar.gz          
[8] eval "$(rakudo-moar-$version-01-linux-x86_64-gcc/scripts/set-env.sh)"
[9] 
[10] which raku
[11] which zef
[12] 
[13] raku --version
[14] zef --version
[15] 
[16] cd source/
[17] zef install . --deps-only --test-depends --build-depends --/test -to=home
[18] zef build . 
[19] /usr/bin/time -f "%E real,%U user,%S sys / CPU Percentage: %P" -o "${cache_root_dir}/${version}_time" \
[20] zef test . && touch "${cache_root_dir}/${version}_ok"
[21] 
[task stdout]
01:06:50 :: Linux version: debian
01:06:52 ::                            Adding Rakudo to PATH
01:06:52 ::                           =======================
01:06:52 :: 
01:06:52 :: Paths successfully added.
01:06:52 :: 
01:06:52 :: ================================================================================
01:06:52 ::  =========                                                             __   __
01:06:52 ::   ||_|_||                =============================                (  \,/  )
01:06:52 ::   || # ||                 Welcome to the Raku Console                  \_ O _/
01:06:52 ::   || # ||                =============================                 (_/ \_)
01:06:52 :: 
01:06:52 :: This console has all the tools available you need to get started using Raku.
01:06:52 :: 
01:06:52 :: Rakudo provides an interactive command line interpreter (a so called Read Eval
01:06:52 :: Print Loop, REPL for short) you can use to quickly try out pieces of Raku code.
01:06:52 :: Start it by typing:
01:06:52 :: 
01:06:52 ::     raku
01:06:52 :: 
01:06:52 :: If you already have a Raku program in a file, you can run it by typing:
01:06:52 :: 
01:06:52 ::     raku path/to/my/program.raku
01:06:52 :: 
01:06:52 :: To install additional modules you can use the Zef module manager:
01:06:52 :: 
01:06:52 ::     zef install Some::Module
01:06:52 :: 
01:06:52 :: https://rakudo.org/           - The home of this implementation of Raku.
01:06:52 :: https://raku.land/            - Go here to browse for Raku modules.
01:06:52 :: https://docs.raku.org/        - The Raku documentation.
01:06:52 :: https://web.libera.chat/#raku - The Raku user chat. Talk to us!
01:06:52 :: 
01:06:52 ::                               Happy hacking!
01:06:52 :: 
01:06:52 :: ================================================================================
01:06:52 :: 
01:06:52 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.06-01-linux-x86_64-gcc/bin/raku
01:06:52 :: /var/.sparrowdo/env/main/.sparrowdo/rakudo-moar-2022.06-01-linux-x86_64-gcc/share/perl6/site/bin/zef
01:06:52 :: Welcome to Rakudo™ v2022.06.
01:06:52 :: Implementing the Raku® Programming Language v6.d.
01:06:52 :: Built on MoarVM version 2022.06.
01:07:10 :: v0.14.5
01:07:23 :: ===> Building: FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:07:24 :: ===> Building [OK] for FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:07:25 :: ===> Testing: FontConfig:ver<0.0.4>:auth<zef:dwarring>
01:07:37 :: [FontConfig] fontconfig library version: 2.13.01
01:07:37 :: ===> Testing [OK] for FontConfig:ver<0.0.4>:auth<zef:dwarring>
[task stderr]
01:07:37 :: 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]
01:04:37 :: [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
01:04:39 :: [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]
01:04:41 :: 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]
01:07:42 :: O----------------O--------O---------------------------------------------------------O------------O
01:07:42 :: | Rakudo Version | Status | Time                                                    | Linux Dist |
01:07:42 :: O================O========O=========================================================O============O
01:07:42 :: | 2022.07        | OK     | 0:10.28 real,15.13 user,1.17 sys / CPU Percentage: 158% | debian     |
01:07:42 :: | 2022.06        | OK     | 0:12.74 real,18.64 user,1.35 sys / CPU Percentage: 156% | debian     |
01:07:42 :: --------------------------------------------------------------------------------------------------