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-01/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/scripts/mmc --make --options-file - construct_mangle.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/hard_coded' { echo MCFLAGS += '--grade csharp --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/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-01/stage2/scripts/mmc --make --options-file - construct_mangle Making Mercury/int3s/construct_mangle.int3 Making Mercury/ints/construct_mangle.int Making Mercury/css/construct_mangle.cs Making construct_mangle.exe { test -f construct_mangle.inp && cat construct_mangle.inp; } | ./construct_mangle > construct_mangle.out 2>&1 || \ { grep . construct_mangle.out /dev/null; exit 1; } construct_mangle.out:univ_cons(' ') construct_mangle.out:univ_cons((!)) construct_mangle.out:univ_cons('\"') construct_mangle.out:univ_cons('#') construct_mangle.out:univ_cons('$') construct_mangle.out:univ_cons('%') construct_mangle.out:univ_cons((&)) construct_mangle.out:univ_cons('\'') construct_mangle.out:univ_cons('(') construct_mangle.out:univ_cons(')') construct_mangle.out:univ_cons((*)) construct_mangle.out:univ_cons((+)) construct_mangle.out:univ_cons((',')) construct_mangle.out:univ_cons((-)) construct_mangle.out:univ_cons((.)) construct_mangle.out:univ_cons((/)) construct_mangle.out:univ_cons('0') construct_mangle.out:univ_cons('1') construct_mangle.out:univ_cons('2') construct_mangle.out:univ_cons('3') construct_mangle.out:univ_cons('4') construct_mangle.out:univ_cons('5') construct_mangle.out:univ_cons('6') construct_mangle.out:univ_cons('7') construct_mangle.out:univ_cons('8') construct_mangle.out:univ_cons('9') construct_mangle.out:univ_cons((:)) construct_mangle.out:univ_cons((;)) construct_mangle.out:univ_cons((<)) construct_mangle.out:univ_cons((=)) construct_mangle.out:univ_cons((=<)) construct_mangle.out:univ_cons((>)) construct_mangle.out:univ_cons((>=)) construct_mangle.out:univ_cons('?') construct_mangle.out:univ_cons((@)) construct_mangle.out:univ_cons('[') construct_mangle.out:univ_cons([]) construct_mangle.out:univ_cons('[|]') construct_mangle.out:univ_cons((\)) construct_mangle.out:univ_cons((\=)) construct_mangle.out:univ_cons(']') construct_mangle.out:univ_cons((^)) construct_mangle.out:univ_cons('_') construct_mangle.out:univ_cons('`') construct_mangle.out:univ_cons('abc~!@#$%^&*()_+|xyz') construct_mangle.out:univ_cons(f_this_also_requires_mangling) construct_mangle.out:univ_cons(force_non_enum(1)) construct_mangle.out:Unhandled Exception: construct_mangle.out:System.ArgumentNullException: Value cannot be null. construct_mangle.out:Parameter name: type construct_mangle.out: at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00006] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 construct_mangle.out: at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct_du_2 (mercury.runtime.TypeCtorInfo_Struct tc, mercury.runtime.DuFunctorDesc functor_desc, mercury.list+List_1 arg_list) [0x00108] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct_du (mercury.runtime.TypeCtorInfo_Struct tc, mercury.runtime.DuFunctorDesc functor_desc, mercury.list+List_1 arg_list) [0x0003f] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct (mercury.runtime.TypeInfo_Struct TypeInfo, System.Int32 FunctorNumber, mercury.list+List_1 ArgList, mercury.univ+Univ_0& Term) [0x001a5] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: 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 <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: 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 <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.construct_mangle.test_functor_4_p_0 (mercury.runtime.TypeInfo_Struct Type_5, System.Int32 FunctorNumber_6) [0x00087] in :0 construct_mangle.out: at mercury.construct_mangle.test_type_3_p_0_1 (System.Object closure_arg, System.Object wrapper_arg_1, System.Object wrapper_arg_2) [0x00004] in :0 construct_mangle.out: at mercury.list.foldl_4_p_2 (mercury.runtime.TypeInfo_Struct TypeInfo_for_L_16, mercury.runtime.TypeInfo_Struct TypeInfo_for_A_17, System.Object[] P_1, mercury.list+List_1 HeadVar__2_2, System.Object STATE_VARIABLE_A_0_3) [0x0003f] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.construct_mangle.test_type_3_p_0 (mercury.runtime.TypeInfo_Struct Type_4) [0x00081] in :0 construct_mangle.out: at mercury.construct_mangle.main_2_p_0 () [0x00018] in :0 construct_mangle.out: at mercury.construct_mangle.Main (System.String[] args) [0x00005] in :0 construct_mangle.out:[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null. construct_mangle.out:Parameter name: type construct_mangle.out: at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00006] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 construct_mangle.out: at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct_du_2 (mercury.runtime.TypeCtorInfo_Struct tc, mercury.runtime.DuFunctorDesc functor_desc, mercury.list+List_1 arg_list) [0x00108] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct_du (mercury.runtime.TypeCtorInfo_Struct tc, mercury.runtime.DuFunctorDesc functor_desc, mercury.list+List_1 arg_list) [0x0003f] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.rtti_implementation.ML_construct (mercury.runtime.TypeInfo_Struct TypeInfo, System.Int32 FunctorNumber, mercury.list+List_1 ArgList, mercury.univ+Univ_0& Term) [0x001a5] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: 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 <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: 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 <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.construct_mangle.test_functor_4_p_0 (mercury.runtime.TypeInfo_Struct Type_5, System.Int32 FunctorNumber_6) [0x00087] in :0 construct_mangle.out: at mercury.construct_mangle.test_type_3_p_0_1 (System.Object closure_arg, System.Object wrapper_arg_1, System.Object wrapper_arg_2) [0x00004] in :0 construct_mangle.out: at mercury.list.foldl_4_p_2 (mercury.runtime.TypeInfo_Struct TypeInfo_for_L_16, mercury.runtime.TypeInfo_Struct TypeInfo_for_A_17, System.Object[] P_1, mercury.list+List_1 HeadVar__2_2, System.Object STATE_VARIABLE_A_0_3) [0x0003f] in <0909cb2f7a0b4d908ebaa8413d03ab0d>:0 construct_mangle.out: at mercury.construct_mangle.test_type_3_p_0 (mercury.runtime.TypeInfo_Struct Type_4) [0x00081] in :0 construct_mangle.out: at mercury.construct_mangle.main_2_p_0 () [0x00018] in :0 construct_mangle.out: at mercury.construct_mangle.Main (System.String[] args) [0x00005] in :0 make[3]: *** [../Mmake.common:121: construct_mangle.out] Error 1 make[3]: Target 'construct_mangle.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-11-01/tests/hard_coded'