BuildID: 2582
Status: FAIL
Image: melezhik/sparrow:alpine
Worker status: OK
---
Date: 12.01.2023 @ 22:23
Time elapsed: 66 sec
---
SCM:
https://github.com/melezhik/kris.git
Git sha: cba69ce
Git comment: MessagE
tasks:
-
name: main
language: Raku
default: true
code: |
say "Hello Kris! You say [{config()<message>]";
update_state %( MessagE => "///{config()<message>}///" );
generator:
language: Raku
code: |
update_state %(
list => [
%(
config => { message => "How" },
),
%(
config => { message => "are you?" },
),
]
);
followup:
-
name: dump
-
name: dump
language: Raku
config:
foo: bar
code: |
say config()<foo>;
say config()<tasks>.perl;
say config()<parent>.perl;
[35m22:23:11[0m :: [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
[35m22:23:14[0m :: [repository] - installing pack-unpack, version 0.000001
[1;36m[task run: task.bash - unpack source archive][0m
[1;36m[dump code: task.bash][0m
[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]
[1;36m[task stdout][0m
[35m22:23:16[0m :: tar -xzf source.tar.gz
[1;36m[task run: task.raku - tasks/main][0m
[1;36m[dump code: task.raku][0m
[1] say "Hello Kris! You say [{config()<message>]";
[2] update_state %( MessagE => "///{config()<message>}///" );
[3]
[1;36m[task stdout][0m
[1;36m[task stderr][0m
[35m22:23:18[0m :: [31m===[0mSORRY![31m===[0m Error while compiling /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku
[35m22:23:18[0m :: Missing block
[35m22:23:18[0m :: at /var/.sparrowdo/env/main/.sparrowdo/tasks/main/task.raku:1
[35m22:23:18[0m :: ------> [32m"Hello Kris! You say [{config()<message>[33m⏏[31m]";[0m
[35m22:23:18[0m :: expecting any of:
[35m22:23:18[0m :: statement end
[35m22:23:18[0m :: statement modifier
[35m22:23:18[0m :: statement modifier loop
[35m22:23:18[0m :: task exit status: 1
[35m22:23:18[0m :: task tasks/main FAILED
The spawned command 'docker exec -i sparrow-worker sh -l /var/.sparrowdo/env/main/.sparrowdo/sparrowrun.sh' exited unsuccessfully (exit code: 1, signal: 0)
in block <unit> at /home/sph/.raku/resources/57C38AFDF922EB0C43584FF5F701A03850B5346F line 13
in sub MAIN at /home/sph/.raku/bin/sparrowdo line 3
in block <unit> at /home/sph/.raku/bin/sparrowdo line 1