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 - write_array.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 - write_array Making Mercury/int3s/write_array.int3 Making Mercury/ints/write_array.int Making Mercury/javas/jmercury/write_array.java Making Java class files Mercury/javas/jmercury/write_array.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/write_array.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/write_array.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/write_array.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/write_array.java:173: error: package list does not exist list.List_1 List_4) ^ Mercury/javas/jmercury/write_array.java:247: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/write_array.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "write_array"; ^ Mercury/javas/jmercury/write_array.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/write_array.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/write_array.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class write_array Mercury/javas/jmercury/write_array.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class write_array Mercury/javas/jmercury/write_array.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/write_array.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/write_array.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/write_array.java:37: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class write_array Mercury/javas/jmercury/write_array.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/write_array.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class write_array Mercury/javas/jmercury/write_array.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/write_array.java:52: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/write_array.java:53: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[7]; ^ Mercury/javas/jmercury/write_array.java:57: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/write_array.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 write_array Mercury/javas/jmercury/write_array.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/write_array.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 write_array Mercury/javas/jmercury/write_array.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/write_array.java:67: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:67: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/write_array.java:68: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:68: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/write_array.java:75: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class write_array Mercury/javas/jmercury/write_array.java:75: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/write_array.java:76: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:76: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/write_array.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/write_array.java:98: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/write_array.java:100: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:102: error: package list does not exist (list.List_1) write_array.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/write_array.java:105: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:107: error: package list does not exist (list.List_1) write_array.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/write_array.java:110: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:112: error: package list does not exist (list.List_1) write_array.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/write_array.java:115: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:116: error: package list does not exist ((java.lang.Object) ((list.List_1) write_array.MR_scalar_common_5[2])), ^ Mercury/javas/jmercury/write_array.java:117: error: package list does not exist (list.List_1) write_array.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/write_array.java:120: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:122: error: package list does not exist (list.List_1) write_array.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/write_array.java:125: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:126: error: package list does not exist ((java.lang.Object) ((list.List_1) write_array.MR_scalar_common_5[4])), ^ Mercury/javas/jmercury/write_array.java:127: error: package list does not exist (list.List_1) write_array.MR_scalar_common_5[3] ^ Mercury/javas/jmercury/write_array.java:130: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/write_array.java:131: error: package list does not exist ((java.lang.Object) ((list.List_1) write_array.MR_scalar_common_4[0])), ^ Mercury/javas/jmercury/write_array.java:132: error: package list does not exist (list.List_1) write_array.MR_scalar_common_5[5] ^ Mercury/javas/jmercury/write_array.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(write_array.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/write_array.java:145: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_26_26 = jmercury.runtime.TypeInfo_Struct.maybe_new(write_array.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/write_array.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/write_array.java:146: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:146: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_27_27 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/write_array.java:148: error: package list does not exist list.List_1 Var_7 = (list.List_1) write_array.MR_scalar_common_5[6]; ^ Mercury/javas/jmercury/write_array.java:148: error: package list does not exist list.List_1 Var_7 = (list.List_1) write_array.MR_scalar_common_5[6]; ^ Mercury/javas/jmercury/write_array.java:152: error: cannot find symbol conv0_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeInfo_26_26, TypeCtorInfo_27_27, Var_6, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class write_array Mercury/javas/jmercury/write_array.java:166: error: package list does not exist write_array.run_test_3_p_0(((list.List_1) wrapper_arg_1)); ^ Mercury/javas/jmercury/write_array.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/write_array.java:175: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class write_array Mercury/javas/jmercury/write_array.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/write_array.java:186: error: cannot find symbol conv0_Array_6 = array.from_list_1_f_0(TypeCtorInfo_20_20, List_4); ^ symbol: variable array location: class write_array Mercury/javas/jmercury/write_array.java:191: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:196: error: cannot find symbol io.write_array_5_p_0(TypeCtorInfo_20_20, (/* Array */ java.lang.Object) Array_6, Var_11, Var_12); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:199: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:203: error: cannot find symbol io.write_string_3_p_0(Var_15); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:208: error: cannot find symbol io.write_list_5_p_0(TypeCtorInfo_20_20, List_4, Var_17, Var_18); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:211: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:225: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:240: error: cannot find symbol io.write_int_3_p_0(((java.lang.Integer) wrapper_arg_1).intValue()); ^ symbol: variable io location: class write_array Mercury/javas/jmercury/write_array.java:286: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 79 errors make[3]: *** [/tmp/mmake.eAM3se:2360: write_array] Error 1 make[3]: Target 'write_array.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'