MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { 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 --intermodule-optimization '; 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 - dcg_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq' { 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 --intermodule-optimization '; 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 - dcg_bug.class Making Mercury/int3s/dcg_bug.int3 Making Mercury/int3s/dcg_bug_helper_1.int3 Making Mercury/ints/dcg_bug.int Making Mercury/ints/dcg_bug_helper_1.int Making Mercury/opts/dcg_bug.opt Making Mercury/opts/dcg_bug_helper_1.opt Making Mercury/javas/jmercury/dcg_bug.java Making Mercury/classes/jmercury/dcg_bug.class Mercury/javas/jmercury/dcg_bug.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/dcg_bug.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/dcg_bug.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/dcg_bug.java:234: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/dcg_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "dcg_bug"; ^ Mercury/javas/jmercury/dcg_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/dcg_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/dcg_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/dcg_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/dcg_bug.java:35: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_4 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/dcg_bug.java:36: error: package list.List_1 does not exist private static final list.List_1.F_cons_2[] MR_scalar_common_5 = new list.List_1.F_cons_2[3]; ^ Mercury/javas/jmercury/dcg_bug.java:37: error: package ops does not exist private static final ops.Priority_0[] MR_scalar_common_6 = new ops.Priority_0[1]; ^ Mercury/javas/jmercury/dcg_bug.java:42: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:43: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:43: 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/dcg_bug.java:44: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:44: 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/dcg_bug.java:48: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:50: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:50: 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/dcg_bug.java:51: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:51: 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/dcg_bug.java:55: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:57: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:57: 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/dcg_bug.java:58: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:58: 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/dcg_bug.java:59: 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 dcg_bug Mercury/javas/jmercury/dcg_bug.java:59: 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/dcg_bug.java:66: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:66: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/dcg_bug.java:67: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:67: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/dcg_bug.java:68: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:68: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/dcg_bug.java:75: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:75: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/dcg_bug.java:76: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:76: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/dcg_bug.java:77: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:77: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/dcg_bug.java:92: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/dcg_bug.java:94: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg_bug.java:96: error: package list does not exist (list.List_1) dcg_bug.MR_scalar_common_4[0] ^ Mercury/javas/jmercury/dcg_bug.java:99: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg_bug.java:101: error: package list does not exist (list.List_1) dcg_bug.MR_scalar_common_5[0] ^ Mercury/javas/jmercury/dcg_bug.java:104: error: package list.List_1 does not exist new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/dcg_bug.java:106: error: package list does not exist (list.List_1) dcg_bug.MR_scalar_common_5[1] ^ Mercury/javas/jmercury/dcg_bug.java:109: error: package ops does not exist new ops.Priority_0( ^ Mercury/javas/jmercury/dcg_bug.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dcg_bug.java:136: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:136: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_51_51 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dcg_bug.java:138: error: package io does not exist io.Text_output_stream_0 Var_52 = null; ^ Mercury/javas/jmercury/dcg_bug.java:139: error: package deconstruct does not exist deconstruct.Noncanon_handling_0 Var_54 = null; ^ Mercury/javas/jmercury/dcg_bug.java:140: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_56 = null; ^ Mercury/javas/jmercury/dcg_bug.java:141: error: package univ does not exist univ.Univ_0 Var_57 = null; ^ Mercury/javas/jmercury/dcg_bug.java:142: error: package ops does not exist ops.Priority_0 Var_58 = null; ^ Mercury/javas/jmercury/dcg_bug.java:145: error: cannot find symbol Var_56 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:148: error: package io does not exist Var_52 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/dcg_bug.java:152: error: package deconstruct does not exist Var_54 = deconstruct.Noncanon_handling_0.K1; ^ Mercury/javas/jmercury/dcg_bug.java:155: error: cannot find symbol Var_57 = univ.type_to_univ_2_p_1(TypeCtorInfo_51_51, java.lang.Integer.valueOf(LambdaHeadVar__1_41)); ^ symbol: variable univ location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:157: error: package ops does not exist Var_58 = (ops.Priority_0) dcg_bug.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/dcg_bug.java:159: 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_55, Var_52, Var_54, Var_57, Var_58); ^ symbol: variable stream__string_writer location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dcg_bug.java:166: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:166: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_50_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/dcg_bug.java:167: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_52_19 = null; ^ Mercury/javas/jmercury/dcg_bug.java:169: error: package list does not exist list.List_1 Var_7 = (list.List_1) dcg_bug.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/dcg_bug.java:169: error: package list does not exist list.List_1 Var_7 = (list.List_1) dcg_bug.MR_scalar_common_5[2]; ^ Mercury/javas/jmercury/dcg_bug.java:173: error: package io does not exist io.Text_output_stream_0 Var_20 = null; ^ Mercury/javas/jmercury/dcg_bug.java:174: error: package jmercury.io__stream_ops does not exist jmercury.io__stream_ops.MR_MercuryFileStruct Var_22 = null; ^ Mercury/javas/jmercury/dcg_bug.java:179: error: cannot find symbol conv1_Var_15 = list.foldl_4_p_2(TypeCtorInfo_50_18, TypeCtorInfo_50_18, Var_6, Var_7, java.lang.Integer.valueOf(Var_14)); ^ symbol: variable list location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:183: error: cannot find symbol Var_22 = io__stream_ops.output_stream_2_3_p_0(); ^ symbol: variable io__stream_ops location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:186: error: package io does not exist Var_20 = new io.Text_output_stream_0( ^ Mercury/javas/jmercury/dcg_bug.java:191: error: cannot find symbol io.write_int_4_p_0(Var_20, Var_15); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:194: error: cannot find symbol TypeCtorInfo_52_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ symbol: variable io location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:194: error: package jmercury.runtime does not exist TypeCtorInfo_52_19 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0); ^ Mercury/javas/jmercury/dcg_bug.java:196: error: cannot find symbol conv2_STATE_VARIABLE_IO_5 = list.foldl_4_p_2(TypeCtorInfo_50_18, TypeCtorInfo_52_19, Var_17, Var_7, ((java.lang.Object) (0))); ^ symbol: variable list location: class dcg_bug Mercury/javas/jmercury/dcg_bug.java:264: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 85 errors ** Error making `Mercury/classes/jmercury/dcg_bug.class'. make[3]: *** [/tmp/mmake.qH6JoA:1242: dcg_bug.class] Error 1 make[3]: Target 'dcg_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/valid_seq'