make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/lua-curl-v3-0.3.13-snapshot' x86_64-openwrt-linux-musl-gcc -I/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include -O2 -g -pipe -fPIC -shared -Wall -Wno-unused-value -DPTHREADS -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/lua-curl-v3-0.3.13-snapshot=lua-curl-v3-0.3.13-snapshot -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -o lcurl.so src/l52util.c src/lceasy.c src/lcerror.c src/lchttppost.c src/lcmime.c src/lcmulti.c src/lcshare.c src/lcurl.c src/lcurlapi.c src/lcutils.c -L/builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/lib -lcurl -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro src/lceasy.c: In function 'lcurl_easy_cleanup_storage': src/lceasy.c:203:1: warning: no return statement in function returning non-void [-Wreturn-type] 203 | } | ^ src/lceasy.c: In function 'lcurl_opt_set_blob_': src/lceasy.c:455:20: warning: variable 'blob' set but not used [-Wunused-but-set-variable] 455 | struct curl_blob blob; | ^~~~ In file included from src/lceasy.c:499: src/lcopteasy.h: In function 'lcurl_easy_set_PROTOCOLS': src/lcopteasy.h:78:1: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 78 | OPT_ENTRY( protocols, PROTOCOLS, LNG, 0, CURLPROTO_ALL ) | ^~~~~~~~~ In file included from src/lcurl.h:15, from src/lceasy.c:11: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1756:3: note: declared here 1756 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_REDIR_PROTOCOLS': src/lcopteasy.h:79:1: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 79 | OPT_ENTRY( redir_protocols, REDIR_PROTOCOLS, LNG, 0, CURLPROTO_ALL ) /*! @fixme All protocols except for FILE and SCP */ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1762:3: note: declared here 1762 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_SOCKS5_GSSAPI_SERVICE': src/lcopteasy.h:85:1: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 85 | OPT_ENTRY( socks5_gssapi_service, SOCKS5_GSSAPI_SERVICE, STR, LCURL_STORE_STRING, "rcmd/server-fqdn" ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1745:3: note: declared here 1745 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_PUT': src/lcopteasy.h:143:1: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 143 | OPT_ENTRY( put, PUT, LNG, 0, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1295:3: note: declared here 1295 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_RANDOM_FILE': src/lcopteasy.h:251:1: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 251 | OPT_ENTRY( random_file, RANDOM_FILE, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1371:3: note: declared here 1371 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_EGDSOCKET': src/lcopteasy.h:252:1: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 252 | OPT_ENTRY( egdsocket, EGDSOCKET, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1375:3: note: declared here 1375 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_set_SSL_ENABLE_NPN': src/lcopteasy.h:271:1: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 271 | OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1909:3: note: declared here 1909 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ src/lceasy.c: In function 'lcurl_easy_set_HTTPPOST': src/lceasy.c:536:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 536 | CURLcode code = curl_easy_setopt(p->curl, CURLOPT_HTTPPOST, post->post); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:541:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 541 | lcurl_storage_preserve_iv(L, p->storage, CURLOPT_HTTPPOST, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:738: src/lcopteasy.h: In function 'lcurl_easy_unset_PROTOCOLS': src/lcopteasy.h:78:1: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 78 | OPT_ENTRY( protocols, PROTOCOLS, LNG, 0, CURLPROTO_ALL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1756:3: note: declared here 1756 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_REDIR_PROTOCOLS': src/lcopteasy.h:79:1: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 79 | OPT_ENTRY( redir_protocols, REDIR_PROTOCOLS, LNG, 0, CURLPROTO_ALL ) /*! @fixme All protocols except for FILE and SCP */ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1762:3: note: declared here 1762 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_SOCKS5_GSSAPI_SERVICE': src/lcopteasy.h:85:1: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 85 | OPT_ENTRY( socks5_gssapi_service, SOCKS5_GSSAPI_SERVICE, STR, LCURL_STORE_STRING, "rcmd/server-fqdn" ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1745:3: note: declared here 1745 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_PUT': src/lcopteasy.h:143:1: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 143 | OPT_ENTRY( put, PUT, LNG, 0, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1295:3: note: declared here 1295 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_RANDOM_FILE': src/lcopteasy.h:251:1: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 251 | OPT_ENTRY( random_file, RANDOM_FILE, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1371:3: note: declared here 1371 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_EGDSOCKET': src/lcopteasy.h:252:1: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 252 | OPT_ENTRY( egdsocket, EGDSOCKET, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1375:3: note: declared here 1375 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h: In function 'lcurl_easy_unset_SSL_ENABLE_NPN': src/lcopteasy.h:271:1: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 271 | OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1909:3: note: declared here 1909 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ src/lceasy.c: In function 'lcurl_easy_unset_HTTPPOST': src/lceasy.c:750:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 750 | CURLcode code = curl_easy_setopt(p->curl, CURLOPT_HTTPPOST, NULL); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:755:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 755 | lcurl_storage_get_i(L, p->storage, CURLOPT_HTTPPOST); | ^~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:766:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 766 | lcurl_storage_remove_i(L, p->storage, CURLOPT_HTTPPOST); | ^~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c: In function 'lcurl_easy_unset_PROGRESSFUNCTION': src/lceasy.c:843:3: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 843 | CURLcode code = curl_easy_setopt(p->curl, CURLOPT_PROGRESSFUNCTION, NULL); | ^~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:1261: src/lcinfoeasy.h: In function 'lcurl_easy_get_SIZE_UPLOAD': src/lcinfoeasy.h:14:1: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 14 | OPT_ENTRY( size_upload, SIZE_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2872:3: note: declared here 2872 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_SIZE_DOWNLOAD': src/lcinfoeasy.h:15:1: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 15 | OPT_ENTRY( size_download, SIZE_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2875:3: note: declared here 2875 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_SPEED_DOWNLOAD': src/lcinfoeasy.h:16:1: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 16 | OPT_ENTRY( speed_download, SPEED_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2879:3: note: declared here 2879 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_SPEED_UPLOAD': src/lcinfoeasy.h:17:1: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 17 | OPT_ENTRY( speed_upload, SPEED_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2883:3: note: declared here 2883 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_CONTENT_LENGTH_DOWNLOAD': src/lcinfoeasy.h:22:1: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 22 | OPT_ENTRY( content_length_download, CONTENT_LENGTH_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2892:3: note: declared here 2892 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_CONTENT_LENGTH_UPLOAD': src/lcinfoeasy.h:23:1: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 23 | OPT_ENTRY( content_length_upload, CONTENT_LENGTH_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2897:3: note: declared here 2897 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_LASTSOCKET': src/lcinfoeasy.h:37:1: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 37 | OPT_ENTRY( lastsocket, LASTSOCKET, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2914:3: note: declared here 2914 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h: In function 'lcurl_easy_get_PROTOCOL': src/lcinfoeasy.h:53:1: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] 53 | OPT_ENTRY( protocol, PROTOCOL, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2935:3: note: declared here 2935 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") | ^~~~~~~~~~~~~~~~~ src/lceasy.c: In function 'lcurl_xferinfo_callback': src/lceasy.c:1510:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1510 | if(ret != (size_t)CURL_PROGRESSFUNC_CONTINUE) | ^ src/lceasy.c: In function 'lcurl_easy_set_PROGRESSFUNCTION': src/lceasy.c:1534:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 1534 | CURLOPT_PROGRESSFUNCTION, CURLOPT_PROGRESSDATA, | ^~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:2129: src/lcopteasy.h: In function 'lcurl_easy_setopt': src/lcopteasy.h:78:1: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 78 | OPT_ENTRY( protocols, PROTOCOLS, LNG, 0, CURLPROTO_ALL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1756:3: note: declared here 1756 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:79:1: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 79 | OPT_ENTRY( redir_protocols, REDIR_PROTOCOLS, LNG, 0, CURLPROTO_ALL ) /*! @fixme All protocols except for FILE and SCP */ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1762:3: note: declared here 1762 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:85:1: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 85 | OPT_ENTRY( socks5_gssapi_service, SOCKS5_GSSAPI_SERVICE, STR, LCURL_STORE_STRING, "rcmd/server-fqdn" ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1745:3: note: declared here 1745 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:143:1: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 143 | OPT_ENTRY( put, PUT, LNG, 0, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1295:3: note: declared here 1295 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:251:1: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 251 | OPT_ENTRY( random_file, RANDOM_FILE, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1371:3: note: declared here 1371 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:252:1: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 252 | OPT_ENTRY( egdsocket, EGDSOCKET, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1375:3: note: declared here 1375 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:271:1: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 271 | OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1909:3: note: declared here 1909 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2131:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 2131 | OPT_ENTRY(httppost, HTTPPOST, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2136:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 2136 | OPT_ENTRY(progressfunction, PROGRESSFUNCTION, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:2179: src/lcopteasy.h: In function 'lcurl_easy_unsetopt': src/lcopteasy.h:78:1: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 78 | OPT_ENTRY( protocols, PROTOCOLS, LNG, 0, CURLPROTO_ALL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1756:3: note: declared here 1756 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:79:1: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 79 | OPT_ENTRY( redir_protocols, REDIR_PROTOCOLS, LNG, 0, CURLPROTO_ALL ) /*! @fixme All protocols except for FILE and SCP */ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1762:3: note: declared here 1762 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:85:1: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 85 | OPT_ENTRY( socks5_gssapi_service, SOCKS5_GSSAPI_SERVICE, STR, LCURL_STORE_STRING, "rcmd/server-fqdn" ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1745:3: note: declared here 1745 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:143:1: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 143 | OPT_ENTRY( put, PUT, LNG, 0, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1295:3: note: declared here 1295 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:251:1: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 251 | OPT_ENTRY( random_file, RANDOM_FILE, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1371:3: note: declared here 1371 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:252:1: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 252 | OPT_ENTRY( egdsocket, EGDSOCKET, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1375:3: note: declared here 1375 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:271:1: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 271 | OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1909:3: note: declared here 1909 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2181:5: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 2181 | OPT_ENTRY(httppost, HTTPPOST, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2186:5: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 2186 | OPT_ENTRY(progressfunction, PROGRESSFUNCTION, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:2227: src/lcinfoeasy.h: In function 'lcurl_easy_getinfo': src/lcinfoeasy.h:14:1: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 14 | OPT_ENTRY( size_upload, SIZE_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2872:3: note: declared here 2872 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:15:1: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 15 | OPT_ENTRY( size_download, SIZE_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2875:3: note: declared here 2875 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:16:1: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 16 | OPT_ENTRY( speed_download, SPEED_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2879:3: note: declared here 2879 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:17:1: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 17 | OPT_ENTRY( speed_upload, SPEED_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2883:3: note: declared here 2883 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:22:1: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 22 | OPT_ENTRY( content_length_download, CONTENT_LENGTH_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2892:3: note: declared here 2892 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:23:1: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 23 | OPT_ENTRY( content_length_upload, CONTENT_LENGTH_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2897:3: note: declared here 2897 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:37:1: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 37 | OPT_ENTRY( lastsocket, LASTSOCKET, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2914:3: note: declared here 2914 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:53:1: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] 53 | OPT_ENTRY( protocol, PROTOCOL, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2935:3: note: declared here 2935 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:2381: src/lcopteasy.h: At top level: src/lcopteasy.h:78:1: warning: 'CURLOPT_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_PROTOCOLS_STR [-Wdeprecated-declarations] 78 | OPT_ENTRY( protocols, PROTOCOLS, LNG, 0, CURLPROTO_ALL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1756:3: note: declared here 1756 | CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:79:1: warning: 'CURLOPT_REDIR_PROTOCOLS' is deprecated: since 7.85.0. Use CURLOPT_REDIR_PROTOCOLS_STR [-Wdeprecated-declarations] 79 | OPT_ENTRY( redir_protocols, REDIR_PROTOCOLS, LNG, 0, CURLPROTO_ALL ) /*! @fixme All protocols except for FILE and SCP */ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1762:3: note: declared here 1762 | CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:85:1: warning: 'CURLOPT_SOCKS5_GSSAPI_SERVICE' is deprecated: since 7.49.0. Use CURLOPT_PROXY_SERVICE_NAME [-Wdeprecated-declarations] 85 | OPT_ENTRY( socks5_gssapi_service, SOCKS5_GSSAPI_SERVICE, STR, LCURL_STORE_STRING, "rcmd/server-fqdn" ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1745:3: note: declared here 1745 | CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:143:1: warning: 'CURLOPT_PUT' is deprecated: since 7.12.1. Use CURLOPT_UPLOAD [-Wdeprecated-declarations] 143 | OPT_ENTRY( put, PUT, LNG, 0, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1295:3: note: declared here 1295 | CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:251:1: warning: 'CURLOPT_RANDOM_FILE' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 251 | OPT_ENTRY( random_file, RANDOM_FILE, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1371:3: note: declared here 1371 | CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:252:1: warning: 'CURLOPT_EGDSOCKET' is deprecated: since 7.84.0. Serves no purpose anymore [-Wdeprecated-declarations] 252 | OPT_ENTRY( egdsocket, EGDSOCKET, STR, LCURL_STORE_STRING, LCURL_DEFAULT_VALUE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1375:3: note: declared here 1375 | CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77, | ^~~~~~~~~~~~~~~~~ src/lcopteasy.h:271:1: warning: 'CURLOPT_SSL_ENABLE_NPN' is deprecated: since 7.86.0. Has no function [-Wdeprecated-declarations] 271 | OPT_ENTRY( ssl_enable_npn, SSL_ENABLE_NPN, LNG, 0, 1 ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1909:3: note: declared here 1909 | CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2383:3: warning: 'CURLOPT_HTTPPOST' is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 2383 | OPT_ENTRY(httppost, HTTPPOST, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1205:3: note: declared here 1205 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ src/lceasy.c:2388:3: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 2388 | OPT_ENTRY(progressfunction, PROGRESSFUNCTION, TTT, 0, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:1304:3: note: declared here 1304 | CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56, | ^~~~~~~~~~~~~~~~~ In file included from src/lceasy.c:2420: src/lcinfoeasy.h:14:1: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 14 | OPT_ENTRY( size_upload, SIZE_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2872:3: note: declared here 2872 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:15:1: warning: 'CURLINFO_SIZE_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T [-Wdeprecated-declarations] 15 | OPT_ENTRY( size_download, SIZE_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2875:3: note: declared here 2875 | CURLINFO_SIZE_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:16:1: warning: 'CURLINFO_SPEED_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T [-Wdeprecated-declarations] 16 | OPT_ENTRY( speed_download, SPEED_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2879:3: note: declared here 2879 | CURLINFO_SPEED_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:17:1: warning: 'CURLINFO_SPEED_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T [-Wdeprecated-declarations] 17 | OPT_ENTRY( speed_upload, SPEED_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2883:3: note: declared here 2883 | CURLINFO_SPEED_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:22:1: warning: 'CURLINFO_CONTENT_LENGTH_DOWNLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T [-Wdeprecated-declarations] 22 | OPT_ENTRY( content_length_download, CONTENT_LENGTH_DOWNLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2892:3: note: declared here 2892 | CURLINFO_CONTENT_LENGTH_DOWNLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:23:1: warning: 'CURLINFO_CONTENT_LENGTH_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T [-Wdeprecated-declarations] 23 | OPT_ENTRY( content_length_upload, CONTENT_LENGTH_UPLOAD, DBL, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2897:3: note: declared here 2897 | CURLINFO_CONTENT_LENGTH_UPLOAD | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:37:1: warning: 'CURLINFO_LASTSOCKET' is deprecated: since 7.45.0. Use CURLINFO_ACTIVESOCKET [-Wdeprecated-declarations] 37 | OPT_ENTRY( lastsocket, LASTSOCKET, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2914:3: note: declared here 2914 | CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET") | ^~~~~~~~~~~~~~~~~~~ src/lcinfoeasy.h:53:1: warning: 'CURLINFO_PROTOCOL' is deprecated: since 7.85.0. Use CURLINFO_SCHEME [-Wdeprecated-declarations] 53 | OPT_ENTRY( protocol, PROTOCOL, LNG, 0) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2935:3: note: declared here 2935 | CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME") | ^~~~~~~~~~~~~~~~~ In file included from src/lcerror.c:69: src/lcerr_form.h: In function 'lcurl_err_form_mnemo': src/lcerr_form.h:1:1: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 1 | ERR_ENTRY ( OK ) | ^~~~~~~~~ In file included from src/lcurl.h:15, from src/lcerror.c:11: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lcerr_form.h:2:1: warning: 'CURL_FORMADD_MEMORY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2 | ERR_ENTRY ( MEMORY ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2572:3: note: declared here 2572 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:3:1: warning: 'CURL_FORMADD_OPTION_TWICE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 3 | ERR_ENTRY ( OPTION_TWICE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2573:3: note: declared here 2573 | CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:4:1: warning: 'CURL_FORMADD_NULL' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 4 | ERR_ENTRY ( NULL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2574:3: note: declared here 2574 | CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~ src/lcerr_form.h:5:1: warning: 'CURL_FORMADD_UNKNOWN_OPTION' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 5 | ERR_ENTRY ( UNKNOWN_OPTION ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2575:3: note: declared here 2575 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:6:1: warning: 'CURL_FORMADD_INCOMPLETE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 6 | ERR_ENTRY ( INCOMPLETE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2576:3: note: declared here 2576 | CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:7:1: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 7 | ERR_ENTRY ( ILLEGAL_ARRAY ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2577:3: note: declared here 2577 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:8:1: warning: 'CURL_FORMADD_DISABLED' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 8 | ERR_ENTRY ( DISABLED ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2579:3: note: declared here 2579 | CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~ In file included from src/lcerror.c:321: src/lcerr_form.h: At top level: src/lcerr_form.h:1:1: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 1 | ERR_ENTRY ( OK ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lcerr_form.h:2:1: warning: 'CURL_FORMADD_MEMORY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 2 | ERR_ENTRY ( MEMORY ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2572:3: note: declared here 2572 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:3:1: warning: 'CURL_FORMADD_OPTION_TWICE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 3 | ERR_ENTRY ( OPTION_TWICE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2573:3: note: declared here 2573 | CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:4:1: warning: 'CURL_FORMADD_NULL' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 4 | ERR_ENTRY ( NULL ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2574:3: note: declared here 2574 | CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~ src/lcerr_form.h:5:1: warning: 'CURL_FORMADD_UNKNOWN_OPTION' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 5 | ERR_ENTRY ( UNKNOWN_OPTION ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2575:3: note: declared here 2575 | CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:6:1: warning: 'CURL_FORMADD_INCOMPLETE' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 6 | ERR_ENTRY ( INCOMPLETE ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2576:3: note: declared here 2576 | CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:7:1: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 7 | ERR_ENTRY ( ILLEGAL_ARRAY ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2577:3: note: declared here 2577 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lcerr_form.h:8:1: warning: 'CURL_FORMADD_DISABLED' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 8 | ERR_ENTRY ( DISABLED ) | ^~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2579:3: note: declared here 2579 | CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_add_content': src/lchttppost.c:149:3: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 149 | if(type){ forms[i].option = CURLFORM_CONTENTTYPE; forms[i++].value = type; } | ^~ In file included from src/lcurl.h:15, from src/lchttppost.c:11: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2534:3: note: declared here 2534 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:150:3: warning: 'CURLFORM_CONTENTHEADER' is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] 150 | if(list){ forms[i].option = CURLFORM_CONTENTHEADER; forms[i++].value = (char*)list; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"), | ^~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:153:3: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 153 | code = curl_formadd(&p->post, &p->last, | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/lchttppost.c:154:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 154 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/lchttppost.c:154:5: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 154 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:155:5: warning: 'CURLFORM_PTRCONTENTS' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 155 | CURLFORM_PTRCONTENTS, cont, LCURL_FORM_CONTENTLEN, (LCURL_LEN_TYPE)cont_len, | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2523:3: note: declared here 2523 | CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:155:5: warning: 'CURLFORM_CONTENTLEN' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 155 | CURLFORM_PTRCONTENTS, cont, LCURL_FORM_CONTENTLEN, (LCURL_LEN_TYPE)cont_len, | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2541:3: note: declared here 2541 | CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t length */ | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:156:5: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 156 | CURLFORM_ARRAY, forms, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ src/lchttppost.c:159:3: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 159 | if(code != CURL_FORMADD_OK){ | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_add_buffer': src/lchttppost.c:184:3: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 184 | if(type){ forms[i].option = CURLFORM_CONTENTTYPE; forms[i++].value = type; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2534:3: note: declared here 2534 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:185:3: warning: 'CURLFORM_CONTENTHEADER' is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] 185 | if(list){ forms[i].option = CURLFORM_CONTENTHEADER; forms[i++].value = (char*)list; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"), | ^~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:188:3: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 188 | code = curl_formadd(&p->post, &p->last, | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/lchttppost.c:189:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 189 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/lchttppost.c:189:5: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 189 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:190:5: warning: 'CURLFORM_BUFFER' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 190 | CURLFORM_BUFFER, buff, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2530:3: note: declared here 2530 | CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~ src/lchttppost.c:191:5: warning: 'CURLFORM_BUFFERPTR' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 191 | CURLFORM_BUFFERPTR, cont, CURLFORM_BUFFERLENGTH, cont_len, | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2531:3: note: declared here 2531 | CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~ src/lchttppost.c:191:5: warning: 'CURLFORM_BUFFERLENGTH' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 191 | CURLFORM_BUFFERPTR, cont, CURLFORM_BUFFERLENGTH, cont_len, | ^~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2532:3: note: declared here 2532 | CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:192:5: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 192 | CURLFORM_ARRAY, forms, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ src/lchttppost.c:195:3: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 195 | if(code != CURL_FORMADD_OK){ | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_add_file': src/lchttppost.c:246:3: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 246 | if(fname){ forms[i].option = CURLFORM_FILENAME; forms[i++].value = fname; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2536:3: note: declared here 2536 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ src/lchttppost.c:247:3: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 247 | if(type) { forms[i].option = CURLFORM_CONTENTTYPE; forms[i++].value = type; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2534:3: note: declared here 2534 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:248:3: warning: 'CURLFORM_CONTENTHEADER' is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] 248 | if(list) { forms[i].option = CURLFORM_CONTENTHEADER; forms[i++].value = (char*)list; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"), | ^~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:251:3: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 251 | code = curl_formadd(&p->post, &p->last, | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/lchttppost.c:252:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 252 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/lchttppost.c:252:5: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 252 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:253:5: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 253 | CURLFORM_FILE, path, | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2528:3: note: declared here 2528 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/lchttppost.c:254:5: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 254 | CURLFORM_ARRAY, forms, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ src/lchttppost.c:257:3: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 257 | if(code != CURL_FORMADD_OK){ | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_add_stream': src/lchttppost.c:330:3: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 330 | if(fname){ forms[n].option = CURLFORM_FILENAME; forms[n++].value = fname; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2536:3: note: declared here 2536 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ src/lchttppost.c:331:3: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 331 | if(type) { forms[n].option = CURLFORM_CONTENTTYPE; forms[n++].value = type; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2534:3: note: declared here 2534 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:332:3: warning: 'CURLFORM_CONTENTHEADER' is deprecated: since 7.56.0. Use curl_mime_headers() [-Wdeprecated-declarations] 332 | if(list) { forms[n].option = CURLFORM_CONTENTHEADER; forms[n++].value = (char*)list; } | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2535:3: note: declared here 2535 | CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"), | ^~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:338:5: warning: 'CURL_FORMADD_MEMORY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 338 | return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_FORM, CURL_FORMADD_MEMORY); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2572:3: note: declared here 2572 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:343:3: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 343 | code = curl_formadd(&p->post, &p->last, | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/lchttppost.c:344:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 344 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/lchttppost.c:344:5: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 344 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:345:5: warning: 'CURLFORM_STREAM' is deprecated: since 7.56.0. Use curl_mime_data_cb() [-Wdeprecated-declarations] 345 | CURLFORM_STREAM, stream, LCURL_FORM_CONTENTLEN, (LCURL_LEN_TYPE)len, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2540:3: note: declared here 2540 | CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"), | ^~~~~~~~~~~~~~~ src/lchttppost.c:345:5: warning: 'CURLFORM_CONTENTLEN' is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 345 | CURLFORM_STREAM, stream, LCURL_FORM_CONTENTLEN, (LCURL_LEN_TYPE)len, | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2541:3: note: declared here 2541 | CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t length */ | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:346:5: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 346 | CURLFORM_ARRAY, forms, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ src/lchttppost.c:350:3: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 350 | if(code != CURL_FORMADD_OK){ | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_add_files': src/lchttppost.c:373:5: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 373 | return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_FORM, CURL_FORMADD_ILLEGAL_ARRAY); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2577:3: note: declared here 2577 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:382:7: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 382 | return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_FORM, CURL_FORMADD_ILLEGAL_ARRAY); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2577:3: note: declared here 2577 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:391:7: warning: 'CURL_FORMADD_ILLEGAL_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 391 | return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_FORM, CURL_FORMADD_ILLEGAL_ARRAY); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2577:3: note: declared here 2577 | CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:404:5: warning: 'CURL_FORMADD_MEMORY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 404 | return lcurl_fail_ex(L, p->err_mode, LCURL_ERROR_FORM, CURL_FORMADD_MEMORY); | ^~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2572:3: note: declared here 2572 | CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:414:7: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 414 | forms[opt_count].option = CURLFORM_FILE; forms[opt_count++].value = luaL_checkstring(L, -1); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2528:3: note: declared here 2528 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/lchttppost.c:419:7: warning: 'CURLFORM_FILE' is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 419 | forms[opt_count].option = CURLFORM_FILE; forms[opt_count++].value = luaL_checkstring(L, -1); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2528:3: note: declared here 2528 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ src/lchttppost.c:423:9: warning: 'CURLFORM_CONTENTTYPE' is deprecated: since 7.56.0. Use curl_mime_type() [-Wdeprecated-declarations] 423 | forms[opt_count].option = CURLFORM_CONTENTTYPE; forms[opt_count++].value = luaL_checkstring(L, -1); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2534:3: note: declared here 2534 | CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"), | ^~~~~~~~~~~~~~~~~~~~ src/lchttppost.c:428:9: warning: 'CURLFORM_FILENAME' is deprecated: since 7.56.0. Use curl_mime_filename() [-Wdeprecated-declarations] 428 | forms[opt_count].option = CURLFORM_FILENAME; forms[opt_count++].value = luaL_checkstring(L, -1); | ^~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2536:3: note: declared here 2536 | CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"), | ^~~~~~~~~~~~~~~~~ src/lchttppost.c:436:3: warning: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 436 | code = curl_formadd(&p->post, &p->last, | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2594:1: note: declared here 2594 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ src/lchttppost.c:437:5: warning: 'CURLFORM_PTRNAME' is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 437 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2520:3: note: declared here 2520 | CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~ src/lchttppost.c:437:5: warning: 'CURLFORM_NAMELENGTH' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 437 | CURLFORM_PTRNAME, name, CURLFORM_NAMELENGTH, (long)name_len, | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2521:3: note: declared here 2521 | CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~~~~~~ src/lchttppost.c:438:5: warning: 'CURLFORM_ARRAY' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 438 | CURLFORM_ARRAY, forms, | ^~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2526:3: note: declared here 2526 | CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""), | ^~~~~~~~~~~~~~ src/lchttppost.c:443:3: warning: 'CURL_FORMADD_OK' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 443 | if(code != CURL_FORMADD_OK){ | ^~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */ | ^~~~~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_get': src/lchttppost.c:507:5: warning: 'curl_formget' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 507 | code = curl_formget(p->post, &b, lcurl_hpost_getter_by_buffer); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2620:1: note: declared here 2620 | curl_formget(struct curl_httppost *form, void *arg, | ^~~~~~~~~~~~ src/lchttppost.c:519:7: warning: 'curl_formget' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 519 | code = curl_formget(p->post, L, lcurl_hpost_getter_by_callback1); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2620:1: note: declared here 2620 | curl_formget(struct curl_httppost *form, void *arg, | ^~~~~~~~~~~~ src/lchttppost.c:524:7: warning: 'curl_formget' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 524 | code = curl_formget(p->post, L, lcurl_hpost_getter_by_callback2); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2620:1: note: declared here 2620 | curl_formget(struct curl_httppost *form, void *arg, | ^~~~~~~~~~~~ src/lchttppost.c:534:5: warning: 'curl_formget' is deprecated: since 7.56.0. [-Wdeprecated-declarations] 534 | code = curl_formget(p->post, L, lcurl_hpost_getter_by_callback2); | ^~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2620:1: note: declared here 2620 | curl_formget(struct curl_httppost *form, void *arg, | ^~~~~~~~~~~~ src/lchttppost.c: In function 'lcurl_hpost_free': src/lchttppost.c:559:5: warning: 'curl_formfree' is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 559 | curl_formfree(p->post); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/curl/curl.h:2630:1: note: declared here 2630 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ src/lcmime.c: In function 'lcurl_mime_part_assing_table': src/lcmime.c:186:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 186 | for(i=0;method = lcurl_mime_part_fields[i]; ++i){ | ^~~~~~ src/lcmime.c: At top level: src/lcmime.c:223:27: warning: 'lcurl_mime_parts_find' defined but not used [-Wunused-function] 223 | static lcurl_mime_part_t* lcurl_mime_parts_find(lcurl_mime_t *m, lcurl_mime_part_t *p){ | ^~~~~~~~~~~~~~~~~~~~~ src/lcmulti.c: In function 'lcurl_multi_socket_callback': src/lcmulti.c:548:17: warning: variable 'e' set but not used [-Wunused-but-set-variable] 548 | lcurl_easy_t *e; | ^ src/lcutils.c: In function 'lcurl_opt_os_socket': src/lcutils.c:358:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 358 | return (curl_socket_t)lua_touserdata(L, idx); | ^ make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/lua-curl-v3-0.3.13-snapshot' rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/lua-curl-v3-0.3.13-snapshot/ipkg-x86_64/lua-curl-v3/usr/lib/lua/lcurl.so: shared object ERROR: info field 'version' has invalid value: package version is invalid ERROR: failed to create package: /builder/shared-workdir/build/sdk/bin/packages/x86_64/packages/lua-curl-v3-0.3.13-snapshot-r2.apk: package version is invalid make[3]: *** [Makefile:73: /builder/shared-workdir/build/sdk/bin/packages/x86_64/packages/lua-curl-v3-0.3.13-snapshot-r2.apk] Error 99 time: package/feeds/packages/lua-curl-v3/compile#2.63#1.53#4.67