[INFO] fetching crate elektra 0.11.1... [INFO] checking elektra-0.11.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate elektra 0.11.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate elektra 0.11.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elektra 0.11.1 [INFO] finished tweaking crates.io crate elektra 0.11.1 [INFO] tweaked toml for crates.io crate elektra 0.11.1 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" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.66.1 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded elektra-sys v0.11.1 [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dba42b20a7a46d6db83961448a6e45941653c94fd9d80eb36344514e3487af06 [INFO] running `Command { std: "docker" "start" "-a" "dba42b20a7a46d6db83961448a6e45941653c94fd9d80eb36344514e3487af06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dba42b20a7a46d6db83961448a6e45941653c94fd9d80eb36344514e3487af06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba42b20a7a46d6db83961448a6e45941653c94fd9d80eb36344514e3487af06", kill_on_drop: false }` [INFO] [stdout] dba42b20a7a46d6db83961448a6e45941653c94fd9d80eb36344514e3487af06 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4f77a9a47dec64ec27a1fad8c57c8fc015e631d963a566df1a68bc57f35b33d [INFO] running `Command { std: "docker" "start" "-a" "c4f77a9a47dec64ec27a1fad8c57c8fc015e631d963a566df1a68bc57f35b33d", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling elektra-sys v0.11.1 [INFO] [stderr] Checking elektra v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | _marker: std::marker::PhantomData<&'a mut elektra_sys::Key>, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | _marker: std::marker::PhantomData<&'a mut elektra_sys::Key>, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CopyOption: elektra_sys::elektraCopyFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_NAME` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | const KEY_CP_NAME = elektra_sys::KEY_CP_NAME as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:58:70 [INFO] [stdout] | [INFO] [stdout] 58 | const KEY_CP_NAME = elektra_sys::KEY_CP_NAME as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_STRING` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | const KEY_CP_STRING = elektra_sys::KEY_CP_STRING as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:60:74 [INFO] [stdout] | [INFO] [stdout] 60 | const KEY_CP_STRING = elektra_sys::KEY_CP_STRING as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_VALUE` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | const KEY_CP_VALUE = elektra_sys::KEY_CP_VALUE as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:62:72 [INFO] [stdout] | [INFO] [stdout] 62 | const KEY_CP_VALUE = elektra_sys::KEY_CP_VALUE as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_META` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | const KEY_CP_META = elektra_sys::KEY_CP_META as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:64:70 [INFO] [stdout] | [INFO] [stdout] 64 | const KEY_CP_META = elektra_sys::KEY_CP_META as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:66:118 [INFO] [stdout] | [INFO] [stdout] 66 | const KEY_CP_ALL = Self::KEY_CP_NAME.bits | Self::KEY_CP_VALUE.bits | Self::KEY_CP_META.bits as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | impl AsRef for $t { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDel` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { elektra_sys::keyDel(self.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | impl AsRef for $t { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDel` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { elektra_sys::keyDel(self.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyUnescapedName` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | let name_ptr = unsafe { elektra_sys::keyUnescapedName(self.key.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetString` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | unsafe { elektra_sys::keySetString(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyString` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 177 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyString(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopy` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | elektra_sys::keyCopy( [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | elektra_sys::keyNew (name.as_ptr(), elektra_sys::KEY_END), [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | options.bits() as elektra_sys::elektraCopyFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetUnescapedNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | elektra_sys::keySetBinary(self.as_ptr(), std::ptr::null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | elektra_sys::keySetBinary( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | elektra_sys::keyGetBinary( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopy` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | elektra_sys::keyCopy( [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | elektra_sys::keyNew (name.as_ptr(), elektra_sys::KEY_END), [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:253:48 [INFO] [stdout] | [INFO] [stdout] 253 | options.bits() as elektra_sys::elektraCopyFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetUnescapedNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> StringKey<'a> { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:291:47 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> BinaryKey<'a> { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | fn as_ptr(&mut self) -> *mut elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | fn as_ptr(&mut self) -> *mut elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> Self [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyName` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyName(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyBaseName(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetBaseNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { elektra_sys::keyGetBaseNameSize(self.as_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetRef` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { elektra_sys::keyGetRef(self.as_ref()) } [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetNamespace` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { elektra_sys::keyGetNamespace(self.as_ref()) as u32 } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_SPEC` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | self.namespace() == elektra_sys::KEY_NS_SPEC [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_DIR` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | self.namespace() == elektra_sys::KEY_NS_DIR [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_PROC` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | self.namespace() == elektra_sys::KEY_NS_PROC [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_USER` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | self.namespace() == elektra_sys::KEY_NS_USER [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_SYSTEM` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | self.namespace() == elektra_sys::KEY_NS_SYSTEM [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_CASCADING` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | self.namespace() == elektra_sys::KEY_NS_CASCADING [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetValueSize` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | let ret_val = unsafe { elektra_sys::keyGetValueSize(self.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsBinary` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { elektra_sys::keyIsBinary(self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsString` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { elektra_sys::keyIsString(self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsBelow` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe { elektra_sys::keyIsBelow(other.as_ref(), self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsDirectlyBelow` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | unsafe { elektra_sys::keyIsDirectlyBelow(other.as_ref(), self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | let key_ptr = unsafe { elektra_sys::keyGetMeta(self.as_ref(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:215:105 [INFO] [stdout] | [INFO] [stdout] 215 | let key: ReadOnly> = unsafe { ReadOnly::from_ptr(key_ptr as *mut elektra_sys::Key) }; [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> Self { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsRef for ReadOnly { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | fn as_ptr(&mut self) -> *mut elektra_sys::Key; [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | let key_ptr = unsafe { elektra_sys::keyNew(cstr.as_ptr(), elektra_sys::KEY_END) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIncRef` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | elektra_sys::keyIncRef(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDecRef` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | elektra_sys::keyDecRef(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyClear` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | elektra_sys::keyClear(self.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | let ret_val = unsafe { elektra_sys::keySetName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | let ret_val = unsafe { elektra_sys::keySetBaseName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyAddBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | let ret_val = unsafe { elektra_sys::keyAddBaseName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyAddName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | let ret_val = unsafe { elektra_sys::keyAddName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopyAllMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | elektra_sys::keyCopyAllMeta(self.as_ptr(), source.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopyMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { elektra_sys::keyCopyMeta(self.as_ptr(), source.as_ref(), cstr.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:288:35 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { elektra_sys::keySetMeta(self.as_ptr(), name.as_ptr(), value.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:305:35 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe { elektra_sys::keySetMeta(self.as_ptr(), name.as_ptr(), std::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | ptr: std::ptr::NonNull, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - ptr: std::ptr::NonNull, [INFO] [stdout] 62 + ptr: std::ptr::NonNull, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | _marker: std::marker::PhantomData, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - _marker: std::marker::PhantomData, [INFO] [stdout] 63 + _marker: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub type Cursor = elektra_sys::elektraCursor; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct LookupOption: elektra_sys::elektraLookupFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KDB_O_NONE` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | const KDB_O_NONE = elektra_sys::KDB_O_NONE as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | const KDB_O_NONE = elektra_sys::KDB_O_NONE as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KDB_O_POP` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | const KDB_O_POP = elektra_sys::KDB_O_POP as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | const KDB_O_POP = elektra_sys::KDB_O_POP as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksDel` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | elektra_sys::ksDel(self.as_ptr()); [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | impl AsRef for KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - impl AsRef for KeySet { [INFO] [stdout] 146 + impl AsRef for KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | fn as_ref(&self) -> &elektra_sys::KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - fn as_ref(&self) -> &elektra_sys::KeySet { [INFO] [stdout] 147 + fn as_ref(&self) -> &KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:158:51 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn as_ptr(&mut self) -> *mut elektra_sys::KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 158 - pub fn as_ptr(&mut self) -> *mut elektra_sys::KeySet { [INFO] [stdout] 158 + pub fn as_ptr(&mut self) -> *mut KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksNew` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:167:44 [INFO] [stdout] | [INFO] [stdout] 167 | let ks_ptr = unsafe { elektra_sys::ksNew(0, elektra_sys::KS_END) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksNew` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | let ks_ptr = unsafe { elektra_sys::ksNew(capacity, elektra_sys::KS_END) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | unsafe fn from_ptr(keyset_ptr: *mut elektra_sys::KeySet) -> KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - unsafe fn from_ptr(keyset_ptr: *mut elektra_sys::KeySet) -> KeySet { [INFO] [stdout] 185 + unsafe fn from_ptr(keyset_ptr: *mut KeySet) -> KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAppend` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { elektra_sys::ksAppend(self.as_ptr(), to_append.as_ref()) } [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAppendKey` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 202 | let ret_val = unsafe { elektra_sys::ksAppendKey(self.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksDup` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | let ks_ptr = unsafe { elektra_sys::ksDup(self.as_ref()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCopy` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { elektra_sys::ksCopy(self.as_ptr(), source.as_ref()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksGetSize` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe { elektra_sys::ksGetSize(self.as_ref()).try_into().unwrap() } [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksRewind` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | elektra_sys::ksRewind(self.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksPop` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | let key_ptr = unsafe { elektra_sys::ksPop(self.as_ptr()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCut` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | let ks_ptr = unsafe { elektra_sys::ksCut(self.as_ptr(), cut_point.as_ref()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), 0) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCurrent` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:307:45 [INFO] [stdout] | [INFO] [stdout] 307 | let key_ptr = unsafe { elektra_sys::ksCurrent(self.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:318:45 [INFO] [stdout] | [INFO] [stdout] 318 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), (self.size() - 1).try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ptr(), cursor) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksLookup` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | elektra_sys::ksLookup( [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:370:48 [INFO] [stdout] | [INFO] [stdout] 370 | options.bits() as elektra_sys::elektraLookupFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | elektra_sys::ksAtCursor( [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:435:60 [INFO] [stdout] | [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] 435 + keyset.as_ref() as *const KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:435:88 [INFO] [stdout] | [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] 435 + keyset.as_ref() as *const elektra_sys::KeySet as *mut KeySet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - ptr: NonNull, [INFO] [stdout] 13 + ptr: NonNull, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | _marker: std::marker::PhantomData, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - _marker: std::marker::PhantomData, [INFO] [stdout] 14 + _marker: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbClose` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | elektra_sys::kdbClose(self.as_ptr(), err_key.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbOpen` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | Some(mut contract) => unsafe { elektra_sys::kdbOpen(contract.as_ptr(), key.as_ptr()) }, [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbOpen` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | None => unsafe { elektra_sys::kdbOpen(std::ptr::null_mut(), key.as_ptr()) }, [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | _marker: std::marker::PhantomData<&'a mut elektra_sys::Key>, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:50:60 [INFO] [stdout] | [INFO] [stdout] 50 | _marker: std::marker::PhantomData<&'a mut elektra_sys::Key>, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct CopyOption: elektra_sys::elektraCopyFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_NAME` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | const KEY_CP_NAME = elektra_sys::KEY_CP_NAME as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:58:70 [INFO] [stdout] | [INFO] [stdout] 58 | const KEY_CP_NAME = elektra_sys::KEY_CP_NAME as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_STRING` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | const KEY_CP_STRING = elektra_sys::KEY_CP_STRING as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:60:74 [INFO] [stdout] | [INFO] [stdout] 60 | const KEY_CP_STRING = elektra_sys::KEY_CP_STRING as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_VALUE` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | const KEY_CP_VALUE = elektra_sys::KEY_CP_VALUE as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:62:72 [INFO] [stdout] | [INFO] [stdout] 62 | const KEY_CP_VALUE = elektra_sys::KEY_CP_VALUE as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_CP_META` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | const KEY_CP_META = elektra_sys::KEY_CP_META as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:64:70 [INFO] [stdout] | [INFO] [stdout] 64 | const KEY_CP_META = elektra_sys::KEY_CP_META as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbGet` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let ret_val = unsafe { elektra_sys::kdbGet(self.as_ptr(), keyset.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbSet` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let ret_val = unsafe { elektra_sys::kdbSet(self.as_ptr(), keyset.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn as_ptr(&mut self) -> *mut elektra_sys::KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - pub fn as_ptr(&mut self) -> *mut elektra_sys::KDB { [INFO] [stdout] 98 + pub fn as_ptr(&mut self) -> *mut KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | impl AsRef for KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 103 - impl AsRef for KDB { [INFO] [stdout] 103 + impl AsRef for KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | fn as_ref(&self) -> &elektra_sys::KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - fn as_ref(&self) -> &elektra_sys::KDB { [INFO] [stdout] 104 + fn as_ref(&self) -> &KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:66:118 [INFO] [stdout] | [INFO] [stdout] 66 | const KEY_CP_ALL = Self::KEY_CP_NAME.bits | Self::KEY_CP_VALUE.bits | Self::KEY_CP_META.bits as elektra_sys::elektraCopyFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | impl AsRef for $t { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDel` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { elektra_sys::keyDel(self.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCmp` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | elektra_sys::keyCmp( [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | impl AsRef for $t { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDel` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | unsafe { elektra_sys::keyDel(self.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyUnescapedName` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:154:46 [INFO] [stdout] | [INFO] [stdout] 154 | let name_ptr = unsafe { elektra_sys::keyUnescapedName(self.key.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetString` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | unsafe { elektra_sys::keySetString(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyString` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:177:58 [INFO] [stdout] | [INFO] [stdout] 177 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyString(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopy` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | elektra_sys::keyCopy( [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | elektra_sys::keyNew (name.as_ptr(), elektra_sys::KEY_END), [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | options.bits() as elektra_sys::elektraCopyFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetUnescapedNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | elektra_sys::keySetBinary(self.as_ptr(), std::ptr::null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:218:30 [INFO] [stdout] | [INFO] [stdout] 218 | elektra_sys::keySetBinary( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetBinary` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | elektra_sys::keyGetBinary( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopy` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:250:26 [INFO] [stdout] | [INFO] [stdout] 250 | elektra_sys::keyCopy( [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | elektra_sys::keyNew (name.as_ptr(), elektra_sys::KEY_END), [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCopyFlags` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:253:48 [INFO] [stdout] | [INFO] [stdout] 253 | options.bits() as elektra_sys::elektraCopyFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetUnescapedNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> StringKey<'a> { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:291:47 [INFO] [stdout] | [INFO] [stdout] 291 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> BinaryKey<'a> { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:306:47 [INFO] [stdout] | [INFO] [stdout] 306 | fn as_ptr(&mut self) -> *mut elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/key.rs:317:47 [INFO] [stdout] | [INFO] [stdout] 317 | fn as_ptr(&mut self) -> *mut elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> Self [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyName` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:31:58 [INFO] [stdout] | [INFO] [stdout] 31 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyName(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyBaseName(self.as_ref())) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetBaseNameSize` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { elektra_sys::keyGetBaseNameSize(self.as_ref()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetRef` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { elektra_sys::keyGetRef(self.as_ref()) } [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetNamespace` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe { elektra_sys::keyGetNamespace(self.as_ref()) as u32 } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_SPEC` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | self.namespace() == elektra_sys::KEY_NS_SPEC [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_DIR` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | self.namespace() == elektra_sys::KEY_NS_DIR [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_PROC` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | self.namespace() == elektra_sys::KEY_NS_PROC [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_USER` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:87:42 [INFO] [stdout] | [INFO] [stdout] 87 | self.namespace() == elektra_sys::KEY_NS_USER [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_SYSTEM` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | self.namespace() == elektra_sys::KEY_NS_SYSTEM [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NS_CASCADING` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | self.namespace() == elektra_sys::KEY_NS_CASCADING [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetValueSize` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | let ret_val = unsafe { elektra_sys::keyGetValueSize(self.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsBinary` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | unsafe { elektra_sys::keyIsBinary(self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsString` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { elektra_sys::keyIsString(self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsBelow` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe { elektra_sys::keyIsBelow(other.as_ref(), self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIsDirectlyBelow` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | unsafe { elektra_sys::keyIsDirectlyBelow(other.as_ref(), self.as_ref()) == 1 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyGetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | let key_ptr = unsafe { elektra_sys::keyGetMeta(self.as_ref(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readable.rs:215:105 [INFO] [stdout] | [INFO] [stdout] 215 | let key: ReadOnly> = unsafe { ReadOnly::from_ptr(key_ptr as *mut elektra_sys::Key) }; [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe fn from_ptr(ptr: *mut elektra_sys::Key) -> Self { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | impl AsRef for ReadOnly { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/readonly.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_ref(&self) -> &elektra_sys::Key { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | fn as_ptr(&mut self) -> *mut elektra_sys::Key; [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyNew` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | let key_ptr = unsafe { elektra_sys::keyNew(cstr.as_ptr(), elektra_sys::KEY_END) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyIncRef` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | elektra_sys::keyIncRef(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyDecRef` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | elektra_sys::keyDecRef(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyClear` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | elektra_sys::keyClear(self.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | let ret_val = unsafe { elektra_sys::keySetName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:169:45 [INFO] [stdout] | [INFO] [stdout] 169 | let ret_val = unsafe { elektra_sys::keySetBaseName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyAddBaseName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | let ret_val = unsafe { elektra_sys::keyAddBaseName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyAddName` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:223:45 [INFO] [stdout] | [INFO] [stdout] 223 | let ret_val = unsafe { elektra_sys::keyAddName(self.as_ptr(), cstr.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopyAllMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:252:26 [INFO] [stdout] | [INFO] [stdout] 252 | elektra_sys::keyCopyAllMeta(self.as_ptr(), source.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keyCopyMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | unsafe { elektra_sys::keyCopyMeta(self.as_ptr(), source.as_ref(), cstr.as_ptr()) } [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:288:35 [INFO] [stdout] | [INFO] [stdout] 288 | unsafe { elektra_sys::keySetMeta(self.as_ptr(), name.as_ptr(), value.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keySetMeta` in crate `elektra_sys` [INFO] [stdout] --> src/writeable.rs:305:35 [INFO] [stdout] | [INFO] [stdout] 305 | unsafe { elektra_sys::keySetMeta(self.as_ptr(), name.as_ptr(), std::ptr::null()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | ptr: std::ptr::NonNull, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - ptr: std::ptr::NonNull, [INFO] [stdout] 62 + ptr: std::ptr::NonNull, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | _marker: std::marker::PhantomData, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 63 - _marker: std::marker::PhantomData, [INFO] [stdout] 63 + _marker: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | pub type Cursor = elektra_sys::elektraCursor; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct LookupOption: elektra_sys::elektraLookupFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KDB_O_NONE` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | const KDB_O_NONE = elektra_sys::KDB_O_NONE as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:74:68 [INFO] [stdout] | [INFO] [stdout] 74 | const KDB_O_NONE = elektra_sys::KDB_O_NONE as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KDB_O_POP` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | const KDB_O_POP = elektra_sys::KDB_O_POP as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | const KDB_O_POP = elektra_sys::KDB_O_POP as elektra_sys::elektraLookupFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksDel` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | elektra_sys::ksDel(self.as_ptr()); [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | impl AsRef for KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - impl AsRef for KeySet { [INFO] [stdout] 146 + impl AsRef for KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:147:39 [INFO] [stdout] | [INFO] [stdout] 147 | fn as_ref(&self) -> &elektra_sys::KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - fn as_ref(&self) -> &elektra_sys::KeySet { [INFO] [stdout] 147 + fn as_ref(&self) -> &KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:158:51 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn as_ptr(&mut self) -> *mut elektra_sys::KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 158 - pub fn as_ptr(&mut self) -> *mut elektra_sys::KeySet { [INFO] [stdout] 158 + pub fn as_ptr(&mut self) -> *mut KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksNew` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:167:44 [INFO] [stdout] | [INFO] [stdout] 167 | let ks_ptr = unsafe { elektra_sys::ksNew(0, elektra_sys::KS_END) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksNew` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:177:44 [INFO] [stdout] | [INFO] [stdout] 177 | let ks_ptr = unsafe { elektra_sys::ksNew(capacity, elektra_sys::KS_END) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:185:54 [INFO] [stdout] | [INFO] [stdout] 185 | unsafe fn from_ptr(keyset_ptr: *mut elektra_sys::KeySet) -> KeySet { [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - unsafe fn from_ptr(keyset_ptr: *mut elektra_sys::KeySet) -> KeySet { [INFO] [stdout] 185 + unsafe fn from_ptr(keyset_ptr: *mut KeySet) -> KeySet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAppend` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { elektra_sys::ksAppend(self.as_ptr(), to_append.as_ref()) } [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAppendKey` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 202 | let ret_val = unsafe { elektra_sys::ksAppendKey(self.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksDup` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | let ks_ptr = unsafe { elektra_sys::ksDup(self.as_ref()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCopy` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe { elektra_sys::ksCopy(self.as_ptr(), source.as_ref()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksGetSize` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe { elektra_sys::ksGetSize(self.as_ref()).try_into().unwrap() } [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksRewind` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | elektra_sys::ksRewind(self.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksPop` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | let key_ptr = unsafe { elektra_sys::ksPop(self.as_ptr()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCut` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | let ks_ptr = unsafe { elektra_sys::ksCut(self.as_ptr(), cut_point.as_ref()) }; [INFO] [stdout] | ^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), 0) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksCurrent` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:307:45 [INFO] [stdout] | [INFO] [stdout] 307 | let key_ptr = unsafe { elektra_sys::ksCurrent(self.as_ref()) }; [INFO] [stdout] | ^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:318:45 [INFO] [stdout] | [INFO] [stdout] 318 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), (self.size() - 1).try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ptr(), cursor) }; [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksLookup` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:367:26 [INFO] [stdout] | [INFO] [stdout] 367 | elektra_sys::ksLookup( [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elektraLookupFlags` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:370:48 [INFO] [stdout] | [INFO] [stdout] 370 | options.bits() as elektra_sys::elektraLookupFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ksAtCursor` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | elektra_sys::ksAtCursor( [INFO] [stdout] | ^^^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:435:60 [INFO] [stdout] | [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] 435 + keyset.as_ref() as *const KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeySet` in crate `elektra_sys` [INFO] [stdout] --> src/keyset.rs:435:88 [INFO] [stdout] | [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 55 + use crate::KeySet; [INFO] [stdout] | [INFO] [stdout] help: if you import `KeySet`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] 435 + keyset.as_ref() as *const elektra_sys::KeySet as *mut KeySet, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | ptr: NonNull, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - ptr: NonNull, [INFO] [stdout] 13 + ptr: NonNull, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | _marker: std::marker::PhantomData, [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 14 - _marker: std::marker::PhantomData, [INFO] [stdout] 14 + _marker: std::marker::PhantomData, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbClose` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | elektra_sys::kdbClose(self.as_ptr(), err_key.as_ptr()); [INFO] [stdout] | ^^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbOpen` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | Some(mut contract) => unsafe { elektra_sys::kdbOpen(contract.as_ptr(), key.as_ptr()) }, [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbOpen` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | None => unsafe { elektra_sys::kdbOpen(std::ptr::null_mut(), key.as_ptr()) }, [INFO] [stdout] | ^^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbGet` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let ret_val = unsafe { elektra_sys::kdbGet(self.as_ptr(), keyset.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kdbSet` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | let ret_val = unsafe { elektra_sys::kdbSet(self.as_ptr(), keyset.as_ptr(), key.as_ptr()) }; [INFO] [stdout] | ^^^^^^ not found in `elektra_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn as_ptr(&mut self) -> *mut elektra_sys::KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - pub fn as_ptr(&mut self) -> *mut elektra_sys::KDB { [INFO] [stdout] 98 + pub fn as_ptr(&mut self) -> *mut KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | impl AsRef for KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 103 - impl AsRef for KDB { [INFO] [stdout] 103 + impl AsRef for KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KDB` in crate `elektra_sys` [INFO] [stdout] --> src/kdb.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | fn as_ref(&self) -> &elektra_sys::KDB { [INFO] [stdout] | ^^^ not found in `elektra_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 5 + use crate::KDB; [INFO] [stdout] | [INFO] [stdout] help: if you import `KDB`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - fn as_ref(&self) -> &elektra_sys::KDB { [INFO] [stdout] 104 + fn as_ref(&self) -> &KDB { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/kdb.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct KDBError<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 78 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 79 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 91 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 92 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 78 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 79 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 91 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 92 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:177:73 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 177 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyString(self.as_ref())) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/kdb.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct KDBError<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 187 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 200 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 233 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 252 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 265 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 78 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:194:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 194 | unsafe { elektra_sys::ksAppend(self.as_ptr(), to_append.as_ref()) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 79 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 91 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:210:55 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 210 | let ks_ptr = unsafe { elektra_sys::ksDup(self.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 92 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 138 | add_traits!(StringKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 217 | unsafe { elektra_sys::ksCopy(self.as_ptr(), source.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe { elektra_sys::ksGetSize(self.as_ref()).try_into().unwrap() } [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 78 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 79 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:285:75 [INFO] [stdout] | [INFO] [stdout] 285 | let ks_ptr = unsafe { elektra_sys::ksCut(self.as_ptr(), cut_point.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 91 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 296 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), 0) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 92 | other.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] ... [INFO] [stdout] 139 | add_traits!(BinaryKey<'_>); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] = note: this error originates in the macro `add_traits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:307:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 307 | let key_ptr = unsafe { elektra_sys::ksCurrent(self.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:318:61 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 318 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), (self.size() - 1).try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:177:73 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 177 | let c_str = unsafe { CStr::from_ptr(elektra_sys::keyString(self.as_ref())) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 187 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:435:28 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `KeySet: AsRef<_>` [INFO] [stdout] which is required by `&KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 200 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 233 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 252 | self.as_ref(), [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&BinaryKey<'a>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:265:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 265 | elektra_sys::keyGetUnescapedNameSize(self.as_ref()) [INFO] [stdout] | ^^^^^^ method cannot be called on `&BinaryKey<'a>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::BinaryKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/kdb.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | meta.value().to_owned().to_string() [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `ReadOnly>: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:416:44 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 416 | let key = StringKey::new(key_name).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:424:59 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 424 | let mut key: StringKey = StringKey::new(key_name).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:435:48 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 435 | let key = StringKey::new(key_name).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 145 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:444:57 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 444 | let mut key = BinaryKey::new("user:/test/rust").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:452:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 452 | let mut key = BinaryKey::new("user:/test/binary").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:462:58 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 462 | let key = BinaryKey::new("user:/test/exclusive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:463:58 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 463 | let key2 = BinaryKey::new("dir:/test/exclusive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:474:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 474 | let key = StringKey::new("user:/test/reflexive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elektra` (lib) due to 146 previous errors [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:480:58 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 480 | let key = BinaryKey::new("user:/test/symmetric").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:481:62 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 481 | let key_dup = BinaryKey::new("user:/test/symmetric").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:489:59 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 489 | let key = BinaryKey::new("user:/test/transitive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:490:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 490 | let key2 = BinaryKey::new("user:/test/transitive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:491:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 491 | let key3 = BinaryKey::new("user:/test/transitive").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:500:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 500 | let key = BinaryKey::new("user:/test/a").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:501:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 501 | let key2 = BinaryKey::new("user:/test/b").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:502:51 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 502 | let key3 = BinaryKey::new("user:/test/c").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:518:54 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BinaryKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::BinaryKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 518 | let mut key = BinaryKey::new("user:/test/a").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::BinaryKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:528:57 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 528 | let key = StringKey::new("user:/test/metatest").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:536:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 536 | assert_eq!(meta_key.value(), "metaval"); [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:573:53 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 573 | let key = StringKey::new("user:/test/cast").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `enumerate` exists for struct `NameIter<'_, StringKey<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:585:42 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 142 | pub struct NameIter<'a, T: ReadableKey> { [INFO] [stdout] | --------------------------------------- method `enumerate` not found for this struct because it doesn't satisfy `NameIter<'_, key::StringKey<'_>>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 585 | for (i, name) in key.name_iter().enumerate().skip(1) { [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `NameIter<'_, StringKey<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/key.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, T: ReadableKey> Iterator for NameIter<'a, T> { [INFO] [stdout] | ^ -------- --------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `NameIter<'_, key::StringKey<'_>>: Iterator` [INFO] [stdout] which is required by `&mut NameIter<'_, key::StringKey<'_>>: Iterator` [INFO] [stdout] note: the traits `Iterator` and `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/iter/traits/iterator.rs:44:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `enumerate`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, T: ?Sized + ReadableKey> Iterator for NameIter<'a, T> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `NameIter<'_, StringKey<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/key.rs:593:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] ... [INFO] [stdout] 142 | pub struct NameIter<'a, T: ReadableKey> { [INFO] [stdout] | --------------------------------------- method `next` not found for this struct because it doesn't satisfy `NameIter<'_, key::StringKey<'_>>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 593 | assert_eq!(iter.next().unwrap(), "\u{1}"); // TODO: use KEY_NS_CASCADING instead of hardcoded value [INFO] [stdout] | ^^^^ method cannot be called on `NameIter<'_, StringKey<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/key.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, T: ReadableKey> Iterator for NameIter<'a, T> { [INFO] [stdout] | ^ -------- --------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `next`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] | [INFO] [stdout] 148 | impl<'a, T: ?Sized + ReadableKey> Iterator for NameIter<'a, T> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keybuilder.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(key.meta("OWNER").unwrap().value(), "me"); [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keybuilder.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(key.meta("metaname").unwrap().value(), "metavalue"); [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:194:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 194 | unsafe { elektra_sys::ksAppend(self.as_ptr(), to_append.as_ref()) } [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:210:55 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 210 | let ks_ptr = unsafe { elektra_sys::ksDup(self.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:217:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 217 | unsafe { elektra_sys::ksCopy(self.as_ptr(), source.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe { elektra_sys::ksGetSize(self.as_ref()).try_into().unwrap() } [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&StringKey<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:285:75 [INFO] [stdout] | [INFO] [stdout] 285 | let ks_ptr = unsafe { elektra_sys::ksCut(self.as_ptr(), cut_point.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&StringKey<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `key::StringKey<'_>: AsRef<_>` [INFO] [stdout] which is required by `&key::StringKey<'_>: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:296:61 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 296 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), 0) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:307:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 307 | let key_ptr = unsafe { elektra_sys::ksCurrent(self.as_ref()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:318:61 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 318 | let key_ptr = unsafe { elektra_sys::ksAtCursor(self.as_ref(), (self.size() - 1).try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&KeySet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:435:28 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct KeySet { [INFO] [stdout] | ----------------- doesn't satisfy `keyset::KeySet: AsRef<_>` [INFO] [stdout] ... [INFO] [stdout] 435 | keyset.as_ref() as *const elektra_sys::KeySet as *mut elektra_sys::KeySet, [INFO] [stdout] | ^^^^^^ method cannot be called on `&KeySet` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `keyset::KeySet: AsRef<_>` [INFO] [stdout] which is required by `&keyset::KeySet: AsRef<_>` [INFO] [stdout] note: the trait `AsRef` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:218:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `as_ref`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AsRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:492:38 [INFO] [stdout] | [INFO] [stdout] 492 | KeyBuilder::::new("user:/sw/org/app/bool")? [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:499:34 [INFO] [stdout] | [INFO] [stdout] 499 | let head = ks.head().unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:503:34 [INFO] [stdout] | [INFO] [stdout] 503 | let head = ks.head().unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:515:38 [INFO] [stdout] | [INFO] [stdout] 515 | KeyBuilder::::new(names[0])? [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:518:38 [INFO] [stdout] | [INFO] [stdout] 518 | KeyBuilder::::new(names[1])? [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:521:38 [INFO] [stdout] | [INFO] [stdout] 521 | KeyBuilder::::new(names[2])? [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:538:28 [INFO] [stdout] | [INFO] [stdout] 538 | assert_eq!(key.value(), new_values[i]); [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `name` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:539:28 [INFO] [stdout] | [INFO] [stdout] 539 | assert_eq!(key.name(), names[i]); [INFO] [stdout] | ^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `name` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `name`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:551:54 [INFO] [stdout] | [INFO] [stdout] 551 | let key = StringKey::new("user:/key/k2").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:554:39 [INFO] [stdout] | [INFO] [stdout] 554 | popped_key = keyset.pop().unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_none` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:564:19 [INFO] [stdout] | [INFO] [stdout] 564 | assert!(p.is_none()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:572:38 [INFO] [stdout] | [INFO] [stdout] 572 | KeyBuilder::::new(names[0]) [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:576:38 [INFO] [stdout] | [INFO] [stdout] 576 | KeyBuilder::::new(names[1]) [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:598:50 [INFO] [stdout] | [INFO] [stdout] 598 | let k = StringKey::new("user:/test/key").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:604:30 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(ks.head().unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:605:30 [INFO] [stdout] | [INFO] [stdout] 605 | assert_eq!(ks.head().unwrap().value(), ""); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:612:33 [INFO] [stdout] | [INFO] [stdout] 612 | assert_eq!(ksext.head().unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:613:33 [INFO] [stdout] | [INFO] [stdout] 613 | assert_eq!(ksext.head().unwrap().value(), ""); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:619:54 [INFO] [stdout] | [INFO] [stdout] 619 | let lookup_key = StringKey::new("/test/key").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:621:28 [INFO] [stdout] | [INFO] [stdout] 621 | assert_eq!(ret_val.unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:623:30 [INFO] [stdout] | [INFO] [stdout] 623 | assert_eq!(ks.head().unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:624:30 [INFO] [stdout] | [INFO] [stdout] 624 | assert_eq!(ks.tail().unwrap().name(), "system:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:630:54 [INFO] [stdout] | [INFO] [stdout] 630 | let lookup_key = StringKey::new("/test/key").unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:632:24 [INFO] [stdout] | [INFO] [stdout] 632 | assert_eq!(key.unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:634:30 [INFO] [stdout] | [INFO] [stdout] 634 | assert_eq!(ks.head().unwrap().name(), "system:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:646:18 [INFO] [stdout] | [INFO] [stdout] 644 | key = ks [INFO] [stdout] | ___________________- [INFO] [stdout] 645 | | .lookup_by_name("/test/key", LookupOption::KDB_O_NONE) [INFO] [stdout] 646 | | .unwrap() [INFO] [stdout] | | -^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:649:34 [INFO] [stdout] | [INFO] [stdout] 649 | assert_eq!(ks.head().unwrap().name(), "user:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:650:34 [INFO] [stdout] | [INFO] [stdout] 650 | assert_eq!(ks.tail().unwrap().name(), "system:/test/key"); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:662:43 [INFO] [stdout] | [INFO] [stdout] 662 | StringKey::new("user:/test1").unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:663:43 [INFO] [stdout] | [INFO] [stdout] 663 | StringKey::new("user:/test2").unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:664:43 [INFO] [stdout] | [INFO] [stdout] 664 | StringKey::new("user:/test3").unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:665:43 [INFO] [stdout] | [INFO] [stdout] 665 | StringKey::new("user:/test4").unwrap() [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:668:45 [INFO] [stdout] | [INFO] [stdout] 668 | assert_eq!("user:/test1", ks.head().unwrap().name()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:669:45 [INFO] [stdout] | [INFO] [stdout] 669 | assert_eq!("user:/test4", ks.tail().unwrap().name()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `KeyBuilder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:672:38 [INFO] [stdout] | [INFO] [stdout] 672 | KeyBuilder::::new("user:/test1") [INFO] [stdout] | ^^^ function or associated item cannot be called on `KeyBuilder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/keybuilder.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct KeyBuilder { [INFO] [stdout] | -------------------------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `keybuilder::KeyBuilder>` consider using one of the following associated functions: [INFO] [stdout] keybuilder::KeyBuilder::::new [INFO] [stdout] keybuilder::KeyBuilder::::new_empty [INFO] [stdout] --> src/keybuilder.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `writeable::WriteableKey` defines an item `new`, perhaps you need to implement it [INFO] [stdout] --> src/writeable.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait WriteableKey: ReadableKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result, KeyNameInvalidError>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:680:43 [INFO] [stdout] | [INFO] [stdout] 680 | StringKey::new("user:/test2").unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result, KeyNameInvalidError>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:683:45 [INFO] [stdout] | [INFO] [stdout] 683 | assert_eq!("user:/test1", ks.head().unwrap().name()); [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/keyset.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | ks.head().unwrap().meta("metakey2").unwrap().value() [INFO] [stdout] | ^^^^^^ method cannot be called on `Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `key::StringKey<'_>: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `value` exists for struct `ReadOnly>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/kdb.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | meta.value().to_owned().to_string() [INFO] [stdout] | ^^^^^ method cannot be called on `ReadOnly>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct StringKey<'a> { [INFO] [stdout] | ------------------------ doesn't satisfy `key::StringKey<'_>: Sized` [INFO] [stdout] | [INFO] [stdout] ::: src/readonly.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadOnly { [INFO] [stdout] | ----------------------------------- method `value` not found for this struct because it doesn't satisfy `_: ReadableKey` [INFO] [stdout] | [INFO] [stdout] note: trait bound `key::StringKey<'_>: Sized` was not satisfied [INFO] [stdout] --> src/readonly.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ^ ----------- ----------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Sized` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/marker.rs:145:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `readable::ReadableKey` defines an item `value`, perhaps you need to implement it [INFO] [stdout] --> src/readable.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ReadableKey: AsRef + PartialEq + Eq + PartialOrd + Ord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the type parameter's implicit `Sized` bound [INFO] [stdout] --> src/readonly.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ReadableKey for ReadOnly { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 207 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elektra` (lib test) due to 208 previous errors [INFO] running `Command { std: "docker" "inspect" "c4f77a9a47dec64ec27a1fad8c57c8fc015e631d963a566df1a68bc57f35b33d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f77a9a47dec64ec27a1fad8c57c8fc015e631d963a566df1a68bc57f35b33d", kill_on_drop: false }` [INFO] [stdout] c4f77a9a47dec64ec27a1fad8c57c8fc015e631d963a566df1a68bc57f35b33d [INFO] checking elektra-0.11.1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate elektra 0.11.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate elektra 0.11.1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elektra 0.11.1 [INFO] finished tweaking crates.io crate elektra 0.11.1 [INFO] tweaked toml for crates.io crate elektra 0.11.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.66.1 (latest: v0.69.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26890a525250140d0fdbfb39668603c2f142eaf6f5fb3386d7136b017be5249f [INFO] running `Command { std: "docker" "start" "-a" "26890a525250140d0fdbfb39668603c2f142eaf6f5fb3386d7136b017be5249f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26890a525250140d0fdbfb39668603c2f142eaf6f5fb3386d7136b017be5249f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26890a525250140d0fdbfb39668603c2f142eaf6f5fb3386d7136b017be5249f", kill_on_drop: false }` [INFO] [stdout] 26890a525250140d0fdbfb39668603c2f142eaf6f5fb3386d7136b017be5249f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c29f45c5262fcec1a0ea68656c1eddf23c3dbe1bf1fc0424d775b5d919db47f1 [INFO] running `Command { std: "docker" "start" "-a" "c29f45c5262fcec1a0ea68656c1eddf23c3dbe1bf1fc0424d775b5d919db47f1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "c29f45c5262fcec1a0ea68656c1eddf23c3dbe1bf1fc0424d775b5d919db47f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c29f45c5262fcec1a0ea68656c1eddf23c3dbe1bf1fc0424d775b5d919db47f1", kill_on_drop: false }` [INFO] [stdout] c29f45c5262fcec1a0ea68656c1eddf23c3dbe1bf1fc0424d775b5d919db47f1