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  --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100  '; 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 - string_switch_2.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  --string-trie-switch-size=1 --string-hash-switch-size=100 --string-binary-switch-size=100  '; 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 - string_switch_2
Making Mercury/int3s/string_switch_2.int3
Making Mercury/ints/string_switch_2.int
Making Mercury/javas/jmercury/string_switch_2.java
Making Java class files
Mercury/javas/jmercury/string_switch_2.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/string_switch_2.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/string_switch_2.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[21];
                                  ^
Mercury/javas/jmercury/string_switch_2.java:37: error: package string__parse_util does not exist 
  private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1];
                                         ^
Mercury/javas/jmercury/string_switch_2.java:481: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:523: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:867: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:1519: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:1608: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:1697: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/string_switch_2.java:1720: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/string_switch_2.java:1771: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/string_switch_2.java:1882: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/string_switch_2.java:1895: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/string_switch_2.java:1904: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/string_switch_2.java:1913: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/string_switch_2.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "string_switch_2";
                    ^
Mercury/javas/jmercury/string_switch_2.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/string_switch_2.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/string_switch_2.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/string_switch_2.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/string_switch_2.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/string_switch_2.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/string_switch_2.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[21];
                                                                                  ^
Mercury/javas/jmercury/string_switch_2.java:37: error: package string__parse_util does not exist 
  private static final string__parse_util.String_format_flags_0[] MR_scalar_common_6 = new string__parse_util.String_format_flags_0[1];
                                                                                                             ^
Mercury/javas/jmercury/string_switch_2.java:42: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/string_switch_2.java:43: 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_switch_2
Mercury/javas/jmercury/string_switch_2.java:43: 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_switch_2.java:44: 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_switch_2
Mercury/javas/jmercury/string_switch_2.java:44: 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_switch_2.java:47: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/string_switch_2.java:49: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:51: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_2[0]
             ^
Mercury/javas/jmercury/string_switch_2.java:54: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:56: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[0]
             ^
Mercury/javas/jmercury/string_switch_2.java:59: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:61: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[1]
             ^
Mercury/javas/jmercury/string_switch_2.java:64: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:66: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[2]
             ^
Mercury/javas/jmercury/string_switch_2.java:69: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:71: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[3]
             ^
Mercury/javas/jmercury/string_switch_2.java:74: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:76: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[4]
             ^
Mercury/javas/jmercury/string_switch_2.java:79: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:81: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[5]
             ^
Mercury/javas/jmercury/string_switch_2.java:84: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:86: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[6]
             ^
Mercury/javas/jmercury/string_switch_2.java:89: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:91: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[7]
             ^
Mercury/javas/jmercury/string_switch_2.java:94: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:96: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[8]
             ^
Mercury/javas/jmercury/string_switch_2.java:99: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:101: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[9]
             ^
Mercury/javas/jmercury/string_switch_2.java:104: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:106: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[10]
             ^
Mercury/javas/jmercury/string_switch_2.java:109: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:111: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[11]
             ^
Mercury/javas/jmercury/string_switch_2.java:114: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:116: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[12]
             ^
Mercury/javas/jmercury/string_switch_2.java:119: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:121: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[13]
             ^
Mercury/javas/jmercury/string_switch_2.java:124: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:126: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[14]
             ^
Mercury/javas/jmercury/string_switch_2.java:129: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:131: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[15]
             ^
Mercury/javas/jmercury/string_switch_2.java:134: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:136: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[16]
             ^
Mercury/javas/jmercury/string_switch_2.java:139: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:141: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[17]
             ^
Mercury/javas/jmercury/string_switch_2.java:144: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:146: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[18]
             ^
Mercury/javas/jmercury/string_switch_2.java:149: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/string_switch_2.java:151: error: package list does not exist 
        (list.List_1) string_switch_2.MR_scalar_common_3[19]
             ^
Mercury/javas/jmercury/string_switch_2.java:158: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)),
                             ^
  symbol:   variable builtin
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:158: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)),
                            ^
Mercury/javas/jmercury/string_switch_2.java:159: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                             ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:159: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                            ^
Mercury/javas/jmercury/string_switch_2.java:160: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                             ^
  symbol:   variable io
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:160: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                            ^
Mercury/javas/jmercury/string_switch_2.java:199: error: package string__parse_util does not exist 
      new string__parse_util.String_format_flags_0(
                            ^
Mercury/javas/jmercury/string_switch_2.java:200: error: package string__parse_util does not exist 
        string__parse_util.String_format_flag_hash_0.K0,
                          ^
Mercury/javas/jmercury/string_switch_2.java:201: error: package string__parse_util does not exist 
        string__parse_util.String_format_flag_space_0.K0,
                          ^
Mercury/javas/jmercury/string_switch_2.java:202: error: package string__parse_util does not exist 
        string__parse_util.String_format_flag_zero_0.K0,
                          ^
Mercury/javas/jmercury/string_switch_2.java:203: error: package string__parse_util does not exist 
        string__parse_util.String_format_flag_minus_0.K0,
                          ^
Mercury/javas/jmercury/string_switch_2.java:204: error: package string__parse_util does not exist 
        string__parse_util.String_format_flag_plus_0.K0
                          ^
Mercury/javas/jmercury/string_switch_2.java:211: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)),
                             ^
  symbol:   variable builtin
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:211: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_string_0)),
                            ^
Mercury/javas/jmercury/string_switch_2.java:212: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                             ^
  symbol:   variable builtin
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:212: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                            ^
Mercury/javas/jmercury/string_switch_2.java:347: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                    ^
Mercury/javas/jmercury/string_switch_2.java:347: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                                                                                     ^
  symbol:   variable builtin
  location: class string_switch_2
Mercury/javas/jmercury/string_switch_2.java:347: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_63_63 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                                                          ^
Mercury/javas/jmercury/string_switch_2.java:348: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0);
                    ^
Mercury/javas/jmercury/string_switch_2.java:348: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_64_64 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0);
                                                                                                     ^
  symbol:   variable io
  location: class string_switch_2
100 errors
gmake[3]: *** [/tmp/mmake.IgAsmi:2362: string_switch_2] Error 1
gmake[3]: Target 'string_switch_2.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'