MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-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-11-06/stage2/scripts/mmc --make --options-file - test_exceptions_func.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/exceptions' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/exceptions' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --no-warn-det-decls-too-lax '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-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-11-06/stage2/scripts/mmc --make --options-file - test_exceptions_func Making Mercury/int3s/test_exceptions_func.int3 Making Mercury/ints/test_exceptions_func.int Making Mercury/javas/jmercury/test_exceptions_func.java Making Java class files Mercury/javas/jmercury/test_exceptions_func.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_exceptions_func.java:355: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/test_exceptions_func.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "test_exceptions_func"; ^ Mercury/javas/jmercury/test_exceptions_func.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/test_exceptions_func.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/test_exceptions_func.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/test_exceptions_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/test_exceptions_func.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_3 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/test_exceptions_func.java:42: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:42: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)) ^ Mercury/javas/jmercury/test_exceptions_func.java:75: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/test_exceptions_func.java:76: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(exception.exception__type_ctor_info_exception_result_1), ^ Mercury/javas/jmercury/test_exceptions_func.java:77: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:77: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0) ^ Mercury/javas/jmercury/test_exceptions_func.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:99: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:104: error: cannot find symbol conv0_HeadVar__1_1 = exception.throw_1_f_0(TypeCtorInfo_3_3, TypeCtorInfo_3_3, ((java.lang.Object) (Var_2))); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:114: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:114: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_36_36 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_46 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:116: error: package exception does not exist exception.Exception_result_1 R1_4 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:117: error: package exception does not exist exception.Exception_result_1 R2_5 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:118: error: package exception does not exist exception.Exception_result_1 SemidetThrowResult_6 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:119: error: package exception does not exist exception.Exception_result_1 SemidetSucceedResult_7 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:120: error: package exception does not exist exception.Exception_result_1 SemidetFailResult_8 = null; ^ Mercury/javas/jmercury/test_exceptions_func.java:133: error: cannot find symbol R1_4 = exception.try_2_p_0(TypeCtorInfo_36_36, Var_11); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:137: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_12))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:139: error: package jmercury.runtime does not exist TypeInfo_10_46 = jmercury.runtime.TypeInfo_Struct.maybe_new(test_exceptions_func.MR_scalar_common_3[0]); ^ Mercury/javas/jmercury/test_exceptions_func.java:141: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (R1_4))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:144: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:148: error: cannot find symbol R2_5 = exception.try_2_p_0(TypeCtorInfo_36_36, Var_16); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:152: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_17))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:155: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (R2_5))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:158: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:162: error: cannot find symbol SemidetThrowResult_6 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_21); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:166: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_22))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:169: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetThrowResult_6))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:172: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:176: error: cannot find symbol SemidetSucceedResult_7 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_26); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:180: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_27))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:183: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetSucceedResult_7))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:186: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:190: error: cannot find symbol SemidetFailResult_8 = exception.try_2_p_1(TypeCtorInfo_36_36, Var_31); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:194: error: cannot find symbol io.print_3_p_0(TypeCtorInfo_36_36, ((java.lang.Object) (Var_32))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:197: error: cannot find symbol io.print_3_p_0(TypeInfo_10_46, ((java.lang.Object) (SemidetFailResult_8))); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:200: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:338: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ symbol: variable builtin location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:338: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_3_3 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0); ^ Mercury/javas/jmercury/test_exceptions_func.java:343: error: cannot find symbol conv0_HeadVar__1_1 = exception.throw_1_f_0(TypeCtorInfo_3_3, TypeCtorInfo_3_3, ((java.lang.Object) (Var_2))); ^ symbol: variable exception location: class test_exceptions_func Mercury/javas/jmercury/test_exceptions_func.java:410: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 60 errors make[3]: *** [/tmp/mmake.Ngklhr:1208: test_exceptions_func] Error 1 make[3]: Target 'test_exceptions_func.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/exceptions'