by@kuromunori
ERROR
6516ms
import ballerina/http;
service hello on new http:Listener(9090) {
resource function sayHello(http:Caller caller, http:Request request) {
http:Response response = new;
response.setTextPayload("Hello Ballerina!");
_ = caller -> respond(response);
}
} T
K
error: .::code.bal:7:13: incompatible types: expected 'any', found 'error?'
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd4c5e15d0 /* 8 vars */) = 0
11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x5650674a4d18 /* 8 vars */) = 0
11 +++ exited with 0 +++
10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12 execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.bal"], 0x5650674a4d38 /* 8 vars */) = 0
12 +++ exited with 0 +++
10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13 execve("/bin/cat", ["cat", "-"], 0x5650674a4d70 /* 8 vars */) = 0
14 execve("/root/ballerina/bin/ballerina", ["/root/ballerina/bin/ballerina", "run", "/tmp/code.bal"], 0x565069345068 /* 8 vars */ <unfinished ...>
13 +++ exited with 0 +++
10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14 <... execve resumed> ) = 0
15 execve("/bin/uname", ["uname"], 0x557eef326d40 /* 9 vars */) = 0
15 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16 execve("/usr/bin/dirname", ["dirname", "/root/ballerina/bin/ballerina"], 0x557eef32ac40 /* 9 vars */) = 0
16 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19 execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-version"], 0x557eef32b0e0 /* 10 vars */ <unfinished ...>
20 execve("/bin/grep", ["grep", "-e", "1.8."], 0x557eef32b0e0 /* 10 vars */ <unfinished ...>
19 <... execve resumed> ) = 0
20 <... execve resumed> ) = 0
19 execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-version"], 0x7f6917853aa0 /* 11 vars */) = 0
19 --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=19, si_uid=0} ---
21 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
22 +++ exited with 0 +++
21 +++ exited with 0 +++
26 +++ exited with 0 +++
24 +++ exited with 0 +++
23 +++ exited with 0 +++
28 +++ exited with 0 +++
27 +++ exited with 0 +++
25 +++ exited with 0 +++
20 +++ exited with 0 +++
29 +++ exited with 0 +++
19 +++ exited with 0 +++
18 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
30 execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-Xbootclasspath/a:", "-Xms256m", "-Xmx1024m", "-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/root/ballerina"..., "-classpath", ":/root/ballerina/bre/lib/HdrHist"..., "-Dballerina.home=/root/ballerina", "-Dballerina.version=0.991.0", "-Djava.util.logging.config.class"..., "-Djava.util.logging.manager=org."..., "-Denable.nonblocking=false", "-Djava.security.egd=file:/dev/./"..., "-Dfile.encoding=UTF8", "org.ballerinalang.launcher.Main", "run", "/tmp/code.bal"], 0x557eef32b0e0 /* 10 vars */) = 0
30 execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-Xbootclasspath/a:", "-Xms256m", "-Xmx1024m", "-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/root/ballerina"..., "-classpath", ":/root/ballerina/bre/lib/HdrHist"..., "-Dballerina.home=/root/ballerina", "-Dballerina.version=0.991.0", "-Djava.util.logging.config.class"..., "-Djava.util.logging.manager=org."..., "-Denable.nonblocking=false", "-Djava.security.egd=file:/dev/./"..., "-Dfile.encoding=UTF8", "org.ballerinalang.launcher.Main", "run", "/tmp/code.bal"], 0x7fdb5ed27ba0 /* 11 vars */) = 0
30 --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=30, si_uid=0} ---
31 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
31 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fc0208acb80} ---
37 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fc0208ac880} ---
31 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7fc0208acb80} ---
39 +++ exited with 0 +++
35 +++ exited with 0 +++
38 +++ exited with 1 +++
40 +++ exited with 1 +++
37 +++ exited with 1 +++
34 +++ exited with 1 +++
36 +++ exited with 1 +++
32 +++ exited with 1 +++
31 +++ exited with 1 +++
33 +++ exited with 1 +++
30 +++ exited with 1 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=1, si_utime=308, si_stime=42} ---
14 +++ exited with 1 +++
10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=3, si_stime=2} ---
41 execve("/bin/rm", ["rm", "/tmp/code.bal"], 0x5650674a4c98 /* 8 vars */) = 0
41 +++ exited with 0 +++
10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10 +++ exited with 0 +++