MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/scripts/mmc --make --options-file - multi_arm_switch.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/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-04/stage2/scripts/mmc --make --options-file - multi_arm_switch Making Mercury/int3s/multi_arm_switch.int3 Making Mercury/ints/multi_arm_switch.int Making Mercury/javas/jmercury/multi_arm_switch.java Making Java class files Mercury/javas/jmercury/multi_arm_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch.java:121: 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/multi_arm_switch.java:122: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/multi_arm_switch.java:274: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_arm_switch.java:486: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/multi_arm_switch.java:487: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/multi_arm_switch.java:298: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/multi_arm_switch.java:349: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/multi_arm_switch.java:413: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/multi_arm_switch.java:464: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/multi_arm_switch.java:505: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/multi_arm_switch.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "multi_arm_switch"; ^ Mercury/javas/jmercury/multi_arm_switch.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/multi_arm_switch.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/multi_arm_switch.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/multi_arm_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/multi_arm_switch.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_3 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc multi_arm_switch__enum_functor_desc_t_0_4 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/multi_arm_switch.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] multi_arm_switch__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[5]; ^ Mercury/javas/jmercury/multi_arm_switch.java:40: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct multi_arm_switch__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/multi_arm_switch.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/multi_arm_switch.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/multi_arm_switch.java:106: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/multi_arm_switch.java:121: 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/multi_arm_switch.java:122: error: package maybe.Maybe_1 does not exist private static final maybe.Maybe_1.No_0[] MR_scalar_common_2 = new maybe.Maybe_1.No_0[1]; ^ Mercury/javas/jmercury/multi_arm_switch.java:127: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/multi_arm_switch.java:128: 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 multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:128: 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/multi_arm_switch.java:129: 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 multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:129: 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/multi_arm_switch.java:132: error: package maybe.Maybe_1 does not exist new maybe.Maybe_1.No_0(); ^ Mercury/javas/jmercury/multi_arm_switch.java:139: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:139: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/multi_arm_switch.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch.multi_arm_switch__type_ctor_info_t_0); ^ Mercury/javas/jmercury/multi_arm_switch.java:177: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_21 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch.multi_arm_switch__type_ctor_info_t_0); ^ Mercury/javas/jmercury/multi_arm_switch.java:178: error: package maybe does not exist maybe.Maybe_1 MaybeX_4 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:179: error: package io does not exist io.Read_result_1 Res_16 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:183: error: cannot find symbol Res_16 = io.read_3_p_0(TypeCtorInfo_14_21); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:185: error: illegal start of type switch (Res_16.data_tag) { ^ Mercury/javas/jmercury/multi_arm_switch.java:188: error: package io.Read_result_1 does not exist multi_arm_switch.T_0 X_17 = ((multi_arm_switch.T_0) ((io.Read_result_1.Ok_1) Res_16).F1); ^ Mercury/javas/jmercury/multi_arm_switch.java:191: error: package maybe.Maybe_1 does not exist MaybeX_4 = new maybe.Maybe_1.Yes_1( ^ Mercury/javas/jmercury/multi_arm_switch.java:198: error: package maybe does not exist MaybeX_4 = (maybe.Maybe_1) multi_arm_switch.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/multi_arm_switch.java:205: error: cannot find symbol require.error_1_p_0(Var_20); ^ symbol: variable require location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:210: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch.java:214: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_15_15 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:216: error: package maybe.Maybe_1 does not exist multi_arm_switch.T_0 X_5 = ((multi_arm_switch.T_0) ((maybe.Maybe_1.Yes_1) MaybeX_4).F1); ^ Mercury/javas/jmercury/multi_arm_switch.java:217: error: package list does not exist list.List_1 Solns_6 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:228: error: cannot find symbol TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:228: error: package jmercury.runtime does not exist TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/multi_arm_switch.java:230: error: cannot find symbol Solns_6 = solutions.solutions_2_p_0(TypeCtorInfo_14_14, Var_10); ^ symbol: variable solutions location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:232: error: package jmercury.runtime does not exist TypeInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(multi_arm_switch.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/multi_arm_switch.java:234: error: cannot find symbol io.write_3_p_0(TypeInfo_15_15, ((java.lang.Object) (Solns_6))); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:237: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class multi_arm_switch Mercury/javas/jmercury/multi_arm_switch.java:254: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((multi_arm_switch.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((multi_arm_switch.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((multi_arm_switch.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch.java:303: error: cannot find symbol switch (X_3.MR_value) { ^ symbol: variable MR_value location: variable X_3 of type T_0 Mercury/javas/jmercury/multi_arm_switch.java:303: error: illegal start of type switch (X_3.MR_value) { ^ Mercury/javas/jmercury/multi_arm_switch.java:312: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch.java:324: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch.java:332: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch.java:340: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(N_4), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/multi_arm_switch.java:345: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch.java:355: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:356: error: cannot find symbol int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value; ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/multi_arm_switch.java:357: error: cannot find symbol int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value; ^ symbol: variable MR_value location: variable HeadVar__3_3 of type T_0 Mercury/javas/jmercury/multi_arm_switch.java:361: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/multi_arm_switch.java:366: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/multi_arm_switch.java:368: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/multi_arm_switch.java:379: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/multi_arm_switch.java:393: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__1_1 of type T_0 Mercury/javas/jmercury/multi_arm_switch.java:393: error: cannot find symbol boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value); ^ symbol: variable MR_value location: variable HeadVar__2_2 of type T_0 Mercury/javas/jmercury/multi_arm_switch.java:451: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/multi_arm_switch.java:476: error: package jmercury.runtime does not exist multi_arm_switch.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 90 errors make[3]: *** [/tmp/mmake.oPPqix:2360: multi_arm_switch] Error 1 make[3]: Target 'multi_arm_switch.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-04/tests/hard_coded'