MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { 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 - common_struct_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid' { 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 - common_struct_bug.class Making Mercury/int3s/common_struct_bug.int3 Making Mercury/ints/common_struct_bug.int Making Mercury/javas/jmercury/common_struct_bug.java Making Mercury/classes/jmercury/common_struct_bug.class Mercury/javas/jmercury/common_struct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct common_struct_bug__pti_my_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/common_struct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_struct_bug__field_types_my_list_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_struct_bug__du_functor_desc_my_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_struct_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_struct_bug__du_functor_desc_my_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_struct_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_struct_bug__du_stag_ordered_my_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_struct_bug__du_ptag_ordered_my_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_struct_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_struct_bug__du_name_ordered_my_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_struct_bug__type_ctor_info_my_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_struct_bug.java:138: 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/common_struct_bug.java:365: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/common_struct_bug.java:186: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_11, ^ Mercury/javas/jmercury/common_struct_bug.java:184: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/common_struct_bug.java:257: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/common_struct_bug.java:322: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/common_struct_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "common_struct_bug"; ^ Mercury/javas/jmercury/common_struct_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/common_struct_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/common_struct_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/common_struct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/common_struct_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct common_struct_bug__pti_my_list_1__pseudo_1 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/common_struct_bug.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] common_struct_bug__field_types_my_list_1_0 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_struct_bug__du_functor_desc_my_list_1_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_struct_bug.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc common_struct_bug__du_functor_desc_my_list_1_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/common_struct_bug.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_struct_bug__du_stag_ordered_my_list_1_0 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] common_struct_bug__du_ptag_ordered_my_list_1 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/common_struct_bug.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] common_struct_bug__du_name_ordered_my_list_1 = new jmercury.runtime.DuFunctorDesc[2]; ^ Mercury/javas/jmercury/common_struct_bug.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct common_struct_bug__type_ctor_info_my_list_1 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/common_struct_bug.java:53: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:61: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:69: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1; ^ Mercury/javas/jmercury/common_struct_bug.java:71: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) common_struct_bug.common_struct_bug__pti_my_list_1__pseudo_1; ^ Mercury/javas/jmercury/common_struct_bug.java:77: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:85: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:97: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/common_struct_bug.java:99: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:109: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/common_struct_bug.java:114: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/common_struct_bug.java:117: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/common_struct_bug.java:128: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1 ^ Mercury/javas/jmercury/common_struct_bug.java:138: 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/common_struct_bug.java:144: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/common_struct_bug.java:145: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(common_struct_bug.common_struct_bug__type_ctor_info_my_list_1))), ^ Mercury/javas/jmercury/common_struct_bug.java:146: 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 common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:146: 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/common_struct_bug.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(common_struct_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/common_struct_bug.java:176: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(common_struct_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/common_struct_bug.java:180: error: cannot find symbol io.write_line_3_p_0(TypeInfo_22_22, ((java.lang.Object) (List1_5_19))); ^ symbol: variable io location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:193: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_struct_bug.java:200: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/common_struct_bug.java:209: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_6 = null; ^ Mercury/javas/jmercury/common_struct_bug.java:212: error: cannot find symbol SubResult1_6 = builtin.compare_3_p_0(TypeInfo_for_T_11, ArgX1_4, ArgY1_5); ^ symbol: variable builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:214: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_6.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/common_struct_bug.java:229: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/common_struct_bug.java:232: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/common_struct_bug.java:234: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/common_struct_bug.java:246: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/common_struct_bug.java:249: error: package jmercury.runtime does not exist conv0_HeadVar__1_1 = common_struct_bug.__Compare____my_list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_struct_bug.My_list_1) wrapper_arg_3), ((common_struct_bug.My_list_1) wrapper_arg_4)); ^ Mercury/javas/jmercury/common_struct_bug.java:287: error: cannot find symbol succeeded = builtin.unify_2_p_0(TypeInfo_for_T_9, ArgX1_3, ArgY1_4); ^ symbol: variable builtin location: class common_struct_bug Mercury/javas/jmercury/common_struct_bug.java:315: error: package jmercury.runtime does not exist succeeded = common_struct_bug.__Unify____my_list_1_0(((jmercury.runtime.TypeInfo_Struct) wrapper_arg_1), ((common_struct_bug.My_list_1) wrapper_arg_2), ((common_struct_bug.My_list_1) wrapper_arg_3)); ^ Mercury/javas/jmercury/common_struct_bug.java:352: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Note: Mercury/javas/jmercury/common_struct_bug.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 66 errors ** Error making `Mercury/classes/jmercury/common_struct_bug.class'. make[3]: *** [/tmp/mmake.JJuubz:1500: common_struct_bug.class] Error 1 make[3]: Target 'common_struct_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid'