MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
{ 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 - qual_adv_test.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'
{ 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 - qual_adv_test
Making Mercury/int3s/qual_adv_test.int3
Making Mercury/int3s/qual_adv_test_helper_1.int3
Making Mercury/int3s/qual_adv_test_helper_2.int3
Making Mercury/ints/qual_adv_test_helper_2.int
Making Mercury/ints/qual_adv_test_helper_1.int
Making Mercury/ints/qual_adv_test.int
Making Mercury/javas/jmercury/qual_adv_test.java
Making Mercury/javas/jmercury/qual_adv_test_helper_1.java
Making Mercury/javas/jmercury/qual_adv_test_helper_2.java
Making Java class files
Mercury/javas/jmercury/qual_adv_test.java:32: error: package string.Poly_type_0 does not exist 
  private static final string.Poly_type_0.S_1[] MR_scalar_common_1 = new string.Poly_type_0.S_1[1];
                                         ^
Mercury/javas/jmercury/qual_adv_test.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/qual_adv_test.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/qual_adv_test_helper_1.java:15: 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/qual_adv_test_helper_1.java:16: error: package string.Poly_type_0 does not exist 
  private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1];
                                         ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:35: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:100: error: package list does not exist 
    list.List_1 Poly_list_5)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:116: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:117: error: package list does not exist 
    list.List_1 Vars_in_2)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:291: error: package list does not exist 
    list.List_1 Flags_9,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:292: error: package string does not exist 
    string.Poly_type_0 _V_10,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:595: error: package string does not exist 
    string.Poly_type_0 Poly_t_8,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:597: error: package list does not exist 
    list.List_1 Flags_11)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1145: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1362: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1484: error: package string does not exist 
    string.Poly_type_0 Poly_var_6,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1597: error: package list does not exist 
    list.List_1 Flags_8,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1676: error: package list does not exist 
    list.List_1 Polys_in_8,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1744: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1745: error: package bool does not exist 
    bool.Bool_0 Bool_5)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1841: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:1937: error: package list does not exist 
    list.List_1 PolyList_5)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:15: 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/qual_adv_test_helper_2.java:16: error: package string.Poly_type_0 does not exist 
  private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1];
                                         ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:35: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:100: error: package list does not exist 
    list.List_1 Poly_list_5)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:116: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:117: error: package list does not exist 
    list.List_1 Vars_in_2)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:291: error: package list does not exist 
    list.List_1 Flags_9,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:292: error: package string does not exist 
    string.Poly_type_0 _V_10,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:595: error: package string does not exist 
    string.Poly_type_0 Poly_t_8,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:597: error: package list does not exist 
    list.List_1 Flags_11)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1143: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1360: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1482: error: package string does not exist 
    string.Poly_type_0 Poly_var_6,
          ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1595: error: package list does not exist 
    list.List_1 Flags_8,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1674: error: package list does not exist 
    list.List_1 Polys_in_8,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1742: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1743: error: package bool does not exist 
    bool.Bool_0 Bool_5)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1839: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/qual_adv_test_helper_2.java:1935: error: package list does not exist 
    list.List_1 PolyList_5)
        ^
Mercury/javas/jmercury/qual_adv_test.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "qual_adv_test";
                    ^
Mercury/javas/jmercury/qual_adv_test.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/qual_adv_test.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/qual_adv_test.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/qual_adv_test.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/qual_adv_test.java:32: error: package string.Poly_type_0 does not exist 
  private static final string.Poly_type_0.S_1[] MR_scalar_common_1 = new string.Poly_type_0.S_1[1];
                                                                                           ^
Mercury/javas/jmercury/qual_adv_test.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/qual_adv_test.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/qual_adv_test.java:38: error: package string.Poly_type_0 does not exist 
      new string.Poly_type_0.S_1(
                            ^
Mercury/javas/jmercury/qual_adv_test.java:42: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/qual_adv_test.java:44: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/qual_adv_test.java:45: error: package string does not exist 
        ((java.lang.Object) ((string.Poly_type_0) qual_adv_test.MR_scalar_common_1[0])),
                                    ^
Mercury/javas/jmercury/qual_adv_test.java:46: error: package list does not exist 
        (list.List_1) qual_adv_test.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/qual_adv_test.java:66: error: package list does not exist 
    list.List_1 Var_16 = (list.List_1) qual_adv_test.MR_scalar_common_3[0];
        ^
Mercury/javas/jmercury/qual_adv_test.java:66: error: package list does not exist 
    list.List_1 Var_16 = (list.List_1) qual_adv_test.MR_scalar_common_3[0];
                              ^
Mercury/javas/jmercury/qual_adv_test.java:75: error: cannot find symbol 
      io.write_string_3_p_0(Out1_6);
      ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:78: error: cannot find symbol 
      io.write_string_3_p_0(Out2_7);
      ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:81: error: cannot find symbol 
      io.write_string_3_p_0(Out3_8);
      ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:97: error: cannot find symbol 
        io.write_string_3_p_0(Var_31);
        ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test.java:105: error: cannot find symbol 
        io.write_string_3_p_0(Var_33);
        ^
  symbol:   variable io
  location: class qual_adv_test
Mercury/javas/jmercury/qual_adv_test_helper_1.java:15: 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/qual_adv_test_helper_1.java:16: error: package string.Poly_type_0 does not exist 
  private static final string.Poly_type_0.S_1[] MR_scalar_common_2 = new string.Poly_type_0.S_1[1];
                                                                                           ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:20: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:22: error: package string.Poly_type_0 does not exist 
      new string.Poly_type_0.S_1(
                            ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:41: error: package list does not exist 
    list.List_1 Xs_7 = null;
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:45: error: package list.List_1 does not exist 
      X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                               ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:45: error: illegal start of type 
      X_6 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                 ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:46: error: package list.List_1 does not exist 
      Xs_7 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
                          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:103: error: package list does not exist 
    list.List_1 Clist_7 = null;
        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:106: error: cannot find symbol 
      Clist_7 = string.to_char_list_2_p_0(Fstring_4);
                ^
  symbol:   variable string
  location: class qual_adv_test_helper_1
Mercury/javas/jmercury/qual_adv_test_helper_1.java:126: error: package list.List_1 does not exist 
      int Achar_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                                       ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:126: error: illegal start of type 
      int Achar_5 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                         ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:127: error: package list does not exist 
      list.List_1 As_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:127: error: package list.List_1 does not exist 
      list.List_1 As_6 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
                                      ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:132: error: package list does not exist 
        list.List_1 Ass_9 = null;
            ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:138: error: package list.List_1 does not exist 
          Var_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue();
                                                      ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:138: error: illegal start of type 
          Var_16 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue();
                                        ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:139: error: package list.List_1 does not exist 
          Ass_9 = ((list.List_1.F_cons_2) As_6).F2;
                               ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:152: error: cannot find symbol 
            HeadVar__3_3 = string.first_char_3_p_4(Var_17, Temp_out_10);
                           ^
  symbol:   variable string
  location: class qual_adv_test_helper_1
Mercury/javas/jmercury/qual_adv_test_helper_1.java:157: error: package list does not exist 
          list.List_1 As_out_11 = null;
              ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:158: error: package list does not exist 
          list.List_1 Vars_out_12 = null;
              ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:168: error: package list.List_1 does not exist 
              Var_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue();
                                                          ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:168: error: illegal start of type 
              Var_21 = ((java.lang.Integer) (((list.List_1.F_cons_2) As_6).F1)).intValue();
                                            ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:169: error: package list.List_1 does not exist 
              As_out_11 = ((list.List_1.F_cons_2) As_6).F2;
                                       ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:173: error: package list does not exist 
                Vars_out_12 = (list.List_1) qual_adv_test_helper_1.MR_scalar_common_1[0];
                                   ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package string does not exist 
            string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1);
                  ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package string does not exist 
            string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1);
                                                   ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:181: error: package list.List_1 does not exist 
            string.Poly_type_0 Var_in_24 = ((string.Poly_type_0) ((list.List_1.F_cons_2) Vars_in_2).F1);
                                                                              ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:182: error: package list does not exist 
            list.List_1 Vars_l_in_25 = ((list.List_1.F_cons_2) Vars_in_2).F2;
                ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:182: error: package list.List_1 does not exist 
            list.List_1 Vars_l_in_25 = ((list.List_1.F_cons_2) Vars_in_2).F2;
                                                    ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:184: error: package list does not exist 
            list.List_1 Fmt_info_29 = null;
                ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:185: error: package list does not exist 
            list.List_1 Flags_30 = null;
                ^
Mercury/javas/jmercury/qual_adv_test_helper_1.java:197: error: package list does not exist 
            list.List_1 Var_42 = null;
                ^
100 errors
gmake[3]: *** [/tmp/mmake.U3gT0C:2362: qual_adv_test] Error 1
gmake[3]: Target 'qual_adv_test.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'