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 - bug383.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 - bug383
Making Mercury/int3s/bug383.int3
Making Mercury/ints/bug383.int
Making Mercury/javas/jmercury/bug383.java
Making Java class files
Mercury/javas/jmercury/bug383.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc bug383__enum_functor_desc_cadmium_op_table_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/bug383.java:33: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_ordinal_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/bug383.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_name_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/bug383.java:36: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct bug383__type_ctor_info_cadmium_op_table_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/bug383.java:113: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1];
                                       ^
Mercury/javas/jmercury/bug383.java:114: error: package ops does not exist 
  private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[18];
                          ^
Mercury/javas/jmercury/bug383.java:115: error: package ops.Maybe_op_info_infix_0 does not exist 
  private static final ops.Maybe_op_info_infix_0.In_3[] MR_scalar_common_4 = new ops.Maybe_op_info_infix_0.In_3[13];
                                                ^
Mercury/javas/jmercury/bug383.java:116: error: package ops.Maybe_op_info_binary_prefix_0 does not exist 
  private static final ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[] MR_scalar_common_5 = new ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[1];
                                                        ^
Mercury/javas/jmercury/bug383.java:117: error: package ops.Maybe_op_info_prefix_0 does not exist 
  private static final ops.Maybe_op_info_prefix_0.No_pre_0[] MR_scalar_common_6 = new ops.Maybe_op_info_prefix_0.No_pre_0[1];
                                                 ^
Mercury/javas/jmercury/bug383.java:118: error: package ops.Maybe_op_info_postfix_0 does not exist 
  private static final ops.Maybe_op_info_postfix_0.No_post_0[] MR_scalar_common_7 = new ops.Maybe_op_info_postfix_0.No_post_0[1];
                                                  ^
Mercury/javas/jmercury/bug383.java:119: error: package ops does not exist 
  private static final ops.Op_infos_0[] MR_scalar_common_8 = new ops.Op_infos_0[14];
                          ^
Mercury/javas/jmercury/bug383.java:120: error: package ops.Maybe_op_info_prefix_0 does not exist 
  private static final ops.Maybe_op_info_prefix_0.Pre_2[] MR_scalar_common_9 = new ops.Maybe_op_info_prefix_0.Pre_2[2];
                                                 ^
Mercury/javas/jmercury/bug383.java:121: error: package ops.Maybe_op_info_infix_0 does not exist 
  private static final ops.Maybe_op_info_infix_0.No_in_0[] MR_scalar_common_10 = new ops.Maybe_op_info_infix_0.No_in_0[1];
                                                ^
Mercury/javas/jmercury/bug383.java:985: error: package ops does not exist 
  private static ops.Priority_0
                    ^
Mercury/javas/jmercury/bug383.java:1009: error: package ops does not exist 
  private static ops.Priority_0
                    ^
Mercury/javas/jmercury/bug383.java:1033: error: package ops does not exist 
  private static ops.Priority_0
                    ^
Mercury/javas/jmercury/bug383.java:1057: error: package ops does not exist 
  private static ops.Priority_0
                    ^
Mercury/javas/jmercury/bug383.java:1081: error: package ops does not exist 
  private static ops.Priority_0
                    ^
Mercury/javas/jmercury/bug383.java:1105: error: package builtin does not exist 
  private static builtin.Comparison_result_0
                        ^
Mercury/javas/jmercury/bug383.java:1151: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/bug383.java:1247: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr3
                               ^
Mercury/javas/jmercury/bug383.java:1328: error: package jmercury.runtime does not exist 
    extends jmercury.runtime.MercuryEnum
                            ^
Mercury/javas/jmercury/bug383.java:1329: error: package jmercury.runtime does not exist 
  implements jmercury.runtime.MercuryType
                             ^
Mercury/javas/jmercury/bug383.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "bug383";
                    ^
Mercury/javas/jmercury/bug383.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/bug383.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/bug383.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class bug383
Mercury/javas/jmercury/bug383.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class bug383
Mercury/javas/jmercury/bug383.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/bug383.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class bug383
Mercury/javas/jmercury/bug383.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class bug383
Mercury/javas/jmercury/bug383.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class bug383
Mercury/javas/jmercury/bug383.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class bug383
Mercury/javas/jmercury/bug383.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/bug383.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc bug383__enum_functor_desc_cadmium_op_table_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                             ^
Mercury/javas/jmercury/bug383.java:33: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_ordinal_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                                                                                                                ^
Mercury/javas/jmercury/bug383.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] bug383__enum_name_ordered_cadmium_op_table_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                                                                                                             ^
Mercury/javas/jmercury/bug383.java:36: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct bug383__type_ctor_info_cadmium_op_table_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                                                                                                           ^
Mercury/javas/jmercury/bug383.java:55: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY,
                      ^
Mercury/javas/jmercury/bug383.java:60: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeFunctors(
                          ^
Mercury/javas/jmercury/bug383.java:63: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeLayout(
                          ^
Mercury/javas/jmercury/bug383.java:113: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_2 = new jmercury.runtime.TypeInfo_Struct[1];
                                                                                                   ^
Mercury/javas/jmercury/bug383.java:114: error: package ops does not exist 
  private static final ops.Priority_0[] MR_scalar_common_3 = new ops.Priority_0[18];
                                                                    ^
Mercury/javas/jmercury/bug383.java:115: error: package ops.Maybe_op_info_infix_0 does not exist 
  private static final ops.Maybe_op_info_infix_0.In_3[] MR_scalar_common_4 = new ops.Maybe_op_info_infix_0.In_3[13];
                                                                                                          ^
Mercury/javas/jmercury/bug383.java:116: error: package ops.Maybe_op_info_binary_prefix_0 does not exist 
  private static final ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[] MR_scalar_common_5 = new ops.Maybe_op_info_binary_prefix_0.No_bin_pre_0[1];
                                                                                                                                  ^
Mercury/javas/jmercury/bug383.java:117: error: package ops.Maybe_op_info_prefix_0 does not exist 
  private static final ops.Maybe_op_info_prefix_0.No_pre_0[] MR_scalar_common_6 = new ops.Maybe_op_info_prefix_0.No_pre_0[1];
                                                                                                                ^
Mercury/javas/jmercury/bug383.java:118: error: package ops.Maybe_op_info_postfix_0 does not exist 
  private static final ops.Maybe_op_info_postfix_0.No_post_0[] MR_scalar_common_7 = new ops.Maybe_op_info_postfix_0.No_post_0[1];
                                                                                                                   ^
Mercury/javas/jmercury/bug383.java:119: error: package ops does not exist 
  private static final ops.Op_infos_0[] MR_scalar_common_8 = new ops.Op_infos_0[14];
                                                                    ^
Mercury/javas/jmercury/bug383.java:120: error: package ops.Maybe_op_info_prefix_0 does not exist 
  private static final ops.Maybe_op_info_prefix_0.Pre_2[] MR_scalar_common_9 = new ops.Maybe_op_info_prefix_0.Pre_2[2];
                                                                                                             ^
Mercury/javas/jmercury/bug383.java:121: error: package ops.Maybe_op_info_infix_0 does not exist 
  private static final ops.Maybe_op_info_infix_0.No_in_0[] MR_scalar_common_10 = new ops.Maybe_op_info_infix_0.No_in_0[1];
                                                                                                              ^
Mercury/javas/jmercury/bug383.java:127: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(bug383.bug383__type_ctor_info_cadmium_op_table_0)))
                                             ^
Mercury/javas/jmercury/bug383.java:130: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/bug383.java:131: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_parser.mercury_term_parser__type_ctor_info_read_term_1))),
                                                                        ^
  symbol:   variable mercury_term_parser
  location: class bug383
Mercury/javas/jmercury/bug383.java:131: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(mercury_term_parser.mercury_term_parser__type_ctor_info_read_term_1))),
                                             ^
Mercury/javas/jmercury/bug383.java:132: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0)))
                                                                        ^
  symbol:   variable term
  location: class bug383
Mercury/javas/jmercury/bug383.java:132: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(term.term__type_ctor_info_generic_0)))
                                             ^
Mercury/javas/jmercury/bug383.java:135: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:139: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:143: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:147: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:151: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:155: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:159: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:163: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:167: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:171: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:175: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:179: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:183: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:187: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:191: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:195: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:199: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:203: error: package ops does not exist 
      new ops.Priority_0(
             ^
Mercury/javas/jmercury/bug383.java:207: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:208: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[0],
            ^
Mercury/javas/jmercury/bug383.java:209: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0,
           ^
Mercury/javas/jmercury/bug383.java:210: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0
           ^
Mercury/javas/jmercury/bug383.java:213: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:214: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[1],
            ^
Mercury/javas/jmercury/bug383.java:215: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K1,
           ^
Mercury/javas/jmercury/bug383.java:216: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0
           ^
Mercury/javas/jmercury/bug383.java:219: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:220: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[3],
            ^
Mercury/javas/jmercury/bug383.java:221: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0,
           ^
Mercury/javas/jmercury/bug383.java:222: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K1
           ^
Mercury/javas/jmercury/bug383.java:225: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:226: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[4],
            ^
Mercury/javas/jmercury/bug383.java:227: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0,
           ^
Mercury/javas/jmercury/bug383.java:228: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K1
           ^
Mercury/javas/jmercury/bug383.java:231: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:232: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[5],
            ^
Mercury/javas/jmercury/bug383.java:233: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K1,
           ^
Mercury/javas/jmercury/bug383.java:234: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0
           ^
Mercury/javas/jmercury/bug383.java:237: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:238: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[6],
            ^
Mercury/javas/jmercury/bug383.java:239: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K1,
           ^
Mercury/javas/jmercury/bug383.java:240: error: package ops does not exist 
        ops.Arg_prio_gt_or_ge_0.K0
           ^
Mercury/javas/jmercury/bug383.java:243: error: package ops.Maybe_op_info_infix_0 does not exist 
      new ops.Maybe_op_info_infix_0.In_3(
                                   ^
Mercury/javas/jmercury/bug383.java:244: error: package ops does not exist 
        (ops.Priority_0) bug383.MR_scalar_common_3[7],
            ^
100 errors
gmake[3]: *** [/tmp/mmake.OkdNlg:2362: bug383] Error 1
gmake[3]: Target 'bug383.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'