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 - existential_type_switch_opt.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 - existential_type_switch_opt Making Mercury/int3s/existential_type_switch_opt.int3 Making Mercury/ints/existential_type_switch_opt.int Making Mercury/javas/jmercury/existential_type_switch_opt.java Making Java class files Mercury/javas/jmercury/existential_type_switch_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_stag_ordered_maybe_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] existential_type_switch_opt__du_ptag_ordered_maybe_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_name_ordered_maybe_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_type_switch_opt__type_ctor_info_maybe_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MercuryType ^ Mercury/javas/jmercury/existential_type_switch_opt.java:249: error: package builtin does not exist public static builtin.Comparison_result_0 ^ Mercury/javas/jmercury/existential_type_switch_opt.java:487: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:496: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:466: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:475: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct F1, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:418: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/existential_type_switch_opt.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "existential_type_switch_opt"; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_0 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:33: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_1 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:34: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_1 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:35: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_1 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:36: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_1 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:37: error: package jmercury.runtime does not exist private static final jmercury.runtime.PseudoTypeInfo[] existential_type_switch_opt__field_types_maybe_0_2 = new jmercury.runtime.PseudoTypeInfo[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:38: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistLocn[] existential_type_switch_opt__exist_locns_maybe_0_2 = new jmercury.runtime.DuExistLocn[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:39: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuExistInfo existential_type_switch_opt__exist_info_maybe_0_2 = new jmercury.runtime.DuExistInfo(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:40: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc existential_type_switch_opt__du_functor_desc_maybe_0_2 = new jmercury.runtime.DuFunctorDesc(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:41: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_stag_ordered_maybe_0_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:42: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuPtagLayout[] existential_type_switch_opt__du_ptag_ordered_maybe_0 = new jmercury.runtime.DuPtagLayout[1]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:43: error: package jmercury.runtime does not exist private static final jmercury.runtime.DuFunctorDesc[] existential_type_switch_opt__du_name_ordered_maybe_0 = new jmercury.runtime.DuFunctorDesc[3]; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:45: error: package jmercury.runtime does not exist public static final jmercury.runtime.TypeCtorInfo_Struct existential_type_switch_opt__type_ctor_info_maybe_0 = new jmercury.runtime.TypeCtorInfo_Struct(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:53: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:61: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:65: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:67: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:82: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:90: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:94: error: package jmercury.runtime does not exist new jmercury.runtime.PseudoTypeInfo(513); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:96: error: package jmercury.runtime does not exist new jmercury.runtime.DuExistLocn( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:111: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:119: error: cannot find symbol private_builtin.MR_FUNCTOR_SUBTYPE_NONE, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:129: error: package jmercury.runtime does not exist new jmercury.runtime.DuPtagLayout( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:131: error: cannot find symbol private_builtin.MR_SECTAG_REMOTE_FULL_WORD, ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:153: error: package jmercury.runtime does not exist jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU, ^ Mercury/javas/jmercury/existential_type_switch_opt.java:158: error: package jmercury.runtime does not exist new jmercury.runtime.TypeFunctors( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:161: error: package jmercury.runtime does not exist new jmercury.runtime.TypeLayout( ^ Mercury/javas/jmercury/existential_type_switch_opt.java:182: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:182: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/existential_type_switch_opt.java:187: error: cannot find symbol jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:187: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0), ^ Mercury/javas/jmercury/existential_type_switch_opt.java:205: error: cannot find symbol succeeded = builtin.semidet_fail_0_p_0(); ^ symbol: variable builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:220: error: cannot find symbol io.write_string_3_p_0(Var_9); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:228: error: cannot find symbol io.write_string_3_p_0(Var_11); ^ symbol: variable io location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:255: error: package builtin does not exist builtin.Comparison_result_0 HeadVar__1_1 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:261: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:267: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K0; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:271: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:274: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:280: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:284: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:285: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_13 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:290: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_12_12, TypeInfo_13_13, ArgX1_4, ArgY1_5); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:295: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:298: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:305: error: package builtin does not exist HeadVar__1_1 = builtin.Comparison_result_0.K2; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:309: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__2_2).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:310: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__3_3).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:315: error: cannot find symbol HeadVar__1_1 = private_builtin.typed_compare_3_p_0(TypeInfo_10_10, TypeInfo_11_11, ArgX1_6, ArgY1_7); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:320: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:324: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:335: error: package builtin does not exist builtin.Comparison_result_0 conv0_HeadVar__1_1 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:363: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_9_9 = ((existential_type_switch_opt.Maybe_0.E_maybe_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:364: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:374: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_9_9, TypeInfo_10_10, ArgX1_3, ArgY1_4); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:381: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = ((existential_type_switch_opt.Maybe_0.E_yes_1) HeadVar__1_1).F1; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:382: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_12 = null; ^ Mercury/javas/jmercury/existential_type_switch_opt.java:392: error: cannot find symbol succeeded = private_builtin.typed_unify_2_p_0(TypeInfo_11_11, TypeInfo_12_12, ArgX1_5, ArgY1_6); ^ symbol: variable private_builtin location: class existential_type_switch_opt Mercury/javas/jmercury/existential_type_switch_opt.java:398: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ Mercury/javas/jmercury/existential_type_switch_opt.java:447: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 92 errors make[3]: *** [/tmp/mmake.nxzA6P:2360: existential_type_switch_opt] Error 1 make[3]: Target 'existential_type_switch_opt.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-07-24/tests/hard_coded'