Skip to content

Compile error because of activitystreams version #1032

Description

@OmmyZhang
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions