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

Compile error because of activitystreams version #1032

Open
OmmyZhang opened this issue Dec 10, 2022 · 1 comment
Open

Compile error because of activitystreams version #1032

OmmyZhang opened this issue Dec 10, 2022 · 1 comment
Labels
C: Bug Something isn't working

Comments

@OmmyZhang
Copy link
Contributor

error[E0107]: this trait takes 0 generic arguments but 1 generic argument was supplied
   --> plume-common/src/activity_pub/mod.rs:412:6
    |
412 | impl Extends<HashtagType> for Hashtag {
    |      ^^^^^^^------------- help: remove these generics
    |      |
    |      expected 0 generic arguments
    |
note: trait defined here, with 0 generic parameters
   --> /home/plume/.cargo/registry/src/github.com-1ecc6299db9ec823/activitystreams-0.7.0-alpha.22/src/base.rs:41:11
    |
41  | pub trait Extends: Sized {
    |           ^^^^^^^

For more information about this error, try `rustc --explain E0107`.
error: could not compile `plume-common` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `plume-cli v0.7.2 (/home/plume/Plume/plume-cli)`, intermediate artifacts can be found at `/home/plume/Plume/target`

Locking activitystreams version can fix this, for example, activitystreams = "=0.7.0-alpha.20" (the version in Cargo.lock

@OmmyZhang OmmyZhang added the C: Bug Something isn't working label Dec 10, 2022
@KitaitiMakoto
Copy link
Contributor

Thanks for reporting!

pull bot pushed a commit to age-rs/Plume that referenced this issue Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants