MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/scripts/mmc --make --options-file - arith_uint16.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/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-08-26/stage2/scripts/mmc --make --options-file - arith_uint16 Making Mercury/int3s/arith_uint16.int3 Making Mercury/ints/arith_uint16.int Making Mercury/javas/jmercury/arith_uint16.java Making Java class files Mercury/javas/jmercury/arith_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_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/arith_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:65: 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/arith_uint16.java:66: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/arith_uint16.java:67: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/arith_uint16.java:423: error: package list does not exist list.List_1 Bs_9, ^ Mercury/javas/jmercury/arith_uint16.java:571: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/arith_uint16.java:589: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/arith_uint16.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "arith_uint16"; ^ Mercury/javas/jmercury/arith_uint16.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/arith_uint16.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/arith_uint16.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/arith_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/arith_uint16.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_func_3__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_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/arith_uint16.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_uint16_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/arith_uint16.java:39: error: cannot find symbol builtin.builtin__type_ctor_info_func_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:41: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/arith_uint16.java:41: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:42: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ Mercury/javas/jmercury/arith_uint16.java:42: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:43: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:43: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:47: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:49: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:49: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:53: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:55: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ Mercury/javas/jmercury/arith_uint16.java:55: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_uint16_0 ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:65: 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/arith_uint16.java:66: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/arith_uint16.java:67: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[8]; ^ Mercury/javas/jmercury/arith_uint16.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/arith_uint16.java:76: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:76: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/arith_uint16.java:77: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:77: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_uint16_0))) ^ Mercury/javas/jmercury/arith_uint16.java:80: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/arith_uint16.java:82: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:84: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/arith_uint16.java:87: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:89: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/arith_uint16.java:92: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:94: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/arith_uint16.java:97: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:99: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[2] ^ Mercury/javas/jmercury/arith_uint16.java:102: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:104: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[3] ^ Mercury/javas/jmercury/arith_uint16.java:107: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:109: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[4] ^ Mercury/javas/jmercury/arith_uint16.java:112: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:114: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[5] ^ Mercury/javas/jmercury/arith_uint16.java:117: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/arith_uint16.java:119: error: package list does not exist (list.List_1) arith_uint16.MR_scalar_common_3[6] ^ Mercury/javas/jmercury/arith_uint16.java:127: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:127: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint16.java:129: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:129: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:130: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:130: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint16.java:131: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:131: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint16.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/arith_uint16.java:140: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:140: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:141: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:141: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:142: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:142: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/arith_uint16.java:143: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:143: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/arith_uint16.java:150: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:150: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:151: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:151: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:152: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:152: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)) ^ Mercury/javas/jmercury/arith_uint16.java:190: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:190: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:191: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ symbol: variable builtin location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:191: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_uint16_0)), ^ Mercury/javas/jmercury/arith_uint16.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint16.java:210: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BinOpFunc_7)[1]); ^ Mercury/javas/jmercury/arith_uint16.java:214: error: package jmercury.runtime does not exist conv1_Result0_36 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BinOpFunc_7))), ((java.lang.Object) (java.lang.Short.valueOf(A_9))), ((java.lang.Object) (java.lang.Short.valueOf(B_10))))); ^ Mercury/javas/jmercury/arith_uint16.java:243: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:251: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:259: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:267: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:287: error: cannot find symbol conv0_HeadVar__3_3 = uint16.f_plus_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:304: error: cannot find symbol conv1_HeadVar__3_3 = uint16.f_minus_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:321: error: cannot find symbol conv2_HeadVar__3_3 = uint16.f_times_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 Mercury/javas/jmercury/arith_uint16.java:338: error: cannot find symbol conv3_HeadVar__3_3 = uint16.f_slash_2_f_0(((java.lang.Short) wrapper_arg_1).shortValue(), ((java.lang.Short) wrapper_arg_2).shortValue()); ^ symbol: variable uint16 location: class arith_uint16 100 errors make[3]: *** [/tmp/mmake.q9gUIH:2364: arith_uint16] Error 1 make[3]: Target 'arith_uint16.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-26/tests/hard_coded'