MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/valid' { 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 --loop-invariants --intermodule-optimization '; 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 - bug457.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/valid' { 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 --loop-invariants --intermodule-optimization '; 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 - bug457.class Making Mercury/int3s/bug457.int3 Making Mercury/ints/bug457.int Making Mercury/opts/bug457.opt Making Mercury/javas/jmercury/bug457.java Making Mercury/classes/jmercury/bug457.class Mercury/javas/jmercury/bug457.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__pseudo_1__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_4 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug457.java:214: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bug457.java:232: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/bug457.java:15: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_2__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:16: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:17: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_pred_3__pseudo_1__plain_io__type_ctor_info_state_0__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:18: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct __vpti_tuple_2__pseudo_1__plain_io__type_ctor_info_state_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/bug457.java:23: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:25: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/bug457.java:25: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:26: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/bug457.java:26: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:30: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:34: error: cannot find symbol builtin.builtin__type_ctor_info_pred_0, ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:36: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/bug457.java:37: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ Mercury/javas/jmercury/bug457.java:37: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0, ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:38: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/bug457.java:38: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:42: error: cannot find symbol builtin.builtin__type_ctor_info_tuple_0, ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:44: error: package jmercury.runtime does not exist jmercury.runtime.PseudoTypeInfo.K1, ^ Mercury/javas/jmercury/bug457.java:45: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ Mercury/javas/jmercury/bug457.java:45: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) io.io__type_ctor_info_state_0 ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:58: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_4 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug457.java:64: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:65: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug457.java:66: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:66: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug457.java:70: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:72: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:72: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug457.java:73: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:73: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug457.java:77: error: cannot find symbol ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:79: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:79: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))), ^ Mercury/javas/jmercury/bug457.java:80: 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 bug457 Mercury/javas/jmercury/bug457.java:80: 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/bug457.java:81: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:81: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0))) ^ Mercury/javas/jmercury/bug457.java:90: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:90: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug457.java:91: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:91: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/bug457.java:103: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class bug457 Mercury/javas/jmercury/bug457.java:103: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/bug457.java:105: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:105: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/bug457.java:109: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug457.java:110: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0), ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:110: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0), ^ Mercury/javas/jmercury/bug457.java:111: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0), ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:111: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0), ^ Mercury/javas/jmercury/bug457.java:112: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ symbol: variable io location: class bug457 Mercury/javas/jmercury/bug457.java:112: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0) ^ Mercury/javas/jmercury/bug457.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/bug457.java:129: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Pred_4)[1]); ^ Mercury/javas/jmercury/bug457.java:133: error: package jmercury.runtime does not exist conv1_LambdaHeadVar__3_13 = ((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.Object) (0)))))); ^ Mercury/javas/jmercury/bug457.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null; ^ Mercury/javas/jmercury/bug457.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_25 = null; ^ Mercury/javas/jmercury/bug457.java:147: error: package exception does not exist exception.Exception_result_1 Var_19 = null; ^ Mercury/javas/jmercury/bug457.java:157: error: cannot find symbol TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ symbol: variable builtin location: class bug457 Mercury/javas/jmercury/bug457.java:157: error: package jmercury.runtime does not exist TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_tuple_0); ^ Mercury/javas/jmercury/bug457.java:168: error: package jmercury.runtime does not exist TypeInfo_20_25 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug457.MR_scalar_common_4[0]); ^ Mercury/javas/jmercury/bug457.java:170: error: cannot find symbol Var_19 = exception.try_2_p_2(TypeInfo_20_25, Var_18); ^ symbol: variable exception location: class bug457 Mercury/javas/jmercury/bug457.java:206: error: package jmercury.runtime does not exist conv1_HeadVar__3_6 = exception.unsafe_call_io_goal_3_p_1(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[4])); ^ Mercury/javas/jmercury/bug457.java:206: error: cannot find symbol conv1_HeadVar__3_6 = exception.unsafe_call_io_goal_3_p_1(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[3]), ((/* closure */ java.lang.Object[]) ((java.lang.Object[]) closure)[4])); ^ symbol: variable exception location: class bug457 72 errors ** Error making `Mercury/classes/jmercury/bug457.class'. make[3]: *** [/tmp/mmake.sHBgsm:1497: bug457.class] Error 1 make[3]: Target 'bug457.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-06/tests/valid'