-
Notifications
You must be signed in to change notification settings - Fork 152
rclrs 0.4.1 doesn't build for Rust 1.75 #458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @maspe36 which version of rustup are you using? Could you try to do this |
Sure thing Julia, here you go
|
Hello @maspe36 I had same issue the other way and how I solved was uninstalling rust and install the newest version:
Let me know if it solves the issue. |
Well I think the point of this issue is that we claim that Rust 1.75 is our minimum supported version, but our latest released version of rclrs to crates.io doesn't build with Rust 1.75 IMO the fix for this is to release a new version of rclrs to crates.io |
Yes, you are right! This is a better way to fix the issue rather than update rust version. Let's leave this question to the maintainers of the repository then. |
FYI, @maspe36 is one of the maintainers of rclrs |
I was thinking to update the ./Dockerfile to use the last rust version, but I am also bit unsure if this also would be aligned in how this MR should be fixed. |
@roboticswithjulia this ticket is because we officially support the 1.75 version of the Rust toolchain. When we hopefully release the first version of ros2-rust as part of a ROS distro, the version of Rust that Ubuntu ships with is 1.75, so that's why we don't want to update the version of Rust in Dockerfile either. |
I understand now, thank you for the clarification @esteve !! |
I do not know if this might also be related with this issue, but, when I am trying to build just the minimal_pub_sub examples, it neither cannot find the std_msgs .
|
⏫ Solved using the dockerfile https://github.com/ros2-rust/ros2_rust/blob/main/docs/building.md#option-2-using-the-docker-image instructions. |
I am playing around in a workspace that doesn't clone ros2_rust but instead pulls from crates.io. I am trying to target Rust 1.75, our target version, and I am unable to build.
I get the same issue as described in #449. In short, our the fix for this issue, #452 is not in rclrs 0.4.1.
The text was updated successfully, but these errors were encountered: