MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 --optimise-tailcalls --warn-non-tail-recursion self-and-mutual '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/scripts/mmc --make --options-file - require_tailrec_3.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O0 --optimise-tailcalls --warn-non-tail-recursion self-and-mutual '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/runtime/mer_rt.init '; echo MLLIBS += ' '; echo MLOBJS += ' '; echo LDFLAGS += ' '; echo LD_LIBFLAGS += ' '; echo EXTRA_LIBRARIES += ''; echo EXTRA_LIB_DIRS += ''; echo LIBGRADES = 'hlc.gc '; echo INSTALL_PREFIX = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/stage2/scripts/mmc --make --options-file - require_tailrec_3.class Making Mercury/int3s/require_tailrec_3.int3 Making Mercury/ints/require_tailrec_3.int Making Mercury/javas/jmercury/require_tailrec_3.java require_tailrec_3.m:064: In `:- pragma require_tail_recursion' for function require_tailrec_3.m:064: `odd2'/1: require_tailrec_3.m:064: warning: the code defining this function contains no require_tailrec_3.m:064: recursive calls at all, tail-recursive or otherwise. require_tailrec_3.m:078: In mode number 1 of function `even3'/1: require_tailrec_3.m:078: warning: mutually recursive call to function require_tailrec_3.m:078: `odd3'/1 is tail recursive, but tail recursion require_tailrec_3.m:078: optimization cannot be applied to it, because the require_tailrec_3.m:078: callee cannot reach the caller via tail calls only. require_tailrec_3.m:095: In mode number 1 of function `even4'/1: require_tailrec_3.m:095: warning: mutually recursive call to function require_tailrec_3.m:095: `odd4'/1 is tail recursive, but tail recursion require_tailrec_3.m:095: optimization cannot be applied to it, because the require_tailrec_3.m:095: callee cannot reach the caller via tail calls only. For more information, recompile with `-E'. Making Mercury/classes/jmercury/require_tailrec_3.class Mercury/javas/jmercury/require_tailrec_3.java:18: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_X_16, ^ Mercury/javas/jmercury/require_tailrec_3.java:19: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_17, ^ Mercury/javas/jmercury/require_tailrec_3.java:21: error: package list does not exist list.List_1 HeadVar__2_2, ^ Mercury/javas/jmercury/require_tailrec_3.java:54: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:88: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:122: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:144: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:166: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:182: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:198: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:221: error: package bool does not exist public static bool.Bool_0 ^ Mercury/javas/jmercury/require_tailrec_3.java:33: error: package list.List_1 does not exist java.lang.Object X_10 = ((list.List_1.F_cons_2) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/require_tailrec_3.java:34: error: package list does not exist list.List_1 Xs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/require_tailrec_3.java:34: error: package list.List_1 does not exist list.List_1 Xs_11 = ((list.List_1.F_cons_2) HeadVar__2_2).F2; ^ Mercury/javas/jmercury/require_tailrec_3.java:36: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/require_tailrec_3.java:36: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) P_1)[1]); ^ Mercury/javas/jmercury/require_tailrec_3.java:37: error: package list does not exist list.List_1 next_value_of_HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:41: error: package jmercury.runtime does not exist STATE_VARIABLE_Acc_15_15 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) P_1))), ((java.lang.Object) (X_10)), ((java.lang.Object) (STATE_VARIABLE_Acc_0_3)))); ^ Mercury/javas/jmercury/require_tailrec_3.java:61: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:65: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/require_tailrec_3.java:74: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:95: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:99: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/require_tailrec_3.java:108: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:127: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:130: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/require_tailrec_3.java:149: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:152: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/require_tailrec_3.java:171: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:174: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:187: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:190: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:203: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:206: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:209: error: package bool does not exist bool.Bool_0 Var_4 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:215: error: cannot find symbol HeadVar__2_2 = bool.not_1_f_0(Var_4); ^ symbol: variable bool location: class require_tailrec_3 Mercury/javas/jmercury/require_tailrec_3.java:226: error: package bool does not exist bool.Bool_0 HeadVar__2_2 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:229: error: package bool does not exist HeadVar__2_2 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/require_tailrec_3.java:232: error: package bool does not exist bool.Bool_0 Var_4 = null; ^ Mercury/javas/jmercury/require_tailrec_3.java:238: error: cannot find symbol HeadVar__2_2 = bool.not_1_f_0(Var_4); ^ symbol: variable bool location: class require_tailrec_3 40 errors ** Error making `Mercury/classes/jmercury/require_tailrec_3.class'. make[3]: *** [/tmp/mmake.mGyXzm:1497: require_tailrec_3.class] Error 1 make[3]: Target 'require_tailrec_3.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' ERROR OUTPUT require_tailrec_3.m:064: In `:- pragma require_tail_recursion' for function require_tailrec_3.m:064: `odd2'/1: require_tailrec_3.m:064: warning: the code defining this function contains no require_tailrec_3.m:064: recursive calls at all, tail-recursive or otherwise. require_tailrec_3.m:078: In mode number 1 of function `even3'/1: require_tailrec_3.m:078: warning: mutually recursive call to function require_tailrec_3.m:078: `odd3'/1 is tail recursive, but tail recursion require_tailrec_3.m:078: optimization cannot be applied to it, because the require_tailrec_3.m:078: callee cannot reach the caller via tail calls only. require_tailrec_3.m:095: In mode number 1 of function `even4'/1: require_tailrec_3.m:095: warning: mutually recursive call to function require_tailrec_3.m:095: `odd4'/1 is tail recursive, but tail recursion require_tailrec_3.m:095: optimization cannot be applied to it, because the require_tailrec_3.m:095: callee cannot reach the caller via tail calls only. For more information, recompile with `-E'. END OF THE ERROR OUTPUT