MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - gh98.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - gh98.class Making Mercury/int3s/gh98.int3 Making Mercury/ints/gh98.int Making Mercury/javas/jmercury/gh98.java Making Mercury/classes/jmercury/gh98.class Mercury/javas/jmercury/gh98.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct stream__ti_res_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/gh98.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_stream__ti_res_1builtin__type_ctor_info_string_0__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/gh98.java:40: 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/gh98.java:41: error: package stream.Result_2 does not exist private static final stream.Result_2.Eof_0[] MR_scalar_common_2 = new stream.Result_2.Eof_0[1]; ^ Mercury/javas/jmercury/gh98.java:44: error: package stream.Res_1 does not exist private static final stream.Res_1.Ok_0[] MR_scalar_common_5 = new stream.Res_1.Ok_0[1]; ^ Mercury/javas/jmercury/gh98.java:274: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/gh98.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct stream__ti_res_1builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/gh98.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__plain_stream__ti_res_1builtin__type_ctor_info_string_0__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/gh98.java:21: error: cannot find symbol stream.stream__type_ctor_info_res_1, ^ symbol: variable stream location: class gh98 Mercury/javas/jmercury/gh98.java:23: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:23: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/gh98.java:27: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:29: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) gh98.stream__ti_res_1builtin__type_ctor_info_string_0, ^ Mercury/javas/jmercury/gh98.java:30: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/gh98.java:40: 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/gh98.java:41: error: package stream.Result_2 does not exist private static final stream.Result_2.Eof_0[] MR_scalar_common_2 = new stream.Result_2.Eof_0[1]; ^ Mercury/javas/jmercury/gh98.java:44: error: package stream.Res_1 does not exist private static final stream.Res_1.Ok_0[] MR_scalar_common_5 = new stream.Res_1.Ok_0[1]; ^ Mercury/javas/jmercury/gh98.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/gh98.java:49: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(stream.stream__type_ctor_info_res_1))), ^ symbol: variable stream location: class gh98 Mercury/javas/jmercury/gh98.java:49: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(stream.stream__type_ctor_info_res_1))), ^ Mercury/javas/jmercury/gh98.java:50: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:50: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/gh98.java:53: error: package stream.Result_2 does not exist new stream.Result_2.Eof_0(); ^ Mercury/javas/jmercury/gh98.java:65: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class gh98 Mercury/javas/jmercury/gh98.java:65: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/gh98.java:66: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ symbol: variable private_builtin location: class gh98 Mercury/javas/jmercury/gh98.java:66: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_typeclass_info_0)), ^ Mercury/javas/jmercury/gh98.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/gh98.java:69: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:69: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/gh98.java:74: error: package stream.Res_1 does not exist new stream.Res_1.Ok_0(); ^ Mercury/javas/jmercury/gh98.java:90: error: package stream does not exist stream.Result_2 Result_6 = null; ^ Mercury/javas/jmercury/gh98.java:92: error: package stream does not exist stream.Result_2 LenResult_8 = null; ^ Mercury/javas/jmercury/gh98.java:94: error: package stream does not exist stream.Result_2 NResult_34 = null; ^ Mercury/javas/jmercury/gh98.java:95: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_reader_22)[0])[5]); ^ Mercury/javas/jmercury/gh98.java:95: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_reader_22)[0])[5]); ^ Mercury/javas/jmercury/gh98.java:99: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_reader_22))), ((java.lang.Object) (Stream_5)), ((java.lang.Object) (STATE_VARIABLE_State_0_14)))); ^ Mercury/javas/jmercury/gh98.java:103: error: package stream does not exist NResult_34 = ((stream.Result_2) conv1_NResult_34); ^ Mercury/javas/jmercury/gh98.java:104: error: illegal start of type switch (NResult_34.data_tag) { ^ Mercury/javas/jmercury/gh98.java:109: error: package stream does not exist LenResult_8 = (stream.Result_2) gh98.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/gh98.java:113: error: package stream.Result_2 does not exist java.lang.Object Error_35 = ((stream.Result_2.Error_1) NResult_34).F1; ^ Mercury/javas/jmercury/gh98.java:115: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_error_23)[0])[5]); ^ Mercury/javas/jmercury/gh98.java:115: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_error_23)[0])[5]); ^ Mercury/javas/jmercury/gh98.java:119: error: package jmercury.runtime does not exist conv3_Var_37 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_error_23))), ((java.lang.Object) (Error_35)))); ^ Mercury/javas/jmercury/gh98.java:123: error: package stream.Result_2 does not exist LenResult_8 = new stream.Result_2.Error_1( ^ Mercury/javas/jmercury/gh98.java:130: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/gh98.java:132: error: illegal start of type switch (LenResult_8.data_tag) { ^ Mercury/javas/jmercury/gh98.java:135: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_28_28 = null; ^ Mercury/javas/jmercury/gh98.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_29_29 = null; ^ Mercury/javas/jmercury/gh98.java:137: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_31_31 = null; ^ Mercury/javas/jmercury/gh98.java:138: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = null; ^ Mercury/javas/jmercury/gh98.java:139: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_33_33 = null; ^ Mercury/javas/jmercury/gh98.java:140: error: package stream.Result_2 does not exist int Len_10 = ((java.lang.Integer) (((stream.Result_2.Ok_1) LenResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/gh98.java:140: error: illegal start of type int Len_10 = ((java.lang.Integer) (((stream.Result_2.Ok_1) LenResult_8).F1)).intValue(); ^ Mercury/javas/jmercury/gh98.java:143: error: package stream does not exist stream.Res_1 LoopResult_13 = null; ^ Mercury/javas/jmercury/gh98.java:146: error: package stream does not exist stream.Res_1 Var_19 = null; ^ Mercury/javas/jmercury/gh98.java:161: error: package stream does not exist Var_19 = (stream.Res_1) gh98.MR_scalar_common_5[0]; ^ Mercury/javas/jmercury/gh98.java:168: error: cannot find symbol TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:168: error: package jmercury.runtime does not exist TypeCtorInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/gh98.java:169: error: cannot find symbol TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class gh98 Mercury/javas/jmercury/gh98.java:169: error: package jmercury.runtime does not exist TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/gh98.java:170: error: package jmercury.runtime does not exist TypeInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(gh98.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/gh98.java:173: error: cannot find symbol TypeInfo_31_31 = private_builtin.type_info_from_typeclass_info_3_p_0(TypeClassInfo_for_reader_22, PolyConst5_30); ^ symbol: variable private_builtin location: class gh98 Mercury/javas/jmercury/gh98.java:176: error: package jmercury.runtime does not exist TypeInfo_33_33 = new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/gh98.java:183: error: cannot find symbol java.lang.Object [] result = array.generate_foldl_5_p_2(TypeCtorInfo_28_28, TypeInfo_33_33, Len_10, (/* closure */ java.lang.Object[]) Closure_11, ((java.lang.Object) (Var_17))); ^ symbol: variable array location: class gh98 Mercury/javas/jmercury/gh98.java:189: error: package stream does not exist LoopResult_13 = ((stream.Res_1) ((java.lang.Object[]) Var_18)[0]); ^ Mercury/javas/jmercury/gh98.java:193: error: package stream.Res_1 does not exist java.lang.String Error_21 = ((java.lang.String) ((stream.Res_1.Error_1) LoopResult_13).F1); ^ Mercury/javas/jmercury/gh98.java:196: error: package stream.Result_2 does not exist Result_6 = new stream.Result_2.Error_1( ^ Mercury/javas/jmercury/gh98.java:203: error: package stream.Result_2 does not exist Result_6 = new stream.Result_2.Ok_1( ^ Mercury/javas/jmercury/gh98.java:211: error: package stream does not exist Result_6 = (stream.Result_2) gh98.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/gh98.java:217: error: package stream does not exist Result_6 = (stream.Result_2) LenResult_8; ^ Mercury/javas/jmercury/gh98.java:222: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 73 errors ** Error making `Mercury/classes/jmercury/gh98.class'. make[3]: *** [/tmp/mmake.H7qdHg:1500: gh98.class] Error 1 make[3]: Target 'gh98.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid'