MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'
./two_module_test: 8: ulimit: error setting limit (Operation not permitted)
executing shell function test_module unchanged_pred_nr unchanged_pred_nr_2
Testing unchanged_pred_nr
gmake[4]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'
{ 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 --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons   '; 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 - unchanged_pred_nr.depend
gmake[4]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'
gmake[4]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'
{ 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 --color-diagnostics --use-subdirs --no-intermodule-optimization --smart-recompilation --find-all-recompilation-reasons   '; 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 - unchanged_pred_nr
Warning: smart recompilation does not yet work with `--no-target-code-only'.
Making Mercury/int3s/unchanged_pred_nr.int3
Making Mercury/int3s/unchanged_pred_nr_2.int3
Making Mercury/ints/unchanged_pred_nr_2.int
Making Mercury/ints/unchanged_pred_nr.int
Making Mercury/javas/jmercury/unchanged_pred_nr.java
Making Mercury/javas/jmercury/unchanged_pred_nr_2.java
Making Java class files
Mercury/javas/jmercury/unchanged_pred_nr.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/unchanged_pred_nr.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/unchanged_pred_nr.java:34: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1];
                                  ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:18: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct Var_11,
                    ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:19: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8,
                    ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:20: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_9_9,
                    ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:21: error: package list does not exist 
    list.List_1 HeadVar__1_5,
        ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:22: error: package list does not exist 
    list.List_1 HeadVar__2_6,
        ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:32: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_8,
                    ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:33: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_9_9,
                    ^
Mercury/javas/jmercury/unchanged_pred_nr_2.java:35: error: package list does not exist 
    list.List_1 HeadVar__2_6,
        ^
Mercury/javas/jmercury/unchanged_pred_nr.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "unchanged_pred_nr";
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/unchanged_pred_nr.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/unchanged_pred_nr.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/unchanged_pred_nr.java:34: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_3 = new list.List_1.F_cons_2[1];
                                                                                  ^
Mercury/javas/jmercury/unchanged_pred_nr.java:38: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/unchanged_pred_nr.java:39: 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 unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:39: 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/unchanged_pred_nr.java:40: 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 unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:40: 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/unchanged_pred_nr.java:43: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/unchanged_pred_nr.java:45: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/unchanged_pred_nr.java:47: error: package list does not exist 
        (list.List_1) unchanged_pred_nr.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/unchanged_pred_nr.java:60: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(unchanged_pred_nr.MR_scalar_common_1[0]);
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:60: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(unchanged_pred_nr.MR_scalar_common_1[0]);
                                                                      ^
Mercury/javas/jmercury/unchanged_pred_nr.java:61: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                    ^
Mercury/javas/jmercury/unchanged_pred_nr.java:61: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                                                     ^
  symbol:   variable builtin
  location: class unchanged_pred_nr
Mercury/javas/jmercury/unchanged_pred_nr.java:61: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_15_15 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                          ^
Mercury/javas/jmercury/unchanged_pred_nr.java:63: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) unchanged_pred_nr.MR_scalar_common_3[0];
        ^
Mercury/javas/jmercury/unchanged_pred_nr.java:63: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) unchanged_pred_nr.MR_scalar_common_3[0];
                             ^
Mercury/javas/jmercury/unchanged_pred_nr.java:70: error: cannot find symbol 
      io.write_string_3_p_0(Str_4);
      ^
  symbol:   variable io
  location: class unchanged_pred_nr
41 errors
gmake[4]: *** [/tmp/mmake.kAvv5h:1242: unchanged_pred_nr] Error 1
gmake[4]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'
** Error: mmake  unchanged_pred_nr failed (it was expected to succeed)
gmake[3]: *** [/tmp/mmake.ltEseE:858: unchanged_pred_nr.runtest] Error 1
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/recompilation'