[INFO] crate freestanding-musl-malloc 1.0.0 is already in cache [INFO] extracting crate freestanding-musl-malloc 1.0.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/freestanding-musl-malloc/1.0.0 [INFO] extracting crate freestanding-musl-malloc 1.0.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/freestanding-musl-malloc/1.0.0 [INFO] validating manifest of freestanding-musl-malloc-1.0.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of freestanding-musl-malloc-1.0.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing freestanding-musl-malloc-1.0.0 [INFO] finished frobbing freestanding-musl-malloc-1.0.0 [INFO] frobbed toml for freestanding-musl-malloc-1.0.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/freestanding-musl-malloc/1.0.0/Cargo.toml [INFO] started frobbing freestanding-musl-malloc-1.0.0 [INFO] finished frobbing freestanding-musl-malloc-1.0.0 [INFO] frobbed toml for freestanding-musl-malloc-1.0.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/freestanding-musl-malloc/1.0.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing freestanding-musl-malloc-1.0.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/freestanding-musl-malloc/1.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 64e4929b1a8e91a91a692eac0e2af67a803190a52f6b7f1f5d042a91a283b43f [INFO] running `"docker" "start" "-a" "64e4929b1a8e91a91a692eac0e2af67a803190a52f6b7f1f5d042a91a283b43f"` [INFO] [stderr] Compiling freestanding-musl-malloc v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Config': gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | let mut c = gcc::Config::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | let mut c = gcc::Config::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: malloc.c: In function 'lock': [INFO] [stderr] warning: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void lock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'unlock': [INFO] [stderr] warning: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void unlock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: malloc.c:195:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c: In function 'trim': [INFO] [stderr] warning: malloc.c:297:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c:298:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c: In function 'malloc': [INFO] [stderr] warning: malloc.c:312:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: malloc.c: In function 'free': [INFO] [stderr] warning: malloc.c:477:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:484:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:504:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:504:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: malloc.c:505:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:505:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:507:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: expand_heap.c:17:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [INFO] [stderr] warning: if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c:21:10: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c: In function '__memalign': [INFO] [stderr] warning: memalign.c:31:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:31:39: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: memalign.c:31:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:45:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:46:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:47:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:48:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `"docker" "inspect" "64e4929b1a8e91a91a692eac0e2af67a803190a52f6b7f1f5d042a91a283b43f"` [INFO] running `"docker" "rm" "-f" "64e4929b1a8e91a91a692eac0e2af67a803190a52f6b7f1f5d042a91a283b43f"` [INFO] [stdout] 64e4929b1a8e91a91a692eac0e2af67a803190a52f6b7f1f5d042a91a283b43f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/freestanding-musl-malloc/1.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 073151b92a13b454d0ab783b5e128d0ed8ecf6e60dc1511e19a3f9f31e85b55e [INFO] running `"docker" "start" "-a" "073151b92a13b454d0ab783b5e128d0ed8ecf6e60dc1511e19a3f9f31e85b55e"` [INFO] [stderr] warning: malloc.c: In function 'lock': [INFO] [stderr] warning: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void lock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'unlock': [INFO] [stderr] warning: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void unlock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: malloc.c:195:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c: In function 'trim': [INFO] [stderr] warning: malloc.c:297:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c:298:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c: In function 'malloc': [INFO] [stderr] warning: malloc.c:312:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: malloc.c: In function 'free': [INFO] [stderr] warning: malloc.c:477:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:484:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:504:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:504:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: malloc.c:505:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:505:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:507:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: expand_heap.c:17:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [INFO] [stderr] warning: if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c:21:10: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c: In function '__memalign': [INFO] [stderr] warning: memalign.c:31:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:31:39: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: memalign.c:31:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:45:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:46:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:47:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:48:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] Compiling freestanding-musl-malloc v1.0.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `"docker" "inspect" "073151b92a13b454d0ab783b5e128d0ed8ecf6e60dc1511e19a3f9f31e85b55e"` [INFO] running `"docker" "rm" "-f" "073151b92a13b454d0ab783b5e128d0ed8ecf6e60dc1511e19a3f9f31e85b55e"` [INFO] [stdout] 073151b92a13b454d0ab783b5e128d0ed8ecf6e60dc1511e19a3f9f31e85b55e [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/freestanding-musl-malloc/1.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 23654dcaf9fbef81b4e114bfe23e9f4f602ff335aa5f33fa1b0e65724cb13d40 [INFO] running `"docker" "start" "-a" "23654dcaf9fbef81b4e114bfe23e9f4f602ff335aa5f33fa1b0e65724cb13d40"` [INFO] [stderr] warning: malloc.c: In function 'lock': [INFO] [stderr] warning: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void lock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'unlock': [INFO] [stderr] warning: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: static inline void unlock(volatile int *lk) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: malloc.c:195:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c: In function 'trim': [INFO] [stderr] warning: malloc.c:297:19: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c:298:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: ~~^~ [INFO] [stderr] warning: malloc.c: In function 'malloc': [INFO] [stderr] warning: malloc.c:312:41: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: malloc.c: In function 'free': [INFO] [stderr] warning: malloc.c:477:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:484:44: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: ~~~~~~~~^~~~~ [INFO] [stderr] warning: malloc.c:504:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:504:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: malloc.c:505:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:505:33: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: malloc.c:507:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: expand_heap.c:17:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [INFO] [stderr] warning: if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: ^ [INFO] [stderr] warning: expand_heap.c:21:10: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c: In function '__memalign': [INFO] [stderr] warning: memalign.c:31:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:31:39: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: memalign.c:31:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: ^ [INFO] [stderr] warning: memalign.c:45:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:46:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:47:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] warning: memalign.c:48:40: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: ~~~^~~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/crater/target/debug/deps/freestanding_musl_malloc-828b9f590a033d3c [INFO] [stderr] error: process didn't exit successfully: `/opt/crater/target/debug/deps/freestanding_musl_malloc-828b9f590a033d3c` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `"docker" "inspect" "23654dcaf9fbef81b4e114bfe23e9f4f602ff335aa5f33fa1b0e65724cb13d40"` [INFO] running `"docker" "rm" "-f" "23654dcaf9fbef81b4e114bfe23e9f4f602ff335aa5f33fa1b0e65724cb13d40"` [INFO] [stdout] 23654dcaf9fbef81b4e114bfe23e9f4f602ff335aa5f33fa1b0e65724cb13d40