MERCURY_OPTIONS= gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make --options-file - deep_copy_bug.depend gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded' gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded' { echo MCFLAGS += '--grade java --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 += '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/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 = '/home/mercury/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/stage2/scripts/mmc --make --options-file - deep_copy_bug Making Mercury/int3s/deep_copy_bug.int3 Making Mercury/ints/deep_copy_bug.int Making Mercury/javas/jmercury/deep_copy_bug.java Making Java class files Mercury/javas/jmercury/deep_copy_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__pti_var_1__plain_term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/deep_copy_bug.java:130: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:193: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:205: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_9, ^ Mercury/javas/jmercury/deep_copy_bug.java:207: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:325: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/deep_copy_bug.java:339: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:374: error: package term does not exist term.Var_1 arg1, ^ Mercury/javas/jmercury/deep_copy_bug.java:388: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:437: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/deep_copy_bug.java:460: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr2 ^ Mercury/javas/jmercury/deep_copy_bug.java:529: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/deep_copy_bug.java:585: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:587: error: package term does not exist public term.Var_1 LambdaHeadVar__1_12; ^ Mercury/javas/jmercury/deep_copy_bug.java:594: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:596: error: package term does not exist public term.Var_1 X_4; ^ Mercury/javas/jmercury/deep_copy_bug.java:603: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:606: error: package term does not exist public term.Var_1 conv0_LambdaHeadVar__1_12; ^ Mercury/javas/jmercury/deep_copy_bug.java:612: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:615: error: package term does not exist public term.Var_1 conv1_X_4; ^ Mercury/javas/jmercury/deep_copy_bug.java:621: error: package jmercury.runtime does not exist public jmercury.runtime.MethodPtr cont; ^ Mercury/javas/jmercury/deep_copy_bug.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "deep_copy_bug"; ^ Mercury/javas/jmercury/deep_copy_bug.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/deep_copy_bug.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/deep_copy_bug.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/deep_copy_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/deep_copy_bug.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct term__pti_var_1__plain_term__type_ctor_info_generic_0 = new jmercury.runtime.TypeInfo_Struct(); ^ Mercury/javas/jmercury/deep_copy_bug.java:37: error: cannot find symbol term.term__type_ctor_info_var_1, ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:39: error: package jmercury.runtime does not exist (jmercury.runtime.PseudoTypeInfo) term.term__type_ctor_info_generic_0 ^ Mercury/javas/jmercury/deep_copy_bug.java:39: error: cannot find symbol (jmercury.runtime.PseudoTypeInfo) term.term__type_ctor_info_generic_0 ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:49: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[3]; ^ Mercury/javas/jmercury/deep_copy_bug.java:58: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:59: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:59: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_var_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:60: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:60: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0))) ^ Mercury/javas/jmercury/deep_copy_bug.java:63: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:64: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:64: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:65: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]))) ^ Mercury/javas/jmercury/deep_copy_bug.java:68: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/deep_copy_bug.java:69: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:69: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))), ^ Mercury/javas/jmercury/deep_copy_bug.java:70: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:70: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0))) ^ Mercury/javas/jmercury/deep_copy_bug.java:84: error: cannot find symbol ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:84: error: illegal start of type ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)) ^ Mercury/javas/jmercury/deep_copy_bug.java:108: error: cannot find symbol ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ symbol: variable private_builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:108: error: illegal start of type ((java.lang.Object) (private_builtin.private_builtin__type_ctor_info_type_info_0)), ^ Mercury/javas/jmercury/deep_copy_bug.java:117: error: cannot find symbol ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ symbol: variable builtin location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:117: error: package jmercury.runtime does not exist ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))), ^ Mercury/javas/jmercury/deep_copy_bug.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:143: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:143: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:144: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_18_18 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:145: error: package varset does not exist varset.Varset_1 Varset0_6 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:146: error: package list does not exist list.List_1 Vars_7 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:148: error: package varset does not exist varset.Varset_1 Var_8 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:151: error: cannot find symbol Varset0_6 = varset.init_1_p_0(TypeCtorInfo_17_17); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:155: error: cannot find symbol java.lang.Object [] result = varset.new_vars_4_p_0(TypeCtorInfo_17_17, Var_13, Varset0_6); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:156: error: package list does not exist Vars_7 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deep_copy_bug.java:157: error: package varset does not exist Var_8 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/deep_copy_bug.java:159: error: package jmercury.runtime does not exist TypeInfo_18_18 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:161: error: cannot find symbol list.member_2_p_1(TypeInfo_18_18, Vars_7, new AddrOf2_0(0), env_ptr); ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:172: error: package term does not exist ((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_12 = ((term.Var_1) ((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).conv0_LambdaHeadVar__1_12); ^ Mercury/javas/jmercury/deep_copy_bug.java:174: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).LambdaHeadVar__1_12)), ((java.lang.Object) (((deep_copy_bug.introducedFrom__pred__test1__33__1_1_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:199: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) cont).call___0_0(java.lang.Integer.valueOf(LambdaHeadVar__1_9), ((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:220: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ symbol: variable term location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:220: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0); ^ Mercury/javas/jmercury/deep_copy_bug.java:221: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_11_11 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:222: error: package varset does not exist varset.Varset_1 Varset0_5 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:223: error: package list does not exist list.List_1 Vars_6 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:225: error: package varset does not exist varset.Varset_1 Var_7 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:228: error: cannot find symbol Varset0_5 = varset.init_1_p_0(TypeCtorInfo_10_10); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:232: error: cannot find symbol java.lang.Object [] result = varset.new_vars_4_p_0(TypeCtorInfo_10_10, Var_8, Varset0_5); ^ symbol: variable varset location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:233: error: package list does not exist Vars_6 = (list.List_1) result[0]; ^ Mercury/javas/jmercury/deep_copy_bug.java:234: error: package varset does not exist Var_7 = (varset.Varset_1) result[1]; ^ Mercury/javas/jmercury/deep_copy_bug.java:236: error: package jmercury.runtime does not exist TypeInfo_11_11 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:238: error: cannot find symbol list.member_2_p_1(TypeInfo_11_11, Vars_6, new AddrOf2_0(1), env_ptr); ^ symbol: variable list location: class deep_copy_bug Mercury/javas/jmercury/deep_copy_bug.java:249: error: package term does not exist ((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).X_4 = ((term.Var_1) ((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).conv0_X_4); ^ Mercury/javas/jmercury/deep_copy_bug.java:251: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr2) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).X_4)), ((java.lang.Object) (((deep_copy_bug.Foo_2_p_0_env_0) env_ptr).cont_env_ptr))); ^ Mercury/javas/jmercury/deep_copy_bug.java:271: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:271: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_19_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(deep_copy_bug.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/deep_copy_bug.java:272: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_20_11 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:273: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_12_16 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:274: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_17 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:275: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_12_20 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:276: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_13_21 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:278: error: package list does not exist list.List_1 List_9 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:280: error: package list does not exist list.List_1 List_15 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:281: error: package list does not exist list.List_1 List_18 = null; ^ Mercury/javas/jmercury/deep_copy_bug.java:285: error: cannot find symbol List_9 = solutions.solutions_2_p_1(TypeInfo_19_10, Lambda_8); ^ symbol: variable solutions location: class deep_copy_bug 100 errors gmake[3]: *** [/tmp/mmake.5ocv86:2362: deep_copy_bug] Error 1 gmake[3]: Target 'deep_copy_bug.runtest' not remade because of errors. gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'