prune the heap more #14
Closed
Cirrus CI / CompilerWarnings
failed
Sep 25, 2025 in 16m 3s
Task Summary
Instruction mingw_cross_warning failed in 01:38
Details
✅ 00:12 clone
✅ 00:01 sysinfo
✅ 00:12 ccache
✅ 00:01 setup_additional_packages
✅ 00:01 setup
✅ 02:43 gcc_warning
✅ 02:37 gcc_a_warning
✅ 03:07 clang_warning
✅ 02:47 clang_a_warning
❌ 01:38 mingw_cross_warning
[15:35:40.909] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--as-needed, for LDFLAGS... assuming no
[15:35:40.909] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,--export-dynamic, for LDFLAGS_EX_BE... assuming no
[15:35:40.909] checking whether ccache x86_64-w64-mingw32-gcc supports -Wl,-export_dynamic, for LDFLAGS_EX_BE... assuming no
[15:35:40.920] configure: using compiler=x86_64-w64-mingw32-gcc (GCC) 12-win32
[15:35:40.920] configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2
[15:35:40.920] configure: using CPPFLAGS= -D_POSIX_C_SOURCE -I./src/include/port/win32
[15:35:40.920] configure: using LDFLAGS= -Wl,--allow-multiple-definition -Wl,--disable-auto-import
[15:35:41.011] configure: creating ./config.status
[15:35:41.095] config.status: creating GNUmakefile
[15:35:41.107] config.status: creating src/Makefile.global
[15:35:41.123] config.status: creating src/include/pg_config.h
[15:35:41.135] config.status: creating src/interfaces/ecpg/include/ecpg_config.h
[15:35:41.150] config.status: linking src/backend/port/win32_sema.c to src/backend/port/pg_sema.c
[15:35:41.157] config.status: linking src/backend/port/win32_shmem.c to src/backend/port/pg_shmem.c
[15:35:41.164] config.status: linking src/include/port/win32.h to src/include/pg_config_os.h
[15:35:41.172] config.status: linking src/makefiles/Makefile.win32 to src/Makefile.port
[15:35:41.175] config.status: executing check_win32_symlinks commands
[15:35:41.211]
[15:35:41.211] real 0m17.123s
[15:35:41.211] user 0m11.268s
[15:35:41.211] sys 0m5.446s
[15:35:41.211] make -s -j${BUILD_JOBS} clean
[15:35:41.782] time make -s -j${BUILD_JOBS} world-bin
[15:36:56.510] In file included from ../../../../src/include/postgres.h:49,
[15:36:56.510] from pruneheap.c:15:
[15:36:56.510] pruneheap.c: In function ‘heap_page_prune_opt’:
[15:36:56.510] pruneheap.c:373:54: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64’ {aka ‘long long unsigned int’} [-Werror=format=]
[15:36:56.510] 373 | elog(DEBUG2, "heap_page_prune_opt: context=%s, tuples_pruned=%d, space_freed=%zu, "
[15:36:56.510] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15:36:56.510] ......
[15:36:56.510] 377 | hot_updates, RelationGetRelationName(relation));
[15:36:56.510] | ~~~~~~~~~~~
[15:36:56.510] | |
[15:36:56.510] | uint64 {aka long long unsigned int}
[15:36:56.510] ../../../../src/include/utils/elog.h:147:25: note: in definition of macro ‘ereport_domain’
[15:36:56.510] 147 | __VA_ARGS__, errfinish(__FILE__, __LINE__, __func__); \
[15:36:56.510] | ^~~~~~~~~~~
[15:36:56.510] ../../../../src/include/utils/elog.h:240:9: note: in expansion of macro ‘ereport’
[15:36:56.510] 240 | ereport(elevel, errmsg_internal(__VA_ARGS__))
[15:36:56.510] | ^~~~~~~
[15:36:56.510] pruneheap.c:373:41: note: in expansion of macro ‘elog’
[15:36:56.510] 373 | elog(DEBUG2, "heap_page_prune_opt: context=%s, tuples_pruned=%d, space_freed=%zu, "
[15:36:56.510] | ^~~~
[15:36:56.510] cc1: all warnings being treated as errors
[15:36:56.511] make[4]: *** [<builtin>: pruneheap.o] Error 1
[15:36:56.511] make[3]: *** [../../../src/backend/common.mk:37: heap-recursive] Error 2
[15:36:56.511] make[2]: *** [common.mk:37: access-recursive] Error 2
[15:36:56.511] make[2]: *** Waiting for unfinished jobs....
[15:37:02.922] make[1]: *** [Makefile:42: all-backend-recurse] Error 2
[15:37:02.922] make: *** [GNUmakefile:21: world-bin-src-recurse] Error 2
[15:37:02.922]
[15:37:02.922] real 1m21.140s
[15:37:02.922] user 4m22.989s
[15:37:02.922] sys 0m48.628s
[15:37:02.922]
[15:37:02.922] Exit status: 2��������������������������������
Loading