MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - cmp_uint16.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/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-07-24/stage2/scripts/mmc --make --options-file - cmp_uint16 Making Mercury/int3s/cmp_uint16.int3 Making Mercury/ints/cmp_uint16.int Making Mercury/javas/jmercury/cmp_uint16.java Making Java class files Mercury/javas/jmercury/cmp_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:57: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cmp_uint16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint16.java:375: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/cmp_uint16.java:477: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/cmp_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "cmp_uint16"; ^ Mercury/javas/jmercury/cmp_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/cmp_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/cmp_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/cmp_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/cmp_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/cmp_uint16.java:38: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/cmp_uint16.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/cmp_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:45: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:47: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/cmp_uint16.java:47: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:57: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/cmp_uint16.java:58: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/cmp_uint16.java:65: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/cmp_uint16.java:67: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:69: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_1[0] ^ Mercury/javas/jmercury/cmp_uint16.java:72: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:74: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/cmp_uint16.java:77: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:79: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[1] ^ Mercury/javas/jmercury/cmp_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:84: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[2] ^ Mercury/javas/jmercury/cmp_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:89: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[3] ^ Mercury/javas/jmercury/cmp_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:94: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[4] ^ Mercury/javas/jmercury/cmp_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:99: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[5] ^ Mercury/javas/jmercury/cmp_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/cmp_uint16.java:104: error: package list does not exist (list.List_1) cmp_uint16.MR_scalar_common_2[6] ^ Mercury/javas/jmercury/cmp_uint16.java:112: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:112: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:114: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:114: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:115: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:115: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:116: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:116: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:124: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:124: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:125: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:125: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:126: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:126: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:127: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:127: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:128: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:128: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:135: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:135: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/cmp_uint16.java:136: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:136: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/cmp_uint16.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:213: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:221: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:229: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:263: error: cannot find symbol succeeded = uint16.f_less_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:278: error: cannot find symbol succeeded = uint16.f_less_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:293: error: cannot find symbol succeeded = uint16.f_greater_than_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:308: error: cannot find symbol succeeded = uint16.f_greater_or_equal_2_p_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:318: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_21_21 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:319: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:320: error: package list does not exist list.List_1 As_8 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:321: error: package list does not exist list.List_1 Bs_9 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:328: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:331: error: cannot find symbol io.write_string_3_p_0(Desc_6); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:335: error: cannot find symbol io.write_string_3_p_0(Var_26); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:337: error: package list does not exist As_8 = (list.List_1) cmp_uint16.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint16.java:338: error: package list does not exist Bs_9 = (list.List_1) cmp_uint16.MR_scalar_common_2[7]; ^ Mercury/javas/jmercury/cmp_uint16.java:349: error: cannot find symbol TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:349: error: package jmercury.runtime does not exist TypeCtorInfo_21_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/cmp_uint16.java:350: error: cannot find symbol TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:350: error: package jmercury.runtime does not exist TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint16.java:352: error: cannot find symbol conv0_STATE_VARIABLE_IO_11 = list.foldl_4_p_2(TypeCtorInfo_21_21, TypeCtorInfo_22_22, Var_17, As_8, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:366: error: package list does not exist cmp_uint16.run_cmp_test_2_6_p_0(((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[3]), ((java.lang.String) ((java.lang.Object[]) closure)[4]), ((list.List_1) ((java.lang.Object[]) closure)[5]), ((java.lang.Short) wrapper_arg_1).shortValue()); ^ Mercury/javas/jmercury/cmp_uint16.java:378: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_18_18 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:379: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_19_19 = null; ^ Mercury/javas/jmercury/cmp_uint16.java:393: error: cannot find symbol TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ symbol: variable builtin location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:393: error: package jmercury.runtime does not exist TypeCtorInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0); ^ Mercury/javas/jmercury/cmp_uint16.java:394: error: cannot find symbol TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:394: error: package jmercury.runtime does not exist TypeCtorInfo_19_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/cmp_uint16.java:396: error: cannot find symbol conv0_STATE_VARIABLE_IO_13 = list.foldl_4_p_2(TypeCtorInfo_18_18, TypeCtorInfo_19_19, Var_14, Bs_9, ((java.lang.Object) (0))); ^ symbol: variable list location: class cmp_uint16 Mercury/javas/jmercury/cmp_uint16.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ Mercury/javas/jmercury/cmp_uint16.java:430: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) CmpPred_7)[1]); ^ 100 errors make[3]: *** [/tmp/mmake.I1CTAR:2360: cmp_uint16] Error 1 make[3]: Target 'cmp_uint16.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'