MERCURY_OPTIONS= make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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 = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/scripts/mmc --make --options-file - state_var_bug.depend make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' make[3]: Entering directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' { echo MCFLAGS += '--grade java --options-file /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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 += ' /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/library/mer_std.init /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/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 = '/mnt/testing/run/install'; echo LINKAGE = 'shared'; echo MERCURY_LINKAGE = 'shared'; } | /mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/stage2/scripts/mmc --make --options-file - state_var_bug.class Making Mercury/int3s/state_var_bug.int3 Making Mercury/ints/state_var_bug.int Making Mercury/javas/jmercury/state_var_bug.java state_var_bug.m:018: Warning: the condition of this if-then-else cannot fail. Making Mercury/classes/jmercury/state_var_bug.class Mercury/javas/jmercury/state_var_bug.java:21: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/state_var_bug.java:21: error: cannot find symbol jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class state_var_bug Mercury/javas/jmercury/state_var_bug.java:21: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_8_8 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/state_var_bug.java:22: error: package jmercury.runtime does not exist jmercury.runtime.TypeInfo_Struct TypeCtorInfo_9_9 = null; ^ Mercury/javas/jmercury/state_var_bug.java:28: error: cannot find symbol conv0_STATE_VARIABLE_X_7_7 = builtin.copy_2_p_1(TypeCtorInfo_8_8, java.lang.Integer.valueOf(STATE_VARIABLE_X_0_4)); ^ symbol: variable builtin location: class state_var_bug Mercury/javas/jmercury/state_var_bug.java:31: error: cannot find symbol TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ symbol: variable builtin location: class state_var_bug Mercury/javas/jmercury/state_var_bug.java:31: error: package jmercury.runtime does not exist TypeCtorInfo_9_9 = jmercury.runtime.TypeInfo_Struct.maybe_new(builtin.builtin__type_ctor_info_int_0); ^ Mercury/javas/jmercury/state_var_bug.java:33: error: cannot find symbol conv1_STATE_VARIABLE_X_5 = builtin.copy_2_p_1(TypeCtorInfo_9_9, java.lang.Integer.valueOf(STATE_VARIABLE_X_7_7)); ^ symbol: variable builtin location: class state_var_bug 8 errors ** Error making `Mercury/classes/jmercury/state_var_bug.class'. make[3]: *** [/tmp/mmake.rQlEnj:1500: state_var_bug.class] Error 1 make[3]: Target 'state_var_bug.runtest' not remade because of errors. make[3]: Leaving directory '/mnt/testing/run/build/mercury-srcdist-rotd-2024-09-02/tests/valid' ERROR OUTPUT state_var_bug.m:018: Warning: the condition of this if-then-else cannot fail. END OF THE ERROR OUTPUT