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  -O3  '; 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 - simplify_multi_arm_switch.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  -O3  '; 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 - simplify_multi_arm_switch
Making Mercury/int3s/simplify_multi_arm_switch.int3
Making Mercury/ints/simplify_multi_arm_switch.int
Making Mercury/javas/jmercury/simplify_multi_arm_switch.java
Making Java class files
Mercury/javas/jmercury/simplify_multi_arm_switch.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:33: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc();
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4];
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4];
                                       ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:39: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct simplify_multi_arm_switch__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                      ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:263: error: package jmercury.runtime does not exist 
    extends jmercury.runtime.MercuryEnum
                            ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:264: error: package jmercury.runtime does not exist 
  implements jmercury.runtime.MercuryType
                             ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:155: error: package builtin does not exist 
  private static builtin.Comparison_result_0
                        ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:219: error: package jmercury.runtime does not exist 
    implements jmercury.runtime.MethodPtr2
                               ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:15: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.progname = "simplify_multi_arm_switch";
                    ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:16: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.args = args;
                    ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:17: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.exit_status = 0;
                    ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:18: error: cannot find symbol 
    library.ML_std_library_init();
    ^
  symbol:   variable library
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:19: error: cannot find symbol 
    benchmarking.ML_initialise();
    ^
  symbol:   variable benchmarking
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:25: error: package jmercury.runtime does not exist 
    jmercury.runtime.JavaInternal.runMain(run_main);
                    ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:26: error: cannot find symbol 
    io.flush_output_3_p_0(io.stdout_stream_0_f_0());
    ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
                          ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:27: error: cannot find symbol 
    io.flush_output_3_p_0(io.stderr_stream_0_f_0());
    ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:28: error: package jmercury.runtime does not exist 
    java.lang.System.exit(jmercury.runtime.JavaInternal.exit_status);
                                          ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:32: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_0 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                     ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:33: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_1 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                     ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:34: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_2 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                     ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:35: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc simplify_multi_arm_switch__enum_functor_desc_fruit_0_3 = new jmercury.runtime.EnumFunctorDesc();
                                                                                                                                     ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:36: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_ordinal_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4];
                                                                                                                                        ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:37: error: package jmercury.runtime does not exist 
  private static final jmercury.runtime.EnumFunctorDesc[] simplify_multi_arm_switch__enum_name_ordered_fruit_0 = new jmercury.runtime.EnumFunctorDesc[4];
                                                                                                                                     ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:39: error: package jmercury.runtime does not exist 
  public static final jmercury.runtime.TypeCtorInfo_Struct simplify_multi_arm_switch__type_ctor_info_fruit_0 = new jmercury.runtime.TypeCtorInfo_Struct();
                                                                                                                                   ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:87: error: package jmercury.runtime does not exist 
      jmercury.runtime.TypeCtorRep.MR_TYPECTOR_REP_ENUM,
                      ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:92: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeFunctors(
                          ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:95: error: package jmercury.runtime does not exist 
      new jmercury.runtime.TypeLayout(
                          ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:125: error: cannot find symbol 
        io.write_string_3_p_0(Var_7);
        ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:133: error: cannot find symbol 
        io.write_string_3_p_0(Var_9);
        ^
  symbol:   variable io
  location: class simplify_multi_arm_switch
Mercury/javas/jmercury/simplify_multi_arm_switch.java:144: error: cannot find symbol 
    switch (Fruit_2.MR_value) {
                   ^
  symbol:   variable MR_value
  location: variable Fruit_2 of type Fruit_0
Mercury/javas/jmercury/simplify_multi_arm_switch.java:144: error: illegal start of type 
    switch (Fruit_2.MR_value) {
           ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:161: error: package builtin does not exist 
    builtin.Comparison_result_0 HeadVar__1_1 = null;
           ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:162: error: cannot find symbol 
    int Cast_HeadVar1_4 = (int) HeadVar__2_2.MR_value;
                                            ^
  symbol:   variable MR_value
  location: variable HeadVar__2_2 of type Fruit_0
Mercury/javas/jmercury/simplify_multi_arm_switch.java:163: error: cannot find symbol 
    int Cast_HeadVar2_5 = (int) HeadVar__3_3.MR_value;
                                            ^
  symbol:   variable MR_value
  location: variable HeadVar__3_3 of type Fruit_0
Mercury/javas/jmercury/simplify_multi_arm_switch.java:167: error: package builtin does not exist 
      HeadVar__1_1 = builtin.Comparison_result_0.K1;
                            ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:172: error: package builtin does not exist 
        HeadVar__1_1 = builtin.Comparison_result_0.K2;
                              ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:174: error: package builtin does not exist 
        HeadVar__1_1 = builtin.Comparison_result_0.K0;
                              ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:185: error: package builtin does not exist 
    builtin.Comparison_result_0 conv0_HeadVar__1_1 = null;
           ^
Mercury/javas/jmercury/simplify_multi_arm_switch.java:199: error: cannot find symbol 
    boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value);
                                     ^
  symbol:   variable MR_value
  location: variable HeadVar__1_1 of type Fruit_0
Mercury/javas/jmercury/simplify_multi_arm_switch.java:199: error: cannot find symbol 
    boolean succeeded = (HeadVar__1_1.MR_value == HeadVar__2_2.MR_value);
                                                              ^
  symbol:   variable MR_value
  location: variable HeadVar__2_2 of type Fruit_0
Mercury/javas/jmercury/simplify_multi_arm_switch.java:248: error: package jmercury.runtime does not exist 
          throw new jmercury.runtime.UnreachableDefault();
                                    ^
46 errors
gmake[3]: *** [/tmp/mmake.SM2vW2:2362: simplify_multi_arm_switch] Error 1
gmake[3]: Target 'simplify_multi_arm_switch.runtest' not remade because of errors.
gmake[3]: Leaving directory '/home/mercury/testing/run/build/mercury-srcdist-rotd-2025-03-28/tests/hard_coded'