From https://github.com/archlinux/svntogit-community * branch packages/aws-c-s3 -> FETCH_HEAD * [new branch] packages/aws-c-s3 -> community/packages/aws-c-s3 Cloning into 'aws-c-s3'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 132k 100 132k 0 0 386k 0 --:--:-- --:--:-- --:--:-- 387k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8536k 100 8536k 0 0 21.1M 0 --:--:-- --:--:-- --:--:-- 21.1M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 416k 0 --:--:-- --:--:-- --:--:-- 415k :: Starting full system upgrade... there is nothing to do PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp/archlinux-ci/ SOURCE_DATE_EPOCH=1690443465 SHELL=/bin/bash SCHROOT_CHROOT_NAME=jenkins-reproducible-archlinux no_proxy=localhost,127.0.0.1 SCHROOT_COMMAND=bash -l -c SOURCE_DATE_EPOCH='1690443465' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' TMPDIR='/tmp/archlinux-ci/' printenv 2>&1 SCHROOT_SESSION_ID=archlinux-aws-c-s3-archlinuxrb-build-5a7alPKv PWD=/tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk LOGNAME=jenkins SCHROOT_ALIAS_NAME=jenkins-reproducible-archlinux SCHROOT_GROUP=jenkins SCHROOT_USER=jenkins ftp_proxy=http://127.0.0.1:3128 HOME=/var/lib/jenkins LANG=C https_proxy=http://127.0.0.1:3128 USER=jenkins FTP_PROXY=http://127.0.0.1:3128 SHLVL=1 HTTPS_PROXY=http://127.0.0.1:3128 HTTP_PROXY=http://127.0.0.1:3128 SCHROOT_GID=116 http_proxy=http://127.0.0.1:3128 DEBUGINFOD_URLS=https://debuginfod.archlinux.org SCHROOT_UID=108 HG=/usr/bin/hg _=/usr/sbin/printenv ==> Making package: aws-c-s3 0.2.8-1 (Thu Jul 27 07:38:08 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (9) aws-c-cal-0.6.1-1 aws-c-compression-0.2.17-1 aws-c-http-0.7.11-1 aws-c-io-0.13.30-1 aws-c-sdkutils-0.1.12-1 s2n-tls-1.3.47-1 aws-c-auth-0.7.1-1 aws-c-common-0.9.0-1 aws-checksums-0.1.17-1 Total Download Size: 1.04 MiB Total Installed Size: 3.96 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 177k 100 177k 0 0 10.7M 0 --:--:-- --:--:-- --:--:-- 10.8M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14757 100 14757 0 0 951k 0 --:--:-- --:--:-- --:--:-- 960k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 41602 100 41602 0 0 2750k 0 --:--:-- --:--:-- --:--:-- 2901k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 30 341k 30 103k 0 0 246k 0 0:00:01 --:--:-- 0:00:01 246k 100 341k 100 341k 0 0 804k 0 --:--:-- --:--:-- --:--:-- 804k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 100 139k 0 0 9909k 0 --:--:-- --:--:-- --:--:-- 9981k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 174k 100 174k 0 0 11.8M 0 --:--:-- --:--:-- --:--:-- 12.1M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47156 100 47156 0 0 3303k 0 --:--:-- --:--:-- --:--:-- 3542k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 91080 100 91080 0 0 6365k 0 --:--:-- --:--:-- --:--:-- 6841k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 45752 100 45752 0 0 3183k 0 --:--:-- --:--:-- --:--:-- 3436k checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing aws-c-common... installing aws-c-compression... installing aws-c-cal... installing s2n-tls... installing aws-c-io... installing aws-c-http... installing aws-c-sdkutils... installing aws-c-auth... installing aws-checksums... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (6) cppdap-1.58.0-1 hicolor-icon-theme-0.17-3 jsoncpp-1.9.5-2 libuv-1.46.0-1 rhash-1.4.3-1 cmake-3.27.1-1 Total Download Size: 12.11 MiB Total Installed Size: 74.39 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10021 100 10021 0 0 758k 0 --:--:-- --:--:-- --:--:-- 815k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 151k 100 151k 0 0 9961k 0 --:--:-- --:--:-- --:--:-- 9.8M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 238k 100 238k 0 0 15.2M 0 --:--:-- --:--:-- --:--:-- 15.5M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 171k 100 171k 0 0 12.8M 0 --:--:-- --:--:-- --:--:-- 12.9M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 335k 100 335k 0 0 19.2M 0 --:--:-- --:--:-- --:--:-- 20.4M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11.2M 100 11.2M 0 0 111M 0 --:--:-- --:--:-- --:--:-- 112M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Downloading aws-c-s3-0.2.8.zip... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 264k 0 264k 0 0 693k 0 --:--:-- --:--:-- --:--:-- 693k ==> Validating source files with sha256sums... aws-c-s3-0.2.8.zip ... Passed ==> Extracting sources... -> Extracting aws-c-s3-0.2.8.zip with bsdtar ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/sbin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test HAS_FPIC_FLAG -- Performing Test HAS_FPIC_FLAG - Success -- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT -- Performing Test HAS_64BIT_FILE_OFFSET_BY_DEFAULT - Success -- Looking for fseeko -- Looking for fseeko - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Performing Test HAS_WGNU -- Performing Test HAS_WGNU - Failed -- Performing Test HAVE_SYSCONF -- Performing Test HAVE_SYSCONF - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found crypto: /lib64/libcrypto.so -- LibCrypto Include Dir: /usr/include -- LibCrypto Shared Lib: /lib64/libcrypto.so -- LibCrypto Static Lib: crypto_STATIC_LIBRARY-NOTFOUND -- Performing Test HAS_WNO_STRINGOP_OVERFLOW -- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Success INFO s3 will be built with shared libs, but you may need to set LD_LIBRARY_PATH=/usr/lib to run the application -- Configuring done (2.3s) -- Generating done (0.0s) -- Build files have been written to: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/build [ 2%] Building C object CMakeFiles/aws-c-s3.dir/source/s3.c.o [ 4%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_auto_ranged_get.c.o [ 6%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_auto_ranged_put.c.o [ 9%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_checksum_stream.c.o [ 11%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_checksums.c.o [ 13%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_chunk_stream.c.o [ 16%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_copy_object.c.o [ 18%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_client.c.o [ 20%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_default_meta_request.c.o [ 23%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_list_objects.c.o [ 25%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_list_parts.c.o [ 27%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_endpoint.c.o [ 30%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_meta_request.c.o [ 32%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_paginator.c.o [ 34%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_request.c.o [ 37%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_request_messages.c.o [ 39%] Building C object CMakeFiles/aws-c-s3.dir/source/s3_util.c.o In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_auto_ranged_put.h:10, from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_auto_ranged_put.c:6: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:6: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:250:49: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 250 | static bool s_on_result_node_encountered(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data) { | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c: In function 's_on_result_node_encountered': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:255:5: error: too many arguments to function 'aws_xml_node_get_name' 255 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:14: /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:261:45: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 261 | bool ret_val = aws_xml_node_as_body(parser, node, &continuation_token_cur) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:261:53: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 261 | bool ret_val = aws_xml_node_as_body(parser, node, &continuation_token_cur) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:261:24: error: too many arguments to function 'aws_xml_node_as_body' 261 | bool ret_val = aws_xml_node_as_body(parser, node, &continuation_token_cur) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:273:45: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 273 | bool ret_val = aws_xml_node_as_body(parser, node, &truncated_cur) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:273:53: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 273 | bool ret_val = aws_xml_node_as_body(parser, node, &truncated_cur) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:273:24: error: too many arguments to function 'aws_xml_node_as_body' 273 | bool ret_val = aws_xml_node_as_body(parser, node, &truncated_cur) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:284:59: warning: passing argument 1 of 'wrapper->operation->on_result_node_encountered' from incompatible pointer type [-Wincompatible-pointer-types] 284 | return wrapper->operation->on_result_node_encountered(parser, node, wrapper->operation->user_data); | ^~~~~~ | | | struct aws_xml_parser * /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:284:59: note: expected 'struct aws_xml_parser *' but argument is of type 'struct aws_xml_parser *' /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c: At top level: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:287:47: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 287 | static bool s_on_root_node_encountered(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data) { | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c: In function 's_on_root_node_encountered': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:291:5: error: too many arguments to function 'aws_xml_node_get_name' 291 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:294:38: warning: passing argument 1 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 294 | return aws_xml_node_traverse(parser, node, s_on_result_node_encountered, wrapper); | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:71:26: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 71 | struct aws_xml_node *node, | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:294:46: warning: passing argument 2 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 294 | return aws_xml_node_traverse(parser, node, s_on_result_node_encountered, wrapper); | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:72:44: note: expected 'int (*)(struct aws_xml_node *, void *)' but argument is of type 'struct aws_xml_node *' 72 | aws_xml_parser_on_node_encountered_fn *on_node_encountered, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:294:52: warning: ISO C forbids passing argument 3 of 'aws_xml_node_traverse' between function pointer and 'void *' [-Wpedantic] 294 | return aws_xml_node_traverse(parser, node, s_on_result_node_encountered, wrapper); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:73:11: note: expected 'void *' but argument is of type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' 73 | void *user_data); | ~~~~~~^~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:294:16: error: too many arguments to function 'aws_xml_node_traverse' 294 | return aws_xml_node_traverse(parser, node, s_on_result_node_encountered, wrapper); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:70:5: note: declared here 70 | int aws_xml_node_traverse( | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c: In function 'aws_s3_paginated_operation_on_response': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:367:37: warning: implicit declaration of function 'aws_xml_parser_new'; did you mean 'aws_xml_parse'? [-Wimplicit-function-declaration] 367 | struct aws_xml_parser *parser = aws_xml_parser_new(operation->allocator, &parser_options); | ^~~~~~~~~~~~~~~~~~ | aws_xml_parse /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:367:37: warning: initialization of 'struct aws_xml_parser *' from 'int' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_auto_ranged_put.h:10, from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_client.c:7: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:368:22: warning: implicit declaration of function 'aws_xml_parser_parse'; did you mean 'aws_xml_parse'? [-Wimplicit-function-declaration] 368 | int error_code = aws_xml_parser_parse(parser, s_on_root_node_encountered, &wrapper); | ^~~~~~~~~~~~~~~~~~~~ | aws_xml_parse /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_paginator.c:369:5: warning: implicit declaration of function 'aws_xml_parser_destroy'; did you mean 'aws_mem_tracer_destroy'? [-Wimplicit-function-declaration] 369 | aws_xml_parser_destroy(parser); | ^~~~~~~~~~~~~~~~~~~~~~ | aws_mem_tracer_destroy make[2]: *** [CMakeFiles/aws-c-s3.dir/build.make:258: CMakeFiles/aws-c-s3.dir/source/s3_paginator.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_list_parts.h:9, from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:6: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:57:36: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 57 | static bool s_on_parts_node(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data) { | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c: In function 's_on_parts_node': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:63:5: error: too many arguments to function 'aws_xml_node_get_name' 63 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:14: /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:66:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 66 | return aws_xml_node_as_body(parser, node, &part_info->e_tag) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:66:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 66 | return aws_xml_node_as_body(parser, node, &part_info->e_tag) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:66:16: error: too many arguments to function 'aws_xml_node_as_body' 66 | return aws_xml_node_as_body(parser, node, &part_info->e_tag) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:71:34: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 71 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:71:42: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 71 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:71:13: error: too many arguments to function 'aws_xml_node_as_body' 71 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:82:34: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 82 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:82:42: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 82 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:82:13: error: too many arguments to function 'aws_xml_node_as_body' 82 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:93:34: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 93 | if (aws_xml_node_as_body(parser, node, &part_number_cur) == AWS_OP_SUCCESS) { | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:93:42: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 93 | if (aws_xml_node_as_body(parser, node, &part_number_cur) == AWS_OP_SUCCESS) { | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:93:13: error: too many arguments to function 'aws_xml_node_as_body' 93 | if (aws_xml_node_as_body(parser, node, &part_number_cur) == AWS_OP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:108:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 108 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:108:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 108 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:108:16: error: too many arguments to function 'aws_xml_node_as_body' 108 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:112:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 112 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32C) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:112:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 112 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32C) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:112:16: error: too many arguments to function 'aws_xml_node_as_body' 112 | return aws_xml_node_as_body(parser, node, &part_info->checksumCRC32C) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:116:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 116 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA1) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:116:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 116 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA1) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:116:16: error: too many arguments to function 'aws_xml_node_as_body' 116 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA1) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:120:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 120 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA256) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:120:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 120 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA256) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:120:16: error: too many arguments to function 'aws_xml_node_as_body' 120 | return aws_xml_node_as_body(parser, node, &part_info->checksumSHA256) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c: At top level: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:127:12: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 127 | struct aws_xml_parser *parser, | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c: In function 's_on_list_bucket_result_node_encountered': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:133:5: error: too many arguments to function 'aws_xml_node_get_name' 133 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:142:46: warning: passing argument 1 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 142 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_parts_node, &result_wrapper) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:71:26: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 71 | struct aws_xml_node *node, | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:142:54: warning: passing argument 2 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 142 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_parts_node, &result_wrapper) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:72:44: note: expected 'int (*)(struct aws_xml_node *, void *)' but argument is of type 'struct aws_xml_node *' 72 | aws_xml_parser_on_node_encountered_fn *on_node_encountered, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:142:60: warning: ISO C forbids passing argument 3 of 'aws_xml_node_traverse' between function pointer and 'void *' [-Wpedantic] 142 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_parts_node, &result_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:73:11: note: expected 'void *' but argument is of type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' 73 | void *user_data); | ~~~~~~^~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:142:24: error: too many arguments to function 'aws_xml_node_traverse' 142 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_parts_node, &result_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:70:5: note: declared here 70 | int aws_xml_node_traverse( | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c: In function 'aws_s3_initiate_list_parts': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:237:42: warning: initialization of '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' from incompatible pointer type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' [-Wincompatible-pointer-types] 237 | .on_result_node_encountered_fn = s_on_list_bucket_result_node_encountered, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:237:42: note: (near initialization for 'operation_params.on_result_node_encountered_fn') /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c: In function 'aws_s3_list_parts_operation_new': In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_auto_ranged_put.h:10, from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_endpoint.c:7: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:284:42: warning: initialization of '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' from incompatible pointer type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' [-Wincompatible-pointer-types] 284 | .on_result_node_encountered_fn = s_on_list_bucket_result_node_encountered, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_parts.c:284:42: note: (near initialization for 'operation_params.on_result_node_encountered_fn') make[2]: *** [CMakeFiles/aws-c-s3.dir/build.make:230: CMakeFiles/aws-c-s3.dir/source/s3_list_parts.c.o] Error 1 In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_list_objects.h:14, from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:6: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:35:50: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 35 | aws_s3_on_result_node_encountered_fn)(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data); | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:57:39: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 57 | static bool s_on_contents_node(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data) { | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: In function 's_on_contents_node': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:63:5: error: too many arguments to function 'aws_xml_node_get_name' 63 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/include/aws/s3/private/s3_paginator.h:14: /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:66:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 66 | return aws_xml_node_as_body(parser, node, &fs_info->e_tag) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:66:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 66 | return aws_xml_node_as_body(parser, node, &fs_info->e_tag) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:66:16: error: too many arguments to function 'aws_xml_node_as_body' 66 | return aws_xml_node_as_body(parser, node, &fs_info->e_tag) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:70:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 70 | return aws_xml_node_as_body(parser, node, &fs_info->key) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:70:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 70 | return aws_xml_node_as_body(parser, node, &fs_info->key) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:70:16: error: too many arguments to function 'aws_xml_node_as_body' 70 | return aws_xml_node_as_body(parser, node, &fs_info->key) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:75:34: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 75 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:75:42: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 75 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:75:13: error: too many arguments to function 'aws_xml_node_as_body' 75 | if (aws_xml_node_as_body(parser, node, &date_cur) == AWS_OP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:86:34: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 86 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:86:42: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 86 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:86:13: error: too many arguments to function 'aws_xml_node_as_body' 86 | if (aws_xml_node_as_body(parser, node, &size_cur) == AWS_OP_SUCCESS) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: At top level: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:98:46: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 98 | static bool s_on_common_prefixes_node(struct aws_xml_parser *parser, struct aws_xml_node *node, void *user_data) { | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: In function 's_on_common_prefixes_node': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:102:5: error: too many arguments to function 'aws_xml_node_get_name' 102 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:105:37: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 105 | return aws_xml_node_as_body(parser, node, &fs_wrapper->fs_info.prefix) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:105:45: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 105 | return aws_xml_node_as_body(parser, node, &fs_wrapper->fs_info.prefix) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:105:16: error: too many arguments to function 'aws_xml_node_as_body' 105 | return aws_xml_node_as_body(parser, node, &fs_wrapper->fs_info.prefix) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: At top level: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:112:12: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 112 | struct aws_xml_parser *parser, | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: In function 's_on_list_bucket_result_node_encountered': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:118:5: error: too many arguments to function 'aws_xml_node_get_name' 118 | aws_xml_node_get_name(node, &node_name); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:127:46: warning: passing argument 1 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 127 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_contents_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:71:26: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 71 | struct aws_xml_node *node, | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:127:54: warning: passing argument 2 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 127 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_contents_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:72:44: note: expected 'int (*)(struct aws_xml_node *, void *)' but argument is of type 'struct aws_xml_node *' 72 | aws_xml_parser_on_node_encountered_fn *on_node_encountered, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:127:60: warning: ISO C forbids passing argument 3 of 'aws_xml_node_traverse' between function pointer and 'void *' [-Wpedantic] 127 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_contents_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:73:11: note: expected 'void *' but argument is of type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' 73 | void *user_data); | ~~~~~~^~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:127:24: error: too many arguments to function 'aws_xml_node_traverse' 127 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_contents_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:70:5: note: declared here 70 | int aws_xml_node_traverse( | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:158:46: warning: passing argument 1 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 158 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_common_prefixes_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:71:26: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 71 | struct aws_xml_node *node, | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:158:54: warning: passing argument 2 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 158 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_common_prefixes_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:72:44: note: expected 'int (*)(struct aws_xml_node *, void *)' but argument is of type 'struct aws_xml_node *' 72 | aws_xml_parser_on_node_encountered_fn *on_node_encountered, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:158:60: warning: ISO C forbids passing argument 3 of 'aws_xml_node_traverse' between function pointer and 'void *' [-Wpedantic] 158 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_common_prefixes_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:73:11: note: expected 'void *' but argument is of type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' 73 | void *user_data); | ~~~~~~^~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:158:24: error: too many arguments to function 'aws_xml_node_traverse' 158 | bool ret_val = aws_xml_node_traverse(parser, node, s_on_common_prefixes_node, &fs_wrapper) == AWS_OP_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:70:5: note: declared here 70 | int aws_xml_node_traverse( | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: In function 'aws_s3_initiate_list_objects': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:242:42: warning: initialization of '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' from incompatible pointer type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' [-Wincompatible-pointer-types] 242 | .on_result_node_encountered_fn = s_on_list_bucket_result_node_encountered, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:242:42: note: (near initialization for 'operation_params.on_result_node_encountered_fn') /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c: In function 'aws_s3_list_objects_operation_new': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:290:42: warning: initialization of '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' from incompatible pointer type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' [-Wincompatible-pointer-types] 290 | .on_result_node_encountered_fn = s_on_list_bucket_result_node_encountered, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_list_objects.c:290:42: note: (near initialization for 'operation_params.on_result_node_encountered_fn') make[2]: *** [CMakeFiles/aws-c-s3.dir/build.make:216: CMakeFiles/aws-c-s3.dir/source/s3_list_objects.c.o] Error 1 /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:98:12: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 98 | struct aws_xml_parser *parser, | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c: In function 's_top_level_xml_tag_value_child_xml_node': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:105:9: error: too many arguments to function 'aws_xml_node_get_name' 105 | if (aws_xml_node_get_name(node, &node_name)) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:10: /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:105:9: error: used struct type value where scalar is required 105 | if (aws_xml_node_get_name(node, &node_name)) { | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:116:30: warning: passing argument 1 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 116 | aws_xml_node_as_body(parser, node, &node_body); | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:64:47: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:116:38: warning: passing argument 2 of 'aws_xml_node_as_body' from incompatible pointer type [-Wincompatible-pointer-types] 116 | aws_xml_node_as_body(parser, node, &node_body); | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:64:77: note: expected 'struct aws_byte_cursor *' but argument is of type 'struct aws_xml_node *' 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:116:9: error: too many arguments to function 'aws_xml_node_as_body' 116 | aws_xml_node_as_body(parser, node, &node_body); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:64:5: note: declared here 64 | int aws_xml_node_as_body(struct aws_xml_node *node, struct aws_byte_cursor *out_body); | ^~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c: At top level: /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:128:12: warning: 'struct aws_xml_parser' declared inside parameter list will not be visible outside of this definition or declaration 128 | struct aws_xml_parser *parser, | ^~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c: In function 's_top_level_xml_tag_value_root_xml_node': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:135:13: error: too many arguments to function 'aws_xml_node_get_name' 135 | if (aws_xml_node_get_name(node, &node_name)) { | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:79:24: note: declared here 79 | struct aws_byte_cursor aws_xml_node_get_name(const struct aws_xml_node *node); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:135:13: error: used struct type value where scalar is required 135 | if (aws_xml_node_get_name(node, &node_name)) { | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:146:27: warning: passing argument 1 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 146 | aws_xml_node_traverse(parser, node, s_top_level_xml_tag_value_child_xml_node, user_data); | ^~~~~~ | | | struct aws_xml_parser * /usr/include/aws/common/xml_parser.h:71:26: note: expected 'struct aws_xml_node *' but argument is of type 'struct aws_xml_parser *' 71 | struct aws_xml_node *node, | ~~~~~~~~~~~~~~~~~~~~~^~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:146:35: warning: passing argument 2 of 'aws_xml_node_traverse' from incompatible pointer type [-Wincompatible-pointer-types] 146 | aws_xml_node_traverse(parser, node, s_top_level_xml_tag_value_child_xml_node, user_data); | ^~~~ | | | struct aws_xml_node * /usr/include/aws/common/xml_parser.h:72:44: note: expected 'int (*)(struct aws_xml_node *, void *)' but argument is of type 'struct aws_xml_node *' 72 | aws_xml_parser_on_node_encountered_fn *on_node_encountered, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:146:41: warning: ISO C forbids passing argument 3 of 'aws_xml_node_traverse' between function pointer and 'void *' [-Wpedantic] 146 | aws_xml_node_traverse(parser, node, s_top_level_xml_tag_value_child_xml_node, user_data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:73:11: note: expected 'void *' but argument is of type '_Bool (*)(struct aws_xml_parser *, struct aws_xml_node *, void *)' 73 | void *user_data); | ~~~~~~^~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:146:5: error: too many arguments to function 'aws_xml_node_traverse' 146 | aws_xml_node_traverse(parser, node, s_top_level_xml_tag_value_child_xml_node, user_data); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/aws/common/xml_parser.h:70:5: note: declared here 70 | int aws_xml_node_traverse( | ^~~~~~~~~~~~~~~~~~~~~ /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c: In function 'aws_xml_get_top_level_tag_with_root_name': /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:161:37: warning: implicit declaration of function 'aws_xml_parser_new'; did you mean 'aws_xml_parse'? [-Wimplicit-function-declaration] 161 | struct aws_xml_parser *parser = aws_xml_parser_new(allocator, &parser_options); | ^~~~~~~~~~~~~~~~~~ | aws_xml_parse /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:161:37: warning: initialization of 'struct aws_xml_parser *' from 'int' makes pointer from integer without a cast [-Wint-conversion] /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:172:9: warning: implicit declaration of function 'aws_xml_parser_parse'; did you mean 'aws_xml_parse'? [-Wimplicit-function-declaration] 172 | if (aws_xml_parser_parse(parser, s_top_level_xml_tag_value_root_xml_node, (void *)&xml_user_data)) { | ^~~~~~~~~~~~~~~~~~~~ | aws_xml_parse /tmp/archlinux-ci/aws-c-s3-archlinuxrb-build-5a7alPKv/aws-c-s3/trunk/src/aws-c-s3-0.2.8/source/s3_util.c:183:5: warning: implicit declaration of function 'aws_xml_parser_destroy'; did you mean 'aws_mem_tracer_destroy'? [-Wimplicit-function-declaration] 183 | aws_xml_parser_destroy(parser); | ^~~~~~~~~~~~~~~~~~~~~~ | aws_mem_tracer_destroy make[2]: *** [CMakeFiles/aws-c-s3.dir/build.make:300: CMakeFiles/aws-c-s3.dir/source/s3_util.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:161: CMakeFiles/aws-c-s3.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...