MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-10-02/stage2/scripts/mmc --make --options-file - commutative.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/accumulator' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/accumulator' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs --trace-optimized --excess-assign --common-struct --no-deforestation -d accum --introduce-accumulators --optimize-constructor-last-call --intermodule-optimization'; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/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-10-02/stage2/scripts/mmc --make --options-file - commutative Making Mercury/int3s/commutative.int3 Making Mercury/ints/commutative.int Making Mercury/opts/commutative.opt Making Mercury/javas/jmercury/commutative.java Making Java class files Mercury/javas/jmercury/commutative.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct commutative__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/commutative.java:100: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commutative.java:101: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/commutative.java:102: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/commutative.java:213: error: package list does not exist list.List_1 HeadVar__1_1) ^ Mercury/javas/jmercury/commutative.java:389: error: package jmercury.runtime does not exist extends jmercury.runtime.MercuryEnum ^ Mercury/javas/jmercury/commutative.java:390: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/commutative.java:281: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/commutative.java:345: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/commutative.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "commutative"; ^ Mercury/javas/jmercury/commutative.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/commutative.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/commutative.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class commutative Mercury/javas/jmercury/commutative.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class commutative Mercury/javas/jmercury/commutative.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/commutative.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/commutative.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_0 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_1 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc commutative__enum_functor_desc_t_0_2 = new jmercury.runtime.EnumFunctorDesc(); ^ Mercury/javas/jmercury/commutative.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_ordinal_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.EnumFunctorDesc[] commutative__enum_name_ordered_t_0 = new jmercury.runtime.EnumFunctorDesc[3]; ^ Mercury/javas/jmercury/commutative.java:38: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct commutative__type_ctor_info_t_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/commutative.java:76: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM, ^ Mercury/javas/jmercury/commutative.java:81: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/commutative.java:84: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/commutative.java:100: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/commutative.java:101: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/commutative.java:102: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_4 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/commutative.java:107: 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 commutative Mercury/javas/jmercury/commutative.java:108: 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 commutative Mercury/javas/jmercury/commutative.java:108: 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/commutative.java:109: 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 commutative Mercury/javas/jmercury/commutative.java:109: 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/commutative.java:113: 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 commutative Mercury/javas/jmercury/commutative.java:115: 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 commutative Mercury/javas/jmercury/commutative.java:115: 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/commutative.java:116: 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 commutative Mercury/javas/jmercury/commutative.java:116: 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/commutative.java:120: 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 commutative Mercury/javas/jmercury/commutative.java:122: 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 commutative Mercury/javas/jmercury/commutative.java:122: 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/commutative.java:123: 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 commutative Mercury/javas/jmercury/commutative.java:123: 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/commutative.java:124: 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 commutative Mercury/javas/jmercury/commutative.java:124: 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/commutative.java:127: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/commutative.java:129: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:131: error: package list does not exist (list.List_1) commutative.MR_scalar_common_2[0] ^ Mercury/javas/jmercury/commutative.java:134: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:136: error: package list does not exist (list.List_1) commutative.MR_scalar_common_3[0] ^ Mercury/javas/jmercury/commutative.java:139: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/commutative.java:141: error: package list does not exist (list.List_1) commutative.MR_scalar_common_3[1] ^ Mercury/javas/jmercury/commutative.java:144: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/commutative.java:158: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_16_16 = null; ^ Mercury/javas/jmercury/commutative.java:162: error: package list does not exist list.List_1 Var_9 = null; ^ Mercury/javas/jmercury/commutative.java:163: error: package io does not exist io.Text_output_stream_0 Var_17 = null; ^ Mercury/javas/jmercury/commutative.java:164: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_19 = null; ^ Mercury/javas/jmercury/commutative.java:165: error: package io does not exist io.Text_output_stream_0 Var_20 = null; ^ Mercury/javas/jmercury/commutative.java:166: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_22 = null; ^ Mercury/javas/jmercury/commutative.java:167: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_24 = null; ^ Mercury/javas/jmercury/commutative.java:168: error: package univ does not exist univ.Univ_0 Var_26 = null; ^ Mercury/javas/jmercury/commutative.java:169: error: package ops does not exist ops.Priority_0 Var_27 = null; ^ Mercury/javas/jmercury/commutative.java:173: error: cannot find symbol Var_19 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class commutative Mercury/javas/jmercury/commutative.java:176: error: package io does not exist Var_17 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/commutative.java:181: error: cannot find symbol io.write_string_4_p_0(Var_17, Var_7); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:183: error: package list does not exist Var_9 = (list.List_1) commutative.MR_scalar_common_3[2]; ^ Mercury/javas/jmercury/commutative.java:187: error: package jmercury.runtime does not exist TypeCtorInfo_16_16 = jmercury.runtime.TypeInfo_Struct.maybe_new(commutative.commutative__type_ctor_info_t_0); ^ Mercury/javas/jmercury/commutative.java:189: error: cannot find symbol Var_22 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class commutative Mercury/javas/jmercury/commutative.java:192: error: package io does not exist Var_20 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/commutative.java:196: error: package deconstruct does not exist Var_24 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/commutative.java:199: error: cannot find symbol Var_26 = univ.type_to_univ_2_p_1(TypeCtorInfo_16_16, ((java.lang.Object) (R_4))); ^ symbol: variable univ location: class commutative Mercury/javas/jmercury/commutative.java:201: error: package ops does not exist Var_27 = (ops.Priority_0) commutative.MR_scalar_common_4[0]; ^ Mercury/javas/jmercury/commutative.java:203: error: cannot find symbol stream__string_writer.f_84_121_112_101_83_112_101_99_79_102_95_95_112_114_101_100_95_95_100_111_95_119_114_105_116_101_95_117_110_105_118_95_112_114_105_111_95_95_91_83_116_114_101_97_109_32_61_32_105_111_46_116_101_120_116_95_111_117_116_112_117_116_95_115_116_114_101_97_109_44_32_83_116_97_116_101_32_61_32_105_111_46_115_116_97_116_101_93_95_49_95_49_6_p_1(TypeClassInfo_for_writer_25, Var_20, Var_24, Var_26, Var_27); ^ symbol: variable stream__string_writer location: class commutative Mercury/javas/jmercury/commutative.java:207: error: cannot find symbol io.write_char_4_p_0(Var_20, Var_29); ^ symbol: variable io location: class commutative Mercury/javas/jmercury/commutative.java:221: error: package list.List_1 does not exist commutative.T_0 H_3 = ((commutative.T_0) ((list.List_1.F_cons_2) HeadVar__1_1).F1); ^ Mercury/javas/jmercury/commutative.java:222: error: package list does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commutative.java:222: error: package list.List_1 does not exist list.List_1 T_4 = ((list.List_1.F_cons_2) HeadVar__1_1).F2; ^ Mercury/javas/jmercury/commutative.java:228: error: cannot find symbol switch (H_3.MR_value) { ^ symbol: variable MR_value location: variable H_3 of type T_0 Mercury/javas/jmercury/commutative.java:228: error: illegal start of type switch (H_3.MR_value) { ^ Mercury/javas/jmercury/commutative.java:230: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:230: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:241: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:245: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:245: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:256: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:260: error: cannot find symbol switch (R0_6.MR_value) { ^ symbol: variable MR_value location: variable R0_6 of type T_0 Mercury/javas/jmercury/commutative.java:260: error: illegal start of type switch (R0_6.MR_value) { ^ Mercury/javas/jmercury/commutative.java:271: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:275: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/commutative.java:287: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/commutative.java:288: 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 T_0 100 errors make[3]: *** [/tmp/mmake.Er3soB:1213: commutative] Error 1 make[3]: Target 'commutative.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-10-02/tests/accumulator'