MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses'
{ 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 - instance_unconstrained_tvar_dup.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses'
{ 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 - instance_unconstrained_tvar_dup
Making Mercury/int3s/instance_unconstrained_tvar_dup.int3
Making Mercury/ints/instance_unconstrained_tvar_dup.int
Making Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java
Making Java class files
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassMethod[] instance_unconstrained_tvar_dup__type_class_id_method_ids_p_2 = new jmercury.runtime.TypeClassMethod[1];
                                       ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId instance_unconstrained_tvar_dup__type_class_id_p_2 = new jmercury.runtime.TypeClassId();
                                       ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:36: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct instance_unconstrained_tvar_dup__type_class_decl_p_2 = new jmercury.runtime.TypeClassDeclStruct();
                                      ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:84: 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/instance_unconstrained_tvar_dup.java:86: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1];
                                  ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:87: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6];
                                  ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:144: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_for_T_5,
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:145: error: package list does not exist 
    list.List_1 HeadVar__1_1,
        ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:146: error: package list does not exist 
    list.List_1 HeadVar__2_2)
        ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:214: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr4
                               ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "instance_unconstrained_tvar_dup";
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassMethod[] instance_unconstrained_tvar_dup__type_class_id_method_ids_p_2 = new jmercury.runtime.TypeClassMethod[1];
                                                                                                                                              ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId instance_unconstrained_tvar_dup__type_class_id_p_2 = new jmercury.runtime.TypeClassId();
                                                                                                                             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:36: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct instance_unconstrained_tvar_dup__type_class_decl_p_2 = new jmercury.runtime.TypeClassDeclStruct();
                                                                                                                                      ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:57: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeClassMethod(
                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:60: error: cannot find symbol 
        private_builtin.MR_PREDICATE
        ^
  symbol:   variable private_builtin
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:84: 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/instance_unconstrained_tvar_dup.java:86: error: package list.List_1 does not exist 
  private static final list.List_1.F_nil_0[] MR_scalar_common_3 = new list.List_1.F_nil_0[1];
                                                                                 ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:87: error: package list.List_1 does not exist 
  private static final list.List_1.F_cons_2[] MR_scalar_common_4 = new list.List_1.F_cons_2[6];
                                                                                  ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:91: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeInfo_Struct(
                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:92: 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 instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:92: 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/instance_unconstrained_tvar_dup.java:93: 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 instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:93: 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/instance_unconstrained_tvar_dup.java:98: 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 instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:98: 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/instance_unconstrained_tvar_dup.java:99: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(instance_unconstrained_tvar_dup.MR_scalar_common_1[0]))),
                                             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:100: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(instance_unconstrained_tvar_dup.MR_scalar_common_1[0])))
                                             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:103: error: package list.List_1 does not exist 
      new list.List_1.F_nil_0();
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:105: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:107: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_3[0]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:110: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:112: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[0]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:115: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:117: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[1]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:120: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:122: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_3[0]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:125: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:127: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[3]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:130: error: package list.List_1 does not exist 
      new list.List_1.F_cons_2(
                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:132: error: package list does not exist 
        (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[4]
             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:148: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1);
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:148: error: cannot find symbol 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1);
                                                                                                    ^
  symbol:   variable list
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:148: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeCtorInfo_13_7 = jmercury.runtime.TypeInfo_Struct.maybe_new(list.list__type_ctor_info_list_1);
                                                                         ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:149: error: package jmercury.runtime does not exist 
    jmercury.runtime.TypeInfo_Struct TypeInfo_15_9 = null;
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:152: error: package jmercury.runtime does not exist 
      TypeInfo_15_9 = new jmercury.runtime.TypeInfo_Struct(
                                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:158: error: cannot find symbol 
      io.write_line_3_p_0(TypeInfo_15_9, ((java.lang.Object) (HeadVar__1_1)));
      ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:161: error: cannot find symbol 
      io.write_line_3_p_0(TypeInfo_15_9, ((java.lang.Object) (HeadVar__2_2)));
      ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:176: error: package jmercury.runtime does not exist 
      instance_unconstrained_tvar_dup.ClassMethod_for_instance_unconstrained_tvar_dup__p____list__list__arity1__list__list__arity1______instance_unconstrained_tvar_dup__m_4_4_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2));
                                                                                                                                                                                                     ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:176: error: package list does not exist 
      instance_unconstrained_tvar_dup.ClassMethod_for_instance_unconstrained_tvar_dup__p____list__list__arity1__list__list__arity1______instance_unconstrained_tvar_dup__m_4_4_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2));
                                                                                                                                                                                                                                                                 ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:176: error: package list does not exist 
      instance_unconstrained_tvar_dup.ClassMethod_for_instance_unconstrained_tvar_dup__p____list__list__arity1__list__list__arity1______instance_unconstrained_tvar_dup__m_4_4_p_0(((jmercury.runtime.TypeInfo_Struct) ((java.lang.Object[]) closure)[1]), ((list.List_1) wrapper_arg_1), ((list.List_1) wrapper_arg_2));
                                                                                                                                                                                                                                                                                                ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:187: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_5)[0])[5]);
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:187: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_5)[0])[5]);
                                                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:191: error: package jmercury.runtime does not exist 
      conv1_HeadVar__4_4 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_p_5))), ((java.lang.Object) (HeadVar__1_1)), ((java.lang.Object) (HeadVar__2_2)), ((java.lang.Object) (((java.lang.Object) (0))))));
                                                                 ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:199: error: package list does not exist 
    list.List_1 Var_6 = (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[2];
        ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:199: error: package list does not exist 
    list.List_1 Var_6 = (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[2];
                             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:200: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[5];
        ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:200: error: package list does not exist 
    list.List_1 Var_7 = (list.List_1) instance_unconstrained_tvar_dup.MR_scalar_common_4[5];
                             ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:201: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_21)[0])[5]);
                    ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:201: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_p_21)[0])[5]);
                                                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:205: error: package jmercury.runtime does not exist 
      conv1_STATE_VARIABLE_IO_8_8 = ((java.lang.Object) ((jmercury.runtime.MethodPtr4) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_p_21))), ((java.lang.Object) (((java.lang.Object) (Var_6)))), ((java.lang.Object) (((java.lang.Object) (Var_7)))), ((java.lang.Object) (((java.lang.Object) (0))))));
                                                                          ^
Mercury/javas/jmercury/instance_unconstrained_tvar_dup.java:208: error: cannot find symbol 
      io.nl_2_p_0();
      ^
  symbol:   variable io
  location: class instance_unconstrained_tvar_dup
72 errors
gmake[3]: *** [/tmp/mmake.I7uUA1:1241: instance_unconstrained_tvar_dup] Error 1
gmake[3]: Target 'instance_unconstrained_tvar_dup.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/typeclasses'