MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/scripts/mmc --make --options-file - switch_detect.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --halt-at-warn '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/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-11-12/stage2/scripts/mmc --make --options-file - switch_detect Making Mercury/int3s/switch_detect.int3 Making Mercury/ints/switch_detect.int Making Mercury/javas/jmercury/switch_detect.java Making Java class files Mercury/javas/jmercury/switch_detect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switch_detect.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/switch_detect.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switch_detect__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switch_detect.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switch_detect__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switch_detect.java:509: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/switch_detect.java:281: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/switch_detect.java:467: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/switch_detect.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "switch_detect"; ^ Mercury/javas/jmercury/switch_detect.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/switch_detect.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/switch_detect.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class switch_detect Mercury/javas/jmercury/switch_detect.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class switch_detect Mercury/javas/jmercury/switch_detect.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/switch_detect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/switch_detect.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/switch_detect.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] switch_detect__field_types_t_0_2 = new jmercury.runtime.PseudoTypeInfo[2]; ^ Mercury/javas/jmercury/switch_detect.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc switch_detect__du_functor_desc_t_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/switch_detect.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_stag_ordered_t_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] switch_detect__du_ptag_ordered_t_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/switch_detect.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] switch_detect__du_name_ordered_t_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/switch_detect.java:41: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct switch_detect__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/switch_detect.java:49: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:57: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:61: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/switch_detect.java:61: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:66: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:74: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:78: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ Mercury/javas/jmercury/switch_detect.java:78: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:80: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ Mercury/javas/jmercury/switch_detect.java:80: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_float_0; ^ symbol: variable builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:85: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:93: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:103: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/switch_detect.java:105: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:127: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/switch_detect.java:132: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/switch_detect.java:135: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/switch_detect.java:168: error: cannot find symbol io.write_string_3_p_0(Var_19); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:175: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_32_32 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:180: error: cannot find symbol io.write_line_3_p_0(TypeCtorInfo_32_32, ((java.lang.Object) (X_4))); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:192: error: cannot find symbol io.write_string_3_p_0(Var_22); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:195: error: cannot find symbol io.write_int_3_p_0(I_8); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:199: error: cannot find symbol io.write_string_3_p_0(Var_25); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:202: error: cannot find symbol io.write_float_3_p_0(F_9); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:205: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:212: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:233: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:236: error: cannot find symbol io.write_int_3_p_0(Num_11); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:239: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:247: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(switch_detect.switch_detect__type_ctor_info_t_0); ^ Mercury/javas/jmercury/switch_detect.java:248: error: package io does not exist io.Read_result_1 Res_6 = null; ^ Mercury/javas/jmercury/switch_detect.java:251: error: cannot find symbol Res_6 = io.read_3_p_0(TypeCtorInfo_14_14); ^ symbol: variable io location: class switch_detect Mercury/javas/jmercury/switch_detect.java:253: error: illegal start of type switch (Res_6.data_tag) { ^ Mercury/javas/jmercury/switch_detect.java:255: error: package io.Read_result_1 does not exist X_4 = ((switch_detect.T_0) ((io.Read_result_1.Ok_1) Res_6).F1); ^ Mercury/javas/jmercury/switch_detect.java:262: error: cannot find symbol require.error_1_p_0(Var_13); ^ symbol: variable require location: class switch_detect Mercury/javas/jmercury/switch_detect.java:271: error: cannot find symbol require.error_1_p_0(Var_12); ^ symbol: variable require location: class switch_detect Mercury/javas/jmercury/switch_detect.java:276: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switch_detect.java:293: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:299: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:303: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:306: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:312: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:321: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:326: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:328: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:333: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:336: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:343: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:351: error: package builtin does not exist builtin.Comparison_result_0 SubResult1_8 = null; ^ Mercury/javas/jmercury/switch_detect.java:355: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/switch_detect.java:360: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/switch_detect.java:362: error: package builtin does not exist SubResult1_8 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/switch_detect.java:364: error: package builtin.Comparison_result_0 does not exist succeeded = (SubResult1_8.MR_value != builtin.Comparison_result_0.K0.MR_value); ^ Mercury/javas/jmercury/switch_detect.java:369: error: cannot find symbol HeadVar__1_1 = private_builtin.builtin_compare_float_3_p_0(ArgX2_9, ArgY2_10); ^ symbol: variable private_builtin location: class switch_detect Mercury/javas/jmercury/switch_detect.java:374: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:378: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:389: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/switch_detect.java:447: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/switch_detect.java:496: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 94 errors make[3]: *** [/tmp/mmake.y64Q5G:2362: switch_detect] Error 1 make[3]: Target 'switch_detect.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-12/tests/hard_coded'