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 - lexer_bigint.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 - lexer_bigint
Making Mercury/int3s/lexer_bigint.int3
Making Mercury/ints/lexer_bigint.int
Making Mercury/javas/jmercury/lexer_bigint.java
Making Java class files
Mercury/javas/jmercury/lexer_bigint.java:32: error: package io does not exist 
  private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1];
                         ^
Mercury/javas/jmercury/lexer_bigint.java:116: error: package mercury_term_lexer does not exist 
    mercury_term_lexer.Token_list_0 HeadVar__1_1)
                      ^
Mercury/javas/jmercury/lexer_bigint.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "lexer_bigint";
                    ^
Mercury/javas/jmercury/lexer_bigint.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/lexer_bigint.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/lexer_bigint.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/lexer_bigint.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/lexer_bigint.java:32: error: package io does not exist 
  private static final io.Posn_0[] MR_scalar_common_1 = new io.Posn_0[1];
                                                              ^
Mercury/javas/jmercury/lexer_bigint.java:36: error: package io does not exist 
      new io.Posn_0(
            ^
Mercury/javas/jmercury/lexer_bigint.java:52: error: package mercury_term_lexer does not exist 
    mercury_term_lexer.Token_list_0 Tokens_4 = null;
                      ^
Mercury/javas/jmercury/lexer_bigint.java:53: error: package io does not exist 
    io.Res_1 OpenRes_5 = null;
      ^
Mercury/javas/jmercury/lexer_bigint.java:57: error: cannot find symbol 
      Tokens_4 = mercury_term_lexer.get_token_list_3_p_0();
                 ^
  symbol:   variable mercury_term_lexer
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:63: error: cannot find symbol 
      io.nl_2_p_0();
      ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:67: error: cannot find symbol 
      OpenRes_5 = io.open_input_4_p_0(Var_19);
                  ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:71: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                      ^
Mercury/javas/jmercury/lexer_bigint.java:71: error: cannot find symbol 
      jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                                                                                                       ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:71: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeInfo_Struct TypeCtorInfo_30_30 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                                                                            ^
Mercury/javas/jmercury/lexer_bigint.java:72: error: package io does not exist 
      io.Error_0 Error_28 = ((io.Res_1.Error_1) OpenRes_5).F1;
        ^
Mercury/javas/jmercury/lexer_bigint.java:72: error: package io.Res_1 does not exist 
      io.Error_0 Error_28 = ((io.Res_1.Error_1) OpenRes_5).F1;
                                      ^
Mercury/javas/jmercury/lexer_bigint.java:75: error: cannot find symbol 
        io.write_line_3_p_0(TypeCtorInfo_30_30, ((java.lang.Object) (Error_28)));
        ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:80: error: package io does not exist 
      io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1);
        ^
Mercury/javas/jmercury/lexer_bigint.java:80: error: package io does not exist 
      io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1);
                                            ^
Mercury/javas/jmercury/lexer_bigint.java:80: error: package io.Res_1 does not exist 
      io.Text_input_stream_0 Stream_6 = ((io.Text_input_stream_0) ((io.Res_1.Ok_1) OpenRes_5).F1);
                                                                            ^
Mercury/javas/jmercury/lexer_bigint.java:81: error: package io does not exist 
      io.Maybe_partial_res_1 ReadRes_7 = null;
        ^
Mercury/javas/jmercury/lexer_bigint.java:84: error: cannot find symbol 
        ReadRes_7 = io.read_file_as_string_4_p_0(Stream_6);
                    ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:88: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                        ^
Mercury/javas/jmercury/lexer_bigint.java:88: error: cannot find symbol 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                                                                                                         ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:88: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_29_29 = jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_error_0);
                                                                              ^
Mercury/javas/jmercury/lexer_bigint.java:89: error: package io does not exist 
        io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2;
          ^
Mercury/javas/jmercury/lexer_bigint.java:89: error: package io.Maybe_partial_res_1 does not exist 
        io.Error_0 Error_13 = ((io.Maybe_partial_res_1.Error_2) ReadRes_7).F2;
                                                      ^
Mercury/javas/jmercury/lexer_bigint.java:92: error: cannot find symbol 
          io.write_line_3_p_0(TypeCtorInfo_29_29, ((java.lang.Object) (Error_13)));
          ^
  symbol:   variable io
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:97: error: package io.Maybe_partial_res_1 does not exist 
        java.lang.String String_8 = ((java.lang.String) ((io.Maybe_partial_res_1.Ok_1) ReadRes_7).F1);
                                                                                ^
Mercury/javas/jmercury/lexer_bigint.java:98: error: package io does not exist 
        io.Posn_0 Posn0_9 = (io.Posn_0) lexer_bigint.MR_scalar_common_1[0];
          ^
Mercury/javas/jmercury/lexer_bigint.java:98: error: package io does not exist 
        io.Posn_0 Posn0_9 = (io.Posn_0) lexer_bigint.MR_scalar_common_1[0];
                               ^
Mercury/javas/jmercury/lexer_bigint.java:99: error: package mercury_term_lexer does not exist 
        mercury_term_lexer.Token_list_0 StringTokens_10 = null;
                          ^
Mercury/javas/jmercury/lexer_bigint.java:100: error: package io does not exist 
        io.Posn_0 _Posn_11 = null;
          ^
Mercury/javas/jmercury/lexer_bigint.java:103: error: cannot find symbol 
          java.lang.Object [] result = mercury_term_lexer.string_get_token_list_4_p_0(String_8, Posn0_9);
                                       ^
  symbol:   variable mercury_term_lexer
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:104: error: package mercury_term_lexer does not exist 
          StringTokens_10 = (mercury_term_lexer.Token_list_0) result[0];
                                               ^
Mercury/javas/jmercury/lexer_bigint.java:105: error: package io does not exist 
          _Posn_11 = (io.Posn_0) result[1];
                        ^
Mercury/javas/jmercury/lexer_bigint.java:123: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0);
                        ^
Mercury/javas/jmercury/lexer_bigint.java:123: error: cannot find symbol 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0);
                                                                                                         ^
  symbol:   variable mercury_term_lexer
  location: class lexer_bigint
Mercury/javas/jmercury/lexer_bigint.java:123: error: package jmercury.runtime does not exist 
        jmercury.runtime.TypeInfo_Struct TypeCtorInfo_14_14 = jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_lexer.mercury_term_lexer__type_ctor_info_token_0);
                                                                              ^
Mercury/javas/jmercury/lexer_bigint.java:124: error: package mercury_term_lexer does not exist 
        mercury_term_lexer.Token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1;
                          ^
Mercury/javas/jmercury/lexer_bigint.java:124: error: package mercury_term_lexer.Token_list_0 does not exist 
        mercury_term_lexer.Token_0 Token_7 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F1;
                                                                              ^
Mercury/javas/jmercury/lexer_bigint.java:125: error: package mercury_term_lexer does not exist 
        mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3;
                          ^
Mercury/javas/jmercury/lexer_bigint.java:125: error: package mercury_term_lexer.Token_list_0 does not exist 
        mercury_term_lexer.Token_list_0 List_9 = ((mercury_term_lexer.Token_list_0.Token_cons_3) HeadVar__1_1).F3;
                                                                                  ^
Mercury/javas/jmercury/lexer_bigint.java:126: error: package mercury_term_lexer does not exist 
        mercury_term_lexer.Token_list_0 next_value_of_HeadVar__1_1 = null;
                          ^
Mercury/javas/jmercury/lexer_bigint.java:129: error: cannot find symbol 
          io.write_line_3_p_0(TypeCtorInfo_14_14, ((java.lang.Object) (Token_7)));
          ^
  symbol:   variable io
  location: class lexer_bigint
54 errors
gmake[3]: *** [/tmp/mmake.pME1Xt:2362: lexer_bigint] Error 1
gmake[3]: Target 'lexer_bigint.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'