Skip to content

Use non-null pointer for size 0 posix memalign #7487

Use non-null pointer for size 0 posix memalign

Use non-null pointer for size 0 posix memalign #7487

Triggered via pull request May 11, 2024 21:44
Status Failure
Total duration 11m 4s
Artifacts

ci.yml

on: pull_request
Matrix: build
bors build finished
0s
bors build finished
bors build finished
0s
bors build finished
cronjob failure notification
0s
cronjob failure notification
Fit to window
Zoom out
Zoom in

Annotations

18 errors
test generated output: tests/pass-dep/libc/libc-mem.rs#L1
you likely need to bless the tests with `./miri test --bless`
Unmatched diagnostics: tests/pass-dep/libc/libc-mem.rs#L192
Error: memory leaked: alloc1556 (C heap, size: 0, align: 1), allocated here:
build (macos-14, aarch64-apple-darwin)
Process completed with exit code 1.
test generated output: tests/pass-dep/libc/libc-mem.rs#L1
you likely need to bless the tests with `./miri test --bless`
Unmatched diagnostics: tests/pass-dep/libc/libc-mem.rs#L192
Error: memory leaked: alloc1501 (C heap, size: 0, align: 1), allocated here:
build (ubuntu-latest, x86_64-unknown-linux-gnu)
Process completed with exit code 1.
actual output differs from expected: tests/fail-dep/libc/posix_memalign_size_zero_leak.stderr#L2
this line was expected to be `error[E0425]: cannot find function `posix_memalign` in crate `libc``
actual output differs from expected: tests/fail-dep/libc/posix_memalign_size_zero_leak.stderr#L6
this line was expected to be ` | ^^^^^^^^^^^^^^ not found in `libc``
extraneous lines in output: tests/fail-dep/libc/posix_memalign_size_zero_leak.stderr#L11
remove this line and possibly later ones by blessing the test
missing line in output: tests/fail-dep/libc/posix_memalign_size_zero_leak.stderr#L17
bless the test to create a line containing `For more information about this error, try `rustc --explain E0425`.`
Unmatched diagnostics: tests/fail-dep/libc/posix_memalign_size_zero_leak.rs#L7
Error: cannot find function `posix_memalign` in crate `libc`
actual output differs from expected: tests/fail-dep/libc/posix_memalign_size_zero_double_free.stderr#L2
this line was expected to be `error[E0425]: cannot find function `posix_memalign` in crate `libc``
extraneous lines in output: tests/fail-dep/libc/posix_memalign_size_zero_double_free.stderr#L5
remove this line and possibly later ones by blessing the test
actual output differs from expected: tests/fail-dep/libc/posix_memalign_size_zero_double_free.stderr#L14
this line was expected to be ` | ^^^^^^^^^^^^^^ not found in `libc``
extraneous lines in output: tests/fail-dep/libc/posix_memalign_size_zero_double_free.stderr#L23
remove this line and possibly later ones by blessing the test