Build #1558475 2024-11-20T17:05:14.845803+00:00
# rustc version
rustc 1.84.0-nightly (ee612c45f 2024-11-19)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/portable-dlmalloc-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/portable-dlmalloc-0.1.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241119-1.84.0-nightly-ee612c45f\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 7810034bb5ff8f611961b781e5e786670b21e1d8ae0e72db4e5209b36345d74a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7810034bb5ff8f611961b781e5e786670b21e1d8ae0e72db4e5209b36345d74a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling portable-dlmalloc v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:782:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 782 | MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:783:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 783 | MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:784:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 784 | MALLINFO_FIELD_TYPE smblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:785:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 785 | MALLINFO_FIELD_TYPE hblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:786:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 786 | MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:787:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 787 | MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:788:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 788 | MALLINFO_FIELD_TYPE fsmblks; /* always 0 */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:789:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 789 | MALLINFO_FIELD_TYPE uordblks; /* total allocated space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:790:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 790 | MALLINFO_FIELD_TYPE fordblks; /* total free space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:791:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 791 | MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:872:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 872 | DLMALLOC_EXPORT void* dlmalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:888:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 888 | DLMALLOC_EXPORT void* dlcalloc(size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:912:40: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 912 | DLMALLOC_EXPORT void* dlrealloc(void*, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: +++ |+#include <stddef.h>
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1 | /*
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:927:49: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 927 | DLMALLOC_EXPORT void* dlrealloc_in_place(void*, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:927:49: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:941:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 941 | DLMALLOC_EXPORT void* dlmemalign(size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:951:46: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 951 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:951:46: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:951:54: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 951 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:951:54: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:958:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 958 | DLMALLOC_EXPORT void* dlvalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:993:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 993 | DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1006:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1006 | DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1017:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1017 | DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1031:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1031 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1031:53: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1031 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1031:53: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1142:60: error: expected ')' before 'void'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1142 | DLMALLOC_EXPORT void** dlindependent_calloc(size_t, size_t, void**);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1200:61: error: expected ')' before '*' token
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1200 | DLMALLOC_EXPORT void** dlindependent_comalloc(size_t, size_t*, void**);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | )
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1211:17: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1211 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1211:45: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1211 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1211:45: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1218:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1218 | DLMALLOC_EXPORT void* dlpvalloc(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1241:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1241 | DLMALLOC_EXPORT int dlmalloc_trim(size_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1278:1: error: unknown type name 'size_t'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1278 | size_t dlmalloc_usable_size(void*);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1278:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1516:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1516 | extern void* sbrk(ptrdiff_t);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'init_mparams':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:3155:3: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 3155 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'mmap_resize':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1741:44: warning: implicit declaration of function 'mremap' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1741 | #define MREMAP_DEFAULT(addr, osz, nsz, mv) mremap((addr), (osz), (nsz), (mv))
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1797:57: note: in expansion of macro 'MREMAP_DEFAULT'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1797 | #define CALL_MREMAP(addr, osz, nsz, mv) MREMAP_DEFAULT((addr), (osz), (nsz), (mv))
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:3918:27: note: in expansion of macro 'CALL_MREMAP'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 3918 | char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:3918:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 3918 | char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'sys_alloc':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4134:9: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4134 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4204:11: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4204 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'sys_trim':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4363:74: warning: comparison between pointer and integer
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4363 | if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4372:19: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4372 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'dlcalloc':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4849:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4849 | memset(mem, 0, req);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1510:1: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1509 | #include <fcntl.h>
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: +++ |+#include <string.h>
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1510 | #endif /* LACKS_FCNTL_H */
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4849:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 4849 | memset(mem, 0, req);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:4849:9: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'ialloc':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5086:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5086 | memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5086:9: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: In function 'dlrealloc':
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5268:19: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5268 | memcpy(mem, oldmem, (oc < bytes)? oc : bytes);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5268:19: note: include '<string.h>' or provide a declaration of 'memcpy'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5268:19: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5268:19: note: include '<string.h>' or provide a declaration of 'memcpy'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c: At top level:
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5391:8: error: conflicting types for 'dlmalloc_footprint'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5391 | size_t dlmalloc_footprint(void) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:993:24: note: previous declaration of 'dlmalloc_footprint' with type 'int(void)'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 993 | DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5395:8: error: conflicting types for 'dlmalloc_max_footprint'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5395 | size_t dlmalloc_max_footprint(void) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1006:24: note: previous declaration of 'dlmalloc_max_footprint' with type 'int(void)'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1006 | DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5399:8: error: conflicting types for 'dlmalloc_footprint_limit'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5399 | size_t dlmalloc_footprint_limit(void) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1017:24: note: previous declaration of 'dlmalloc_footprint_limit' with type 'int()'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1017 | DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:5431:8: error: conflicting types for 'dlmalloc_usable_size'; have 'size_t(void *)' {aka 'long unsigned int(void *)'}
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 5431 | size_t dlmalloc_usable_size(void* mem) {
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: ./malloc.c:1278:8: note: previous declaration of 'dlmalloc_usable_size' with type 'int(void *)'
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: 1278 | size_t dlmalloc_usable_size(void*);
[INFO] [stderr] warning: portable-dlmalloc@0.1.1: | ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] error: failed to run custom build command for `portable-dlmalloc v0.1.1 (/opt/rustwide/workdir)`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/portable-dlmalloc-b69bd88001cd0a29/build-script-build` (exit status: 1)
[INFO] [stderr] --- stdout
[INFO] [stderr] OUT_DIR = Some(/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/portable-dlmalloc-09284a3cc5321f3f/out)
[INFO] [stderr] OPT_LEVEL = Some(0)
[INFO] [stderr] TARGET = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr] HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
[INFO] [stderr] CC_x86_64-unknown-linux-gnu = None
[INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
[INFO] [stderr] CC_x86_64_unknown_linux_gnu = None
[INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC
[INFO] [stderr] HOST_CC = None
[INFO] [stderr] cargo:rerun-if-env-changed=CC
[INFO] [stderr] CC = None
[INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr] RUSTC_WRAPPER = None
[INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr] CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr] DEBUG = Some(true)
[INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2)
[INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS
[INFO] [stderr] HOST_CFLAGS = None
[INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr] CFLAGS = None
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:782:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 782 | MALLINFO_FIELD_TYPE arena; /* non-mmapped space allocated from system */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:783:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 783 | MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:784:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 784 | MALLINFO_FIELD_TYPE smblks; /* always 0 */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:785:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 785 | MALLINFO_FIELD_TYPE hblks; /* always 0 */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:786:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 786 | MALLINFO_FIELD_TYPE hblkhd; /* space in mmapped regions */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:787:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 787 | MALLINFO_FIELD_TYPE usmblks; /* maximum total allocated space */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:788:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 788 | MALLINFO_FIELD_TYPE fsmblks; /* always 0 */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:789:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 789 | MALLINFO_FIELD_TYPE uordblks; /* total allocated space */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:790:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 790 | MALLINFO_FIELD_TYPE fordblks; /* total free space */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:727:29: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 727 | #define MALLINFO_FIELD_TYPE size_t
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:791:3: note: in expansion of macro 'MALLINFO_FIELD_TYPE'
[INFO] [stderr] cargo:warning= 791 | MALLINFO_FIELD_TYPE keepcost; /* releasable (via malloc_trim) space */
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:872:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 872 | DLMALLOC_EXPORT void* dlmalloc(size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:888:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 888 | DLMALLOC_EXPORT void* dlcalloc(size_t, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:912:40: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 912 | DLMALLOC_EXPORT void* dlrealloc(void*, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning= +++ |+#include <stddef.h>
[INFO] [stderr] cargo:warning= 1 | /*
[INFO] [stderr] cargo:warning=./malloc.c:927:49: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 927 | DLMALLOC_EXPORT void* dlrealloc_in_place(void*, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:927:49: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:941:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 941 | DLMALLOC_EXPORT void* dlmemalign(size_t, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:951:46: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 951 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:951:46: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:951:54: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 951 | DLMALLOC_EXPORT int dlposix_memalign(void**, size_t, size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:951:54: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:958:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 958 | DLMALLOC_EXPORT void* dlvalloc(size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:993:17: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 993 | DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1006:17: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1006 | DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1017:17: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1017 | DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1031:17: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1031 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1031:53: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1031 | DLMALLOC_EXPORT size_t dlmalloc_set_footprint_limit(size_t bytes);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1031:53: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:1142:60: error: expected ')' before 'void'
[INFO] [stderr] cargo:warning= 1142 | DLMALLOC_EXPORT void** dlindependent_calloc(size_t, size_t, void**);
[INFO] [stderr] cargo:warning= | ^~~~~
[INFO] [stderr] cargo:warning= | )
[INFO] [stderr] cargo:warning=./malloc.c:1200:61: error: expected ')' before '*' token
[INFO] [stderr] cargo:warning= 1200 | DLMALLOC_EXPORT void** dlindependent_comalloc(size_t, size_t*, void**);
[INFO] [stderr] cargo:warning= | ^
[INFO] [stderr] cargo:warning= | )
[INFO] [stderr] cargo:warning=./malloc.c:1211:17: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1211 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1211:45: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1211 | DLMALLOC_EXPORT size_t dlbulk_free(void**, size_t n_elements);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1211:45: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:1218:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 1218 | DLMALLOC_EXPORT void* dlpvalloc(size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1241:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 1241 | DLMALLOC_EXPORT int dlmalloc_trim(size_t);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1278:1: error: unknown type name 'size_t'
[INFO] [stderr] cargo:warning= 1278 | size_t dlmalloc_usable_size(void*);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1278:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
[INFO] [stderr] cargo:warning=./malloc.c:1516:1: warning: parameter names (without types) in function declaration
[INFO] [stderr] cargo:warning= 1516 | extern void* sbrk(ptrdiff_t);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c: In function 'init_mparams':
[INFO] [stderr] cargo:warning=./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] cargo:warning= 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] cargo:warning=./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] cargo:warning= 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:3155:3: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] cargo:warning= 3155 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c: In function 'mmap_resize':
[INFO] [stderr] cargo:warning=./malloc.c:1741:44: warning: implicit declaration of function 'mremap' [-Wimplicit-function-declaration]
[INFO] [stderr] cargo:warning= 1741 | #define MREMAP_DEFAULT(addr, osz, nsz, mv) mremap((addr), (osz), (nsz), (mv))
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1797:57: note: in expansion of macro 'MREMAP_DEFAULT'
[INFO] [stderr] cargo:warning= 1797 | #define CALL_MREMAP(addr, osz, nsz, mv) MREMAP_DEFAULT((addr), (osz), (nsz), (mv))
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:3918:27: note: in expansion of macro 'CALL_MREMAP'
[INFO] [stderr] cargo:warning= 3918 | char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:3918:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[INFO] [stderr] cargo:warning= 3918 | char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
[INFO] [stderr] cargo:warning= | ^
[INFO] [stderr] cargo:warning=./malloc.c: In function 'sys_alloc':
[INFO] [stderr] cargo:warning=./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] cargo:warning= 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] cargo:warning=./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] cargo:warning= 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:4134:9: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] cargo:warning= 4134 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] cargo:warning= 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] cargo:warning=./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] cargo:warning= 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:4204:11: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] cargo:warning= 4204 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c: In function 'sys_trim':
[INFO] [stderr] cargo:warning=./malloc.c:4363:74: warning: comparison between pointer and integer
[INFO] [stderr] cargo:warning= 4363 | if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
[INFO] [stderr] cargo:warning= | ^~
[INFO] [stderr] cargo:warning=./malloc.c:1869:50: warning: right-hand operand of comma expression has no effect [-Wunused-value]
[INFO] [stderr] cargo:warning= 1869 | #define ACQUIRE_LOCK(lk) (acquire_lock(lk),0)
[INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~~~~~~^~~
[INFO] [stderr] cargo:warning=./malloc.c:2088:39: note: in expansion of macro 'ACQUIRE_LOCK'
[INFO] [stderr] cargo:warning= 2088 | #define ACQUIRE_MALLOC_GLOBAL_LOCK() ACQUIRE_LOCK(&malloc_global_mutex);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:4372:19: note: in expansion of macro 'ACQUIRE_MALLOC_GLOBAL_LOCK'
[INFO] [stderr] cargo:warning= 4372 | ACQUIRE_MALLOC_GLOBAL_LOCK();
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c: In function 'dlcalloc':
[INFO] [stderr] cargo:warning=./malloc.c:4849:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
[INFO] [stderr] cargo:warning= 4849 | memset(mem, 0, req);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1510:1: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] cargo:warning= 1509 | #include <fcntl.h>
[INFO] [stderr] cargo:warning= +++ |+#include <string.h>
[INFO] [stderr] cargo:warning= 1510 | #endif /* LACKS_FCNTL_H */
[INFO] [stderr] cargo:warning=./malloc.c:4849:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] cargo:warning= 4849 | memset(mem, 0, req);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:4849:9: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] cargo:warning=./malloc.c: In function 'ialloc':
[INFO] [stderr] cargo:warning=./malloc.c:5086:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] cargo:warning= 5086 | memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:5086:9: note: include '<string.h>' or provide a declaration of 'memset'
[INFO] [stderr] cargo:warning=./malloc.c: In function 'dlrealloc':
[INFO] [stderr] cargo:warning=./malloc.c:5268:19: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
[INFO] [stderr] cargo:warning= 5268 | memcpy(mem, oldmem, (oc < bytes)? oc : bytes);
[INFO] [stderr] cargo:warning= | ^~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:5268:19: note: include '<string.h>' or provide a declaration of 'memcpy'
[INFO] [stderr] cargo:warning=./malloc.c:5268:19: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
[INFO] [stderr] cargo:warning=./malloc.c:5268:19: note: include '<string.h>' or provide a declaration of 'memcpy'
[INFO] [stderr] cargo:warning=./malloc.c: At top level:
[INFO] [stderr] cargo:warning=./malloc.c:5391:8: error: conflicting types for 'dlmalloc_footprint'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] cargo:warning= 5391 | size_t dlmalloc_footprint(void) {
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:993:24: note: previous declaration of 'dlmalloc_footprint' with type 'int(void)'
[INFO] [stderr] cargo:warning= 993 | DLMALLOC_EXPORT size_t dlmalloc_footprint(void);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:5395:8: error: conflicting types for 'dlmalloc_max_footprint'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] cargo:warning= 5395 | size_t dlmalloc_max_footprint(void) {
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1006:24: note: previous declaration of 'dlmalloc_max_footprint' with type 'int(void)'
[INFO] [stderr] cargo:warning= 1006 | DLMALLOC_EXPORT size_t dlmalloc_max_footprint(void);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:5399:8: error: conflicting types for 'dlmalloc_footprint_limit'; have 'size_t(void)' {aka 'long unsigned int(void)'}
[INFO] [stderr] cargo:warning= 5399 | size_t dlmalloc_footprint_limit(void) {
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1017:24: note: previous declaration of 'dlmalloc_footprint_limit' with type 'int()'
[INFO] [stderr] cargo:warning= 1017 | DLMALLOC_EXPORT size_t dlmalloc_footprint_limit();
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:5431:8: error: conflicting types for 'dlmalloc_usable_size'; have 'size_t(void *)' {aka 'long unsigned int(void *)'}
[INFO] [stderr] cargo:warning= 5431 | size_t dlmalloc_usable_size(void* mem) {
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] cargo:warning=./malloc.c:1278:8: note: previous declaration of 'dlmalloc_usable_size' with type 'int(void *)'
[INFO] [stderr] cargo:warning= 1278 | size_t dlmalloc_usable_size(void*);
[INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]
[INFO] [stderr] --- stderr
[INFO] [stderr]
[INFO] [stderr]
[INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-DPORTABLE" "-DUSE_DL_PREFIX" "-DUSE_LOCKS=2" "-DDEFAULT_GRANULARITY=0x200000" "-DNO_MALLOC_STATS=1" "-o" "/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/portable-dlmalloc-09284a3cc5321f3f/out/8f1a5a601f45df90-malloc.o" "-c" "./malloc.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr]
[INFO] [stderr]
[INFO] running `Command { std: "docker" "inspect" "7810034bb5ff8f611961b781e5e786670b21e1d8ae0e72db4e5209b36345d74a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7810034bb5ff8f611961b781e5e786670b21e1d8ae0e72db4e5209b36345d74a", kill_on_drop: false }`
[INFO] [stdout] 7810034bb5ff8f611961b781e5e786670b21e1d8ae0e72db4e5209b36345d74a