MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/benchmarks'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/scripts/mmc --make --options-file - cqueens.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/benchmarks'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/benchmarks'
{ echo MCFLAGS += '--grade java    --options-file /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/library/mer_std.init /home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/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-28/stage2/scripts/mmc --make --options-file - cqueens
Making Mercury/int3s/cqueens.int3
Making Mercury/ints/cqueens.int
Making Mercury/javas/jmercury/cqueens.java
Making Java class files
Mercury/javas/jmercury/cqueens.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/cqueens.java:33: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9];
                                  ^
Mercury/javas/jmercury/cqueens.java:172: error: package list does not exist 
    list.List_1 arg1,
        ^
Mercury/javas/jmercury/cqueens.java:187: error: package list does not exist 
    list.List_1 HeadVar__3_3)
        ^
Mercury/javas/jmercury/cqueens.java:238: error: package list does not exist 
    list.List_1 Xs_6)
        ^
Mercury/javas/jmercury/cqueens.java:270: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/cqueens.java:271: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/cqueens.java:323: error: package list does not exist 
    list.List_1 arg2,
        ^
Mercury/javas/jmercury/cqueens.java:337: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/cqueens.java:338: error: package list does not exist 
    list.List_1 History_2,
        ^
Mercury/javas/jmercury/cqueens.java:339: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/cqueens.java:392: error: package list does not exist 
    list.List_1 arg2,
        ^
Mercury/javas/jmercury/cqueens.java:423: error: package list does not exist 
    list.List_1 arg1,
        ^
Mercury/javas/jmercury/cqueens.java:436: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/cqueens.java:478: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/cqueens.java:525: error: package list does not exist 
    public list.List_1 Out_5;
               ^
Mercury/javas/jmercury/cqueens.java:526: error: package jmercury.runtime does not exist 
    public jmercury.runtime.Commit commit_0;
                           ^
Mercury/javas/jmercury/cqueens.java:532: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/cqueens.java:535: error: package list does not exist 
    public list.List_1 HeadVar__3_3;
               ^
Mercury/javas/jmercury/cqueens.java:537: error: package list does not exist 
    public list.List_1 NT_9;
               ^
Mercury/javas/jmercury/cqueens.java:543: error: package list does not exist 
    public list.List_1 History_2;
               ^
Mercury/javas/jmercury/cqueens.java:544: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/cqueens.java:547: error: package list does not exist 
    public list.List_1 HeadVar__3_3;
               ^
Mercury/javas/jmercury/cqueens.java:549: error: package list does not exist 
    public list.List_1 M_8;
               ^
Mercury/javas/jmercury/cqueens.java:550: error: package list does not exist 
    public list.List_1 L1_11;
               ^
Mercury/javas/jmercury/cqueens.java:552: error: package list does not exist 
    public list.List_1 Var_13;
               ^
Mercury/javas/jmercury/cqueens.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "cqueens";
                    ^
Mercury/javas/jmercury/cqueens.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/cqueens.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/cqueens.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/cqueens.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/cqueens.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/cqueens.java:33: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_2 = new list.List_1.F_cons_2[9];
                                                                                  ^
Mercury/javas/jmercury/cqueens.java:37: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/cqueens.java:39: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:41: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_1[0]
             ^
Mercury/javas/jmercury/cqueens.java:44: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:46: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/cqueens.java:49: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:51: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[1]
             ^
Mercury/javas/jmercury/cqueens.java:54: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:56: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[2]
             ^
Mercury/javas/jmercury/cqueens.java:59: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:61: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[3]
             ^
Mercury/javas/jmercury/cqueens.java:64: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:66: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[4]
             ^
Mercury/javas/jmercury/cqueens.java:69: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:71: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[5]
             ^
Mercury/javas/jmercury/cqueens.java:74: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:76: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[6]
             ^
Mercury/javas/jmercury/cqueens.java:79: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/cqueens.java:81: error: package list does not exist 
        (list.List_1) cqueens.MR_scalar_common_2[7]
             ^
Mercury/javas/jmercury/cqueens.java:103: error: package list does not exist 
      list.List_1 Data_4 = (list.List_1) cqueens.MR_scalar_common_2[8];
          ^
Mercury/javas/jmercury/cqueens.java:103: error: package list does not exist 
      list.List_1 Data_4 = (list.List_1) cqueens.MR_scalar_common_2[8];
                                ^
Mercury/javas/jmercury/cqueens.java:109: error: package list does not exist 
            list.List_1 Var_28 = (list.List_1) cqueens.MR_scalar_common_1[0];
                ^
Mercury/javas/jmercury/cqueens.java:109: error: package list does not exist 
            list.List_1 Var_28 = (list.List_1) cqueens.MR_scalar_common_1[0];
                                      ^
Mercury/javas/jmercury/cqueens.java:118: error: package jmercury.runtime does not exist 
      catch (jmercury.runtime.Commit commit_variable)
                             ^
Mercury/javas/jmercury/cqueens.java:128: error: cannot find symbol 
            io.write_string_3_p_0(Var_31);
            ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:133: error: package list.List_1 does not exist 
          int H_29 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue();
                                                        ^
Mercury/javas/jmercury/cqueens.java:133: error: illegal start of type 
          int H_29 = ((java.lang.Integer) (((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F1)).intValue();
                                          ^
Mercury/javas/jmercury/cqueens.java:134: error: package list does not exist 
          list.List_1 T_30 = ((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F2;
              ^
Mercury/javas/jmercury/cqueens.java:134: error: package list.List_1 does not exist 
          list.List_1 T_30 = ((list.List_1.F_cons_2) (((cqueens.Main_2_p_0_env_0) env_ptr).Out_5)).F2;
                                          ^
Mercury/javas/jmercury/cqueens.java:139: error: cannot find symbol 
            io.write_string_3_p_0(Var_32);
            ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:146: error: cannot find symbol 
            io.write_string_3_p_0(Var_35);
            ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:154: error: cannot find symbol 
          io.write_string_3_p_0(Var_9);
          ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:166: error: package jmercury.runtime does not exist 
    ((cqueens.Main_2_p_0_env_0) env_ptr).commit_0 = new jmercury.runtime.Commit();
                                                                        ^
Mercury/javas/jmercury/cqueens.java:198: error: package list.List_1 does not exist 
        int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue();
                                                       ^
Mercury/javas/jmercury/cqueens.java:198: error: illegal start of type 
        int Row_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__3_3).F1)).intValue();
                                         ^
Mercury/javas/jmercury/cqueens.java:199: error: package list does not exist 
        list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2;
            ^
Mercury/javas/jmercury/cqueens.java:199: error: package list.List_1 does not exist 
        list.List_1 Rows_9 = ((list.List_1.F_cons_2) HeadVar__3_3).F2;
                                          ^
Mercury/javas/jmercury/cqueens.java:204: error: package list does not exist 
        list.List_1 next_value_of_HeadVar__3_3 = null;
            ^
Mercury/javas/jmercury/cqueens.java:244: error: cannot find symbol 
        io.write_int_3_p_0(X_5);
        ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:248: error: package list.List_1 does not exist 
        int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue();
                                                     ^
Mercury/javas/jmercury/cqueens.java:248: error: illegal start of type 
        int H_8 = ((java.lang.Integer) (((list.List_1.F_cons_2) Xs_6).F1)).intValue();
                                       ^
Mercury/javas/jmercury/cqueens.java:249: error: package list does not exist 
        list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2;
            ^
Mercury/javas/jmercury/cqueens.java:249: error: package list.List_1 does not exist 
        list.List_1 T_9 = ((list.List_1.F_cons_2) Xs_6).F2;
                                       ^
Mercury/javas/jmercury/cqueens.java:252: error: package list does not exist 
        list.List_1 next_value_of_Xs_6 = null;
            ^
Mercury/javas/jmercury/cqueens.java:255: error: cannot find symbol 
          io.write_string_3_p_0(Var_13);
          ^
  symbol:   variable io
  location: class cqueens
Mercury/javas/jmercury/cqueens.java:285: error: package list does not exist 
      list.List_1 Var_10 = null;
          ^
Mercury/javas/jmercury/cqueens.java:289: error: package list.List_1 does not exist 
        ((cqueens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                                                                            ^
Mercury/javas/jmercury/cqueens.java:289: error: illegal start of type 
        ((cqueens.Qdelete_3_p_0_env_0) env_ptr).Var_11 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                                                              ^
Mercury/javas/jmercury/cqueens.java:290: error: package list.List_1 does not exist 
        Var_10 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
                              ^
Mercury/javas/jmercury/cqueens.java:294: error: package jmercury.runtime does not exist 
          ((jmercury.runtime.MethodPtr3) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr)));
                            ^
Mercury/javas/jmercury/cqueens.java:310: error: package list.List_1 does not exist 
      ((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2(
                                                                            ^
Mercury/javas/jmercury/cqueens.java:316: error: package jmercury.runtime does not exist 
      ((jmercury.runtime.MethodPtr3) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__2_2), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Qdelete_3_p_0_env_0) env_ptr).cont_env_ptr)));
                        ^
Mercury/javas/jmercury/cqueens.java:354: error: package list does not exist 
      ((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3 = (list.List_1) cqueens.MR_scalar_common_1[0];
                                                                  ^
Mercury/javas/jmercury/cqueens.java:356: error: package jmercury.runtime does not exist 
        ((jmercury.runtime.MethodPtr2) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont_env_ptr)));
                          ^
Mercury/javas/jmercury/cqueens.java:378: error: package list.List_1 does not exist 
        ((cqueens.Queen_2_3_p_0_env_0) env_ptr).Var_13 = new list.List_1.F_cons_2(
                                                                        ^
Mercury/javas/jmercury/cqueens.java:411: error: package list.List_1 does not exist 
      ((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3 = new list.List_1.F_cons_2(
                                                                            ^
Mercury/javas/jmercury/cqueens.java:417: error: package jmercury.runtime does not exist 
      ((jmercury.runtime.MethodPtr2) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).HeadVar__3_3)), ((java.lang.Object) (((cqueens.Queen_2_3_p_0_env_0) env_ptr).cont_env_ptr)));
                        ^
Mercury/javas/jmercury/cqueens.java:451: error: package list does not exist 
              cqueens.main_2_p_0_2(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2));
                                         ^
Mercury/javas/jmercury/cqueens.java:460: error: package list does not exist 
              cqueens.queen_2_3_p_0_4(((list.List_1) arg1), ((/* env_ptr */ java.lang.Object) arg2));
                                            ^
Mercury/javas/jmercury/cqueens.java:465: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
Mercury/javas/jmercury/cqueens.java:494: error: package list does not exist 
              cqueens.queen_2_3_p_0_2(((java.lang.Integer) arg1).intValue(), ((list.List_1) arg2), ((/* env_ptr */ java.lang.Object) arg3));
                                                                                   ^
100 errors
gmake[3]: *** [/tmp/mmake.w6NxWT:1193: cqueens] Error 1
gmake[3]: Target 'cqueens.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/benchmarks'