Skip to content

Failed to compile timely_communication #584

@nooberfsh

Description

@nooberfsh

cargo check --package timely_communication

Checking timely_communication v0.12.0 (/home/tom/hdx/projects/timely-dataflow/communication)
error: cannot find derive macro Serialize in this scope
--> communication/src/networking.rs:25:51
|
25 | #[derive(Debug, PartialEq, Eq, Hash, Clone, Copy, Serialize, Deserialize)]
| ^^^^^^^^^
|
note: Serialize is imported here, but it is only a trait, without a derive macro
--> communication/src/networking.rs:12:26
|
12 | use serde::{Deserialize, Serialize};
| ^^^^^^^^^
help: consider importing this derive macro
|
3 + use serde_derive::Serialize;

Import the macro in communication/src/lib.rs would fix this.

#[macro_use]
extern crate serde_derive;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions