MERCURY_OPTIONS= --deep-random-write=25 --mdb-disable-progress make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/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-08-16/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/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-08-16/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_2.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/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-08-16/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/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-08-16/stage2/scripts/mmc --make --options-file - functor_ho_inst_excp_2 Making Mercury/int3s/functor_ho_inst_excp_2.int3 Making Mercury/ints/functor_ho_inst_excp_2.int Making Mercury/css/functor_ho_inst_excp_2.cs Making functor_ho_inst_excp_2.exe if MERCURY_SUPPRESS_STACK_TRACE=yes ./functor_ho_inst_excp_2 \ > functor_ho_inst_excp_2.out.tmp 2>&1; \ then \ grep . functor_ho_inst_excp_2.out.tmp; \ exit 1; \ else \ mv functor_ho_inst_excp_2.out.tmp functor_ho_inst_excp_2.out; \ fi Comparing functor_ho_inst_excp_2.out with functor_ho_inst_excp_2.exp*, results in functor_ho_inst_excp_2.res ** functor_ho_inst_excp_2.out did not match the expected output ** (closest match was functor_ho_inst_excp_2.res1) --- functor_ho_inst_excp_2.exp 2020-10-11 14:28:49.000000000 +1100 +++ functor_ho_inst_excp_2.out 2024-08-17 15:30:35.643194677 +1000 @@ -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 :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 :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 :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 :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 :0 + at mercury.functor_ho_inst_excp_2.main_2_p_0 () [0x000c1] in <171008b3756a4bbf91e944b5468992bb>:0 + at mercury.functor_ho_inst_excp_2.Main (System.String[] args) [0x00005] in <171008b3756a4bbf91e944b5468992bb>: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 :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 :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 :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 :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 :0 + at mercury.functor_ho_inst_excp_2.main_2_p_0 () [0x000c1] in <171008b3756a4bbf91e944b5468992bb>:0 + at mercury.functor_ho_inst_excp_2.Main (System.String[] args) [0x00005] in <171008b3756a4bbf91e944b5468992bb>:0 make[3]: *** [../Mmake.common:138: functor_ho_inst_excp_2.res] Error 1 make[3]: Target 'functor_ho_inst_excp_2.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-16/tests/hard_coded'