Skip to content

Fails to build latest serde because of out-of-date nightly #65

Closed
@xrl

Description

@xrl

I am hitting an issue with serde-derive building on docs.rs: https://docs.rs/crate/rtps/0.2.0/builds/31750

error: the `#[rustc_macro_derive]` attribute is only usable with crates of the `rustc-macro` crate type
 --> .cargo/registry/src/github.1485827954.workers.dev-1ecc6299db9ec823/serde_derive-0.8.11/src/lib.rs:9:3
  |
9 | #[rustc_macro_derive(Serialize)]
  |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The relevant issue in the serde repository: serde-rs/serde#567 .

It looks like the nightly in my build is from September -- perhaps updating it would help?

$ rustc --version
rustc 1.14.0-nightly (289f3a4ca 2016-09-29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions