>>> translate-shell: Building community/translate-shell 0.9.7.1-r0 (using abuild 3.10.0-r0) started Wed, 15 Feb 2023 04:27:40 +0000 >>> translate-shell: Checking sanity of /home/buildozer/aports/community/translate-shell/APKBUILD... >>> WARNING: translate-shell: No maintainer >>> translate-shell: Analyzing dependencies... >>> translate-shell: Installing for build: build-base gawk bash (1/4) Installing gawk (5.1.1-r1) (2/4) Installing readline (8.2.0-r0) (3/4) Installing bash (5.2.15-r0) Executing bash-5.2.15-r0.post-install (4/4) Installing .makedepends-translate-shell (20230215.042740) Executing busybox-1.35.0-r29.trigger OK: 194 MiB in 96 packages >>> translate-shell: Cleaning up srcdir >>> translate-shell: Cleaning up pkgdir >>> translate-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> translate-shell: Fetching translate-shell-0.9.7.1.tar.gz::https://github.com/soimort/translate-shell/archive/v0.9.7.1.tar.gz >>> translate-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz >>> translate-shell: Checking sha512sums... translate-shell-0.9.7.1.tar.gz: OK drop-rlwrap-emacs-tests.patch: OK >>> translate-shell: Unpacking /var/cache/distfiles/v3.17/translate-shell-0.9.7.1.tar.gz... >>> translate-shell: drop-rlwrap-emacs-tests.patch patching file test/TestUtils.awk [OK] Task build completed. [OK] Task build completed. ====== TESTING FOR Commons.awk STARTED [PASS] ( 1/3 ) TESTING anything() [PASS] ( 2/3 ) TESTING anything() [PASS] ( 3/3 ) TESTING anything() [PASS] ( 1/4 ) TESTING exists() [PASS] ( 2/4 ) TESTING exists() [PASS] ( 3/4 ) TESTING exists() [PASS] ( 4/4 ) TESTING exists() [PASS] ( 1/3 ) TESTING belongsTo() [PASS] ( 2/3 ) TESTING belongsTo() [PASS] ( 3/3 ) TESTING belongsTo() [PASS] ( 1/4 ) TESTING identical() [PASS] ( 2/4 ) TESTING identical() [PASS] ( 3/4 ) TESTING identical() [PASS] ( 4/4 ) TESTING identical() [PASS] ( 1/1 ) TESTING append() [PASS] ( 1/4 ) TESTING isnum() [PASS] ( 2/4 ) TESTING isnum() [PASS] ( 3/4 ) TESTING isnum() [PASS] ( 4/4 ) TESTING isnum() [PASS] ( 1/3 ) TESTING startsWithAny() [PASS] ( 2/3 ) TESTING startsWithAny() [PASS] ( 3/3 ) TESTING startsWithAny() [PASS] ( 1/4 ) TESTING matchesAny() [PASS] ( 2/4 ) TESTING matchesAny() [PASS] ( 3/4 ) TESTING matchesAny() [PASS] ( 4/4 ) TESTING matchesAny() [PASS] ( 1/4 ) TESTING replicate() [PASS] ( 2/4 ) TESTING replicate() [PASS] ( 3/4 ) TESTING replicate() [PASS] ( 4/4 ) TESTING replicate() [PASS] ( 1/4 ) TESTING reverse() [PASS] ( 2/4 ) TESTING reverse() [PASS] ( 3/4 ) TESTING reverse() [PASS] ( 4/4 ) TESTING reverse() [PASS] ( 1/4 ) TESTING join() [PASS] ( 2/4 ) TESTING join() [PASS] ( 3/4 ) TESTING join() [PASS] ( 4/4 ) TESTING join() [PASS] ( 1/1 ) TESTING explode() [PASS] ( 1/8 ) TESTING escapeChar() [PASS] ( 2/8 ) TESTING escapeChar() [PASS] ( 3/8 ) TESTING escapeChar() [PASS] ( 4/8 ) TESTING escapeChar() [PASS] ( 5/8 ) TESTING escapeChar() [PASS] ( 6/8 ) TESTING escapeChar() [PASS] ( 7/8 ) TESTING escapeChar() [PASS] ( 8/8 ) TESTING escapeChar() [PASS] ( 1/6 ) TESTING literal() [PASS] ( 2/6 ) TESTING literal() [PASS] ( 3/6 ) TESTING literal() [PASS] ( 4/6 ) TESTING literal() [PASS] ( 5/6 ) TESTING literal() [PASS] ( 6/6 ) TESTING literal() [PASS] ( 1/4 ) TESTING escape() [PASS] ( 2/4 ) TESTING escape() [PASS] ( 3/4 ) TESTING escape() [PASS] ( 4/4 ) TESTING escape() [PASS] ( 1/4 ) TESTING unescape() [PASS] ( 2/4 ) TESTING unescape() [PASS] ( 3/4 ) TESTING unescape() [PASS] ( 4/4 ) TESTING unescape() [PASS] ( 1/10) TESTING parameterize() [PASS] ( 2/10) TESTING parameterize() [PASS] ( 3/10) TESTING parameterize() [PASS] ( 4/10) TESTING parameterize() [PASS] ( 5/10) TESTING parameterize() [PASS] ( 6/10) TESTING parameterize() [PASS] ( 7/10) TESTING parameterize() [PASS] ( 8/10) TESTING parameterize() [PASS] ( 9/10) TESTING parameterize() [PASS] (10/10) TESTING parameterize() [PASS] ( 1/10) TESTING unparameterize() [PASS] ( 2/10) TESTING unparameterize() [PASS] ( 3/10) TESTING unparameterize() [PASS] ( 4/10) TESTING unparameterize() [PASS] ( 5/10) TESTING unparameterize() [PASS] ( 6/10) TESTING unparameterize() [PASS] ( 7/10) TESTING unparameterize() [PASS] ( 8/10) TESTING unparameterize() [PASS] ( 9/10) TESTING unparameterize() [PASS] (10/10) TESTING unparameterize() [PASS] ( 1/4 ) TESTING toString() [PASS] ( 2/4 ) TESTING toString() [PASS] ( 3/4 ) TESTING toString() [PASS] ( 4/4 ) TESTING toString() [PASS] ( 1/4 ) TESTING squeeze() [PASS] ( 2/4 ) TESTING squeeze() [PASS] ( 3/4 ) TESTING squeeze() [PASS] ( 4/4 ) TESTING squeeze() [PASS] ( 1/12) TESTING yn() [PASS] ( 2/12) TESTING yn() [PASS] ( 3/12) TESTING yn() [PASS] ( 4/12) TESTING yn() [PASS] ( 5/12) TESTING yn() [PASS] ( 6/12) TESTING yn() [PASS] ( 7/12) TESTING yn() [PASS] ( 8/12) TESTING yn() [PASS] ( 9/12) TESTING yn() [PASS] (10/12) TESTING yn() [PASS] (11/12) TESTING yn() [PASS] (12/12) TESTING yn() [PASS] ( 1/4 ) TESTING quote() [PASS] ( 2/4 ) TESTING quote() [PASS] ( 3/4 ) TESTING quote() [PASS] ( 4/4 ) TESTING quote() [PASS] ( 1/6 ) TESTING unquote() [PASS] ( 2/6 ) TESTING unquote() [PASS] ( 3/6 ) TESTING unquote() [PASS] ( 4/6 ) TESTING unquote() [PASS] ( 5/6 ) TESTING unquote() [PASS] ( 6/6 ) TESTING unquote() [PASS] ( 1/4 ) TESTING fileExists() [PASS] ( 2/4 ) TESTING fileExists() [PASS] ( 3/4 ) TESTING fileExists() [PASS] ( 4/4 ) TESTING fileExists() [PASS] ( 1/4 ) TESTING dirExists() [PASS] ( 2/4 ) TESTING dirExists() [PASS] ( 3/4 ) TESTING dirExists() [PASS] ( 4/4 ) TESTING dirExists() [PASS] ( 1/2 ) TESTING detectProgram() [PASS] ( 2/2 ) TESTING detectProgram() [PASS] (121/121) TESTING COMPLETED. PERFECT! ====== TESTING FOR Utils.awk STARTED [PASS] ( 1/1 ) TESTING GawkVersion [PASS] ( 1/5 ) TESTING newerVersion() [PASS] ( 2/5 ) TESTING newerVersion() [PASS] ( 3/5 ) TESTING newerVersion() [PASS] ( 4/5 ) TESTING newerVersion() [PASS] ( 5/5 ) TESTING newerVersion() [PASS] ( 1/1 ) TESTING curl() [PASS] ( 1/1 ) TESTING curlPost() [PASS] ( 1/3 ) TESTING dump() [PASS] ( 2/3 ) TESTING dump() [PASS] ( 3/3 ) TESTING dump() [PASS] ( 1/2 ) TESTING dumpX() [PASS] ( 2/2 ) TESTING dumpX() [PASS] ( 1/1 ) TESTING base64() [PASS] ( 2/1 ) TESTING base64() [PASS] ( 1/1 ) TESTING uprintf [PASS] (16/16) TESTING COMPLETED. PERFECT! ====== TESTING FOR Parser.awk STARTED [PASS] ( 1/8 ) TESTING tokenize() [PASS] ( 2/8 ) TESTING tokenize() [PASS] ( 3/8 ) TESTING tokenize() [PASS] ( 4/8 ) TESTING tokenize() [PASS] ( 5/8 ) TESTING tokenize() [PASS] ( 6/8 ) TESTING tokenize() [PASS] ( 7/8 ) TESTING tokenize() [PASS] ( 8/8 ) TESTING tokenize() [PASS] ( 1/10) TESTING parseJson() [PASS] ( 2/10) TESTING parseJson() [PASS] ( 3/10) TESTING parseJson() [PASS] ( 4/10) TESTING parseJson() [PASS] ( 5/10) TESTING parseJson() [PASS] ( 6/10) TESTING parseJson() [PASS] ( 7/10) TESTING parseJson() [PASS] ( 8/10) TESTING parseJson() [PASS] ( 9/10) TESTING parseJson() [PASS] (10/10) TESTING parseJson() [PASS] ( 1/1 ) TESTING parseList() [PASS] (19/19) TESTING COMPLETED. PERFECT! ====== TESTING FOR LanguageHelper.awk STARTED [PASS] ( 1/5 ) TESTING getCode() [PASS] ( 2/5 ) TESTING getCode() [PASS] ( 3/5 ) TESTING getCode() [PASS] ( 4/5 ) TESTING getCode() [PASS] ( 5/5 ) TESTING getCode() [PASS] ( 5/5 ) TESTING COMPLETED. PERFECT! build/trans -V Translate Shell 0.9.7.1 platform Linux terminal type vt102 bi-di emulator [N/A] gawk (GNU Awk) 5.1.1 fribidi (GNU FriBidi) [NOT INSTALLED] audio player [NOT INSTALLED] terminal pager [NOT INSTALLED] web browser xdg-open user locale en_US.UTF-8 (English) host language en source language auto target language en translation engine auto proxy [NONE] user-agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54 ip version [DEFAULT] theme default init file [NONE] Report bugs to: https://github.com/soimort/translate-shell/issues [ "`build/trans -no-init -D -b 忍者`" = 'ninja' ] &&\ [ "`build/trans -no-init -D -b -e bing 忍者`" = 'ninja' ] #&&\ #[ "`build/trans -no-init -D -b -e yandex Ninja`" = 'Ninja' ] GET /translate_a/single?client=gtx&ie=UTF-8&oe=UTF-8&dt=bd&dt=ex&dt=ld&dt=md&dt=rw&dt=rm&dt=ss&dt=t&dt=at&dt=gt&dt=qca&sl=auto&tl=en&hl=en&q=%E5%BF%8D%E8%80%85 HTTP/1.1 Host: translate.googleapis.com Connection: close User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36 Edg/104.0.1293.54   16 bytes > HTTP/1.1 200 OK   46 bytes > Content-Type: application/json; charset=utf-8   32 bytes > X-Content-Type-Options: nosniff   62 bytes > Cache-Control: no-cache, no-store, max-age=0, must-revalidate   17 bytes > Pragma: no-cache   39 bytes > Expires: Mon, 01 Jan 1990 00:00:00 GMT   36 bytes > Date: Wed, 15 Feb 2023 04:27:44 GMT   80 bytes > Content-Disposition: attachment; filename="json.txt"; filename*=UTF-8''json.txt   180 bytes > Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-WoW64, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version   173 bytes > Permissions-Policy: ch-ua-arch=*, ch-ua-bitness=*, ch-ua-full-version=*, ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-wow64=*, ch-ua-platform=*, ch-ua-platform-version=*   40 bytes > Cross-Origin-Opener-Policy: same-origin   101 bytes > Content-Security-Policy: require-trusted-types-for 'script';report-uri /_/TranslateApiHttp/cspreport   192 bytes > Content-Security-Policy: script-src 'report-sample' 'nonce-bBxW-fOOG2GnfJSBJaSxfQ' 'unsafe-inline';object-src 'none';base-uri 'self';report-uri /_/TranslateApiHttp/cspreport;worker-src 'self'   43 bytes > Cross-Origin-Resource-Policy: cross-origin   31 bytes > Access-Control-Allow-Origin: *   12 bytes > Server: ESF   20 bytes > X-XSS-Protection: 0   28 bytes > X-Frame-Options: SAMEORIGIN   20 bytes > Accept-Ranges: none   22 bytes > Vary: Accept-Encoding   18 bytes > Connection: close   27 bytes > Transfer-Encoding: chunked   1 bytes >   4 bytes > 177   362 bytes > [[["ninja","忍者",null,null,3,null,null,[[]],[[["8d78968b435177eedc6fc31def933f7a","zh_en_2022q2.md"]]]],[null,null,null,"Rěnzhě"]],null,"zh-CN",null,null,[["忍者",null,[["ninja",0,true,false,[3],null,[[3]]],["the ninja",0,true,false,[8]]],[[0,2]],"忍者",0,0]],0.6796875,[],[["zh-CN"],null,[0.6796875],["zh-CN"]],null,null,null,null,null,null,null,null,null,[null,2]]   2 bytes > 0   1 bytes >  content = ''' 177 [[["ninja","忍者",null,null,3,null,null,[[]],[[["8d78968b435177eedc6fc31def933f7a","zh_en_2022q2.md"]]]],[null,null,null,"Rěnzhě"]],null,"zh-CN",null,null,[["忍者",null,[["ninja",0,true,false,[3],null,[[3]]],["the ninja",0,true,false,[8]]],[[0,2]],"忍者",0,0]],0.6796875,[],[["zh-CN"],null,[0.6796875],["zh-CN"]],null,null,null,null,null,null,null,null,null,[null,2]] 0 ''' tokens = ["177", "[", "[", "[", "\"ninja\"", ",", "\"忍者\"", ",", "null", ",", "null", ",", "3", ",", "null", ",", "null", ",", "[", "[", "]", "]", ",", "[", "[", "[", "\"8d78968b435177eedc6fc31def933f7a\"", ",", "\"zh_en_2022q2.md\"", "]", "]", "]", "]", ",", "[", "null", ",", "null", ",", "null", ",", "\"Rěnzhě\"", "]", "]", ",", "null", ",", "\"zh-CN\"", ",", "null", ",", "null", ",", "[", "[", "\"忍者\"", ",", "null", ",", "[", "[", "\"ninja\"", ",", "0", ",", "true", ",", "false", ",", "[", "3", "]", ",", "null", ",", "[", "[", "3", "]", "]", "]", ",", "[", "\"the ninja\"", ",", "0", ",", "true", ",", "false", ",", "[", "8", "]", "]", "]", ",", "[", "[", "0", ",", "2", "]", "]", ",", "\"忍者\"", ",", "0", ",", "0", "]", "]", ",", "0.6796875", ",", "[", "]", ",", "[", "[", "\"zh-CN\"", "]", ",", "null", ",", "[", "0.6796875", "]", ",", "[", "\"zh-CN\"", "]", "]", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "null", ",", "[", "null", ",", "2", "]", "]", "0"] ast = { "0,0,0,0" "\"ninja\"" "0,0,0,1" "\"忍者\"" "0,0,0,2" "null" "0,0,0,3" "null" "0,0,0,4" "3" "0,0,0,5" "null" "0,0,0,6" "null" "0,0,0,8,0,0,0" "\"8d78968b435177eedc6fc31def933f7a\"" "0,0,0,8,0,0,1" "\"zh_en_2022q2.md\"" "0,0,1,0" "null" "0,0,1,1" "null" "0,0,1,2" "null" "0,0,1,3" "\"Rěnzhě\"" "0,1" "null" "0,2" "\"zh-CN\"" "0,3" "null" "0,4" "null" "0,5,0,0" "\"忍者\"" "0,5,0,1" "null" "0,5,0,2,0,0" "\"ninja\"" "0,5,0,2,0,1" "0" "0,5,0,2,0,2" "true" "0,5,0,2,0,3" "false" "0,5,0,2,0,4,0" "3" "0,5,0,2,0,5" "null" "0,5,0,2,0,6,0,0" "3" "0,5,0,2,1,0" "\"the ninja\"" "0,5,0,2,1,1" "0" "0,5,0,2,1,2" "true" "0,5,0,2,1,3" "false" "0,5,0,2,1,4,0" "8" "0,5,0,3,0,0" "0" "0,5,0,3,0,1" "2" "0,5,0,4" "\"忍者\"" "0,5,0,5" "0" "0,5,0,6" "0" "0,6" "0.6796875" "0,8,0,0" "\"zh-CN\"" "0,8,1" "null" "0,8,2,0" "0.6796875" "0,8,3,0" "\"zh-CN\"" "0,9" "null" "0,10" "null" "0,11" "null" "0,12" "null" "0,13" "null" "0,14" "null" "0,15" "null" "0,16" "null" "0,17" "null" "0,18,0" "null" "0,18,1" "2" "0" "0" }  16 bytes > HTTP/1.1 200 OK   23 bytes > Cache-Control: private   23 bytes > Content-Length: 621706   39 bytes > Content-Type: text/html; charset=utf-8   62 bytes > P3P: CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND"   307 bytes > UserAgentReductionOptOut: A7kgTC5xdZ2WIVGZEfb1hUoNuvjzOZX3VIV/BA6C18kQOOF50Q0D3oWoAm49k3BQImkujKILc7JmPysWk3CSjwUAAACMeyJvcmlnaW4iOiJodHRwczovL3d3dy5iaW5nLmNvbTo0NDMiLCJmZWF0dXJlIjoiU2VuZEZ1bGxVc2VyQWdlbnRBZnRlclJlZHVjdGlvbiIsImV4cGlyeSI6MTY4NDg4NjM5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=   181 bytes > Content-Security-Policy-Report-Only: script-src https: 'strict-dynamic' 'report-sample' 'nonce-JVV9tl13+R3IpMYx/vx55KEiOvJT1IWcbdf2yqDFcO4='; base-uri 'self';report-to csp-endpoint   127 bytes > Report-To: {"group":"csp-endpoint","max_age":86400,"endpoints":[{"url":"https://aefd.nelreports.net/api/report?cat=bingcsp"}]}   152 bytes > Accept-CH: Sec-CH-UA-Arch, Sec-CH-UA-Bitness, Sec-CH-UA-Full-Version, Sec-CH-UA-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform, Sec-CH-UA-Platform-Version   101 bytes > X-MSEdge-Ref: Ref A: 0086BE83C24E4D7392D5454F2CF74B24 Ref B: FRAEDGE1121 Ref C: 2023-02-15T04:27:45Z   36 bytes > Date: Wed, 15 Feb 2023 04:27:45 GMT   18 bytes > Connection: close   117 bytes > Set-Cookie: SUID=M; domain=.bing.com; expires=Wed, 15-Feb-2023 16:27:45 GMT; path=/; secure; HttpOnly; SameSite=None   138 bytes > Set-Cookie: MUID=0214B52B7A996C1508D3A7927BF26D86; domain=.bing.com; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; secure; SameSite=None   108 bytes > Set-Cookie: MUIDB=0214B52B7A996C1508D3A7927BF26D86; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; HttpOnly   97 bytes > Set-Cookie: _EDGE_S=F=1&SID=30D9F5880E926ED7079DE7310FF96FC9; domain=.bing.com; path=/; HttpOnly   97 bytes > Set-Cookie: _EDGE_V=1; domain=.bing.com; expires=Mon, 11-Mar-2024 04:27:45 GMT; path=/; HttpOnly   122 bytes > Set-Cookie: USRLOC=HS=1; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; HttpOnly; SameSite=None   116 bytes > Set-Cookie: SRCHD=AF=NOFORM; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None   159 bytes > Set-Cookie: SRCHUID=V=2&GUID=0E96A7DB8F9D4EDD9B2005E4DA75D637&dmnchg=1; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None   121 bytes > Set-Cookie: SRCHUSR=DOB=20230215; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None   123 bytes > Set-Cookie: SRCHHPGUSR=SRCHLANG=en; domain=.bing.com; expires=Sat, 15-Feb-2025 04:27:45 GMT; path=/; secure; SameSite=None   102 bytes > Set-Cookie: _SS=SID=30D9F5880E926ED7079DE7310FF96FC9; domain=.bing.com; path=/; secure; SameSite=None   45 bytes > X-CDN-TraceID: 0.9fd37a5c.1676435265.b04d617   1 bytes >   230 bytes > Bing Microsoft Translator