MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
{ 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 - array_test.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
{ 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 - array_test
Making Mercury/int3s/array_test.int3
Making Mercury/ints/array_test.int
Making Mercury/javas/jmercury/array_test.java
Making Java class files
Mercury/javas/jmercury/array_test.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[2];
                                       ^
Mercury/javas/jmercury/array_test.java:35: error: package maybe.Maybe_1 does not exist 
  private static final maybe.Maybe_1.No_0[] MR_scalar_common_4 = new maybe.Maybe_1.No_0[1];
                                    ^
Mercury/javas/jmercury/array_test.java:36: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1];
                                  ^
Mercury/javas/jmercury/array_test.java:37: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10];
                                  ^
Mercury/javas/jmercury/array_test.java:133: error: package builtin does not exist 
  private static builtin.Comparison_result_0
                        ^
Mercury/javas/jmercury/array_test.java:166: error: package list does not exist 
    list.List_1 Xs_4)
        ^
Mercury/javas/jmercury/array_test.java:663: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/array_test.java:709: error: package list does not exist 
    list.List_1 List_6)
        ^
Mercury/javas/jmercury/array_test.java:751: error: package maybe does not exist 
    maybe.Maybe_1 HeadVar__2_2)
         ^
Mercury/javas/jmercury/array_test.java:794: error: package builtin does not exist 
  private static builtin.Comparison_result_0
                        ^
Mercury/javas/jmercury/array_test.java:817: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/array_test.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "array_test";
                    ^
Mercury/javas/jmercury/array_test.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/array_test.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/array_test.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class array_test
Mercury/javas/jmercury/array_test.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class array_test
Mercury/javas/jmercury/array_test.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/array_test.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class array_test
Mercury/javas/jmercury/array_test.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class array_test
Mercury/javas/jmercury/array_test.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class array_test
Mercury/javas/jmercury/array_test.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class array_test
Mercury/javas/jmercury/array_test.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/array_test.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[2];
                                                                                                   ^
Mercury/javas/jmercury/array_test.java:35: error: package maybe.Maybe_1 does not exist 
  private static final maybe.Maybe_1.No_0[] MR_scalar_common_4 = new maybe.Maybe_1.No_0[1];
                                                                                  ^
Mercury/javas/jmercury/array_test.java:36: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1];
                                                                                 ^
Mercury/javas/jmercury/array_test.java:37: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[10];
                                                                                  ^
Mercury/javas/jmercury/array_test.java:41: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/array_test.java:42: 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 array_test
Mercury/javas/jmercury/array_test.java:42: 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/array_test.java:43: 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 array_test
Mercury/javas/jmercury/array_test.java:43: 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/array_test.java:46: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/array_test.java:47: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))),
                                                                        ^
  symbol:   variable maybe
  location: class array_test
Mercury/javas/jmercury/array_test.java:47: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(maybe.maybe__type_ctor_info_maybe_1))),
                                             ^
Mercury/javas/jmercury/array_test.java:48: 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 array_test
Mercury/javas/jmercury/array_test.java:48: 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/array_test.java:55: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                             ^
  symbol:   variable builtin
  location: class array_test
Mercury/javas/jmercury/array_test.java:55: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                            ^
Mercury/javas/jmercury/array_test.java:56: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                             ^
  symbol:   variable builtin
  location: class array_test
Mercury/javas/jmercury/array_test.java:56: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                            ^
Mercury/javas/jmercury/array_test.java:57: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0))
                             ^
  symbol:   variable builtin
  location: class array_test
Mercury/javas/jmercury/array_test.java:57: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_comparison_result_0))
                            ^
Mercury/javas/jmercury/array_test.java:72: error: package maybe.Maybe_1 does not exist 
      new maybe.Maybe_1.No_0();
                       ^
Mercury/javas/jmercury/array_test.java:74: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/array_test.java:76: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:78: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_5[0]
             ^
Mercury/javas/jmercury/array_test.java:81: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:83: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[0]
             ^
Mercury/javas/jmercury/array_test.java:86: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:88: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[1]
             ^
Mercury/javas/jmercury/array_test.java:91: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:93: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[2]
             ^
Mercury/javas/jmercury/array_test.java:96: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:98: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[3]
             ^
Mercury/javas/jmercury/array_test.java:101: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:103: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[4]
             ^
Mercury/javas/jmercury/array_test.java:106: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:108: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[5]
             ^
Mercury/javas/jmercury/array_test.java:111: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:113: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[6]
             ^
Mercury/javas/jmercury/array_test.java:116: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:118: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[7]
             ^
Mercury/javas/jmercury/array_test.java:121: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/array_test.java:123: error: package list does not exist 
        (list.List_1) array_test.MR_scalar_common_6[8]
             ^
Mercury/javas/jmercury/array_test.java:139: error: package builtin does not exist 
    builtin.Comparison_result_0 LambdaHeadVar__3_54 = null;
           ^
Mercury/javas/jmercury/array_test.java:142: error: package builtin does not exist 
      LambdaHeadVar__3_54 = builtin.Comparison_result_0.K1;
                                   ^
Mercury/javas/jmercury/array_test.java:147: error: package builtin does not exist 
        LambdaHeadVar__3_54 = builtin.Comparison_result_0.K2;
                                     ^
Mercury/javas/jmercury/array_test.java:149: error: package builtin does not exist 
        LambdaHeadVar__3_54 = builtin.Comparison_result_0.K0;
                                     ^
Mercury/javas/jmercury/array_test.java:157: error: package list does not exist 
    list.List_1 Var_6 = (list.List_1) array_test.MR_scalar_common_6[9];
        ^
Mercury/javas/jmercury/array_test.java:157: error: package list does not exist 
    list.List_1 Var_6 = (list.List_1) array_test.MR_scalar_common_6[9];
                             ^
Mercury/javas/jmercury/array_test.java:169: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                    ^
Mercury/javas/jmercury/array_test.java:169: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                                                       ^
  symbol:   variable builtin
  location: class array_test
Mercury/javas/jmercury/array_test.java:169: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_136_136 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                            ^
Mercury/javas/jmercury/array_test.java:173: error: package list does not exist 
    list.List_1 As0_12 = null;
        ^
Mercury/javas/jmercury/array_test.java:179: error: package maybe does not exist 
    maybe.Maybe_1 MaybeABsearch_19 = null;
         ^
Mercury/javas/jmercury/array_test.java:181: error: package list does not exist 
    list.List_1 As1_21 = null;
        ^
Mercury/javas/jmercury/array_test.java:183: error: package list does not exist 
    list.List_1 As2_23 = null;
        ^
Mercury/javas/jmercury/array_test.java:185: error: package list does not exist 
    list.List_1 As3_25 = null;
        ^
Mercury/javas/jmercury/array_test.java:187: error: package list does not exist 
    list.List_1 As4_27 = null;
        ^
Mercury/javas/jmercury/array_test.java:189: error: package list does not exist 
    list.List_1 As5_29 = null;
        ^
Mercury/javas/jmercury/array_test.java:191: error: package list does not exist 
    list.List_1 As6_31 = null;
        ^
Mercury/javas/jmercury/array_test.java:192: error: package bt_array does not exist 
    bt_array.Bt_array_1 B0_32 = null;
            ^
Mercury/javas/jmercury/array_test.java:193: error: package list does not exist 
    list.List_1 Bs0_33 = null;
        ^
Mercury/javas/jmercury/array_test.java:199: error: package maybe does not exist 
    maybe.Maybe_1 MaybeBBsearch_40 = null;
         ^
Mercury/javas/jmercury/array_test.java:200: error: package bt_array does not exist 
    bt_array.Bt_array_1 B1_41 = null;
            ^
Mercury/javas/jmercury/array_test.java:201: error: package list does not exist 
    list.List_1 Bs1_42 = null;
        ^
Mercury/javas/jmercury/array_test.java:202: error: package bt_array does not exist 
    bt_array.Bt_array_1 B2_43 = null;
            ^
Mercury/javas/jmercury/array_test.java:203: error: package list does not exist 
    list.List_1 Bs2_44 = null;
        ^
Mercury/javas/jmercury/array_test.java:204: error: package bt_array does not exist 
    bt_array.Bt_array_1 B3_45 = null;
            ^
Mercury/javas/jmercury/array_test.java:205: error: package list does not exist 
    list.List_1 Bs3_46 = null;
        ^
Mercury/javas/jmercury/array_test.java:222: error: package list does not exist 
    list.List_1 Var_82 = null;
        ^
Mercury/javas/jmercury/array_test.java:227: error: package list does not exist 
    list.List_1 Var_88 = null;
        ^
Mercury/javas/jmercury/array_test.java:228: error: package list does not exist 
    list.List_1 Var_89 = null;
        ^
Mercury/javas/jmercury/array_test.java:264: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_137_137 = null;
                    ^
Mercury/javas/jmercury/array_test.java:265: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_138_138 = null;
                    ^
Mercury/javas/jmercury/array_test.java:266: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_139_139 = null;
                    ^
Mercury/javas/jmercury/array_test.java:267: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_140_140 = null;
                    ^
Mercury/javas/jmercury/array_test.java:268: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_141_141 = null;
                    ^
Mercury/javas/jmercury/array_test.java:269: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_142_142 = null;
                    ^
Mercury/javas/jmercury/array_test.java:270: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_143_143 = null;
                    ^
100 errors
gmake[3]: *** [/tmp/mmake.b5yMnr:1276: array_test] Error 1
gmake[3]: Target 'array_test.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'