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 - curry2.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 - curry2 Making Mercury/int3s/curry2.int3 Making Mercury/int3s/curry2_test.int3 Making Mercury/ints/curry2_test.int Making Mercury/ints/curry2.int Making Mercury/javas/jmercury/curry2.java Making Mercury/javas/jmercury/curry2_test.java curry2_test.m:016: Warning: the determinism declaration for curry2_test.m:016: `q'(in((pred((ground >> ground), (ground >> ground), (free curry2_test.m:016: >> ground)) is det)), out((pred((ground >> ground), (free curry2_test.m:016: >> ground)) is det))) could be tighter. curry2_test.m:016: Declared `semidet', inferred `det'. Making Java class files Mercury/javas/jmercury/curry2.java:562: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/curry2_test.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry2_test.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry2_test.java:98: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:99: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:115: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:116: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:132: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:133: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:200: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:201: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:235: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:236: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T2_12, ^ Mercury/javas/jmercury/curry2_test.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T3_13, ^ Mercury/javas/jmercury/curry2_test.java:419: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/curry2.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "curry2"; ^ Mercury/javas/jmercury/curry2.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/curry2.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/curry2.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class curry2 Mercury/javas/jmercury/curry2.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class curry2 Mercury/javas/jmercury/curry2.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/curry2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/curry2.java:43: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:43: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2.java:44: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:44: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry2.java:88: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:88: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2.java:89: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:89: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2.java:90: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:90: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2.java:91: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:91: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:175: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:177: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/curry2.java:181: error: package jmercury.runtime does not exist conv1_X_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/curry2.java:185: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:187: error: package jmercury.runtime does not exist conv3_Y_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))); ^ Mercury/javas/jmercury/curry2.java:191: error: cannot find symbol io.write_int_3_p_0(X_6); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:195: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:198: error: cannot find symbol io.write_int_3_p_0(Y_7); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:202: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:216: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:216: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:218: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_2 = null; ^ Mercury/javas/jmercury/curry2.java:222: error: package jmercury.runtime does not exist conv1_X_6 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_10))))); ^ Mercury/javas/jmercury/curry2.java:226: error: package jmercury.runtime does not exist func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/curry2.java:228: error: package jmercury.runtime does not exist conv3_Y_7 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_4))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_11))))); ^ Mercury/javas/jmercury/curry2.java:232: error: cannot find symbol io.write_int_3_p_0(X_6); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:236: error: cannot find symbol io.write_string_3_p_0(Var_13); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:239: error: cannot find symbol io.write_int_3_p_0(Y_7); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:243: error: cannot find symbol io.write_string_3_p_0(Var_16); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:287: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/curry2.java:287: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class curry2 Mercury/javas/jmercury/curry2.java:287: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_60_60 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/curry2.java:343: error: cannot find symbol io.write_string_3_p_0(Var_24); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:397: error: cannot find symbol io.write_string_3_p_0(Var_44); ^ symbol: variable io location: class curry2 Mercury/javas/jmercury/curry2.java:646: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/curry2_test.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__pseudo_1__pseudo_2 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry2_test.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/curry2_test.java:21: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:23: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry2_test.java:23: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:24: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/curry2_test.java:25: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K2 ^ Mercury/javas/jmercury/curry2_test.java:29: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:31: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry2_test.java:31: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:32: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ Mercury/javas/jmercury/curry2_test.java:32: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0, ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:33: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ Mercury/javas/jmercury/curry2_test.java:33: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0 ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:60: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:60: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry2_test.java:61: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:61: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry2_test.java:71: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:71: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry2_test.java:72: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:72: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/curry2_test.java:74: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:74: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2_test.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2_test.java:85: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:85: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/curry2_test.java:86: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class curry2_test Mercury/javas/jmercury/curry2_test.java:86: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/curry2_test.java:105: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/curry2_test.java:105: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_3)[1]); ^ Mercury/javas/jmercury/curry2_test.java:108: error: package jmercury.runtime does not exist LambdaHeadVar__2_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Pred_3))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_9))), ((java.lang.Object) (LambdaHeadVar__1_7)))); ^ 100 errors make[3]: *** [/tmp/mmake.aOfiKP:2360: curry2] Error 1 make[3]: Target 'curry2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'