MERCURY_OPTIONS= --deep-random-write=25 --deep-std-name --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-11-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-10/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-11-10/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/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-10/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_1 Making Mercury/int3s/functor_ho_inst_excp_1.int3 Making Mercury/ints/functor_ho_inst_excp_1.int Making Mercury/css/functor_ho_inst_excp_1.cs Making functor_ho_inst_excp_1.exe if MERCURY_SUPPRESS_STACK_TRACE=yes ./functor_ho_inst_excp_1 \ > functor_ho_inst_excp_1.out.tmp 2>&1; \ then \ grep . functor_ho_inst_excp_1.out.tmp; \ exit 1; \ else \ mv functor_ho_inst_excp_1.out.tmp functor_ho_inst_excp_1.out; \ fi Comparing functor_ho_inst_excp_1.out with functor_ho_inst_excp_1.exp*, results in functor_ho_inst_excp_1.res ** functor_ho_inst_excp_1.out did not match the expected output ** (closest match was functor_ho_inst_excp_1.res1) --- functor_ho_inst_excp_1.exp 2024-08-06 21:33:04.000000000 +1000 +++ functor_ho_inst_excp_1.out 2024-11-11 18:48:53.921815810 +1100 @@ -1 +1,18 @@ -Mercury runtime: not yet implemented: construction of terms containing subtype constraints + +Unhandled Exception: +mercury.runtime.SystemException: Sorry, unimplemented: construction of terms containing subtype constraints + at mercury.runtime.Errors.SORRY (System.String s) [0x00012] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.rtti_implementation.ML_construct (mercury.runtime.TypeInfo_Struct TypeInfo, System.Int32 FunctorNumber, mercury.list+List_1 ArgList, mercury.univ+Univ_0& Term) [0x0019b] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.rtti_implementation.construct_3_f_0 (mercury.runtime.TypeInfo_Struct TypeInfo_1, System.Int32 FunctorNumber_2, mercury.list+List_1 ArgList_3, mercury.univ+Univ_0& out_param_2) [0x0000b] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.construct.construct_4_p_0 (mercury.runtime.TypeInfo_Struct TypeDesc_5, System.Int32 Index_6, mercury.list+List_1 Args_7, mercury.univ+Univ_0& out_param_2) [0x0000d] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.construct.construct_3_f_0 (mercury.runtime.TypeInfo_Struct TypeDesc_5, System.Int32 Index_6, mercury.list+List_1 Args_7, mercury.univ+Univ_0& out_param_2) [0x00004] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.functor_ho_inst_excp_1.main_2_p_0 () [0x00080] in :0 + at mercury.functor_ho_inst_excp_1.Main (System.String[] args) [0x00005] in :0 +[ERROR] FATAL UNHANDLED EXCEPTION: mercury.runtime.SystemException: Sorry, unimplemented: construction of terms containing subtype constraints + at mercury.runtime.Errors.SORRY (System.String s) [0x00012] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.rtti_implementation.ML_construct (mercury.runtime.TypeInfo_Struct TypeInfo, System.Int32 FunctorNumber, mercury.list+List_1 ArgList, mercury.univ+Univ_0& Term) [0x0019b] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.rtti_implementation.construct_3_f_0 (mercury.runtime.TypeInfo_Struct TypeInfo_1, System.Int32 FunctorNumber_2, mercury.list+List_1 ArgList_3, mercury.univ+Univ_0& out_param_2) [0x0000b] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.construct.construct_4_p_0 (mercury.runtime.TypeInfo_Struct TypeDesc_5, System.Int32 Index_6, mercury.list+List_1 Args_7, mercury.univ+Univ_0& out_param_2) [0x0000d] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.construct.construct_3_f_0 (mercury.runtime.TypeInfo_Struct TypeDesc_5, System.Int32 Index_6, mercury.list+List_1 Args_7, mercury.univ+Univ_0& out_param_2) [0x00004] in <667eb531f293461085df6937c49ebbf4>:0 + at mercury.functor_ho_inst_excp_1.main_2_p_0 () [0x00080] in :0 + at mercury.functor_ho_inst_excp_1.Main (System.String[] args) [0x00005] in :0 make[3]: *** [../Mmake.common:138: functor_ho_inst_excp_1.res] Error 1 make[3]: Target 'functor_ho_inst_excp_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-10/tests/hard_coded'