MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/valid'
{ 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 - lambda_output.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/valid'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/valid'
{ 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 - lambda_output.class
Making Mercury/int3s/lambda_output.int3
Making Mercury/ints/lambda_output.int
Making Mercury/javas/jmercury/lambda_output.java
Making Mercury/classes/jmercury/lambda_output.class
Mercury/javas/jmercury/lambda_output.java:123: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/lambda_output.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "lambda_output";
                    ^
Mercury/javas/jmercury/lambda_output.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/lambda_output.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/lambda_output.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/lambda_output.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/lambda_output.java:41: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                             ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:41: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0)),
                            ^
Mercury/javas/jmercury/lambda_output.java:42: error: cannot find symbol 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                             ^
  symbol:   variable io
  location: class lambda_output
Mercury/javas/jmercury/lambda_output.java:42: error: illegal start of type 
        ((java.lang.Object) (io.io__type_ctor_info_state_0))
                            ^
Mercury/javas/jmercury/lambda_output.java:79: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]);
                    ^
Mercury/javas/jmercury/lambda_output.java:79: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_6)[1]);
                                                          ^
Mercury/javas/jmercury/lambda_output.java:81: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_2 = null;
                    ^
Mercury/javas/jmercury/lambda_output.java:85: error: package jmercury.runtime does not exist 
      conv1_STATE_VARIABLE_IO_10_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_6))), ((java.lang.Object) (((java.lang.Object) (0))))));
                                                                           ^
Mercury/javas/jmercury/lambda_output.java:87: error: package jmercury.runtime does not exist 
    func_2 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) Var_7)[1]);
                               ^
Mercury/javas/jmercury/lambda_output.java:89: error: package jmercury.runtime does not exist 
      conv3_DCG_1_5 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_2).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) Var_7))), ((java.lang.Object) (((java.lang.Object) (0))))));
                                                            ^
Mercury/javas/jmercury/lambda_output.java:152: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
23 errors
** Error making `Mercury/classes/jmercury/lambda_output.class'.
gmake[3]: *** [/tmp/mmake.dzo2EN:1497: lambda_output.class] Error 1
gmake[3]: Target 'lambda_output.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/valid'