MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { 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 - bug361.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' { 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 - bug361.class Making Mercury/int3s/bug361.int3 Making Mercury/ints/bug361.int Making Mercury/javas/jmercury/bug361.java bug361.m:032: Ignoring the `:- pragma loop_check' declaration for predicate bug361.m:032: `bug361.is_happy'/1 mode 0, because tabling is is implemented bug361.m:032: only on the C backend. bug361.m:032: Warning: the determinism declaration for `is_happy'(in) could be bug361.m:032: tighter. bug361.m:032: Declared `nondet', inferred `semidet'. Making Mercury/classes/jmercury/bug361.class Mercury/javas/jmercury/bug361.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug361.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug361.java:54: error: package jmercury.runtime does not exist jmercury.runtime.MethodPtr cont, ^ Mercury/javas/jmercury/bug361.java:122: error: package list does not exist private static list.List_1 ^ Mercury/javas/jmercury/bug361.java:245: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr1 ^ Mercury/javas/jmercury/bug361.java:290: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/bug361.java:296: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/bug361.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "bug361"; ^ Mercury/javas/jmercury/bug361.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/bug361.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/bug361.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class bug361 Mercury/javas/jmercury/bug361.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class bug361 Mercury/javas/jmercury/bug361.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/bug361.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug361 Mercury/javas/jmercury/bug361.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class bug361 Mercury/javas/jmercury/bug361.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug361 Mercury/javas/jmercury/bug361.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class bug361 Mercury/javas/jmercury/bug361.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/bug361.java:32: error: package jmercury.runtime does not exist private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1]; ^ Mercury/javas/jmercury/bug361.java:33: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_2 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/bug361.java:37: error: package jmercury.runtime does not exist new jmercury.runtime.TypeInfo_Struct( ^ Mercury/javas/jmercury/bug361.java:38: 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 bug361 Mercury/javas/jmercury/bug361.java:38: 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/bug361.java:39: 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 bug361 Mercury/javas/jmercury/bug361.java:39: 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/bug361.java:42: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/bug361.java:83: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/bug361.java:90: error: package jmercury.runtime does not exist ((jmercury.runtime.MethodPtr1) cont).call___0_0(((java.lang.Object) (cont_env_ptr))); ^ Mercury/javas/jmercury/bug361.java:101: error: package jmercury.runtime does not exist ((bug361.Is_happy_1_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/bug361.java:108: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_10_10 = null; ^ Mercury/javas/jmercury/bug361.java:109: error: package list does not exist list.List_1 Var_6 = null; ^ Mercury/javas/jmercury/bug361.java:116: error: package jmercury.runtime does not exist TypeInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(bug361.MR_scalar_common_1[0]); ^ Mercury/javas/jmercury/bug361.java:118: error: cannot find symbol io.print_line_3_p_0(TypeInfo_10_10, ((java.lang.Object) (Var_6))); ^ symbol: variable io location: class bug361 Mercury/javas/jmercury/bug361.java:137: error: package list does not exist list.List_1 HeadVar__3_3 = null; ^ Mercury/javas/jmercury/bug361.java:153: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/bug361.java:159: error: package list does not exist list.List_1 Var_7 = null; ^ Mercury/javas/jmercury/bug361.java:172: error: package list.List_1 does not exist HeadVar__3_3 = new list.List_1.F_cons_2( ^ Mercury/javas/jmercury/bug361.java:192: error: package list does not exist HeadVar__3_3 = (list.List_1) bug361.MR_scalar_common_2[0]; ^ Mercury/javas/jmercury/bug361.java:203: error: package jmercury.runtime does not exist ((bug361.Get_n_happy_numbers_3_f_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/bug361.java:228: error: cannot find symbol Var_6 = mr_int.mod_2_f_0(N_3, Var_7); ^ symbol: variable mr_int location: class bug361 Mercury/javas/jmercury/bug361.java:233: error: cannot find symbol Var_9 = mr_int.div_2_f_0(N_3, Var_10); ^ symbol: variable mr_int location: class bug361 Mercury/javas/jmercury/bug361.java:273: error: package jmercury.runtime does not exist throw new jmercury.runtime.UnreachableDefault(); ^ 42 errors ** Error making `Mercury/classes/jmercury/bug361.class'. make[3]: *** [/tmp/mmake.yG9Srk:1500: bug361.class] Error 1 make[3]: Target 'bug361.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-18/tests/valid' ERROR OUTPUT bug361.m:032: Ignoring the `:- pragma loop_check' declaration for predicate bug361.m:032: `bug361.is_happy'/1 mode 0, because tabling is is implemented bug361.m:032: only on the C backend. bug361.m:032: Warning: the determinism declaration for `is_happy'(in) could be bug361.m:032: tighter. bug361.m:032: Declared `nondet', inferred `semidet'. END OF THE ERROR OUTPUT