in expression on line 1 and column 27 1: if(!a){if(b){throw c}else{return c}}else{return a} ^ --- FAIL: TestJS/if(!a){return_y}else_if(b){if(c){return_x}}return_z (0.00s) js_test.go:812: js_test.go:812: if(!a){return y}else if(b){if(c){return x}}return z unexpected return in expression on line 1 and column 8 1: if(!a){return y}else if(b){if(c){return x}}return z ^ --- FAIL: TestJS/b=5;return_a+b (0.00s) js_test.go:812: js_test.go:812: b=5;return a+b unexpected return in expression on line 1 and column 5 1: b=5;return a+b ^ --- FAIL: TestJS/a();b();return_c() (0.00s) js_test.go:812: js_test.go:812: a();b();return c() unexpected return in expression on line 1 and column 9 1: a();b();return c() ^ --- FAIL: TestJS/a=b;if(a){return_a}else_return_b (0.00s) js_test.go:812: js_test.go:812: a=b;if(a){return a}else return b unexpected return in expression on line 1 and column 11 1: a=b;if(a){return a}else return b ^ --- FAIL: TestJS/return_a,b,void_0 (0.00s) js_test.go:812: js_test.go:812: return a,b,void 0 unexpected return in expression on line 1 and column 1 1: return a,b,void 0 ^ --- FAIL: TestJS/a=b;if(!o)return_c;return_d (0.00s) js_test.go:812: js_test.go:812: a=b;if(!o)return c;return d unexpected return in expression on line 1 and column 11 1: a=b;if(!o)return c;return d ^ --- FAIL: TestJSVarRenaming (0.04s) --- FAIL: TestJSVarRenaming/{let_b=0;if(a===0){return_0}else{let_b=3;return_b}} (0.00s) js_test.go:885: js_test.go:885: {let b=0;if(a===0){return 0}else{let b=3;return b}} unexpected return in expression on line 1 and column 20 1: {let b=0;if(a===0){return 0}else{let b=3;return b}} ^ --- FAIL: TestJSVarRenaming/for(;;){let_b=0;if(a===0){return_0}else{let_b=3;return_b}} (0.00s) js_test.go:885: js_test.go:885: for(;;){let b=0;if(a===0){return 0}else{let b=3;return b}} unexpected return in expression on line 1 and column 27 1: for(;;){let b=0;if(a===0){return 0}else{let b=3;return b}} ^ --- FAIL: TestJSVarRenaming/try{let_b=0;if(a===0){return_0}else{let_b=3;return_b}}catch{} (0.00s) js_test.go:885: js_test.go:885: try{let b=0;if(a===0){return 0}else{let b=3;return b}}catch{} unexpected return in expression on line 1 and column 23 1: try{let b=0;if(a===0){return 0}else{let b=3;return b}}cat... ^ FAIL exit status 1 FAIL github.com/tdewolff/minify/js 0.952s error: Bad exit status from /var/tmp/rpm-tmp.IJLWd0 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IJLWd0 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/golang-github-tdewolff-minify.spec