MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
{ 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 - nasty_nondet.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'
{ 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 - nasty_nondet
Making Mercury/int3s/nasty_nondet.int3
Making Mercury/ints/nasty_nondet.int
Making Mercury/javas/jmercury/nasty_nondet.java
Making Java class files
Mercury/javas/jmercury/nasty_nondet.java:134: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/nasty_nondet.java:158: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr cont,
                    ^
Mercury/javas/jmercury/nasty_nondet.java:246: error: package list does not exist 
    list.List_1 HeadVar__1_1)
        ^
Mercury/javas/jmercury/nasty_nondet.java:274: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/nasty_nondet.java:293: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/nasty_nondet.java:317: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/nasty_nondet.java:326: error: package jmercury.runtime does not exist 
    public jmercury.runtime.MethodPtr cont;
                           ^
Mercury/javas/jmercury/nasty_nondet.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "nasty_nondet";
                    ^
Mercury/javas/jmercury/nasty_nondet.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/nasty_nondet.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/nasty_nondet.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/nasty_nondet.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/nasty_nondet.java:41: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                             ^
  symbol:   variable builtin
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:41: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                            ^
Mercury/javas/jmercury/nasty_nondet.java:42: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                             ^
  symbol:   variable builtin
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:42: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                            ^
Mercury/javas/jmercury/nasty_nondet.java:94: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                    ^
Mercury/javas/jmercury/nasty_nondet.java:94: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                                                     ^
  symbol:   variable builtin
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:94: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_10_10 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                          ^
Mercury/javas/jmercury/nasty_nondet.java:95: error: package list does not exist 
    list.List_1 List_4 = null;
        ^
Mercury/javas/jmercury/nasty_nondet.java:99: error: cannot find symbol 
      List_4 = solutions.solutions_2_p_0(TypeCtorInfo_10_10, Var_7);
               ^
  symbol:   variable solutions
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:114: error: package jmercury.runtime does not exist 
      ((jmercury.runtime.MethodPtr2) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).cont)).call___0_0(((java.lang.Object) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).wrapper_arg_1)), ((java.lang.Object) (((nasty_nondet.Main_2_p_0_3_env_0) env_ptr).cont_env_ptr)));
                        ^
Mercury/javas/jmercury/nasty_nondet.java:188: error: package jmercury.runtime does not exist 
        ((jmercury.runtime.MethodPtr2) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nasty_nondet.P_2_p_0_env_0) env_ptr).Y_4), ((java.lang.Object) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont_env_ptr)));
                          ^
Mercury/javas/jmercury/nasty_nondet.java:205: error: package jmercury.runtime does not exist 
        ((jmercury.runtime.MethodPtr2) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont)).call___0_0(java.lang.Integer.valueOf(((nasty_nondet.P_2_p_0_env_0) env_ptr).Y_4), ((java.lang.Object) (((nasty_nondet.P_2_p_0_env_0) env_ptr).cont_env_ptr)));
                          ^
Mercury/javas/jmercury/nasty_nondet.java:253: error: package list.List_1 does not exist 
        int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                                     ^
Mercury/javas/jmercury/nasty_nondet.java:253: error: illegal start of type 
        int X_7 = ((java.lang.Integer) (((list.List_1.F_cons_2) HeadVar__1_1).F1)).intValue();
                                       ^
Mercury/javas/jmercury/nasty_nondet.java:254: error: package list does not exist 
        list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
            ^
Mercury/javas/jmercury/nasty_nondet.java:254: error: package list.List_1 does not exist 
        list.List_1 Xs_8 = ((list.List_1.F_cons_2) HeadVar__1_1).F2;
                                        ^
Mercury/javas/jmercury/nasty_nondet.java:255: error: package list does not exist 
        list.List_1 next_value_of_HeadVar__1_1 = null;
            ^
Mercury/javas/jmercury/nasty_nondet.java:258: error: cannot find symbol 
          io.write_int_3_p_0(X_7);
          ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:261: error: cannot find symbol 
          io.nl_2_p_0();
          ^
  symbol:   variable io
  location: class nasty_nondet
Mercury/javas/jmercury/nasty_nondet.java:305: error: package jmercury.runtime does not exist 
        nasty_nondet.main_2_p_0_3(((/* generic_type */ java.lang.Object) arg1), ((jmercury.runtime.MethodPtr) arg2), ((/* env_ptr */ java.lang.Object) arg3));
                                                                                                  ^
38 errors
gmake[3]: *** [/tmp/mmake.rM8nEN:1276: nasty_nondet] Error 1
gmake[3]: Target 'nasty_nondet.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/general'