[INFO] fetching crate freestanding-musl-malloc 1.0.0... [INFO] testing freestanding-musl-malloc-1.0.0 against 1.81.0 for beta-1.82-1 [INFO] extracting crate freestanding-musl-malloc 1.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate freestanding-musl-malloc 1.0.0 on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate freestanding-musl-malloc 1.0.0 [INFO] finished tweaking crates.io crate freestanding-musl-malloc 1.0.0 [INFO] tweaked toml for crates.io crate freestanding-musl-malloc 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b7e685cc7887bdf7a8086524bac1d9166f75b81ede060065ff5790f332203c [INFO] running `Command { std: "docker" "start" "-a" "55b7e685cc7887bdf7a8086524bac1d9166f75b81ede060065ff5790f332203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b7e685cc7887bdf7a8086524bac1d9166f75b81ede060065ff5790f332203c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b7e685cc7887bdf7a8086524bac1d9166f75b81ede060065ff5790f332203c", kill_on_drop: false }` [INFO] [stdout] 55b7e685cc7887bdf7a8086524bac1d9166f75b81ede060065ff5790f332203c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8081988e24d5db954ea6185cb3db025b3051ff5ff276813e3e184137ea6088af [INFO] running `Command { std: "docker" "start" "-a" "8081988e24d5db954ea6185cb3db025b3051ff5ff276813e3e184137ea6088af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling freestanding-musl-malloc v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'lock': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 50 | static inline void lock(volatile int *lk) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'unlock': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 59 | static inline void unlock(volatile int *lk) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:195:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 195 | if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'trim': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:297:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 297 | split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:298:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 298 | next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'malloc': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:312:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 312 | size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'free': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:477:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 477 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:484:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 484 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:69: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:47: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:507:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 507 | madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:17:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 17 | if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:21:17: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 21 | n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c: In function '__memalign': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:46: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:45:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 45 | ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:46:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 46 | ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:47:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 47 | ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:48:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 48 | ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "8081988e24d5db954ea6185cb3db025b3051ff5ff276813e3e184137ea6088af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8081988e24d5db954ea6185cb3db025b3051ff5ff276813e3e184137ea6088af", kill_on_drop: false }` [INFO] [stdout] 8081988e24d5db954ea6185cb3db025b3051ff5ff276813e3e184137ea6088af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb091a64a4ba9b5b98fac6006ca718f8f42e6b14896b0b45b06f566235e3ffe9 [INFO] running `Command { std: "docker" "start" "-a" "fb091a64a4ba9b5b98fac6006ca718f8f42e6b14896b0b45b06f566235e3ffe9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'lock': [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | let mut c = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 50 | static inline void lock(volatile int *lk) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'unlock': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 59 | static inline void unlock(volatile int *lk) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:195:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 195 | if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'trim': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:297:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 297 | split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:298:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 298 | next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'malloc': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:312:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 312 | size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'free': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:477:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 477 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:484:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 484 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:69: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:47: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:507:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 507 | madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:17:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 17 | if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:21:17: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 21 | n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c: In function '__memalign': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:46: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:45:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 45 | ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:46:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 46 | ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:47:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 47 | ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:48:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 48 | ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] Compiling freestanding-musl-malloc v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "fb091a64a4ba9b5b98fac6006ca718f8f42e6b14896b0b45b06f566235e3ffe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb091a64a4ba9b5b98fac6006ca718f8f42e6b14896b0b45b06f566235e3ffe9", kill_on_drop: false }` [INFO] [stdout] fb091a64a4ba9b5b98fac6006ca718f8f42e6b14896b0b45b06f566235e3ffe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67702a1dd6bc503253ef1fc3ec77277068c64fa4349d93447f4bc6f5fa3a6f71 [INFO] running `Command { std: "docker" "start" "-a" "67702a1dd6bc503253ef1fc3ec77277068c64fa4349d93447f4bc6f5fa3a6f71", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:4:22 [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 associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | let mut c = gcc::Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `freestanding-musl-malloc` (build script) generated 2 warnings [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'lock': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:50:39: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 50 | static inline void lock(volatile int *lk) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'unlock': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:59:41: warning: unused parameter 'lk' [-Wunused-parameter] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 59 | static inline void unlock(volatile int *lk) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'adjust_size': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:195:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 195 | if (*n-1 > PTRDIFF_MAX - SIZE_ALIGN - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'trim': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:297:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 297 | split->csize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:298:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 298 | next->psize = n1-n | C_INUSE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'malloc': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:312:55: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 312 | size_t len = n + OVERHEAD + PAGE_SIZE - 1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c: In function 'free': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:477:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 477 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:484:65: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 484 | if (new_size+size > RECLAIM && (new_size+size^size) > size) [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~^~~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:504:69: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 504 | uintptr_t a = (uintptr_t)self + SIZE_ALIGN+PAGE_SIZE-1 & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:505:47: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 505 | uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: malloc.c:507:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 507 | madvise((void *)a, b-a, MADV_DONTNEED); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c: In function '__expand_heap': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:17:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 17 | if (n > SIZE_MAX/2 - PAGE_SIZE) { [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: expand_heap.c:21:17: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 21 | n += -n & PAGE_SIZE-1; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c: In function '__memalign': [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:46: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:31:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 31 | new = (void *)((uintptr_t)mem + align-1 & -align); [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ^ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:45:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 45 | ((size_t *)mem)[-1] = (header&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:46:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 46 | ((size_t *)new)[-2] = (footer&7) | new-mem; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:47:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 47 | ((size_t *)new)[-1] = (header&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: memalign.c:48:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: 48 | ((size_t *)end)[-2] = (footer&7) | end-new; [INFO] [stderr] warning: freestanding-musl-malloc@1.0.0: | ~~~^~~~ [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/freestanding_musl_malloc-d242b34d54f4db61) [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/freestanding_musl_malloc-d242b34d54f4db61` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "67702a1dd6bc503253ef1fc3ec77277068c64fa4349d93447f4bc6f5fa3a6f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67702a1dd6bc503253ef1fc3ec77277068c64fa4349d93447f4bc6f5fa3a6f71", kill_on_drop: false }` [INFO] [stdout] 67702a1dd6bc503253ef1fc3ec77277068c64fa4349d93447f4bc6f5fa3a6f71