[INFO] fetching crate jmap 0.0.5... [INFO] checking jmap-0.0.5 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate jmap 0.0.5 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate jmap 0.0.5 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jmap 0.0.5 [INFO] finished tweaking crates.io crate jmap 0.0.5 [INFO] tweaked toml for crates.io crate jmap 0.0.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dbeae27430738bfbd26d41528dced8ede161b3ad51ade15d06770e4136fd06e [INFO] running `Command { std: "docker" "start" "-a" "4dbeae27430738bfbd26d41528dced8ede161b3ad51ade15d06770e4136fd06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dbeae27430738bfbd26d41528dced8ede161b3ad51ade15d06770e4136fd06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dbeae27430738bfbd26d41528dced8ede161b3ad51ade15d06770e4136fd06e", kill_on_drop: false }` [INFO] [stdout] 4dbeae27430738bfbd26d41528dced8ede161b3ad51ade15d06770e4136fd06e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322fd262104972fd0aa5f03cffddc8c925a8bd4c391fcc5840a0b9319fc574ea [INFO] running `Command { std: "docker" "start" "-a" "322fd262104972fd0aa5f03cffddc8c925a8bd4c391fcc5840a0b9319fc574ea", kill_on_drop: false }` [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking jmap v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/types.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime,UTC,NaiveDateTime}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `UTC` in the root [INFO] [stdout] | help: a similar name exists in the module: `Utc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/types.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{DateTime,UTC,NaiveDateTime}; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | no `UTC` in the root [INFO] [stdout] | help: a similar name exists in the module: `Utc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_v4` found for struct `Uuid` in the current scope [INFO] [stdout] --> src/record.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | Uuid::new_v4().to_hyphenated_string() [INFO] [stdout] | ^^^^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::max [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] and 10 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-1.8.0/src/builder.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn max() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub const fn from_fields(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub const fn from_fields_le(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `format` found for reference `&types::Date` in the current scope [INFO] [stdout] --> src/types.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Json::String(self.format("%Y-%m-%dT%H:%M:%SZ").to_string()) [INFO] [stdout] | ^^^^^^ method not found in `&Date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_v4` found for struct `Uuid` in the current scope [INFO] [stdout] --> src/record.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | Uuid::new_v4().to_hyphenated_string() [INFO] [stdout] | ^^^^^^ function or associated item not found in `Uuid` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Uuid` consider using one of the following associated functions: [INFO] [stdout] uuid::builder::::nil [INFO] [stdout] uuid::builder::::max [INFO] [stdout] uuid::builder::::from_fields [INFO] [stdout] uuid::builder::::from_fields_le [INFO] [stdout] and 10 others [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/uuid-1.8.0/src/builder.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub const fn nil() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub const fn max() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub const fn from_fields(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub const fn from_fields_le(d1: u32, d2: u16, d3: u16, d4: &[u8; 8]) -> Uuid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `format` found for reference `&types::Date` in the current scope [INFO] [stdout] --> src/types.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Json::String(self.format("%Y-%m-%dT%H:%M:%SZ").to_string()) [INFO] [stdout] | ^^^^^^ method not found in `&Date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `to_json_field` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `parse::Presence` [INFO] [stdout] --> src/macros.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | $($field: Presence<$ty>),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `to_json_field` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `parse::Presence` [INFO] [stdout] --> src/macros.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | $($field: Presence<$ty>),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for enum `parse::Presence` in the current scope [INFO] [stdout] --> src/macros.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Presence { [INFO] [stdout] | -------------------- method `to_json_field` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `parse::Presence: parse::FromJsonField` is not satisfied [INFO] [stdout] --> src/macros.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | $(r.$field = try!(FromJsonField::from_json_field(o, $jprop));)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parse::FromJsonField` is not implemented for `parse::Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parse::FromJsonField`: [INFO] [stdout] parse::Presence> [INFO] [stdout] parse::Presence [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for enum `parse::Presence` in the current scope [INFO] [stdout] --> src/macros.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Presence { [INFO] [stdout] | -------------------- method `to_json_field` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 185 | $($field: Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `parse::Presence: parse::FromJsonField` is not satisfied [INFO] [stdout] --> src/macros.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | $(r.$field = try!(FromJsonField::from_json_field(o, $jprop));)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parse::FromJsonField` is not implemented for `parse::Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parse::FromJsonField`: [INFO] [stdout] parse::Presence> [INFO] [stdout] parse::Presence [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | $($jprop => p.$field = Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 185 | $($field: Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | $($jprop => p.$field = Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/message.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / make_record_type!(Message, PartialMessage, "Message", [INFO] [stdout] 31 | | blob_id: String => "blobId", [INFO] [stdout] 32 | | thread_id: String => "threadId", [INFO] [stdout] 33 | | mailbox_ids: Vec => "mailboxIds", [INFO] [stdout] ... | [INFO] [stdout] 53 | | attached_messages: Option> => "attachedMessages" [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/message.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `to_json_field` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `to_json_field` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `parse::Presence` [INFO] [stdout] --> src/macros.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | $($field: Presence<$ty>),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `parse::Presence` [INFO] [stdout] --> src/macros.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | $($field: Presence<$ty>),* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for enum `parse::Presence` in the current scope [INFO] [stdout] --> src/macros.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Presence { [INFO] [stdout] | -------------------- method `to_json_field` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_json_field` found for enum `parse::Presence` in the current scope [INFO] [stdout] --> src/macros.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | $(self.$field.to_json_field(&mut d, $jprop);)* [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub enum Presence { [INFO] [stdout] | -------------------- method `to_json_field` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `parse::ToJsonField` defines an item `to_json_field`, perhaps you need to implement it [INFO] [stdout] --> src/parse.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ToJsonField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `parse::Presence: parse::FromJsonField` is not satisfied [INFO] [stdout] --> src/macros.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | $(r.$field = try!(FromJsonField::from_json_field(o, $jprop));)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parse::FromJsonField` is not implemented for `parse::Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parse::FromJsonField`: [INFO] [stdout] parse::Presence> [INFO] [stdout] parse::Presence [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 185 | $($field: Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/calendar_event.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | $($jprop => p.$field = Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/calendar_event.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `parse::Presence: parse::FromJsonField` is not satisfied [INFO] [stdout] --> src/macros.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | $(r.$field = try!(FromJsonField::from_json_field(o, $jprop));)* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `parse::FromJsonField` is not implemented for `parse::Presence` [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `parse::FromJsonField`: [INFO] [stdout] parse::Presence> [INFO] [stdout] parse::Presence [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 185 | $($field: Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/calendar_event.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `types::Date` in the current scope [INFO] [stdout] --> src/macros.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | $($jprop => p.$field = Present(self.$field.clone()),)* [INFO] [stdout] | ^^^^^ method not found in `Date` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Date(pub DateTime); [INFO] [stdout] | --------------- method `clone` not found for this struct [INFO] [stdout] | [INFO] [stdout] ::: src/calendar_event.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / make_record_type!(CalendarEvent, PartialCalendarEvent, "CalendarEvent", [INFO] [stdout] 154 | | calendar_id: String => "calendarId", [INFO] [stdout] 155 | | summary: String => "summary", [INFO] [stdout] 156 | | description: String => "description", [INFO] [stdout] ... | [INFO] [stdout] 170 | | attachments: Option> => "attachments" [INFO] [stdout] 171 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] = note: this error originates in the macro `make_record_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Clone` which provides `clone` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] --> src/calendar_event.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::clone::Clone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jmap` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jmap` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "322fd262104972fd0aa5f03cffddc8c925a8bd4c391fcc5840a0b9319fc574ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322fd262104972fd0aa5f03cffddc8c925a8bd4c391fcc5840a0b9319fc574ea", kill_on_drop: false }` [INFO] [stdout] 322fd262104972fd0aa5f03cffddc8c925a8bd4c391fcc5840a0b9319fc574ea