MERCURY_OPTIONS=
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses'
{ 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    '; 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 - multi_parameter_bug.depend
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses'
gmake[3]: Entering directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses'
{ 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    '; 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 - multi_parameter_bug
Making Mercury/int3s/multi_parameter_bug.int3
Making Mercury/ints/multi_parameter_bug.int
Making Mercury/javas/jmercury/multi_parameter_bug.java
Making Java class files
Mercury/javas/jmercury/multi_parameter_bug.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId multi_parameter_bug__type_class_id_c2_2 = new jmercury.runtime.TypeClassId();
                                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassConstraint multi_parameter_bug__type_class_decl_super_c2_2_1 = new jmercury.runtime.TypeClassConstraint();
                                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassConstraint[] multi_parameter_bug__type_class_decl_supers_c2_2 = new jmercury.runtime.TypeClassConstraint[1];
                                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:38: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct multi_parameter_bug__type_class_decl_c2_2 = new jmercury.runtime.TypeClassDeclStruct();
                                      ^
Mercury/javas/jmercury/multi_parameter_bug.java:40: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassMethod[] multi_parameter_bug__type_class_id_method_ids_c1_1 = new jmercury.runtime.TypeClassMethod[1];
                                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:41: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId multi_parameter_bug__type_class_id_c1_1 = new jmercury.runtime.TypeClassId();
                                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:42: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct multi_parameter_bug__type_class_decl_c1_1 = new jmercury.runtime.TypeClassDeclStruct();
                                      ^
Mercury/javas/jmercury/multi_parameter_bug.java:218: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/multi_parameter_bug.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "multi_parameter_bug";
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/multi_parameter_bug.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId multi_parameter_bug__type_class_id_c2_2 = new jmercury.runtime.TypeClassId();
                                                                                                                  ^
Mercury/javas/jmercury/multi_parameter_bug.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassConstraint multi_parameter_bug__type_class_decl_super_c2_2_1 = new jmercury.runtime.TypeClassConstraint();
                                                                                                                                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassConstraint[] multi_parameter_bug__type_class_decl_supers_c2_2 = new jmercury.runtime.TypeClassConstraint[1];
                                                                                                                                     ^
Mercury/javas/jmercury/multi_parameter_bug.java:38: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct multi_parameter_bug__type_class_decl_c2_2 = new jmercury.runtime.TypeClassDeclStruct();
                                                                                                                           ^
Mercury/javas/jmercury/multi_parameter_bug.java:40: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassMethod[] multi_parameter_bug__type_class_id_method_ids_c1_1 = new jmercury.runtime.TypeClassMethod[1];
                                                                                                                                   ^
Mercury/javas/jmercury/multi_parameter_bug.java:41: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.TypeClassId multi_parameter_bug__type_class_id_c1_1 = new jmercury.runtime.TypeClassId();
                                                                                                                  ^
Mercury/javas/jmercury/multi_parameter_bug.java:42: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeClassDeclStruct multi_parameter_bug__type_class_decl_c1_1 = new jmercury.runtime.TypeClassDeclStruct();
                                                                                                                           ^
Mercury/javas/jmercury/multi_parameter_bug.java:84: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeClassMethod(
                          ^
Mercury/javas/jmercury/multi_parameter_bug.java:87: error: cannot find symbol 
        private_builtin.MR_PREDICATE
        ^
  symbol:   variable private_builtin
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:107: error: package jmercury.runtime does not exist 
        jmercury.runtime.PseudoTypeInfo.K1
                        ^
Mercury/javas/jmercury/multi_parameter_bug.java:111: error: package jmercury.runtime does not exist 
      (jmercury.runtime.TypeClassConstraint) multi_parameter_bug.multi_parameter_bug__type_class_decl_super_c2_2_1;
                       ^
Mercury/javas/jmercury/multi_parameter_bug.java:131: 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 multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:131: 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/multi_parameter_bug.java:137: 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 multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:137: 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/multi_parameter_bug.java:138: error: cannot find symbol 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0)))
                                                                        ^
  symbol:   variable builtin
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:138: error: package jmercury.runtime does not exist 
        ((java.lang.Object) (jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_character_0)))
                                             ^
Mercury/javas/jmercury/multi_parameter_bug.java:179: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_3)[0])[5]);
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:179: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_3)[0])[5]);
                                                          ^
Mercury/javas/jmercury/multi_parameter_bug.java:183: error: package jmercury.runtime does not exist 
      conv1_HeadVar__2_2 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c1_3))), ((java.lang.Object) (HeadVar__1_1))));
                                                                 ^
Mercury/javas/jmercury/multi_parameter_bug.java:197: error: package jmercury.runtime does not exist 
    jmercury.runtime.MethodPtr func_0 = null;
                    ^
Mercury/javas/jmercury/multi_parameter_bug.java:201: error: cannot find symbol 
      TypeClassInfo_for_c1_11 = private_builtin.superclass_from_typeclass_info_3_p_0(TypeClassInfo_for_c2_8, PolyConst1_12);
                                ^
  symbol:   variable private_builtin
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:203: error: package jmercury.runtime does not exist 
    func_0 = ((jmercury.runtime.MethodPtr) ((java.lang.Object[]) ((java.lang.Object[]) TypeClassInfo_for_c1_11)[0])[5]);
                               ^
Mercury/javas/jmercury/multi_parameter_bug.java:205: error: package jmercury.runtime does not exist 
      conv1_Y_9 = ((java.lang.Object) ((jmercury.runtime.MethodPtr2) func_0).call___0_0(((java.lang.Object) (((/* generic_type */ java.lang.Object) TypeClassInfo_for_c1_11))), ((java.lang.Object) (java.lang.Integer.valueOf(Var_6)))));
                                                        ^
Mercury/javas/jmercury/multi_parameter_bug.java:209: error: cannot find symbol 
      io.write_int_3_p_0(Y_9);
      ^
  symbol:   variable io
  location: class multi_parameter_bug
Mercury/javas/jmercury/multi_parameter_bug.java:212: error: cannot find symbol 
      io.nl_2_p_0();
      ^
  symbol:   variable io
  location: class multi_parameter_bug
45 errors
gmake[3]: *** [/tmp/mmake.yvqbeM:1241: multi_parameter_bug] Error 1
gmake[3]: Target 'multi_parameter_bug.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-30/tests/typeclasses'