MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - inlining_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/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-10-22/stage2/scripts/mmc --make --options-file - inlining_bug.class Making Mercury/int3s/inlining_bug.int3 Making Mercury/ints/inlining_bug.int Making Mercury/javas/jmercury/inlining_bug.java Making Mercury/classes/jmercury/inlining_bug.class Mercury/javas/jmercury/inlining_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct inlining_bug__pti_my_pair_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/inlining_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inlining_bug__field_types_my_pair_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/inlining_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inlining_bug__du_functor_desc_my_pair_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inlining_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inlining_bug__du_stag_ordered_my_pair_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/inlining_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] inlining_bug__du_ptag_ordered_my_pair_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/inlining_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inlining_bug__du_name_ordered_my_pair_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/inlining_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct inlining_bug__type_ctor_info_my_pair_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/inlining_bug.java:93: 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/inlining_bug.java:96: 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/inlining_bug.java:97: 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[3]; ^ Mercury/javas/jmercury/inlining_bug.java:420: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/inlining_bug.java:261: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_11, ^ Mercury/javas/jmercury/inlining_bug.java:259: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/inlining_bug.java:313: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_A_9, ^ Mercury/javas/jmercury/inlining_bug.java:358: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/inlining_bug.java:377: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/inlining_bug.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct inlining_bug__pti_my_pair_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/inlining_bug.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] inlining_bug__field_types_my_pair_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/inlining_bug.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc inlining_bug__du_functor_desc_my_pair_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/inlining_bug.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inlining_bug__du_stag_ordered_my_pair_1_0 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/inlining_bug.java:19: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] inlining_bug__du_ptag_ordered_my_pair_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/inlining_bug.java:20: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] inlining_bug__du_name_ordered_my_pair_1 = new jmercury.runtime.DuFunctorDesc[1]; ^ Mercury/javas/jmercury/inlining_bug.java:22: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct inlining_bug__type_ctor_info_my_pair_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/inlining_bug.java:27: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/inlining_bug.java:29: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/inlining_bug.java:34: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:42: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:48: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/inlining_bug.java:50: error: cannot find symbol private_builtin.MR_SECTAG_NONE, ^ symbol: variable private_builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:64: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/inlining_bug.java:69: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/inlining_bug.java:72: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/inlining_bug.java:83: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/inlining_bug.java:83: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:93: 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/inlining_bug.java:96: 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/inlining_bug.java:97: 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[3]; ^ Mercury/javas/jmercury/inlining_bug.java:101: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/inlining_bug.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(inlining_bug.inlining_bug__type_ctor_info_my_pair_1))), ^ Mercury/javas/jmercury/inlining_bug.java:103: 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 inlining_bug Mercury/javas/jmercury/inlining_bug.java:103: 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/inlining_bug.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/inlining_bug.java:120: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/inlining_bug.java:122: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inlining_bug.java:124: error: package list does not exist (list.List_1) inlining_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/inlining_bug.java:127: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inlining_bug.java:129: error: package list does not exist (list.List_1) inlining_bug.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/inlining_bug.java:132: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/inlining_bug.java:134: error: package list does not exist (list.List_1) inlining_bug.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/inlining_bug.java:164: 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/inlining_bug.java:164: 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 inlining_bug Mercury/javas/jmercury/inlining_bug.java:164: 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/inlining_bug.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(inlining_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/inlining_bug.java:165: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(inlining_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/inlining_bug.java:168: error: package list does not exist list.List_1 Ys_7 = null; ^ Mercury/javas/jmercury/inlining_bug.java:169: error: package list does not exist list.List_1 Var_11 = (list.List_1) inlining_bug.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/inlining_bug.java:169: error: package list does not exist list.List_1 Var_11 = (list.List_1) inlining_bug.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/inlining_bug.java:173: error: package list does not exist list.List_1 As_34 = null; ^ Mercury/javas/jmercury/inlining_bug.java:174: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/inlining_bug.java:179: error: package list does not exist list.List_1 Var_24 = null; ^ Mercury/javas/jmercury/inlining_bug.java:183: error: package list does not exist list.List_1 Var_28 = null; ^ Mercury/javas/jmercury/inlining_bug.java:188: error: package list.List_1 does not exist A_33 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/inlining_bug.java:188: error: illegal start of type A_33 = ((java.lang.Integer) (((list.List_1.F_cons_2) Var_11).F1)).intValue(); ^ Mercury/javas/jmercury/inlining_bug.java:189: error: package list.List_1 does not exist As_34 = ((list.List_1.F_cons_2) Var_11).F2; ^ Mercury/javas/jmercury/inlining_bug.java:190: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Plus1_3)[1]); ^ Mercury/javas/jmercury/inlining_bug.java:192: error: package jmercury.runtime does not exist conv2_X_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Plus1_3))), ((java.lang.Object) (java.lang.Integer.valueOf(A_33))))); ^ Mercury/javas/jmercury/inlining_bug.java:196: error: cannot find symbol Ys_7 = list.map_3_p_0(TypeCtorInfo_31_31, TypeInfo_32_32, Plus1_3, As_34); ^ symbol: variable list location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:209: error: package list.List_1 does not exist Var_21 = ((inlining_bug.My_pair_1) ((list.List_1.F_cons_2) Ys_7).F1); ^ Mercury/javas/jmercury/inlining_bug.java:210: error: package list.List_1 does not exist Var_24 = ((list.List_1.F_cons_2) Ys_7).F2; ^ Mercury/javas/jmercury/inlining_bug.java:222: error: package list.List_1 does not exist Var_25 = ((inlining_bug.My_pair_1) ((list.List_1.F_cons_2) Var_24).F1); ^ Mercury/javas/jmercury/inlining_bug.java:223: error: package list.List_1 does not exist Var_28 = ((list.List_1.F_cons_2) Var_24).F2; ^ Mercury/javas/jmercury/inlining_bug.java:266: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/inlining_bug.java:272: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/inlining_bug.java:279: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/inlining_bug.java:282: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_A_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:284: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/inlining_bug.java:289: error: cannot find symbol HeadVar__1_1 = builtin.compare_3_p_0(TypeInfo_for_A_11, ArgX2_7, ArgY2_8); ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:302: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/inlining_bug.java:305: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = inlining_bug.__Compare____my_pair_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((inlining_bug.My_pair_1) wrapper_arg_3), ((inlining_bug.My_pair_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/inlining_bug.java:332: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_A_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:336: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_A_9, ArgX2_5, ArgY2_6); ^ symbol: variable builtin location: class inlining_bug Mercury/javas/jmercury/inlining_bug.java:351: error: package jmercury.runtime does not exist succeeded = inlining_bug.__Unify____my_pair_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((inlining_bug.My_pair_1) wrapper_arg_2), ((inlining_bug.My_pair_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/inlining_bug.java:407: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/inlining_bug.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 84 errors ** Error making `Mercury/classes/jmercury/inlining_bug.class'. make[3]: *** [/tmp/mmake.0ITqzL:1497: inlining_bug.class] Error 1 make[3]: Target 'inlining_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-22/tests/valid'