[INFO] fetching crate serde-lite 0.2.0... [INFO] testing serde-lite-0.2.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate serde-lite 0.2.0 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate serde-lite 0.2.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde-lite 0.2.0 [INFO] finished tweaking crates.io crate serde-lite 0.2.0 [INFO] tweaked toml for crates.io crate serde-lite 0.2.0 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d68704cf1cd3e03418672bebba6aebdfa5efb98535b62b48b9431c9dd0cbffd9 [INFO] running `Command { std: "docker" "start" "-a" "d68704cf1cd3e03418672bebba6aebdfa5efb98535b62b48b9431c9dd0cbffd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d68704cf1cd3e03418672bebba6aebdfa5efb98535b62b48b9431c9dd0cbffd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d68704cf1cd3e03418672bebba6aebdfa5efb98535b62b48b9431c9dd0cbffd9", kill_on_drop: false }` [INFO] [stdout] d68704cf1cd3e03418672bebba6aebdfa5efb98535b62b48b9431c9dd0cbffd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9f01f4e1468744df94a0b0a65673f170bf36b5ec2cf979197af8a0af303b9ef [INFO] running `Command { std: "docker" "start" "-a" "e9f01f4e1468744df94a0b0a65673f170bf36b5ec2cf979197af8a0af303b9ef", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde-lite v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.03s [INFO] running `Command { std: "docker" "inspect" "e9f01f4e1468744df94a0b0a65673f170bf36b5ec2cf979197af8a0af303b9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9f01f4e1468744df94a0b0a65673f170bf36b5ec2cf979197af8a0af303b9ef", kill_on_drop: false }` [INFO] [stdout] e9f01f4e1468744df94a0b0a65673f170bf36b5ec2cf979197af8a0af303b9ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1db41c93a878484c2205a1553d7891ebe4e500a5322dae8fd6cc3321bcbb027 [INFO] running `Command { std: "docker" "start" "-a" "b1db41c93a878484c2205a1553d7891ebe4e500a5322dae8fd6cc3321bcbb027", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde-lite v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_lite_derive` [INFO] [stdout] --> tests/derive.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_lite_derive::{Deserialize, Serialize, Update}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `serde_lite_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[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:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 292 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:370:27 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:377:14 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:377:27 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:424:14 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:431:14 [INFO] [stdout] | [INFO] [stdout] 431 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:431:27 [INFO] [stdout] | [INFO] [stdout] 431 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:477:14 [INFO] [stdout] | [INFO] [stdout] 477 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:481:11 [INFO] [stdout] | [INFO] [stdout] 481 | #[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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:485:14 [INFO] [stdout] | [INFO] [stdout] 485 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:521:14 [INFO] [stdout] | [INFO] [stdout] 521 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:532:14 [INFO] [stdout] | [INFO] [stdout] 532 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:541:11 [INFO] [stdout] | [INFO] [stdout] 541 | #[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:546:15 [INFO] [stdout] | [INFO] [stdout] 546 | #[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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:618:14 [INFO] [stdout] | [INFO] [stdout] 618 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:626:14 [INFO] [stdout] | [INFO] [stdout] 626 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:632:14 [INFO] [stdout] | [INFO] [stdout] 632 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:635:11 [INFO] [stdout] | [INFO] [stdout] 635 | #[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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:640:7 [INFO] [stdout] | [INFO] [stdout] 640 | #[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:643:11 [INFO] [stdout] | [INFO] [stdout] 643 | #[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:648:15 [INFO] [stdout] | [INFO] [stdout] 648 | #[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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:724:14 [INFO] [stdout] | [INFO] [stdout] 724 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:730:14 [INFO] [stdout] | [INFO] [stdout] 730 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | #[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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:763:14 [INFO] [stdout] | [INFO] [stdout] 763 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Update` [INFO] [stdout] --> tests/derive.rs:763:27 [INFO] [stdout] | [INFO] [stdout] 763 | #[derive(Deserialize, Update)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/derive.rs:766:11 [INFO] [stdout] | [INFO] [stdout] 766 | #[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:768:11 [INFO] [stdout] | [INFO] [stdout] 768 | #[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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:803:14 [INFO] [stdout] | [INFO] [stdout] 803 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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)] [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:808:11 [INFO] [stdout] | [INFO] [stdout] 808 | #[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:810:11 [INFO] [stdout] | [INFO] [stdout] 810 | #[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[E0599]: no function or associated item named `deserialize` found for struct `test_struct_deserialize::OuterStruct` in the current scope [INFO] [stdout] --> tests/derive.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 13 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | 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:33:26 [INFO] [stdout] | [INFO] [stdout] 13 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 8 | | "number": 33, [INFO] [stdout] 9 | | "hello": "hello", [INFO] [stdout] 10 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:65:14 [INFO] [stdout] | [INFO] [stdout] 44 | struct OuterStruct { [INFO] [stdout] | ------------------ method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 65 | 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] [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:71:22 [INFO] [stdout] | [INFO] [stdout] 44 | struct OuterStruct { [INFO] [stdout] | ------------------ method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | 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] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 39 | | "number": 33, [INFO] [stdout] 40 | | "hello": "hi", [INFO] [stdout] 41 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:82:39 [INFO] [stdout] | [INFO] [stdout] 80 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- function or associated item `deserialize` not found for this [INFO] [stdout] 81 | [INFO] [stdout] 82 | 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:86:33 [INFO] [stdout] | [INFO] [stdout] 80 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 86 | 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:93:38 [INFO] [stdout] | [INFO] [stdout] 89 | struct MultiElementStruct(u32, String); [INFO] [stdout] | --------------------------------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 93 | 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:98:33 [INFO] [stdout] | [INFO] [stdout] 89 | struct MultiElementStruct(u32, String); [INFO] [stdout] | --------------------------------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 98 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let input1 = intermediate!(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let input2 = intermediate!([10]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let input = intermediate!([32, "hello"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:111:14 [INFO] [stdout] | [INFO] [stdout] 107 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 111 | 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] [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:115:22 [INFO] [stdout] | [INFO] [stdout] 107 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 115 | 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] [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:124:14 [INFO] [stdout] | [INFO] [stdout] 118 | struct MultiElementStruct(u32, String); [INFO] [stdout] | --------------------------------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 124 | 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] [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:129:22 [INFO] [stdout] | [INFO] [stdout] 118 | struct MultiElementStruct(u32, String); [INFO] [stdout] | --------------------------------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 129 | 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] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let input1 = intermediate!(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let input2 = intermediate!([20]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let input = intermediate!([32, "hello"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:143:25 [INFO] [stdout] | [INFO] [stdout] 135 | struct UnitStruct; [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 143 | 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:144:26 [INFO] [stdout] | [INFO] [stdout] 138 | struct EmptyStruct {} [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 144 | 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:145:31 [INFO] [stdout] | [INFO] [stdout] 141 | struct EmptyTupleStruct(); [INFO] [stdout] | -------------------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 145 | 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:163:18 [INFO] [stdout] | [INFO] [stdout] 151 | struct UnitStruct; [INFO] [stdout] | ------------------ method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 163 | 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:164:19 [INFO] [stdout] | [INFO] [stdout] 154 | struct EmptyStruct {} [INFO] [stdout] | ------------------ method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 164 | 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:165:25 [INFO] [stdout] | [INFO] [stdout] 157 | struct EmptyTupleStruct(); [INFO] [stdout] | -------------------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 165 | 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:215:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 215 | 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:216:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 216 | 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:217:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 217 | 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:218:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 218 | 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:219:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 219 | 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:220:29 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 220 | 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:238:23 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 238 | 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:239:23 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 239 | 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:240:23 [INFO] [stdout] | [INFO] [stdout] 204 | enum TestEnum { [INFO] [stdout] | ------------- variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 240 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | let input3 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 177 | | "variant2": 20, [INFO] [stdout] 178 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let input4 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 181 | | "variant2": [20], [INFO] [stdout] 182 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let input5 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 185 | | "Variant3": { [INFO] [stdout] 186 | | "field1": 10, [INFO] [stdout] 187 | | "field2": "hello", [INFO] [stdout] 188 | | }, [INFO] [stdout] 189 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:199:18 [INFO] [stdout] | [INFO] [stdout] 199 | let input9 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 200 | | "Variant4": [123], [INFO] [stdout] 201 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:302:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 302 | 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:306:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 306 | 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:311:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 311 | 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:319:22 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 319 | 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:323:22 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 323 | 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:330:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 330 | 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:341:22 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 341 | 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:342:22 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 342 | 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:346:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 346 | 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:354:14 [INFO] [stdout] | [INFO] [stdout] 290 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [INFO] [stdout] ... [INFO] [stdout] 354 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | let input3 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 264 | | "variant2": 20, [INFO] [stdout] 265 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | let input4 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 268 | | "variant2": [40], [INFO] [stdout] 269 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 271 | let input5 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 272 | | "Variant3": { [INFO] [stdout] 273 | | "field1": 20, [INFO] [stdout] 274 | | }, [INFO] [stdout] 275 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:285:18 [INFO] [stdout] | [INFO] [stdout] 285 | let input9 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 286 | | "Variant4": [456], [INFO] [stdout] 287 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:391:37 [INFO] [stdout] | [INFO] [stdout] 366 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 391 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 384 | | "field": { [INFO] [stdout] 385 | | "type": "Variant2", [INFO] [stdout] 386 | | "field1": 10, [INFO] [stdout] 387 | | "field2": "hello", [INFO] [stdout] 388 | | }, [INFO] [stdout] 389 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:447:37 [INFO] [stdout] | [INFO] [stdout] 420 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 447 | 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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 438 | | "field": { [INFO] [stdout] 439 | | "type": "Variant2", [INFO] [stdout] 440 | | "content": { [INFO] [stdout] ... | [INFO] [stdout] 444 | | }, [INFO] [stdout] 445 | | }); [INFO] [stdout] | |______^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Intermediate: From<{integer}>` found in the `serde_lite` crate: [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] - impl From for Intermediate; [INFO] [stdout] and 4 more [INFO] [stdout] = note: this error originates in the macro `intermediate` (in Nightly builds, run with -Z macro-backtrace for more info) [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:503:25 [INFO] [stdout] | [INFO] [stdout] 478 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 503 | 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] [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:572:25 [INFO] [stdout] | [INFO] [stdout] 522 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 572 | 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:682:25 [INFO] [stdout] | [INFO] [stdout] 619 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 682 | 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:716:22 [INFO] [stdout] | [INFO] [stdout] 641 | enum InternallyTaggedEnum { [INFO] [stdout] | ------------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 716 | assert!(instance.serialize().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `InternallyTaggedEnum` [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:719:22 [INFO] [stdout] | [INFO] [stdout] 641 | enum InternallyTaggedEnum { [INFO] [stdout] | ------------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 719 | assert!(instance.serialize().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `InternallyTaggedEnum` [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:742:25 [INFO] [stdout] | [INFO] [stdout] 725 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 742 | 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:787:36 [INFO] [stdout] | [INFO] [stdout] 764 | struct TestStruct { [INFO] [stdout] | ----------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 787 | 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:821:25 [INFO] [stdout] | [INFO] [stdout] 804 | struct TestStruct { [INFO] [stdout] | ----------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 821 | 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] [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:829:25 [INFO] [stdout] | [INFO] [stdout] 804 | struct TestStruct { [INFO] [stdout] | ----------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 829 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> tests/derive.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_lite::{intermediate, Deserialize, Intermediate, Map, Number, Serialize, Update}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> tests/derive.rs:1:72 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_lite::{intermediate, Deserialize, Intermediate, Map, Number, Serialize, Update}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Update` [INFO] [stdout] --> tests/derive.rs:1:83 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_lite::{intermediate, Deserialize, Intermediate, Map, Number, Serialize, Update}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 139 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde-lite` due to 140 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b1db41c93a878484c2205a1553d7891ebe4e500a5322dae8fd6cc3321bcbb027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1db41c93a878484c2205a1553d7891ebe4e500a5322dae8fd6cc3321bcbb027", kill_on_drop: false }` [INFO] [stdout] b1db41c93a878484c2205a1553d7891ebe4e500a5322dae8fd6cc3321bcbb027