Using rustc 1.63.0 you get a few errors when trying to build chapter 15/chaining_communication_between_actors/server which are present in the book. As far as I can tell:
mod order_tracker may be missing from main.rs, which prevents resolution to that package
The TrackerMessage constructor in actor.rs:46 provides 4 arguments, but the TrackerMessage itself has only 2 struct members (ticker and amount are different). I think you mean to provide something like:
after importing Order from the order_tracker module. When I walked through the documentation I still had an Order enum with a different definition already in actor.rs - I don't think it was clear to ever get rid of this
The updates to main.rs highlighted in the book do not reflect in the main.rs in the repository
In the book there is a code block for main.rs that reads:
let get_actor =
GetTrackerActor{sender: tracker_tx_two.clone()};
However, tracker_tx_two does not exist.
Sorry if this is the wrong place to submit Errata - I read the book via O'Reilly and didn't see an errata submission there, so figured this was the next best place. I have found the book to be very enlightening so thank you for all of your efforts
Using rustc 1.63.0 you get a few errors when trying to build chapter 15/chaining_communication_between_actors/server which are present in the book. As far as I can tell:
mod order_tracker
may be missing frommain.rs
, which prevents resolution to that packageTrackerMessage
constructor in actor.rs:46 provides 4 arguments, but theTrackerMessage
itself has only 2 struct members (ticker and amount are different). I think you mean to provide something like:after importing
Order
from the order_tracker module. When I walked through the documentation I still had anOrder
enum with a different definition already inactor.rs
- I don't think it was clear to ever get rid of thismain.rs
highlighted in the book do not reflect in the main.rs in the repositoryHowever,
tracker_tx_two
does not exist.Sorry if this is the wrong place to submit Errata - I read the book via O'Reilly and didn't see an errata submission there, so figured this was the next best place. I have found the book to be very enlightening so thank you for all of your efforts