Comments (5)
Does this also happen on the latest stable, and on the latest nightly?
from rust.
Yes , I updated the rust compiler to rustc 1.78.0 (9b00956e5 2024-04-29)
, It got resolved for this change ,but same error happened and trace is same , when i tried to rename StoreReceivedPublicKey(u128, AffinePoint)
, to Round2Output(u128, AffinePoint)
from rust.
@vinay10949 can you provide the implementation of get_actor_ref
and the Cargo.toml for this code?
from rust.
use messages::actor_type::ActorType;
use ractor::{ActorProcessingErr, ActorRef};
fn get_actor_ref<A>(
actor_type: ActorType,
error_msg: &'static str,
) -> Result<ActorRef<A>, ActorProcessingErr> {
let registry = ractor::registry::where_is(actor_type.to_string());
match registry {
Some(actor_ref) => Ok(actor_ref.into()),
None => Err(ActorProcessingErr::from(error_msg)),
}
}
Cargo file
[workspace]
members = ["crates/actors", "crates/node","crates/messages", "crates/network", "crates/telemetry"]
resolver = "2"
[workspace.dependencies]
tokio = { version = "1.37.0", features = ["full"] }
ractor = { version = "0.9.7", features = ["async-std"] }
log = "0.4.21"
simple_logger = "4.3.3"
serde = { version ="1.0.198" ,features=["derive"]}
thiserror = "1.0.59"
async-trait = "0.1.80"
libp2p = { version = "0.53.2", features = [ "serde", "kad","gossipsub","tokio", "noise", "macros", "tcp", "yamux", "quic","secp256k1"] }
async-std = { version = "1.12.0", features = ["attributes"] }
clap = {version ="4.5.4" ,features=["derive"]}
rand = "0.8.5"
serde_json = "1.0.116"
ractor_cluster = "0.9.3"
network = { path = "crates/network" }
messages = { path = "crates/messages" }
actors = { path = "crates/actors" }
telemetry = { path = "crates/telemetry" }
silk-oprf-core ={ path = "../scalar-mul-core"}
hex = "0.4.3"
rsa = "0.9.6"
k256 = { version = "0.13.1", features = ["hash2curve", "arithmetic", "ecdh", "serde"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = "0.3.9"
tracing-log = "0.2"
from rust.
I think we need more insights here. @vinay10949 can you help us a little bit with a smaller reproducible of this issue (removing all the unnecessary code)? Ideally it would be great (if you have the time) to identify when it started. Are you familiar with our bisection tool?
@rustbot label +E-needs-bisection +E-needs-mcve
from rust.
Related Issues (20)
- LinkedList::remove forgets the allocator HOT 1
- fatal runtime error: assertion failed: output.write(&bytes).is_ok() HOT 4
- With submodules=true, using `./x.py fmt` as a git hook makes bootstrap delete all submodules
- ICE: `unexpected type encountered in variance inference` in `rustc_hir_analysis/src/variance/constraints.rs` HOT 2
- Tracking Issue for `const_binary_heap_new_in`
- Tracking Issue for `core::iter::chain`
- Tracking Issue for `os_string_pathbuf_leak`
- Compiler error while compiling iroh HOT 1
- bulid panic HOT 2
- `dropping_references` lint triggers even for mutable references HOT 10
- rustdoc-json-types: Use different repr for Constant in Item and Type position HOT 3
- ConstContext::Maybe must have host effect param HOT 1
- Stabilization PR HOT 1
- Tracking Issue for XXX
- Expand list of trait implementers in E0277 when calling `rustc` with `--verbose` HOT 2
- keyword-idents-2024 unable to migrate loop labels or lifetimes HOT 1
- rustdoc: Consider ways to make UI development cycle faster HOT 5
- ICE: `polonius loan scopes differ from NLL borrow scopes`
- rustdoc: search for type alias says "type X not found, showing type X instead"
- Very bad performance of `cargo check` on generic code HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.