MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - try_syntax_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/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-06/stage2/scripts/mmc --make --options-file - try_syntax_2 Making Mercury/int3s/try_syntax_2.int3 Making Mercury/ints/try_syntax_2.int Making Mercury/javas/jmercury/try_syntax_2.java Making Java class files Mercury/javas/jmercury/try_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_2__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:95: 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/try_syntax_2.java:420: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/try_syntax_2.java:421: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/try_syntax_2.java:294: error: package builtin does not exist private static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/try_syntax_2.java:358: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/try_syntax_2.java:376: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/try_syntax_2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "try_syntax_2"; ^ Mercury/javas/jmercury/try_syntax_2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/try_syntax_2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/try_syntax_2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/try_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/try_syntax_2.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_1__plain_builtin__type_ctor_info_string_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc try_syntax_2__enum_functor_desc_action_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/try_syntax_2.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_ordinal_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] try_syntax_2__enum_name_ordered_action_0 = new jmercury.runtime.EnumFunctorDesc[2]; ^ Mercury/javas/jmercury/try_syntax_2.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct try_syntax_2__type_ctor_info_action_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/try_syntax_2.java:43: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ Mercury/javas/jmercury/try_syntax_2.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_string_0 ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:72: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/try_syntax_2.java:77: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/try_syntax_2.java:80: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/try_syntax_2.java:95: 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/try_syntax_2.java:100: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/try_syntax_2.java:101: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:101: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0))), ^ Mercury/javas/jmercury/try_syntax_2.java:102: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:102: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))) ^ Mercury/javas/jmercury/try_syntax_2.java:110: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:110: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)), ^ Mercury/javas/jmercury/try_syntax_2.java:131: error: cannot find symbol Output_27 = string.f_43_43_2_f_0(Input_6, Var_16); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:133: error: cannot find symbol switch (Action_4.MR_value) { ^ symbol: variable MR_value location: variable Action_4 of type Action_0 Mercury/javas/jmercury/try_syntax_2.java:133: error: illegal start of type switch (Action_4.MR_value) { ^ Mercury/javas/jmercury/try_syntax_2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:140: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:140: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_22_22 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:144: error: cannot find symbol exception.throw_1_p_0(TypeCtorInfo_22_22, ((java.lang.Object) (Var_17))); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:149: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/try_syntax_2.java:168: error: cannot find symbol io.write_string_3_p_0(Var_6); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:176: error: cannot find symbol io.write_string_3_p_0(Var_10); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:189: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_28_28 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:192: error: package exception does not exist exception.Exception_result_1 TryResult_13 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:207: error: package jmercury.runtime does not exist TypeInfo_28_28 = jmercury.runtime.TypeInfo_Struct.maybe_new(try_syntax_2.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/try_syntax_2.java:209: error: cannot find symbol TryResult_13 = exception.try_2_p_0(TypeInfo_28_28, TryLambda_26); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:213: error: package univ does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_2.java:213: error: package exception.Exception_result_1 does not exist univ.Univ_0 Var_14 = ((exception.Exception_result_1.Exception_1) TryResult_13).F1; ^ Mercury/javas/jmercury/try_syntax_2.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:215: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:215: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/try_syntax_2.java:219: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_to_type_2_p_0(TypeCtorInfo_23_23, Var_14); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:233: error: cannot find symbol X_8 = string.f_43_43_2_f_0(Var_18, E_9); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:238: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_24_24 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:244: error: cannot find symbol java.lang.Object [] result = exception.exc_univ_value_1_f_0(Var_14); ^ symbol: variable exception location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:245: error: package jmercury.runtime does not exist TypeInfo_24_24 = (jmercury.runtime.TypeInfo_Struct) result[0]; ^ Mercury/javas/jmercury/try_syntax_2.java:250: error: cannot find symbol Var_20 = string.string_1_f_0(TypeInfo_24_24, Other_10); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:253: error: cannot find symbol X_8 = string.f_43_43_2_f_0(Var_19, Var_20); ^ symbol: variable string location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:259: error: package exception.Exception_result_1 does not exist /* tuple */ java.lang.Object[] OutputTuple_30 = ((/* tuple */ java.lang.Object[]) ((exception.Exception_result_1.Succeeded_1) TryResult_13).F1); ^ Mercury/javas/jmercury/try_syntax_2.java:264: error: cannot find symbol io.write_string_3_p_0(X_8); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:267: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class try_syntax_2 Mercury/javas/jmercury/try_syntax_2.java:300: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:301: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:302: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:306: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/try_syntax_2.java:311: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/try_syntax_2.java:313: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/try_syntax_2.java:324: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/try_syntax_2.java:338: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:338: 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 Action_0 Mercury/javas/jmercury/try_syntax_2.java:405: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 82 errors make[3]: *** [/tmp/mmake.pu09YL:2364: try_syntax_2] Error 1 make[3]: Target 'try_syntax_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-06/tests/hard_coded'