MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-09-15/stage2/scripts/mmc --make --options-file - do_while.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/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-09-15/stage2/scripts/mmc --make --options-file - do_while Making Mercury/int3s/do_while.int3 Making Mercury/ints/do_while.int Making Mercury/javas/jmercury/do_while.java do_while.m:060: Warning: the determinism declaration for `p'(out) could be do_while.m:060: tighter. do_while.m:060: Declared `nondet', inferred `multi'. Making Java class files Mercury/javas/jmercury/do_while.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/do_while.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/do_while.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/do_while.java:168: error: package list does not exist list.List_1 Rs0_9) ^ Mercury/javas/jmercury/do_while.java:261: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/do_while.java:356: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/do_while.java:418: error: package bool does not exist private static bool.Bool_0 ^ Mercury/javas/jmercury/do_while.java:445: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/do_while.java:464: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/do_while.java:529: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/do_while.java:539: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/do_while.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "do_while"; ^ Mercury/javas/jmercury/do_while.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/do_while.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/do_while.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class do_while Mercury/javas/jmercury/do_while.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class do_while Mercury/javas/jmercury/do_while.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/do_while.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/do_while.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/do_while.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class do_while Mercury/javas/jmercury/do_while.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/do_while.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/do_while.java:53: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/do_while.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/do_while.java:58: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class do_while Mercury/javas/jmercury/do_while.java:58: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/do_while.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/do_while.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/do_while.java:81: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:81: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/do_while.java:82: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:82: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:83: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class do_while Mercury/javas/jmercury/do_while.java:83: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/do_while.java:84: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:84: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/do_while.java:85: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:85: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/do_while.java:99: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:99: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:100: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:100: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/do_while.java:101: error: cannot find symbol ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ symbol: variable bool location: class do_while Mercury/javas/jmercury/do_while.java:101: error: illegal start of type ((java.lang.Object) (bool.bool__type_ctor_info_bool_0)), ^ Mercury/javas/jmercury/do_while.java:120: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/do_while.java:171: error: package bool does not exist bool.Bool_0 More_8 = null; ^ Mercury/javas/jmercury/do_while.java:172: error: package list does not exist list.List_1 HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:175: error: package list.List_1 does not exist HeadVar__5_5 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/do_while.java:182: error: package bool does not exist More_8 = bool.Bool_0.K0; ^ Mercury/javas/jmercury/do_while.java:184: error: package bool does not exist More_8 = bool.Bool_0.K1; ^ Mercury/javas/jmercury/do_while.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/do_while.java:194: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:194: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/do_while.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/do_while.java:195: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:195: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/do_while.java:196: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_36_36 = null; ^ Mercury/javas/jmercury/do_while.java:197: error: package list does not exist list.List_1 L_4 = null; ^ Mercury/javas/jmercury/do_while.java:198: error: package list does not exist list.List_1 L2_5 = null; ^ Mercury/javas/jmercury/do_while.java:202: error: package list does not exist list.List_1 Var_15 = null; ^ Mercury/javas/jmercury/do_while.java:204: error: package list does not exist list.List_1 Var_21 = null; ^ Mercury/javas/jmercury/do_while.java:210: error: cannot find symbol conv2_STATE_VARIABLE_IO_10_10 = solutions.do_while_4_p_4(TypeCtorInfo_29_29, TypeCtorInfo_30_30, Var_8, Var_9, ((java.lang.Object) (0))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:213: error: package list does not exist Var_15 = (list.List_1) do_while.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/do_while.java:214: error: package jmercury.runtime does not exist TypeInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(do_while.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/do_while.java:216: error: cannot find symbol conv5_L_4 = solutions.do_while_4_p_3(TypeCtorInfo_29_29, TypeInfo_36_36, Var_8, Var_14, ((java.lang.Object) (Var_15))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:218: error: package list does not exist L_4 = ((list.List_1) conv5_L_4); ^ Mercury/javas/jmercury/do_while.java:220: error: cannot find symbol io.print_line_3_p_0(TypeInfo_36_36, ((java.lang.Object) (L_4))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:223: error: package list does not exist Var_21 = (list.List_1) do_while.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/do_while.java:225: error: cannot find symbol conv8_L2_5 = solutions.do_while_4_p_3(TypeCtorInfo_29_29, TypeInfo_36_36, Var_8, Var_20, ((java.lang.Object) (Var_21))); ^ symbol: variable solutions location: class do_while Mercury/javas/jmercury/do_while.java:227: error: package list does not exist L2_5 = ((list.List_1) conv8_L2_5); ^ Mercury/javas/jmercury/do_while.java:229: error: cannot find symbol io.print_line_3_p_0(TypeInfo_36_36, ((java.lang.Object) (L2_5))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:241: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((do_while.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((do_while.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((do_while.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/do_while.java:291: error: package bool does not exist bool.Bool_0 conv1_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:312: error: package bool does not exist bool.Bool_0 conv4_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:313: error: package list does not exist list.List_1 conv3_HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:316: error: package list does not exist java.lang.Object [] result = do_while.collect_answer_5_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/do_while.java:317: error: package bool does not exist conv4_More_8 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/do_while.java:318: error: package list does not exist conv3_HeadVar__5_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/do_while.java:337: error: package bool does not exist bool.Bool_0 conv7_More_8 = null; ^ Mercury/javas/jmercury/do_while.java:338: error: package list does not exist list.List_1 conv6_HeadVar__5_5 = null; ^ Mercury/javas/jmercury/do_while.java:341: error: package list does not exist java.lang.Object [] result = do_while.collect_answer_5_p_0(((java.lang.Integer) (((java.lang.Object[]) closure)[3])).intValue(), ((java.lang.Integer) wrapper_arg_1).intValue(), ((list.List_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/do_while.java:342: error: package bool does not exist conv7_More_8 = (bool.Bool_0) result[0]; ^ Mercury/javas/jmercury/do_while.java:343: error: package list does not exist conv6_HeadVar__5_5 = (list.List_1) result[1]; ^ Mercury/javas/jmercury/do_while.java:414: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((do_while.R_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((do_while.R_2_p_0_env_0) env_ptr).Z_4), ((java.lang.Object) (((do_while.R_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/do_while.java:424: error: package bool does not exist bool.Bool_0 More_8 = null; ^ Mercury/javas/jmercury/do_while.java:425: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/do_while.java:425: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class do_while Mercury/javas/jmercury/do_while.java:425: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_13 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/do_while.java:426: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/do_while.java:429: error: cannot find symbol io.print_line_3_p_0(TypeCtorInfo_13_13, ((java.lang.Object) (S_6))); ^ symbol: variable io location: class do_while Mercury/javas/jmercury/do_while.java:431: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class do_while 100 errors make[3]: *** [/tmp/mmake.xwHFPz:1282: do_while] Error 1 make[3]: Target 'do_while.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-15/tests/general' ERROR OUTPUT do_while.m:060: Warning: the determinism declaration for `p'(out) could be do_while.m:060: tighter. do_while.m:060: Declared `nondet', inferred `multi'. END OF THE ERROR OUTPUT