MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/valid'
{ 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 - record_syntax_bug_4.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/valid'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/valid'
{ 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 - record_syntax_bug_4.class
Making Mercury/int3s/record_syntax_bug_4.int3
Making Mercury/ints/record_syntax_bug_4.int
Making Mercury/javas/jmercury/record_syntax_bug_4.java
Making Mercury/classes/jmercury/record_syntax_bug_4.class
Mercury/javas/jmercury/record_syntax_bug_4.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug_4__field_types_info_0_0 = new jmercury.runtime.PseudoTypeInfo[1];
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc record_syntax_bug_4__du_functor_desc_info_0_0 = new jmercury.runtime.DuFunctorDesc();
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug_4__du_stag_ordered_info_0_0 = new jmercury.runtime.DuFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug_4__du_ptag_ordered_info_0 = new jmercury.runtime.DuPtagLayout[1];
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug_4__du_name_ordered_info_0 = new jmercury.runtime.DuFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:39: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug_4__type_ctor_info_info_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/record_syntax_bug_4.java:104: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1];
                                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:342: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MercuryType
                               ^
Mercury/javas/jmercury/record_syntax_bug_4.java:108: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1];
                                  ^
Mercury/javas/jmercury/record_syntax_bug_4.java:109: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[3];
                                  ^
Mercury/javas/jmercury/record_syntax_bug_4.java:206: error: package builtin does not exist 
  private static builtin.Comparison_result_0
                        ^
Mercury/javas/jmercury/record_syntax_bug_4.java:291: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/record_syntax_bug_4.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "record_syntax_bug_4";
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.PseudoTypeInfo[] record_syntax_bug_4__field_types_info_0_0 = new jmercury.runtime.PseudoTypeInfo[1];
                                                                                                                         ^
Mercury/javas/jmercury/record_syntax_bug_4.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc record_syntax_bug_4__du_functor_desc_info_0_0 = new jmercury.runtime.DuFunctorDesc();
                                                                                                                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug_4__du_stag_ordered_info_0_0 = new jmercury.runtime.DuFunctorDesc[1];
                                                                                                                            ^
Mercury/javas/jmercury/record_syntax_bug_4.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuPtagLayout[] record_syntax_bug_4__du_ptag_ordered_info_0 = new jmercury.runtime.DuPtagLayout[1];
                                                                                                                         ^
Mercury/javas/jmercury/record_syntax_bug_4.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.DuFunctorDesc[] record_syntax_bug_4__du_name_ordered_info_0 = new jmercury.runtime.DuFunctorDesc[1];
                                                                                                                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:39: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct record_syntax_bug_4__type_ctor_info_info_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                                                                                                            ^
Mercury/javas/jmercury/record_syntax_bug_4.java:44: error: package jmercury.runtime does not exist 
      (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0;
                       ^
Mercury/javas/jmercury/record_syntax_bug_4.java:44: error: cannot find symbol 
      (jmercury.runtime.PseudoTypeInfo) builtin.builtin__type_ctor_info_int_0;
                                        ^
  symbol:   variable builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:51: error: cannot find symbol 
      private_builtin.MR_SECTAG_NONE,
      ^
  symbol:   variable private_builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:59: error: cannot find symbol 
      private_builtin.MR_FUNCTOR_SUBTYPE_NONE,
      ^
  symbol:   variable private_builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:65: error: package jmercury.runtime does not exist 
      new jmercury.runtime.DuPtagLayout(
                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:67: error: cannot find symbol 
        private_builtin.MR_SECTAG_NONE,
        ^
  symbol:   variable private_builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:81: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DU,
                      ^
Mercury/javas/jmercury/record_syntax_bug_4.java:86: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeFunctors(
                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:89: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeLayout(
                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:104: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeInfo_Struct[] MR_scalar_common_1 = new jmercury.runtime.TypeInfo_Struct[1];
                                                                                                   ^
Mercury/javas/jmercury/record_syntax_bug_4.java:108: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_5 = new list.List_1.F_nil_0[1];
                                                                                 ^
Mercury/javas/jmercury/record_syntax_bug_4.java:109: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_6 = new list.List_1.F_cons_2[3];
                                                                                  ^
Mercury/javas/jmercury/record_syntax_bug_4.java:113: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:114: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))),
                                                                        ^
  symbol:   variable list
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:114: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1))),
                                             ^
Mercury/javas/jmercury/record_syntax_bug_4.java:115: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0)))
                                                                        ^
  symbol:   variable builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:115: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0)))
                                             ^
Mercury/javas/jmercury/record_syntax_bug_4.java:127: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                             ^
  symbol:   variable builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:127: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0)),
                            ^
Mercury/javas/jmercury/record_syntax_bug_4.java:128: error: cannot find symbol 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                             ^
  symbol:   variable builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:128: error: illegal start of type 
        ((java.lang.Object) (builtin.builtin__type_ctor_info_int_0))
                            ^
Mercury/javas/jmercury/record_syntax_bug_4.java:138: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/record_syntax_bug_4.java:140: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/record_syntax_bug_4.java:142: error: package list does not exist 
        (list.List_1) record_syntax_bug_4.MR_scalar_common_5[0]
             ^
Mercury/javas/jmercury/record_syntax_bug_4.java:145: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/record_syntax_bug_4.java:147: error: package list does not exist 
        (list.List_1) record_syntax_bug_4.MR_scalar_common_6[0]
             ^
Mercury/javas/jmercury/record_syntax_bug_4.java:150: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/record_syntax_bug_4.java:152: error: package list does not exist 
        (list.List_1) record_syntax_bug_4.MR_scalar_common_6[1]
             ^
Mercury/javas/jmercury/record_syntax_bug_4.java:165: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:165: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                                                     ^
  symbol:   variable builtin
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:165: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_17_17 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0);
                                                                          ^
Mercury/javas/jmercury/record_syntax_bug_4.java:166: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_20_20 = null;
                    ^
Mercury/javas/jmercury/record_syntax_bug_4.java:167: error: package list does not exist 
    list.List_1 List_4 = null;
        ^
Mercury/javas/jmercury/record_syntax_bug_4.java:169: error: package list does not exist 
    list.List_1 Var_10 = (list.List_1) record_syntax_bug_4.MR_scalar_common_6[2];
        ^
Mercury/javas/jmercury/record_syntax_bug_4.java:169: error: package list does not exist 
    list.List_1 Var_10 = (list.List_1) record_syntax_bug_4.MR_scalar_common_6[2];
                              ^
Mercury/javas/jmercury/record_syntax_bug_4.java:172: error: cannot find symbol 
      List_4 = list.map_2_f_0(TypeCtorInfo_17_17, TypeCtorInfo_17_17, Var_7, Var_10);
               ^
  symbol:   variable list
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:174: error: package jmercury.runtime does not exist 
    TypeInfo_20_20 = jmercury.runtime.TypeInfo_Struct.maybe_new(record_syntax_bug_4.MR_scalar_common_1[0]);
                                     ^
Mercury/javas/jmercury/record_syntax_bug_4.java:176: error: cannot find symbol 
      io.write_line_3_p_0(TypeInfo_20_20, ((java.lang.Object) (List_4)));
      ^
  symbol:   variable io
  location: class record_syntax_bug_4
Mercury/javas/jmercury/record_syntax_bug_4.java:212: error: package builtin does not exist 
    builtin.Comparison_result_0 HeadVar__1_1 = null;
           ^
Mercury/javas/jmercury/record_syntax_bug_4.java:218: error: package builtin does not exist 
      HeadVar__1_1 = builtin.Comparison_result_0.K0;
                            ^
Mercury/javas/jmercury/record_syntax_bug_4.java:226: error: package builtin does not exist 
        HeadVar__1_1 = builtin.Comparison_result_0.K1;
                              ^
Mercury/javas/jmercury/record_syntax_bug_4.java:231: error: package builtin does not exist 
          HeadVar__1_1 = builtin.Comparison_result_0.K2;
                                ^
Mercury/javas/jmercury/record_syntax_bug_4.java:233: error: package builtin does not exist 
          HeadVar__1_1 = builtin.Comparison_result_0.K0;
                                ^
Mercury/javas/jmercury/record_syntax_bug_4.java:245: error: package builtin does not exist 
    builtin.Comparison_result_0 conv0_HeadVar__1_1 = null;
           ^
Mercury/javas/jmercury/record_syntax_bug_4.java:329: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
74 errors
** Error making `Mercury/classes/jmercury/record_syntax_bug_4.class'.
gmake[3]: *** [/tmp/mmake.AWbuQq:1497: record_syntax_bug_4.class] Error 1
gmake[3]: Target 'record_syntax_bug_4.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/valid'