System V shared memory APIs (2nd draft) #2314
Open
Cirrus CI / FreeBSD 14 amd64 & i686
failed
Mar 26, 2024 in 1m 34s
Task Summary
Instruction build failed in 01:14
Details
✅ 00:02 clone
✅ 00:15 setup
❌ 01:14 build
Compiling thiserror-impl v1.0.58
Compiling errno v0.3.8
Compiling scopeguard v1.2.0
Compiling semver v1.0.22
Compiling smallvec v1.13.2
Compiling ppv-lite86 v0.2.17
Compiling rand_chacha v0.3.1
Compiling byteorder v1.5.0
Compiling pin-utils v0.1.0
Compiling fastrand v2.0.2
Compiling bitflags v1.3.2
Compiling sysctl v0.4.6
Compiling tempfile v3.10.1
Compiling parking_lot v0.12.1
Compiling rand v0.8.5
Compiling assert-impl v0.1.3
error[E0308]: mismatched types
--> test/sys/test_shm.rs:28:13
|
27 | let shm = Shm::<TestData>::create_and_connect(
| ----------------------------------- arguments to this function are incorrect
28 | SHM_TEST,
| ^^^^^^^^ expected `i64`, found `i32`
|
note: associated function defined here
--> /tmp/cirrus-ci-build/src/sys/shm.rs:101:12
|
101 | pub fn create_and_connect(key: key_t, mode: Mode) -> Result<Self> {
| ^^^^^^^^^^^^^^^^^^
help: you can convert an `i32` to an `i64`
|
28 | SHM_TEST.into(),
| +++++++
error[E0308]: mismatched types
--> test/sys/test_shm.rs:88:13
|
87 | Shm::<TestData>::shmget(
| ----------------------- arguments to this function are incorrect
88 | SHM_TEST,
| ^^^^^^^^ expected `i64`, found `i32`
|
note: associated function defined here
--> /tmp/cirrus-ci-build/src/sys/shm.rs:186:19
|
186 | pub unsafe fn shmget(
| ^^^^^^
help: you can convert an `i32` to an `i64`
|
88 | SHM_TEST.into(),
| +++++++
For more information about this error, try `rustc --explain E0308`.
error: could not compile `nix` due to 2 previous errors
Exit status: 101
Loading