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_contains_match.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_contains_match
Making Mercury/int3s/string_contains_match.int3
Making Mercury/ints/string_contains_match.int
Making Mercury/javas/jmercury/string_contains_match.java
Making Java class files
Mercury/javas/jmercury/string_contains_match.java:393: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/string_contains_match.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "string_contains_match";
                    ^
Mercury/javas/jmercury/string_contains_match.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/string_contains_match.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/string_contains_match.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/string_contains_match.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/string_contains_match.java:41: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0))
                             ^
  symbol:   variable builtin
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:41: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_character_0))
                            ^
Mercury/javas/jmercury/string_contains_match.java:115: error: cannot find symbol 
      CodePoint_3 = mr_char.to_int_2_p_0(Char_2);
                    ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:221: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:235: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:249: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:263: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:277: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:291: error: cannot find symbol 
      succeeded = mr_char.is_whitespace_1_p_0(((java.lang.Integer) wrapper_arg_1).intValue());
                  ^
  symbol:   variable mr_char
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:345: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_23_23 = null;
                    ^
Mercury/javas/jmercury/string_contains_match.java:354: error: cannot find symbol 
      succeeded = string.contains_match_2_p_0(Pred_6, String_8);
                  ^
  symbol:   variable string
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:360: error: cannot find symbol 
    TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                                                    ^
  symbol:   variable builtin
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:360: error: package jmercury.runtime does not exist 
    TypeCtorInfo_23_23 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0);
                                         ^
Mercury/javas/jmercury/string_contains_match.java:362: error: cannot find symbol 
      Var_19 = string.string_1_f_0(TypeCtorInfo_23_23, ((java.lang.Object) (String_8)));
               ^
  symbol:   variable string
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:366: error: cannot find symbol 
      io.write_string_3_p_0(Var_25);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:369: error: cannot find symbol 
      io.write_string_3_p_0(PredName_7);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:373: error: cannot find symbol 
      io.write_string_3_p_0(Var_28);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:376: error: cannot find symbol 
      io.write_string_3_p_0(Var_19);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:380: error: cannot find symbol 
      io.write_string_3_p_0(Var_31);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:383: error: cannot find symbol 
      io.write_string_3_p_0(Result_10);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:387: error: cannot find symbol 
      io.write_string_3_p_0(Var_33);
      ^
  symbol:   variable io
  location: class string_contains_match
Mercury/javas/jmercury/string_contains_match.java:485: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
34 errors
gmake[3]: *** [/tmp/mmake.8WWkmB:2362: string_contains_match] Error 1
gmake[3]: Target 'string_contains_match.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/hard_coded'