8000 [Bug🐛] cargo build error · Issue #3292 · mxsm/rocketmq-rust · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug🐛] cargo build error #3292

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

Closed
3 tasks done
578223592 opened this issue May 20, 2025 · 3 comments
Closed
3 tasks done

[Bug🐛] cargo build error #3292

578223592 opened this issue May 20, 2025 · 3 comments
Labels
bug🐛 Something isn't working

Comments

@578223592
Copy link
Contributor

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

mac

RocketMQ Rust version

No response

Rust Version

➜ rocketmq-rust git:(main) rustc --version
rustc 1.88.0-nightly (d6a325d93 2025-05-03)

Describe the Bug

cargo build err

➜  rocketmq-rust git:(main) cargo build
   Compiling rocketmq-common v0.6.0 (/Users/didi/projects/github/RustProjects/rocketmq-rust/rocketmq-common)
   Compiling rocketmq-broker v0.6.0 (/Users/didi/projects/github/RustProjects/rocketmq-rust/rocketmq-broker)
   Compiling rocketmq-namesrv v0.6.0 (/Users/didi/projects/github/RustProjects/rocketmq-rust/rocketmq-namesrv)
   Compiling rocketmq-remoting v0.6.0 (/Users/didi/projects/github/RustProjects/rocketmq-rust/rocketmq-remoting)
error[E0635]: unknown feature `duration_constructors_lite`
  --> rocketmq-remoting/src/lib.rs:20:12
   |
20 | #![feature(duration_constructors_lite)]
   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `rocketmq-remoting` (lib) due to 1 previous error

Steps to Reproduce

  1. pull the lastest version
  2. cargo build

What Did You Expect to See?

build success

What Did You See Instead?

build fail

Additional Context

No response

@578223592 578223592 added the bug🐛 Something isn't working label May 20, 2025
@mxsm
Copy link
Owner
mxsm commented May 20, 2025

@578223592 use rustup update, update local rust version

@mxsm
Copy link
Owner
mxsm commented May 20, 2025

use command to check

 cargo clippy -- -D warnings

@578223592 578223592 changed the title [Bug🐛] Bug title [Bug🐛] cargo build error May 21, 2025
@578223592
Copy link
Contributor Author

@mxsm thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0