[INFO] fetching crate serde-lite 0.5.0... [INFO] checking serde-lite-0.5.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate serde-lite 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate serde-lite 0.5.0 [INFO] finished tweaking crates.io crate serde-lite 0.5.0 [INFO] tweaked toml for crates.io crate serde-lite 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-lite 0.5.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-lite-derive v0.5.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb66302d7bb4b4c0212d7ea3cbf34dbb7bb3a52b5f6a4e9c8dd4ef384ca44275 [INFO] running `Command { std: "docker" "start" "-a" "fb66302d7bb4b4c0212d7ea3cbf34dbb7bb3a52b5f6a4e9c8dd4ef384ca44275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb66302d7bb4b4c0212d7ea3cbf34dbb7bb3a52b5f6a4e9c8dd4ef384ca44275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb66302d7bb4b4c0212d7ea3cbf34dbb7bb3a52b5f6a4e9c8dd4ef384ca44275", kill_on_drop: false }` [INFO] [stdout] fb66302d7bb4b4c0212d7ea3cbf34dbb7bb3a52b5f6a4e9c8dd4ef384ca44275 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa7eb2bdcdc688538abd5c078bb6991f312e7912e163f1db0875d3170713708f [INFO] running `Command { std: "docker" "start" "-a" "aa7eb2bdcdc688538abd5c078bb6991f312e7912e163f1db0875d3170713708f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde-lite v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_lite_derive` [INFO] [stdout] --> tests/derive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_lite_derive::{Deserialize, Serialize, Update}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `serde_lite_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_lite_derive`, use `cargo add serde_lite_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(rename = "hello")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[serde(rename = "hello")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:208:11 [INFO] [stdout] | [INFO] [stdout] 208 | #[serde(rename = "variant2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:294:11 [INFO] [stdout] | [INFO] [stdout] 294 | #[serde(rename = "variant2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | #[serde(tag = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | #[serde(tag = "type", content = "content")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:483:11 [INFO] [stdout] | [INFO] [stdout] 483 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:543:11 [INFO] [stdout] | [INFO] [stdout] 543 | #[serde(rename = "v2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:548:15 [INFO] [stdout] | [INFO] [stdout] 548 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:639:11 [INFO] [stdout] | [INFO] [stdout] 639 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:644:7 [INFO] [stdout] | [INFO] [stdout] 644 | #[serde(tag = "variant")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:647:11 [INFO] [stdout] | [INFO] [stdout] 647 | #[serde(rename = "v2")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:652:15 [INFO] [stdout] | [INFO] [stdout] 652 | #[serde(flatten)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:735:7 [INFO] [stdout] | [INFO] [stdout] 735 | #[serde(tag = "variant", content = "content")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:771:11 [INFO] [stdout] | [INFO] [stdout] 771 | #[serde(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:773:11 [INFO] [stdout] | [INFO] [stdout] 773 | #[serde(skip_deserializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:802:11 [INFO] [stdout] | [INFO] [stdout] 802 | #[serde(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:804:11 [INFO] [stdout] | [INFO] [stdout] 804 | #[serde(skip_serializing)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:806:11 [INFO] [stdout] | [INFO] [stdout] 806 | #[serde(skip_serializing_if = "Option::is_none")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:837:11 [INFO] [stdout] | [INFO] [stdout] 837 | #[serde(serialize_with = "serialize_custom_type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:864:11 [INFO] [stdout] | [INFO] [stdout] 864 | #[serde(deserialize_with = "deserialize_custom_type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:887:11 [INFO] [stdout] | [INFO] [stdout] 887 | #[serde( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_struct_deserialize::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 15 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let output = OuterStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_struct_deserialize::OuterStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_struct_deserialize::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 15 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(OuterStruct::deserialize(&Intermediate::None).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_struct_deserialize::OuterStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_struct_update::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct OuterStruct { [INFO] [stdout] | ------------------ method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 67 | instance.update(&input).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_struct_update::OuterStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 67 | instance.inner.number.update(&input).unwrap(); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_struct_update::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 46 | struct OuterStruct { [INFO] [stdout] | ------------------ method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 73 | assert!(instance.update(&Intermediate::None).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_struct_update::OuterStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 73 | assert!(instance.inner.number.update(&Intermediate::None).is_err()); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_tuple_struct_deserialize::SingleElementTuple` in the current scope [INFO] [stdout] --> tests/derive.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 82 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] 83 | [INFO] [stdout] 84 | let output1 = SingleElementTuple::deserialize(&input1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_tuple_struct_deserialize::SingleElementTuple` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_tuple_struct_deserialize::SingleElementTuple` in the current scope [INFO] [stdout] --> tests/derive.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 82 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 88 | assert!(SingleElementTuple::deserialize(&input2).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_tuple_struct_deserialize::SingleElementTuple` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_tuple_struct_deserialize::MultiElementStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 91 | struct MultiElementStruct(u32, String); [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | let output = MultiElementStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_tuple_struct_deserialize::MultiElementStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_tuple_struct_deserialize::MultiElementStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 91 | struct MultiElementStruct(u32, String); [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | assert!(MultiElementStruct::deserialize(&Intermediate::Array(vec![])).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_tuple_struct_deserialize::MultiElementStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_tuple_struct_update::SingleElementTuple` in the current scope [INFO] [stdout] --> tests/derive.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 109 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | instance.update(&input1).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_tuple_struct_update::SingleElementTuple` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 113 | instance.0.update(&input1).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_tuple_struct_update::SingleElementTuple` in the current scope [INFO] [stdout] --> tests/derive.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 109 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 117 | assert!(instance.update(&input2).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_tuple_struct_update::SingleElementTuple` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 117 | assert!(instance.0.update(&input2).is_err()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_tuple_struct_update::MultiElementStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 120 | struct MultiElementStruct(u32, String); [INFO] [stdout] | ------------------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 126 | instance.update(&input).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_tuple_struct_update::MultiElementStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 126 | instance.0.update(&input).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] 126 | instance.1.update(&input).unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_tuple_struct_update::MultiElementStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 120 | struct MultiElementStruct(u32, String); [INFO] [stdout] | ------------------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 131 | assert!(instance.update(&Intermediate::Array(vec![])).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_tuple_struct_update::MultiElementStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 131 | assert!(instance.0.update(&Intermediate::Array(vec![])).is_err()); [INFO] [stdout] | ++ [INFO] [stdout] 131 | assert!(instance.1.update(&Intermediate::Array(vec![])).is_err()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_empty_struct_deserialize::UnitStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 137 | struct UnitStruct; [INFO] [stdout] | ----------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | assert!(UnitStruct::deserialize(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_empty_struct_deserialize::UnitStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_empty_struct_deserialize::EmptyStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 140 | struct EmptyStruct {} [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 146 | assert!(EmptyStruct::deserialize(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_empty_struct_deserialize::EmptyStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_empty_struct_deserialize::EmptyTupleStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 143 | struct EmptyTupleStruct(); [INFO] [stdout] | ----------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 147 | assert!(EmptyTupleStruct::deserialize(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_empty_struct_deserialize::EmptyTupleStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_empty_struct_update::UnitStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 153 | struct UnitStruct; [INFO] [stdout] | ----------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | assert!(unit.update(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `test_empty_struct_update::UnitStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_empty_struct_update::EmptyStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 156 | struct EmptyStruct {} [INFO] [stdout] | ------------------ method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | assert!(empty.update(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `test_empty_struct_update::EmptyStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_empty_struct_update::EmptyTupleStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 159 | struct EmptyTupleStruct(); [INFO] [stdout] | ----------------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 167 | assert!(empty_tuple.update(&Intermediate::None).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `test_empty_struct_update::EmptyTupleStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 217 | let output1 = TestEnum::deserialize(&input1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 218 | let output2 = TestEnum::deserialize(&input2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 219 | let output3 = TestEnum::deserialize(&input3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 220 | let output5 = TestEnum::deserialize(&input5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 221 | let output8 = TestEnum::deserialize(&input8).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 222 | let output9 = TestEnum::deserialize(&input9).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 240 | assert!(TestEnum::deserialize(&input4).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 241 | assert!(TestEnum::deserialize(&input6).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_enum_deserialize::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:242:23 [INFO] [stdout] | [INFO] [stdout] 206 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 242 | assert!(TestEnum::deserialize(&input7).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_enum_deserialize::TestEnum` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 304 | instance.update(&input1).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 308 | instance.update(&input2).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:313:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 313 | instance.update(&input3).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 321 | assert!(instance.update(&input4).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 325 | assert!(instance.update(&input5).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 332 | instance.update(&input5).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 343 | assert!(instance.update(&input6).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 344 | assert!(instance.update(&input7).is_err()); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 348 | instance.update(&input8).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for enum `test_enum_update::TestEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 356 | instance.update(&input9).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_enum_update::TestEnum` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_internally_tagged_enum_deserialize_and_update::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 368 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 393 | let mut instance = OuterStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_internally_tagged_enum_deserialize_and_update::OuterStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_adjacently_tagged_enum_deserialize_and_update::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:449:37 [INFO] [stdout] | [INFO] [stdout] 422 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 449 | let mut instance = OuterStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_adjacently_tagged_enum_deserialize_and_update::OuterStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_struct_serialize::OuterTestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:505:25 [INFO] [stdout] | [INFO] [stdout] 480 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 505 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_struct_serialize::OuterTestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 505 | let data = instance.field1.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 505 | let data = instance.field2.inner1.serialize().unwrap(); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] 505 | let data = instance.field3.inner1.serialize().unwrap(); [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_externally_tagged_enum_serialize::OuterTestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:574:25 [INFO] [stdout] | [INFO] [stdout] 524 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 574 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_externally_tagged_enum_serialize::OuterTestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_internally_tagged_enum_serialize::OuterTestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:686:25 [INFO] [stdout] | [INFO] [stdout] 623 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 686 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_internally_tagged_enum_serialize::OuterTestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for enum `InternallyTaggedEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:720:22 [INFO] [stdout] | [INFO] [stdout] 645 | enum InternallyTaggedEnum { [INFO] [stdout] | ------------------------- method `serialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 720 | assert!(instance.serialize().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `InternallyTaggedEnum` [INFO] [stdout] | [INFO] [stdout] note: the method `serialize` exists on the type `u32` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn serialize(&self) -> Result; [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for enum `InternallyTaggedEnum` in the current scope [INFO] [stdout] --> tests/derive.rs:723:22 [INFO] [stdout] | [INFO] [stdout] 645 | enum InternallyTaggedEnum { [INFO] [stdout] | ------------------------- method `serialize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 723 | assert!(instance.serialize().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `InternallyTaggedEnum` [INFO] [stdout] | [INFO] [stdout] note: the method `serialize` exists on the type `u32` [INFO] [stdout] --> /opt/rustwide/workdir/src/serialize.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | fn serialize(&self) -> Result; [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_adjacently_tagged_enum_serialize::OuterTestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:746:25 [INFO] [stdout] | [INFO] [stdout] 729 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 746 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_adjacently_tagged_enum_serialize::OuterTestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_skip_deserializing::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:783:36 [INFO] [stdout] | [INFO] [stdout] 769 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 783 | let mut instance = TestStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_skip_deserializing::TestStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_skip_serializing::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:817:25 [INFO] [stdout] | [INFO] [stdout] 800 | struct TestStruct { [INFO] [stdout] | ----------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 817 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_skip_serializing::TestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 817 | let data = instance.field1.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 817 | let data = instance.field2.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 817 | let data = instance.field3.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 817 | let data = instance.field4.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_skip_serializing::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:825:25 [INFO] [stdout] | [INFO] [stdout] 800 | struct TestStruct { [INFO] [stdout] | ----------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 825 | let data = instance.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_skip_serializing::TestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 825 | let data = instance.field1.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 825 | let data = instance.field2.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 825 | let data = instance.field3.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] 825 | let data = instance.field4.serialize().unwrap(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `test_serialize_with::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:851:20 [INFO] [stdout] | [INFO] [stdout] 836 | struct TestStruct { [INFO] [stdout] | ----------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 851 | let data = val.serialize().unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `test_serialize_with::TestStruct` [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 traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Serialize` [INFO] [stdout] candidate #2: `serde::ser::Serialize` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 851 | let data = val.field.0.serialize().unwrap(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_deserialize_with::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:876:27 [INFO] [stdout] | [INFO] [stdout] 863 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 876 | let res = TestStruct::deserialize(&input).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_deserialize_with::TestStruct` [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 traits define an item `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Deserialize` [INFO] [stdout] candidate #2: `serde::de::Deserialize` [INFO] [stdout] candidate #3: `serde::de::DeserializeSeed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `test_update_with::TestStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 886 | struct TestStruct { [INFO] [stdout] | ----------------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 912 | val.update(&input).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `test_update_with::TestStruct` [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 `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Update` [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 912 | val.field.0.update(&input).unwrap(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde-lite` (test "derive") due to 77 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aa7eb2bdcdc688538abd5c078bb6991f312e7912e163f1db0875d3170713708f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7eb2bdcdc688538abd5c078bb6991f312e7912e163f1db0875d3170713708f", kill_on_drop: false }` [INFO] [stdout] aa7eb2bdcdc688538abd5c078bb6991f312e7912e163f1db0875d3170713708f