MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'
{ 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 --use-subdirs    '; 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 - string_from_code_unit_list.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'
{ 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 --use-subdirs    '; 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 - string_from_code_unit_list
Making Mercury/int3s/string_from_code_unit_list.int3
Making Mercury/ints/string_from_code_unit_list.int
Making Mercury/javas/jmercury/string_from_code_unit_list.java
Making Java class files
Mercury/javas/jmercury/string_from_code_unit_list.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct();
                                       ^
Mercury/javas/jmercury/string_from_code_unit_list.java:49: 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/string_from_code_unit_list.java:50: 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/string_from_code_unit_list.java:51: 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[17];
                                  ^
Mercury/javas/jmercury/string_from_code_unit_list.java:346: error: package list does not exist 
    list.List_1 CodeList_4)
        ^
Mercury/javas/jmercury/string_from_code_unit_list.java:398: error: package list does not exist 
    list.List_1 CodeList_4)
        ^
Mercury/javas/jmercury/string_from_code_unit_list.java:455: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/string_from_code_unit_list.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "string_from_code_unit_list";
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct list__pti_list_1__plain_builtin__type_ctor_info_int_0 = new jmercury.runtime.TypeInfo_Struct();
                                                                                                                                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:37: error: cannot find symbol 
      list.list__type_ctor_info_list_1,
      ^
  symbol:   variable list
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:39: error: package jmercury.runtime does not exist 
        (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0
                         ^
Mercury/javas/jmercury/string_from_code_unit_list.java:39: error: cannot find symbol 
        (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0
                                          ^
  symbol:   variable builtin
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:49: 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/string_from_code_unit_list.java:50: 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/string_from_code_unit_list.java:51: 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[17];
                                                                                  ^
Mercury/javas/jmercury/string_from_code_unit_list.java:57: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:58: 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 string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:58: 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/string_from_code_unit_list.java:59: 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 string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:59: 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/string_from_code_unit_list.java:62: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:64: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:66: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:69: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:71: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:74: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:76: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[1]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:79: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:81: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:84: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:86: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[3]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:89: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:91: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[4]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:94: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:96: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[5]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:99: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:101: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:104: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:106: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[7]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:109: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:111: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[8]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:114: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:116: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[9]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:119: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:120: error: package list does not exist 
        ((java.lang.Object) ((list.List_1) string_from_code_unit_list.MR_scalar_common_3[10])),
                                  ^
Mercury/javas/jmercury/string_from_code_unit_list.java:121: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:124: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:126: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:129: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:131: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[12]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:134: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:136: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:139: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:141: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_3[14]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:144: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_from_code_unit_list.java:145: error: package list does not exist 
        ((java.lang.Object) ((list.List_1) string_from_code_unit_list.MR_scalar_common_3[15])),
                                  ^
Mercury/javas/jmercury/string_from_code_unit_list.java:146: error: package list does not exist 
        (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_from_code_unit_list.java:154: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                             ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:154: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                            ^
Mercury/javas/jmercury/string_from_code_unit_list.java:155: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                             ^
  symbol:   variable io
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:155: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                            ^
Mercury/javas/jmercury/string_from_code_unit_list.java:181: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_16_16 = null;
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:182: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = null;
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:183: error: package list does not exist 
    list.List_1 Cases_4 = null;
        ^
Mercury/javas/jmercury/string_from_code_unit_list.java:192: error: cannot find symbol 
      Var_7 = string.length_1_f_0(Var_8);
              ^
  symbol:   variable string
  location: class string_from_code_unit_list
Mercury/javas/jmercury/string_from_code_unit_list.java:197: error: package list does not exist 
      list.List_1 Var_18 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0];
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:197: error: package list does not exist 
      list.List_1 Var_18 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0];
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:198: error: package list does not exist 
      list.List_1 Var_19 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:199: error: package list does not exist 
      list.List_1 Var_20 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2];
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:199: error: package list does not exist 
      list.List_1 Var_20 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2];
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:200: error: package list does not exist 
      list.List_1 Var_27 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:201: error: package list does not exist 
      list.List_1 Var_28 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[6];
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:201: error: package list does not exist 
      list.List_1 Var_28 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[6];
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:202: error: package list does not exist 
      list.List_1 Var_37 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:203: error: package list does not exist 
      list.List_1 Var_38 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:208: error: package list does not exist 
      list.List_1 Var_43 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:209: error: package list does not exist 
      list.List_1 Var_50 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:214: error: package list does not exist 
      Var_43 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[5];
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:216: error: package list.List_1 does not exist 
        Var_38 = new list.List_1.F_cons_2(
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:221: error: package list does not exist 
      Var_50 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[11];
                    ^
Mercury/javas/jmercury/string_from_code_unit_list.java:223: error: package list.List_1 does not exist 
        Var_37 = new list.List_1.F_cons_2(
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:229: error: package list.List_1 does not exist 
        Var_27 = new list.List_1.F_cons_2(
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:235: error: package list.List_1 does not exist 
        Var_19 = new list.List_1.F_cons_2(
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:241: error: package list.List_1 does not exist 
        Cases_4 = new list.List_1.F_cons_2(
                                 ^
Mercury/javas/jmercury/string_from_code_unit_list.java:249: error: package list does not exist 
      list.List_1 Var_61 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0];
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:249: error: package list does not exist 
      list.List_1 Var_61 = (list.List_1) string_from_code_unit_list.MR_scalar_common_2[0];
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:250: error: package list does not exist 
      list.List_1 Var_62 = null;
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:251: error: package list does not exist 
      list.List_1 Var_63 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2];
          ^
Mercury/javas/jmercury/string_from_code_unit_list.java:251: error: package list does not exist 
      list.List_1 Var_63 = (list.List_1) string_from_code_unit_list.MR_scalar_common_3[2];
                                ^
Mercury/javas/jmercury/string_from_code_unit_list.java:252: error: package list does not exist 
      list.List_1 Var_70 = null;
          ^
100 errors
gmake[3]: *** [/tmp/mmake.PTVDfJ:2362: string_from_code_unit_list] Error 1
gmake[3]: Target 'string_from_code_unit_list.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'