You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build with release flag with following flag cargo build --release --locked --target aarch64-apple-darwin, I'm getting compile error.
While building without --release flag works.
I get error following error message:
cargo build --release --locked --target aarch64-apple-darwin
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling surrealdb-core v2.0.0-1.5.0 (/User/surrealdb/core)
error[E0425]: cannot find value `k` in this scope
--> core/src/kvs/lq_cf.rs:44:44
|
44 | if self.local_live_queries.contains_key(&k) {
| ^ help: a tuple variant with a similar name exists: `Ok`
|
::: /Users/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:506:5
|
506 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| -- similarly named tuple variant `Ok` defined here
error[E0425]: cannot find value `k` in this scope
--> core/src/kvs/lq_cf.rs:48:18
|
48 | let selector = k.selector.clone();
| ^ help: a tuple variant with a similar name exists: `Ok`
|
::: /Users/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:506:5
|
506 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| -- similarly named tuple variant `Ok` defined here
error[E0425]: cannot find value `k` in this scope
--> core/src/kvs/lq_cf.rs:49:34
|
49 | self.local_live_queries.insert(k, v);
| ^ help: a tuple variant with a similar name exists: `Ok`
|
::: /Users/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:506:5
|
506 | Ok(#[stable(feature = "rust1", since = "1.0.0")] T),
| -- similarly named tuple variant `Ok` defined here
For more information about this error, try `rustc --explain E0425`.
error: could not compile `surrealdb-core` (lib) due to 3 previous errors
Steps to reproduce
Try to build with release flag.
Expected behaviour
Should get build without compile error in release mode.
SurrealDB version
SurrealDB command-line interface and server 1.5.0+20240424.8172753a for macos on aarch64
Contact Details
No response
Is there an existing issue for this?
I have searched the existing issues
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to build with release flag with following flag
cargo build --release --locked --target aarch64-apple-darwin
, I'm getting compile error.While building without --release flag works.
I get error following error message:
Steps to reproduce
Try to build with release flag.
Expected behaviour
Should get build without compile error in release mode.
SurrealDB version
SurrealDB command-line interface and server 1.5.0+20240424.8172753a for macos on aarch64
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: