Source: rust-libmimalloc-sys
Version: 0.1.47+dfsg-1
Severity: serious
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: riscv64
Dear maintainer,
the autopkgtests of rust-libmimalloc-sys fail:
127s error[E0425]: cannot find function `mi_malloc` in this scope
127s --> src/extended.rs:1020:28
127s |
127s 17 | pub fn mi_calloc(count: usize, size: usize) -> *mut c_void;
127s | -----------------------------------------------------------
similarly named function `mi_calloc` defined here
127s ...
127s 1020 | let ptr = unsafe { mi_malloc(32) } as *mut u8;
127s | ^^^^^^^^^
127s |
127s help: a function with a similar name exists
127s |
127s 1020 - let ptr = unsafe { mi_malloc(32) } as *mut u8;
127s 1020 + let ptr = unsafe { mi_calloc(32) } as *mut u8;
127s |
127s help: consider importing this function
127s |
127s 1016 + use crate::mi_malloc;
127s |
127s
127s For more information about this error, try `rustc --explain E0425`.
127s error: could not compile `libmimalloc-sys` (lib test) due to 1 previous
error
127s
127s Caused by:
127s process didn't exit successfully: `CARGO=/usr/bin/cargo
CARGO_CRATE_NAME=libmimalloc_sys
CARGO_MANIFEST_DIR=/usr/share/cargo/registry/libmimalloc-sys-0.1.40
CARGO_MANIFEST_PATH=/usr/share/cargo/registry/libmimalloc-sys-0.1.40/Cargo.toml
CARGO_PKG_AUTHORS='Octavian Oncescu <[email protected]>'
CARGO_PKG_DESCRIPTION='Sys crate wrapping the mimalloc allocator'
CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=libmimalloc-sys CARGO_PKG_README=''
CARGO_PKG_REPOSITORY='https://github.com/purpleprotocol/mimalloc_rust/tree/master/libmimalloc-sys'
CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.40 CARGO_PKG_VERSION_MAJOR=0
CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=40 CARGO_PKG_VERSION_PRE=''
CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/tmp/tmp.507VUezvIG/target/debug/deps
OUT_DIR=/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/build/libmimalloc-sys-c102f2a0c5e98212/out
rustc --crate-name libmimalloc_sys --edition=2018 src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat
--emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg
'feature="arena"' --cfg 'feature="cty"' --cfg 'feature="extended"' --cfg
'feature="secure"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature,
values("arena", "cty", "extended", "secure"))' -C metadata=f3a36e8f116d61f1 -C
extra-filename=-a656d63922750d93 --out-dir
/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/deps --target
riscv64gc-unknown-linux-gnu -C
incremental=/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/incremental
-L
dependency=/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/deps -L
dependency=/tmp/tmp.507VUezvIG/target/debug/deps --extern
cty=/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/deps/libcty-1b05055fa781f71d.rlib
--extern
libc=/tmp/tmp.507VUezvIG/target/riscv64gc-unknown-linux-gnu/debug/deps/liblibc-23125869910bcf7c.rlib
-C debuginfo=2 -C strip=none --cap-lints warn -C linker=riscv64-linux-gnu-gcc
-C link-arg=-Wl,-z,relro --remap-path-prefix
/usr/share/cargo/registry/libmimalloc-sys-0.1.40=/usr/share/cargo/registry/libmimalloc-sys-0.1.40
--remap-path-prefix /tmp/tmp.507VUezvIG/registry=/usr/share/cargo/registry -l
mimalloc` (exit status: 1)
128s autopkgtest [05:06:27]: test rust-libmimalloc-sys:@:
-----------------------]
See
https://ci.debian.net/packages/r/rust-libmimalloc-sys/testing/riscv64/70743830/
for details.
Cheers
--
Sebastian Ramacher