MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - sv_nested_closures.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/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-18/stage2/scripts/mmc --make --options-file - sv_nested_closures Making Mercury/int3s/sv_nested_closures.int3 Making Mercury/ints/sv_nested_closures.int Making Mercury/javas/jmercury/sv_nested_closures.java Making Java class files Mercury/javas/jmercury/sv_nested_closures.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:342: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/sv_nested_closures.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "sv_nested_closures"; ^ Mercury/javas/jmercury/sv_nested_closures.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/sv_nested_closures.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/sv_nested_closures.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/sv_nested_closures.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/sv_nested_closures.java:34: error: package string__parse_util does not exist private static final string__parse_util.String_format_flags_0[] MR_scalar_common_3 = new string__parse_util.String_format_flags_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:37: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_6 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/sv_nested_closures.java:45: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:45: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:46: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:46: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:47: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:47: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:48: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:48: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/sv_nested_closures.java:58: error: package string__parse_util does not exist new string__parse_util.String_format_flags_0( ^ Mercury/javas/jmercury/sv_nested_closures.java:59: error: package string__parse_util does not exist string__parse_util.String_format_flag_hash_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:60: error: package string__parse_util does not exist string__parse_util.String_format_flag_space_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:61: error: package string__parse_util does not exist string__parse_util.String_format_flag_zero_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:62: error: package string__parse_util does not exist string__parse_util.String_format_flag_minus_0.K0, ^ Mercury/javas/jmercury/sv_nested_closures.java:63: error: package string__parse_util does not exist string__parse_util.String_format_flag_plus_0.K0 ^ Mercury/javas/jmercury/sv_nested_closures.java:76: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:76: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:77: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:77: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:78: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ symbol: variable builtin location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:78: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:79: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:79: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)), ^ Mercury/javas/jmercury/sv_nested_closures.java:80: error: cannot find symbol ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:80: error: illegal start of type ((java.lang.Object) (io.io__type_ctor_info_state_0)) ^ Mercury/javas/jmercury/sv_nested_closures.java:83: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/sv_nested_closures.java:99: error: package list does not exist list.List_1 Var_30 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:100: error: package string does not exist string.Poly_type_0 Var_32 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:101: error: package list does not exist list.List_1 Var_33 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:103: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_1 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:108: error: package string.Poly_type_0 does not exist Var_32 = new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/sv_nested_closures.java:112: error: package list does not exist Var_33 = (list.List_1) sv_nested_closures.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:114: error: package list.List_1 does not exist Var_30 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/sv_nested_closures.java:120: error: cannot find symbol io.format_4_p_0(Var_29, Var_30); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:131: error: package jmercury.runtime does not exist func_1 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BazBar_8)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:133: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_1).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BazBar_8))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_47))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:169: error: package list does not exist list.List_1 Var_43 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:170: error: package string does not exist string.Poly_type_0 Var_45 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:171: error: package list does not exist list.List_1 Var_46 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:174: error: package string.Poly_type_0 does not exist Var_45 = new string.Poly_type_0.I_1( ^ Mercury/javas/jmercury/sv_nested_closures.java:178: error: package list does not exist Var_46 = (list.List_1) sv_nested_closures.MR_scalar_common_6[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:180: error: package list.List_1 does not exist Var_43 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/sv_nested_closures.java:186: error: cannot find symbol io.format_4_p_0(Var_42, Var_43); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:199: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:212: error: package jmercury.runtime does not exist func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Bar_7)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:214: error: package jmercury.runtime does not exist conv1_LambdaHeadVar__3_15 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Bar_7))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_26))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:244: error: cannot find symbol io.write_int_3_p_0(Result_9); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:247: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:261: error: package string__parse_util does not exist string__parse_util.String_format_flags_0 Var_46 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:263: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_5)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:263: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Foo_5)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:265: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr func_3 = null; ^ Mercury/javas/jmercury/sv_nested_closures.java:270: error: package jmercury.runtime does not exist conv1_STATE_VARIABLE_IO_29_29 = ((java.lang.Object) ((jmercury.runtime.MethodPtr3) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Foo_5))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_28))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:275: error: cannot find symbol io.write_string_3_p_0(Var_38); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:277: error: package string__parse_util does not exist Var_46 = (string__parse_util.String_format_flags_0) sv_nested_closures.MR_scalar_common_3[0]; ^ Mercury/javas/jmercury/sv_nested_closures.java:279: error: cannot find symbol Var_40 = string__format.format_signed_int_component_nowidth_noprec_3_p_0(Var_46, X_4); ^ symbol: variable string__format location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:282: error: cannot find symbol io.write_string_3_p_0(Var_40); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:286: error: cannot find symbol io.write_string_3_p_0(Var_47); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:290: error: package jmercury.runtime does not exist func_3 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) BazFoo_33)[1]); ^ Mercury/javas/jmercury/sv_nested_closures.java:292: error: package jmercury.runtime does not exist java.lang.Object [] result = ((java.lang.Object[]) ((jmercury.runtime.MethodPtr3) func_3).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) BazFoo_33))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_36))), ((java.lang.Object) (((java.lang.Object) (0)))))); ^ Mercury/javas/jmercury/sv_nested_closures.java:297: error: cannot find symbol io.write_int_3_p_0(X_4); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:300: error: cannot find symbol io.nl_2_p_0(); ^ symbol: variable io location: class sv_nested_closures Mercury/javas/jmercury/sv_nested_closures.java:390: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 78 errors make[3]: *** [/tmp/mmake.bfqkHm:2364: sv_nested_closures] Error 1 make[3]: Target 'sv_nested_closures.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/hard_coded'