MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/submodules'
{ 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  --intermod-opt  '; 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 - g12_fe_bug.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/submodules'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/submodules'
{ 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  --intermod-opt  '; 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 - g12_fe_bug
Making Mercury/int3s/g12_fe_bug.int3
Making Mercury/int3s/g12_fe_bug.g12_fe_bug_helper_1.int3
Making Mercury/int3s/g12_fe_bug.g12_fe_bug_helper_2.int3
Making Mercury/int3s/g12_fe_bug.g12_fe_bug_helper_2.g12_fe_bug_helper_3.int3
Making Mercury/int0s/g12_fe_bug.int0
Making Mercury/int0s/g12_fe_bug.g12_fe_bug_helper_2.int0
Making Mercury/ints/g12_fe_bug.g12_fe_bug_helper_2.g12_fe_bug_helper_3.int
Making Mercury/ints/g12_fe_bug.g12_fe_bug_helper_2.int
Making Mercury/ints/g12_fe_bug.g12_fe_bug_helper_1.int
Making Mercury/ints/g12_fe_bug.int
Making Mercury/opts/g12_fe_bug.g12_fe_bug_helper_2.g12_fe_bug_helper_3.opt
Making Mercury/opts/g12_fe_bug.g12_fe_bug_helper_2.opt
Making Mercury/opts/g12_fe_bug.g12_fe_bug_helper_1.opt
Making Mercury/opts/g12_fe_bug.opt
Making Mercury/javas/jmercury/g12_fe_bug.java
Making Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java
Making Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java
Making Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java
Making Java class files
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:15: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:16: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:17: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:19: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct g12_fe_bug__g12_fe_bug_helper_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:92: error: package builtin does not exist 
  public static builtin.Comparison_result_0
                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:138: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:182: error: package jmercury.runtime does not exist 
    extends jmercury.runtime.MercuryEnum
                            ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:183: error: package jmercury.runtime does not exist 
  implements jmercury.runtime.MercuryType
                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:15: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_2__enum_functor_desc_trailing_mode_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:16: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_2__enum_functor_desc_trailing_mode_0_1 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:17: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__enum_ordinal_ordered_trailing_mode_0 = new jmercury.runtime.EnumFunctorDesc[2];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:18: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__enum_name_ordered_trailing_mode_0 = new jmercury.runtime.EnumFunctorDesc[2];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:20: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct g12_fe_bug__g12_fe_bug_helper_2__type_ctor_info_trailing_mode_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:211: error: package jmercury.runtime does not exist 
    extends jmercury.runtime.MercuryEnum
                            ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:212: error: package jmercury.runtime does not exist 
  implements jmercury.runtime.MercuryType
                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:103: error: package builtin does not exist 
  public static builtin.Comparison_result_0
                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:167: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:15: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3__enum_functor_desc_bounds_solver_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:16: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3__enum_ordinal_ordered_bounds_solver_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:17: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3__enum_name_ordered_bounds_solver_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:19: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3__type_ctor_info_bounds_solver_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:92: error: package builtin does not exist 
  public static builtin.Comparison_result_0
                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:138: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:182: error: package jmercury.runtime does not exist 
    extends jmercury.runtime.MercuryEnum
                            ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2__g12_fe_bug_helper_3.java:183: error: package jmercury.runtime does not exist 
  implements jmercury.runtime.MercuryType
                             ^
Mercury/javas/jmercury/g12_fe_bug.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "g12_fe_bug";
                    ^
Mercury/javas/jmercury/g12_fe_bug.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/g12_fe_bug.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/g12_fe_bug.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/g12_fe_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/g12_fe_bug.java:37: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:38: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:38: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:39: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:39: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:43: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:45: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:45: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:46: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:46: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:50: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:52: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:52: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:53: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))),
                                                                        ^
  symbol:   variable builtin
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:53: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:54: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:54: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug.java:68: error: package io does not exist 
    io.Text_output_stream_0 Var_7 = null;
      ^
Mercury/javas/jmercury/g12_fe_bug.java:69: error: package jmercury.io__stream_ops does not exist 
    jmercury.io__stream_ops.MR_MercuryFileStruct Var_9 = null;
                           ^
Mercury/javas/jmercury/g12_fe_bug.java:72: error: cannot find symbol 
      Var_9 = io__stream_ops.output_stream_2_3_p_0();
              ^
  symbol:   variable io__stream_ops
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug.java:75: error: package io does not exist 
      Var_7 = new io.Text_output_stream_0(
                    ^
Mercury/javas/jmercury/g12_fe_bug.java:80: error: cannot find symbol 
      io.write_string_4_p_0(Var_7, Var_6);
      ^
  symbol:   variable io
  location: class g12_fe_bug
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:15: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_1__enum_functor_desc_foo_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                         ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:16: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_1__enum_ordinal_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                                                                                                                            ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:17: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_1__enum_name_ordered_foo_0 = new jmercury.runtime.EnumFunctorDesc[1];
                                                                                                                                         ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:19: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct g12_fe_bug__g12_fe_bug_helper_1__type_ctor_info_foo_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                                                                                                                       ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:37: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_DUMMY,
                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:42: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeFunctors(
                          ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:45: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeLayout(
                          ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:65: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:66: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:66: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:67: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:67: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:71: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:73: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:73: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:74: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:74: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:78: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__writer__arity3__io__text_output_stream__arity0__string__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:80: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:80: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:81: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))),
                                                                        ^
  symbol:   variable builtin
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:81: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_string_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:82: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_1
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:82: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:95: error: package builtin does not exist 
    builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0;
           ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:95: error: package builtin does not exist 
    builtin.Comparison_result_0 HeadVar__1_1 = builtin.Comparison_result_0.K0;
                                                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:106: error: package builtin does not exist 
    builtin.Comparison_result_0 conv0_HeadVar__1_1 = null;
           ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_1.java:167: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:15: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_2__enum_functor_desc_trailing_mode_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                                   ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:16: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc g12_fe_bug__g12_fe_bug_helper_2__enum_functor_desc_trailing_mode_0_1 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                                   ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:17: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__enum_ordinal_ordered_trailing_mode_0 = new jmercury.runtime.EnumFunctorDesc[2];
                                                                                                                                                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:18: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] g12_fe_bug__g12_fe_bug_helper_2__enum_name_ordered_trailing_mode_0 = new jmercury.runtime.EnumFunctorDesc[2];
                                                                                                                                                   ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:20: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct g12_fe_bug__g12_fe_bug_helper_2__type_ctor_info_trailing_mode_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                                                                                                                                 ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:48: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM,
                      ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:53: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeFunctors(
                          ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:56: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeLayout(
                          ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:76: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__stream__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_2
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:77: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_2
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:77: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_text_output_stream_0))),
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:78: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                                                        ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_2
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:78: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(io.io__type_ctor_info_state_0)))
                                             ^
Mercury/javas/jmercury/g12_fe_bug__g12_fe_bug_helper_2.java:82: error: cannot find symbol 
        ((java.lang.Object) ((/* typeclass_info */ java.lang.Object[]) io.base_typeclass_info_stream__output__arity2__io__text_output_stream__arity0__io__state__arity0__)),
                                                                       ^
  symbol:   variable io
  location: class g12_fe_bug__g12_fe_bug_helper_2
100 errors
gmake[3]: *** [/tmp/mmake.rAIuo8:1197: g12_fe_bug] Error 1
gmake[3]: Target 'g12_fe_bug.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/submodules'