Skip to content
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

error: expected one of (, ,, ::, or =, found - #3318

Closed
yurivict opened this issue Feb 18, 2024 · 1 comment
Closed

error: expected one of (, ,, ::, or =, found - #3318

yurivict opened this issue Feb 18, 2024 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Feb 18, 2024

What type of bug is this?

Other

What subsystems are affected?

Other

Minimal reproduce step

n/a

What did you expect to see?

n/a

What did you see instead?

error: expected one of `(`, `,`, `::`, or `=`, found `-`
  --> src/common/version/src/lib.rs:87:22
   |
87 | #[allow(clippy::print-stdout)]
   |                      ^ expected one of `(`, `,`, `::`, or `=`
   
error: could not compile `common-version` (lib) due to previous error

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=common_version CARGO_MANIFEST_DIR=/usr/ports/databases/greptimedb/work/greptimedb-f320ff251e79db83cf8ee494805744c6ea280641/src/common/version CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=common-version CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/usr/ports/databases/greptimedb/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name common_version --edition=2021 src/common/version/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=f613955c214d83d9 -C extra-filename=-f613955c214d83d9 --out-dir /usr/ports/databases/greptimedb/work/target/release/deps -C linker=cc -L dependency=/usr/ports/databases/greptimedb/work/target/release/deps --extern build_data=/usr/ports/databases/greptimedb/work/target/release/deps/libbuild_data-e722525c8929138a.rmeta` (exit status: 1)

What operating system did you use?

FreeBSD 14.0

rust-nightly-1.76.0.20231125

What version of GreptimeDB did you use?

f320ff2 from #3309

Relevant log output and stack trace

n/a
@tisonkun
Copy link
Collaborator

This is fixed with a new commit in that PR and should not reproduce in the current main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants