We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo:rerun-if-changed=../jemalloc-sys/src/lib.rs OPT_LEVEL = Some("0") HOST = Some("x86_64-apple-darwin") CC_x86_64-apple-darwin = None CC_x86_64_apple_darwin = None HOST_CC = None CC = None CFLAGS_x86_64-apple-darwin = None CFLAGS_x86_64_apple_darwin = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("true") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/Users/sfackler/jemallocator/target/debug/build/jemalloc-sys-e3522fe24d80e112/out/include" "-Wall" "-Wextra" "-Wall" "-Wextra" "-Werror" "-Wno-unused-parameter" "-Wno-type-limits" "-Wno-address-of-packed-member" "-Wno-deprecated-declarations" "-o" "/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.o" "-c" "/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c" cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:340:34: error: field 'v' declared as a function cargo:warning= extent_alloc_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:354:60: error: function cannot return function type 'extent_alloc_t' (aka 'void *(struct extent_hooks_s *, void *, unsigned long, unsigned long, bool *, bool *, unsigned int)') cargo:warning= extent_alloc_t __test_roundtrip_extent_alloc_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:378:24: error: incompatible pointer to integer conversion returning 'extent_alloc_t *' (aka 'void *(*)(struct extent_hooks_s *, void *, unsigned long, unsigned long, bool *, bool *, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:389:35: error: field 'v' declared as a function cargo:warning= extent_dalloc_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:403:62: error: function cannot return function type 'extent_dalloc_t' (aka 'bool (struct extent_hooks_s *, void *, unsigned long, bool, unsigned int)') cargo:warning= extent_dalloc_t __test_roundtrip_extent_dalloc_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:427:24: error: incompatible pointer to integer conversion returning 'extent_dalloc_t *' (aka 'bool (*)(struct extent_hooks_s *, void *, unsigned long, bool, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:438:36: error: field 'v' declared as a function cargo:warning= extent_destroy_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:452:64: error: function cannot return function type 'extent_destroy_t' (aka 'void (struct extent_hooks_s *, void *, unsigned long, bool, unsigned int)') cargo:warning= extent_destroy_t __test_roundtrip_extent_destroy_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:476:24: error: incompatible pointer to integer conversion returning 'extent_destroy_t *' (aka 'void (*)(struct extent_hooks_s *, void *, unsigned long, bool, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:487:35: error: field 'v' declared as a function cargo:warning= extent_commit_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:501:62: error: function cannot return function type 'extent_commit_t' (aka 'bool (struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') cargo:warning= extent_commit_t __test_roundtrip_extent_commit_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:525:24: error: incompatible pointer to integer conversion returning 'extent_commit_t *' (aka 'bool (*)(struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:536:37: error: field 'v' declared as a function cargo:warning= extent_decommit_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:550:66: error: function cannot return function type 'extent_decommit_t' (aka 'bool (struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') cargo:warning= extent_decommit_t __test_roundtrip_extent_decommit_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:574:24: error: incompatible pointer to integer conversion returning 'extent_decommit_t *' (aka 'bool (*)(struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:585:34: error: field 'v' declared as a function cargo:warning= extent_purge_t v; cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:599:60: error: function cannot return function type 'extent_purge_t' (aka 'bool (struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') cargo:warning= extent_purge_t __test_roundtrip_extent_purge_t( cargo:warning= ^ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:623:24: error: incompatible pointer to integer conversion returning 'extent_purge_t *' (aka 'bool (*)(struct extent_hooks_s *, void *, unsigned long, unsigned long, unsigned long, unsigned int)') from a function with result type 'int' [-Werror,-Wint-conversion] cargo:warning= return value; cargo:warning= ^~~~~ cargo:warning=/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c:634:34: error: field 'v' declared as a function cargo:warning= extent_split_t v; cargo:warning= ^ cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=] cargo:warning=20 errors generated. exit code: 1 --- stderr rust version: 1.36.0 error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/Users/sfackler/jemallocator/target/debug/build/jemalloc-sys-e3522fe24d80e112/out/include" "-Wall" "-Wextra" "-Wall" "-Wextra" "-Werror" "-Wno-unused-parameter" "-Wno-type-limits" "-Wno-address-of-packed-member" "-Wno-deprecated-declarations" "-o" "/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.o" "-c" "/Users/sfackler/jemallocator/target/debug/build/systest-0d9e0e3ebe0e45b7/out/all.c" with args "cc" did not execute successfully (status code exit code: 1).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: