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 - test_one_or_more.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 - test_one_or_more Making Mercury/int3s/test_one_or_more.int3 Making Mercury/ints/test_one_or_more.int Making Mercury/javas/jmercury/test_one_or_more.java Making Java class files Mercury/javas/jmercury/test_one_or_more.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.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_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:59: 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/test_one_or_more.java:153: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_6, ^ Mercury/javas/jmercury/test_one_or_more.java:154: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:202: error: package list does not exist list.List_1 List_8, ^ Mercury/javas/jmercury/test_one_or_more.java:203: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:254: error: package list does not exist list.List_1 List0_9, ^ Mercury/javas/jmercury/test_one_or_more.java:593: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_6) ^ Mercury/javas/jmercury/test_one_or_more.java:695: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:744: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/test_one_or_more.java:767: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_33, ^ Mercury/javas/jmercury/test_one_or_more.java:770: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_10, ^ Mercury/javas/jmercury/test_one_or_more.java:848: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_55) ^ Mercury/javas/jmercury/test_one_or_more.java:846: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:861: error: package list does not exist list.List_1 HeadVar__1_58) ^ Mercury/javas/jmercury/test_one_or_more.java:859: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:874: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_62) ^ Mercury/javas/jmercury/test_one_or_more.java:872: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:887: error: package list does not exist list.List_1 HeadVar__1_65) ^ Mercury/javas/jmercury/test_one_or_more.java:885: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:900: error: package one_or_more does not exist one_or_more.One_or_more_1 HeadVar__1_68) ^ Mercury/javas/jmercury/test_one_or_more.java:898: error: package one_or_more does not exist private static one_or_more.One_or_more_1 ^ Mercury/javas/jmercury/test_one_or_more.java:913: error: package list does not exist list.List_1 HeadVar__1_71) ^ Mercury/javas/jmercury/test_one_or_more.java:911: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/test_one_or_more.java:926: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/test_one_or_more.java:1040: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/test_one_or_more.java:1087: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1096: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1105: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:1114: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/test_one_or_more.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_one_or_more"; ^ Mercury/javas/jmercury/test_one_or_more.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_one_or_more.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_one_or_more.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_one_or_more.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_one_or_more.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct one_or_more__pti_one_or_more_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.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_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/test_one_or_more.java:38: error: cannot find symbol one_or_more.one_or_more__type_ctor_info_one_or_more_1, ^ symbol: variable one_or_more location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:40: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_one_or_more.java:40: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:44: error: cannot find symbol list.list__type_ctor_info_list_1, ^ symbol: variable list location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:46: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/test_one_or_more.java:46: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:57: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_one_or_more.java:59: 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/test_one_or_more.java:65: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) random__sfc16.base_typeclass_info_random__random__arity1__random__sfc16__random__arity0__)), ^ symbol: variable random__sfc16 location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ symbol: variable random__sfc16 location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(random__sfc16.random__sfc16__type_ctor_info_random_0))) ^ Mercury/javas/jmercury/test_one_or_more.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_one_or_more.java:70: 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 test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:70: 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/test_one_or_more.java:71: 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 test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:71: 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/test_one_or_more.java:79: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:79: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_one_or_more.java:87: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:87: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/test_one_or_more.java:106: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/test_one_or_more.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:167: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_31_31 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:170: error: cannot find symbol one_or_more.member_2_p_1(TypeCtorInfo_31_31, OoM_6, new AddrOf2_0(1), env_ptr); ^ symbol: variable one_or_more location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:183: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).LambdaHeadVar__1_16), ((java.lang.Object) (((test_one_or_more.introducedFrom__pred__test_member__55__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_one_or_more.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:216: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:216: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/test_one_or_more.java:219: error: cannot find symbol list.member_2_p_1(TypeCtorInfo_32_32, List_8, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:232: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).LambdaHeadVar__1_17), ((java.lang.Object) (((test_one_or_more.introducedFrom__pred__test_member__59__1_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/test_one_or_more.java:260: error: package list does not exist list.List_1 List_10 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:272: error: package list does not exist list.List_1 Var_19 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:275: error: package list does not exist list.List_1 next_value_of_List0_9 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:279: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_22, Var_16, Max_8, STATE_VARIABLE_RandomState_0_13); ^ symbol: variable random location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:286: error: package list.List_1 does not exist Var_19 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/test_one_or_more.java:319: error: package one_or_more does not exist one_or_more.One_or_more_1 OoM_8 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:322: error: package list does not exist list.List_1 T_11 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:326: error: package list does not exist list.List_1 Var_17 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:330: error: cannot find symbol java.lang.Object [] result = random.uniform_int_in_range_5_p_0(TypeClassInfo_for_random_20, Var_14, Max_7, STATE_VARIABLE_RandomState_0_12); ^ symbol: variable random location: class test_one_or_more Mercury/javas/jmercury/test_one_or_more.java:336: error: package list does not exist Var_17 = (list.List_1) test_one_or_more.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/test_one_or_more.java:339: error: package list does not exist T_11 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/test_one_or_more.java:343: error: package one_or_more does not exist OoM_8 = new one_or_more.One_or_more_1( ^ Mercury/javas/jmercury/test_one_or_more.java:359: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_61_61 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:360: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMA_5 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:361: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMB_6 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:362: error: package one_or_more does not exist one_or_more.One_or_more_1 OoMC_7 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:363: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMA_8 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:364: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMB_9 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:365: error: package one_or_more does not exist one_or_more.One_or_more_1 DenseOoMC_10 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:366: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_14_14 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:369: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_17_17 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:372: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_20_20 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:375: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_23_23 = null; ^ Mercury/javas/jmercury/test_one_or_more.java:378: error: package random__sfc16 does not exist random__sfc16.Random_0 STATE_VARIABLE_RandomState_26_26 = null; ^ 100 errors make[3]: *** [/tmp/mmake.WDb48X:2360: test_one_or_more] Error 1 make[3]: Target 'test_one_or_more.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'