[INFO] fetching crate serde-lite 0.3.1... [INFO] testing serde-lite-0.3.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate serde-lite 0.3.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate serde-lite 0.3.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde-lite 0.3.1 [INFO] finished tweaking crates.io crate serde-lite 0.3.1 [INFO] tweaked toml for crates.io crate serde-lite 0.3.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-lite-derive v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 06f9510d62c6a6c1c722f7b116a6d99d0355925f01031c89402bfecd27f30393 [INFO] running `Command { std: "docker" "start" "-a" "06f9510d62c6a6c1c722f7b116a6d99d0355925f01031c89402bfecd27f30393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f9510d62c6a6c1c722f7b116a6d99d0355925f01031c89402bfecd27f30393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f9510d62c6a6c1c722f7b116a6d99d0355925f01031c89402bfecd27f30393", kill_on_drop: false }` [INFO] [stdout] 06f9510d62c6a6c1c722f7b116a6d99d0355925f01031c89402bfecd27f30393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7e07126f6dd9c41074a6b8a126aa4559e125232684e2c7a581d0478f236e81e [INFO] running `Command { std: "docker" "start" "-a" "f7e07126f6dd9c41074a6b8a126aa4559e125232684e2c7a581d0478f236e81e", kill_on_drop: false }` [INFO] [stderr] Compiling serde-lite v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "f7e07126f6dd9c41074a6b8a126aa4559e125232684e2c7a581d0478f236e81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e07126f6dd9c41074a6b8a126aa4559e125232684e2c7a581d0478f236e81e", kill_on_drop: false }` [INFO] [stdout] f7e07126f6dd9c41074a6b8a126aa4559e125232684e2c7a581d0478f236e81e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efbdba374808b9e2989b5cc06b0f180aaf7dcc382f9333aea53ec90df0868214 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "efbdba374808b9e2989b5cc06b0f180aaf7dcc382f9333aea53ec90df0868214", kill_on_drop: false }` [INFO] [stderr] Compiling serde-lite v0.3.1 (/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 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:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[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:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | #[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:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | #[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:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | #[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:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | #[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:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | #[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:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | #[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:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | #[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:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | #[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:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[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:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | #[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:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | #[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:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | #[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:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | #[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:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | #[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:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | #[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:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | #[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:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:367:14 [INFO] [stdout] | [INFO] [stdout] 367 | #[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:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | #[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:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | #[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:372:27 [INFO] [stdout] | [INFO] [stdout] 372 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 379 | #[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:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | #[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:421:14 [INFO] [stdout] | [INFO] [stdout] 421 | #[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:421:27 [INFO] [stdout] | [INFO] [stdout] 421 | #[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:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | #[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:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:433:14 [INFO] [stdout] | [INFO] [stdout] 433 | #[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:433:27 [INFO] [stdout] | [INFO] [stdout] 433 | #[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:479:14 [INFO] [stdout] | [INFO] [stdout] 479 | #[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: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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | #[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:523:14 [INFO] [stdout] | [INFO] [stdout] 523 | #[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:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | #[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:540:14 [INFO] [stdout] | [INFO] [stdout] 540 | #[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: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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | #[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:630:14 [INFO] [stdout] | [INFO] [stdout] 630 | #[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:636:14 [INFO] [stdout] | [INFO] [stdout] 636 | #[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: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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:643:14 [INFO] [stdout] | [INFO] [stdout] 643 | #[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: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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:728:14 [INFO] [stdout] | [INFO] [stdout] 728 | #[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:734:14 [INFO] [stdout] | [INFO] [stdout] 734 | #[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: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 determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> tests/derive.rs:768:14 [INFO] [stdout] | [INFO] [stdout] 768 | #[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:768:27 [INFO] [stdout] | [INFO] [stdout] 768 | #[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: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 determine resolution for the derive macro `Serialize` [INFO] [stdout] --> tests/derive.rs:799:14 [INFO] [stdout] | [INFO] [stdout] 799 | #[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: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[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 [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 [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 10 | | "number": 33, [INFO] [stdout] 11 | | "hello": "hello", [INFO] [stdout] 12 | | }); [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:67:14 [INFO] [stdout] | [INFO] [stdout] 46 | struct OuterStruct { [INFO] [stdout] | ------------------ method `update` not found for this [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] [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 [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] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 41 | | "number": 33, [INFO] [stdout] 42 | | "hello": "hi", [INFO] [stdout] 43 | | }); [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:84:39 [INFO] [stdout] | [INFO] [stdout] 82 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- function or associated item `deserialize` not found for this [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 [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 [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 [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | 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:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | 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:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | 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:113:14 [INFO] [stdout] | [INFO] [stdout] 109 | struct SingleElementTuple(u32); [INFO] [stdout] | ------------------------------- method `update` not found for this [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] [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 [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] [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 [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] [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 [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] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | 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:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | 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:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | 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:145:25 [INFO] [stdout] | [INFO] [stdout] 137 | struct UnitStruct; [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [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 [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 [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 [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 [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 [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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 here [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | let input3 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 179 | | "variant2": 20, [INFO] [stdout] 180 | | }); [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:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | let input4 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 183 | | "variant2": [20], [INFO] [stdout] 184 | | }); [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:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | let input5 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 187 | | "Variant3": { [INFO] [stdout] 188 | | "field1": 10, [INFO] [stdout] 189 | | "field2": "hello", [INFO] [stdout] 190 | | }, [INFO] [stdout] 191 | | }); [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:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | let input9 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 202 | | "Variant4": [123], [INFO] [stdout] 203 | | }); [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:304:14 [INFO] [stdout] | [INFO] [stdout] 292 | enum TestEnum { [INFO] [stdout] | ------------- method `update` not found for this [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 [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 [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 [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 [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 [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 [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 [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 [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 [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | let input3 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 266 | | "variant2": 20, [INFO] [stdout] 267 | | }); [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:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | let input4 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 270 | | "variant2": [40], [INFO] [stdout] 271 | | }); [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:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | let input5 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 274 | | "Variant3": { [INFO] [stdout] 275 | | "field1": 20, [INFO] [stdout] 276 | | }, [INFO] [stdout] 277 | | }); [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:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let input9 = intermediate!({ [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | "Variant4": [456], [INFO] [stdout] 289 | | }); [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:393:37 [INFO] [stdout] | [INFO] [stdout] 368 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 386 | | "field": { [INFO] [stdout] 387 | | "type": "Variant2", [INFO] [stdout] 388 | | "field1": 10, [INFO] [stdout] 389 | | "field2": "hello", [INFO] [stdout] 390 | | }, [INFO] [stdout] 391 | | }); [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:449:37 [INFO] [stdout] | [INFO] [stdout] 422 | struct OuterStruct { [INFO] [stdout] | ------------------ function or associated item `deserialize` not found for this [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[E0283]: type annotations needed [INFO] [stdout] --> tests/derive.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | let input = intermediate!({ [INFO] [stdout] | _________________^ [INFO] [stdout] 440 | | "field": { [INFO] [stdout] 441 | | "type": "Variant2", [INFO] [stdout] 442 | | "content": { [INFO] [stdout] ... | [INFO] [stdout] 446 | | }, [INFO] [stdout] 447 | | }); [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:505:25 [INFO] [stdout] | [INFO] [stdout] 480 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [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] [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 [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 [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 [INFO] [stdout] ... [INFO] [stdout] 720 | 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:723:22 [INFO] [stdout] | [INFO] [stdout] 645 | enum InternallyTaggedEnum { [INFO] [stdout] | ------------------------- method `serialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 723 | 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:746:25 [INFO] [stdout] | [INFO] [stdout] 729 | struct OuterTestStruct { [INFO] [stdout] | ---------------------- method `serialize` not found for this [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 [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 [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] [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 [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> tests/derive.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | 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:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | 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:3:83 [INFO] [stdout] | [INFO] [stdout] 3 | 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" "efbdba374808b9e2989b5cc06b0f180aaf7dcc382f9333aea53ec90df0868214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efbdba374808b9e2989b5cc06b0f180aaf7dcc382f9333aea53ec90df0868214", kill_on_drop: false }` [INFO] [stdout] efbdba374808b9e2989b5cc06b0f180aaf7dcc382f9333aea53ec90df0868214