Closed tokisuno closed 7 months ago
The three interesting parts here are:
error: failed to run custom build command for `libnghttp2-sys v0.1.10+1.61.0`
Caused by:
process didn't exit successfully: `/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-bea38ffcd29b2939/build-script-build` (exit status: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
CC_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
CC_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("clang")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
CFLAGS_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
CFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = Some("-Wall -W -Werror -Wextra -pedantic -O0 -lm -Wcomment -std=c99")
cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-sfparse.o" "-c" "nghttp2/lib/sfparse.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_alpn.o" "-c" "nghttp2/lib/nghttp2_alpn.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_buf.o" "-c" "nghttp2/lib/nghttp2_buf.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_callbacks.o" "-c" "nghttp2/lib/nghttp2_callbacks.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_debug.o" "-c" "nghttp2/lib/nghttp2_debug.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_extpri.o" "-c" "nghttp2/lib/nghttp2_extpri.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_frame.o" "-c" "nghttp2/lib/nghttp2_frame.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd.o" "-c" "nghttp2/lib/nghttp2_hd.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd_huffman.o" "-c" "nghttp2/lib/nghttp2_hd_huffman.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd_huffman_data.o" "-c" "nghttp2/lib/nghttp2_hd_huffman_data.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_helper.o" "-c" "nghttp2/lib/nghttp2_helper.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_http.o" "-c" "nghttp2/lib/nghttp2_http.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_map.o" "-c" "nghttp2/lib/nghttp2_map.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_mem.o" "-c" "nghttp2/lib/nghttp2_mem.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_option.o" "-c" "nghttp2/lib/nghttp2_option.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_outbound_item.o" "-c" "nghttp2/lib/nghttp2_outbound_item.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_pq.o" "-c" "nghttp2/lib/nghttp2_pq.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_priority_spec.o" "-c" "nghttp2/lib/nghttp2_priority_spec.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_queue.o" "-c" "nghttp2/lib/nghttp2_queue.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_rcbuf.o" "-c" "nghttp2/lib/nghttp2_rcbuf.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_session.o" "-c" "nghttp2/lib/nghttp2_session.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_stream.o" "-c" "nghttp2/lib/nghttp2_stream.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_submit.o" "-c" "nghttp2/lib/nghttp2_submit.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_version.o" "-c" "nghttp2/lib/nghttp2_version.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_ratelim.o" "-c" "nghttp2/lib/nghttp2_ratelim.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_time.o" "-c" "nghttp2/lib/nghttp2_time.c" with args clang did not execute successfully (status code exit status: 1).
--- stderr
error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_time.o" "-c" "nghttp2/lib/nghttp2_time.c" with args clang did not execute successfully (status code exit status: 1).
error: failed to run custom build command for `libz-sys v1.1.16`
Caused by:
process didn't exit successfully: `/tmp/cargo-installg1H1Oh/release/build/libz-sys-7f75fbbc384d124b/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=ZLIB_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=ZLIB_STATIC
cargo:rerun-if-env-changed=ZLIB_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=SYSROOT
cargo:rerun-if-env-changed=ZLIB_STATIC
cargo:rerun-if-env-changed=ZLIB_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rustc-link-lib=z
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=ZLIB_STATIC
cargo:rerun-if-env-changed=ZLIB_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:include=/usr/include
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
CC_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
CC_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CC
HOST_CC = None
cargo:rerun-if-env-changed=CC
CC = Some("clang")
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
CFLAGS_x86_64-unknown-linux-gnu = None
cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
CFLAGS_x86_64_unknown_linux_gnu = None
cargo:rerun-if-env-changed=HOST_CFLAGS
HOST_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = Some("-Wall -W -Werror -Wextra -pedantic -O0 -lm -Wcomment -std=c99")
running "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "src/smoke.c" "-g0" "-o" "/dev/null" "-lz"
cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-adler32.o" "-c" "src/zlib/adler32.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-compress.o" "-c" "src/zlib/compress.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-crc32.o" "-c" "src/zlib/crc32.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-deflate.o" "-c" "src/zlib/deflate.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-infback.o" "-c" "src/zlib/infback.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inffast.o" "-c" "src/zlib/inffast.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inflate.o" "-c" "src/zlib/inflate.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inftrees.o" "-c" "src/zlib/inftrees.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-trees.o" "-c" "src/zlib/trees.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-uncompr.o" "-c" "src/zlib/uncompr.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-zutil.o" "-c" "src/zlib/zutil.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzclose.o" "-c" "src/zlib/gzclose.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzlib.o" "-c" "src/zlib/gzlib.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzread.o" "-c" "src/zlib/gzread.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
exit status: 1
cargo:warning=ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzwrite.o" "-c" "src/zlib/gzwrite.c" with args clang did not execute successfully (status code exit status: 1).
--- stderr
src/smoke.c:3:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
3 | int main() {
| ^
| void
src/smoke.c:4:10: error: cast to smaller integer type 'int' from 'uLong (*)(uLong, const Bytef *, uInt)' (aka 'unsigned long (*)(unsigned long, const unsigned char *, unsigned int)') [-Werror,-Wpointer-to-int-cast]
4 | return (int) adler32;
| ^~~~~~~~~~~~~
2 errors generated.
error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzwrite.o" "-c" "src/zlib/gzwrite.c" with args clang did not execute successfully (status code exit status: 1).
The following warnings were emitted during compilation:
warning: libnghttp2-sys@0.1.10+1.61.0: clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-sfparse.o" "-c" "nghttp2/lib/sfparse.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_alpn.o" "-c" "nghttp2/lib/nghttp2_alpn.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_buf.o" "-c" "nghttp2/lib/nghttp2_buf.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_callbacks.o" "-c" "nghttp2/lib/nghttp2_callbacks.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_debug.o" "-c" "nghttp2/lib/nghttp2_debug.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_extpri.o" "-c" "nghttp2/lib/nghttp2_extpri.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_frame.o" "-c" "nghttp2/lib/nghttp2_frame.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd.o" "-c" "nghttp2/lib/nghttp2_hd.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd_huffman.o" "-c" "nghttp2/lib/nghttp2_hd_huffman.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_hd_huffman_data.o" "-c" "nghttp2/lib/nghttp2_hd_huffman_data.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_helper.o" "-c" "nghttp2/lib/nghttp2_helper.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_http.o" "-c" "nghttp2/lib/nghttp2_http.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_map.o" "-c" "nghttp2/lib/nghttp2_map.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_mem.o" "-c" "nghttp2/lib/nghttp2_mem.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_option.o" "-c" "nghttp2/lib/nghttp2_option.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_outbound_item.o" "-c" "nghttp2/lib/nghttp2_outbound_item.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_pq.o" "-c" "nghttp2/lib/nghttp2_pq.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_priority_spec.o" "-c" "nghttp2/lib/nghttp2_priority_spec.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_queue.o" "-c" "nghttp2/lib/nghttp2_queue.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_rcbuf.o" "-c" "nghttp2/lib/nghttp2_rcbuf.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_session.o" "-c" "nghttp2/lib/nghttp2_session.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_stream.o" "-c" "nghttp2/lib/nghttp2_stream.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_submit.o" "-c" "nghttp2/lib/nghttp2_submit.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_version.o" "-c" "nghttp2/lib/nghttp2_version.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_ratelim.o" "-c" "nghttp2/lib/nghttp2_ratelim.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libnghttp2-sys@0.1.10+1.61.0: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "nghttp2/lib/includes" "-I" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/include" "-DNGHTTP2_STATICLIB" "-DHAVE_NETINET_IN" "-DHAVE_TIME_H" "-DHAVE_ARPA_INET_H" "-o" "/tmp/cargo-installg1H1Oh/release/build/libnghttp2-sys-ec4128041177c81b/out/i/lib/ad0ba1b363e8d103-nghttp2_time.o" "-c" "nghttp2/lib/nghttp2_time.c" with args clang did not execute successfully (status code exit status: 1).
error: failed to run custom build command for `openssl-sys v0.9.102`
Caused by:
process didn't exit successfully: `/tmp/cargo-installg1H1Oh/release/build/openssl-sys-8a7e16e4d64d39a5/build-script-main` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
OPENSSL_LIB_DIR = /usr/lib/openssl-1.0
cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR = /usr/include/openssl-1.0
--- stderr
thread 'main' panicked at /home/poto/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.102/build/main.rs:93:9:
OpenSSL library directory does not exist: ["/usr/lib/openssl-1.0"]
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:
warning: libz-sys@1.1.16: clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-adler32.o" "-c" "src/zlib/adler32.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-compress.o" "-c" "src/zlib/compress.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-crc32.o" "-c" "src/zlib/crc32.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-deflate.o" "-c" "src/zlib/deflate.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-infback.o" "-c" "src/zlib/infback.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inffast.o" "-c" "src/zlib/inffast.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inflate.o" "-c" "src/zlib/inflate.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-inftrees.o" "-c" "src/zlib/inftrees.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-trees.o" "-c" "src/zlib/trees.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-uncompr.o" "-c" "src/zlib/uncompr.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-zutil.o" "-c" "src/zlib/zutil.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzclose.o" "-c" "src/zlib/gzclose.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzlib.o" "-c" "src/zlib/gzlib.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzread.o" "-c" "src/zlib/gzread.c" with args clang did not execute successfully (status code exit status: 1).cargo:warning=clang: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argument]
warning: libz-sys@1.1.16: ToolExecError: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "--target=x86_64-unknown-linux-gnu" "-Wall" "-W" "-Werror" "-Wextra" "-pedantic" "-O0" "-lm" "-Wcomment" "-std=c99" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/tmp/cargo-installg1H1Oh/release/build/libz-sys-dd01e46cd306de5b/out/lib/0dc752f03a07a721-gzwrite.o" "-c" "src/zlib/gzwrite.c" with args clang did not execute successfully (status code exit status: 1).
all of which fail with "-Werror,-Wunused-command-line-argument" and most of which indicate that you have
CFLAGS = Some("-Wall -W -Werror -Wextra -pedantic -O0 -lm -Wcomment -std=c99")
remove the erroneous CFLAGS from the environment and you're gucci
this happens when i run any "cargo install x" command. in this instance, i ran --force and i still get these error messages. i can't install anything which depends on openssl it seems like...