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 - bug513.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 - bug513 Making Mercury/int3s/bug513.int3 Making Mercury/ints/bug513.int Making Mercury/javas/jmercury/bug513.java Making Java class files Mercury/javas/jmercury/bug513.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug513__field_types_apply_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug513.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_stag_ordered_apply_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug513__du_ptag_ordered_apply_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug513.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_name_ordered_apply_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug513__type_ctor_info_apply_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug513.java:145: 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/bug513.java:547: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/bug513.java:229: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bug513.java:253: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bug513.java:330: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/bug513.java:476: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug513.java:527: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/bug513.java:598: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bug513.java:607: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/bug513.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug513"; ^ Mercury/javas/jmercury/bug513.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug513.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug513.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug513 Mercury/javas/jmercury/bug513.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug513 Mercury/javas/jmercury/bug513.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug513.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug513.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] bug513__field_types_apply_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/bug513.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc bug513__du_functor_desc_apply_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/bug513.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_stag_ordered_apply_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] bug513__du_ptag_ordered_apply_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/bug513.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] bug513__du_name_ordered_apply_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/bug513.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct bug513__type_ctor_info_apply_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/bug513.java:48: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:56: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:63: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:71: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:75: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/bug513.java:75: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class bug513 Mercury/javas/jmercury/bug513.java:80: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:88: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:98: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/bug513.java:100: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class bug513 Mercury/javas/jmercury/bug513.java:122: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/bug513.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/bug513.java:130: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/bug513.java:145: 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/bug513.java:153: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug513.java:154: 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 bug513 Mercury/javas/jmercury/bug513.java:154: 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/bug513.java:155: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0))) ^ Mercury/javas/jmercury/bug513.java:162: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class bug513 Mercury/javas/jmercury/bug513.java:162: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/bug513.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0); ^ Mercury/javas/jmercury/bug513.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.bug513__type_ctor_info_apply_0); ^ Mercury/javas/jmercury/bug513.java:188: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/bug513.java:189: error: package list does not exist list.List_1 N_4 = null; ^ Mercury/javas/jmercury/bug513.java:193: error: cannot find symbol N_4 = solutions.solutions_2_p_0(TypeCtorInfo_10_10, Var_7); ^ symbol: variable solutions location: class bug513 Mercury/javas/jmercury/bug513.java:195: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug513.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug513.java:197: error: cannot find symbol io.write_line_3_p_0(TypeInfo_11_11, ((java.lang.Object) (N_4))); ^ symbol: variable io location: class bug513 Mercury/javas/jmercury/bug513.java:209: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((bug513.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:309: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Revert_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).Target_4)), ((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:325: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((bug513.Revert_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).Target_4)), ((java.lang.Object) (((bug513.Revert_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/bug513.java:336: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug513.java:342: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:348: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:352: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:355: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:364: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:367: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:370: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:377: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:386: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/bug513.java:391: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/bug513.java:393: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/bug513.java:398: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:402: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:413: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/bug513.java:456: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:514: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/bug513.java:539: error: package jmercury.runtime does not exist bug513.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 85 errors make[3]: *** [/tmp/mmake.ZQFt9k:2360: bug513] Error 1 make[3]: Target 'bug513.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'