MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O-1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - simplify_bug_1.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/Mercury.options --mercury-linkage static -j2 --flags ../TESTS_FLAGS --flags ../WS_FLAGS --use-subdirs -O-1 '; echo MCFLAGS += ' '; echo CFLAGS += ' '; echo JAVACFLAGS += '-J"-Xmx1024m" '; echo CSCFLAGS += ' '; echo C2INITARGS += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/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-15/stage2/scripts/mmc --make --options-file - simplify_bug_1.class Making Mercury/int3s/simplify_bug_1.int3 Making Mercury/ints/simplify_bug_1.int Making Mercury/javas/jmercury/simplify_bug_1.java simplify_bug_1.m:013: Warning: unresolved polymorphism in predicate `main'/2. simplify_bug_1.m:013: The variable with an unbound type was: simplify_bug_1.m:013: `V_6': list.list(T). simplify_bug_1.m:013: The unbound type variable `T' will be implicitly bound simplify_bug_1.m:013: to the builtin type `void'. simplify_bug_1.m:023: Warning: recursive call to predicate `main'/2 will lead simplify_bug_1.m:023: to infinite recursion. simplify_bug_1.m:029: Warning: the determinism declaration for `nasty'(in) simplify_bug_1.m:029: could be tighter. simplify_bug_1.m:029: Declared `nondet', inferred `semidet'. simplify_bug_1.m:029: Warning: unresolved polymorphism in predicate `nasty'/1. simplify_bug_1.m:029: The variables with unbound types were: simplify_bug_1.m:029: `V_4': list.list(T), simplify_bug_1.m:029: `V_5': list.list(T), simplify_bug_1.m:029: `X':  list.list(T). simplify_bug_1.m:029: The unbound type variable `T' will be implicitly bound simplify_bug_1.m:029: to the builtin type `void'. For more information, recompile with `-E'. Making Mercury/classes/jmercury/simplify_bug_1.class Mercury/javas/jmercury/simplify_bug_1.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/simplify_bug_1.java:47: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_4, ^ Mercury/javas/jmercury/simplify_bug_1.java:48: error: package list does not exist list.List_1 HeadVar__1_2) ^ Mercury/javas/jmercury/simplify_bug_1.java:141: error: package list does not exist list.List_1 arg1, ^ Mercury/javas/jmercury/simplify_bug_1.java:142: error: package list does not exist list.List_1 arg2, ^ Mercury/javas/jmercury/simplify_bug_1.java:156: error: package jmercury.runtime does not exist implements jmercury.runtime.MethodPtr3 ^ Mercury/javas/jmercury/simplify_bug_1.java:181: error: package jmercury.runtime does not exist public jmercury.runtime.Commit commit_0; ^ Mercury/javas/jmercury/simplify_bug_1.java:182: error: package jmercury.runtime does not exist public jmercury.runtime.TypeInfo_Struct TypeCtorInfo_7_12; ^ Mercury/javas/jmercury/simplify_bug_1.java:183: error: package list does not exist public list.List_1 X_9; ^ Mercury/javas/jmercury/simplify_bug_1.java:184: error: package list does not exist public list.List_1 Var_10; ^ Mercury/javas/jmercury/simplify_bug_1.java:15: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.progname = "simplify_bug_1"; ^ Mercury/javas/jmercury/simplify_bug_1.java:16: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.args = args; ^ Mercury/javas/jmercury/simplify_bug_1.java:17: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.exit_status = 0; ^ Mercury/javas/jmercury/simplify_bug_1.java:18: error: cannot find symbol library.ML_std_library_init(); ^ symbol: variable library location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:19: error: cannot find symbol benchmarking.ML_initialise(); ^ symbol: variable benchmarking location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:25: error: package jmercury.runtime does not exist jmercury.runtime.JavaInternal.runMain(run_main); ^ Mercury/javas/jmercury/simplify_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:26: error: cannot find symbol io.flush_output_3_p_0(io.stdout_stream_0_f_0()); ^ symbol: variable io location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:27: error: cannot find symbol io.flush_output_3_p_0(io.stderr_stream_0_f_0()); ^ symbol: variable io location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:28: error: package jmercury.runtime does not exist java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status); ^ Mercury/javas/jmercury/simplify_bug_1.java:32: error: package list.List_1 does not exist private static final list.List_1.F_nil_0[] MR_scalar_common_1 = new list.List_1.F_nil_0[1]; ^ Mercury/javas/jmercury/simplify_bug_1.java:36: error: package list.List_1 does not exist new list.List_1.F_nil_0(); ^ Mercury/javas/jmercury/simplify_bug_1.java:53: error: cannot find symbol require.error_1_p_0(Var_3); ^ symbol: variable require location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:71: error: cannot find symbol ((simplify_bug_1.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:78: error: package list does not exist list.List_1 Var_11 = (list.List_1) simplify_bug_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/simplify_bug_1.java:78: error: package list does not exist list.List_1 Var_11 = (list.List_1) simplify_bug_1.MR_scalar_common_1[0]; ^ Mercury/javas/jmercury/simplify_bug_1.java:80: error: cannot find symbol ((simplify_bug_1.Main_2_p_0_env_0) env_ptr).TypeCtorInfo_7_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ symbol: variable builtin location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:80: error: package jmercury.runtime does not exist ((simplify_bug_1.Main_2_p_0_env_0) env_ptr).TypeCtorInfo_7_12 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_void_0); ^ Mercury/javas/jmercury/simplify_bug_1.java:82: error: cannot find symbol list.append_3_p_4(((simplify_bug_1.Main_2_p_0_env_0) env_ptr).TypeCtorInfo_7_12, Var_11, new AddrOf3_0(), env_ptr); ^ symbol: variable list location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:88: error: package jmercury.runtime does not exist catch (jmercury.runtime.Commit commit_variable) ^ Mercury/javas/jmercury/simplify_bug_1.java:94: error: cannot find symbol ((simplify_bug_1.Main_2_p_0_env_0) env_ptr).succeeded = builtin.semidet_succeed_0_p_0(); ^ symbol: variable builtin location: class simplify_bug_1 Mercury/javas/jmercury/simplify_bug_1.java:117: error: package jmercury.runtime does not exist ((simplify_bug_1.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit(); ^ Mercury/javas/jmercury/simplify_bug_1.java:168: error: package list does not exist simplify_bug_1.main_2_p_0_3(((list.List_1) arg1), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ Mercury/javas/jmercury/simplify_bug_1.java:168: error: package list does not exist simplify_bug_1.main_2_p_0_3(((list.List_1) arg1), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3)); ^ 35 errors ** Error making `Mercury/classes/jmercury/simplify_bug_1.class'. make[3]: *** [/tmp/mmake.aL0gy3:1500: simplify_bug_1.class] Error 1 make[3]: Target 'simplify_bug_1.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-08-15/tests/valid' ERROR OUTPUT simplify_bug_1.m:013: Warning: unresolved polymorphism in predicate `main'/2. simplify_bug_1.m:013: The variable with an unbound type was: simplify_bug_1.m:013: `V_6': list.list(T). simplify_bug_1.m:013: The unbound type variable `T' will be implicitly bound simplify_bug_1.m:013: to the builtin type `void'. simplify_bug_1.m:023: Warning: recursive call to predicate `main'/2 will lead simplify_bug_1.m:023: to infinite recursion. simplify_bug_1.m:029: Warning: the determinism declaration for `nasty'(in) simplify_bug_1.m:029: could be tighter. simplify_bug_1.m:029: Declared `nondet', inferred `semidet'. simplify_bug_1.m:029: Warning: unresolved polymorphism in predicate `nasty'/1. simplify_bug_1.m:029: The variables with unbound types were: simplify_bug_1.m:029: `V_4': list.list(T), simplify_bug_1.m:029: `V_5': list.list(T), simplify_bug_1.m:029: `X':  list.list(T). simplify_bug_1.m:029: The unbound type variable `T' will be implicitly bound simplify_bug_1.m:029: to the builtin type `void'. For more information, recompile with `-E'. END OF THE ERROR OUTPUT