[INFO] fetching crate serde_json 1.0.79... [INFO] testing serde_json-1.0.79 against 1.60.0 for beta-1.61-1 [INFO] extracting crate serde_json 1.0.79 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate serde_json 1.0.79 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_json 1.0.79 [INFO] finished tweaking crates.io crate serde_json 1.0.79 [INFO] tweaked toml for crates.io crate serde_json 1.0.79 written to /workspace/builds/worker-11/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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] aec7bad2a94f11bd8657cad837dc654dd21ec596cd682f98f867ec76b14f0e11 [INFO] running `Command { std: "docker" "start" "-a" "aec7bad2a94f11bd8657cad837dc654dd21ec596cd682f98f867ec76b14f0e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec7bad2a94f11bd8657cad837dc654dd21ec596cd682f98f867ec76b14f0e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec7bad2a94f11bd8657cad837dc654dd21ec596cd682f98f867ec76b14f0e11", kill_on_drop: false }` [INFO] [stdout] aec7bad2a94f11bd8657cad837dc654dd21ec596cd682f98f867ec76b14f0e11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 32f34b46f6a01af325fae8a485276cfc784827e5cccf2cea9dfee37b2cd0cebf [INFO] running `Command { std: "docker" "start" "-a" "32f34b46f6a01af325fae8a485276cfc784827e5cccf2cea9dfee37b2cd0cebf", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.79 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.37s [INFO] running `Command { std: "docker" "inspect" "32f34b46f6a01af325fae8a485276cfc784827e5cccf2cea9dfee37b2cd0cebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f34b46f6a01af325fae8a485276cfc784827e5cccf2cea9dfee37b2cd0cebf", kill_on_drop: false }` [INFO] [stdout] 32f34b46f6a01af325fae8a485276cfc784827e5cccf2cea9dfee37b2cd0cebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2b253f23ee021bbc19bebf9eb809628e4f2d00fdbc52451704186adccfdb9602 [INFO] running `Command { std: "docker" "start" "-a" "2b253f23ee021bbc19bebf9eb809628e4f2d00fdbc52451704186adccfdb9602", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling psm v0.1.18 [INFO] [stderr] Compiling stacker v0.1.14 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling automod v1.0.2 [INFO] [stderr] Compiling serde_stacker v0.1.4 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.79 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/regression/issue845.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/regression/issue845.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/regression/issue845.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[serde(deserialize_with = "deserialize_integer_or_string")] [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[E0277]: the trait bound `Struct: Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/regression/issue845.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | println!("{:?}", serde_json::from_str::(j).unwrap()); [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `Struct` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Struct: Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/regression/issue845.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 71 | println!("{:?}", serde_json::from_str::(j).unwrap()); [INFO] [stdout] | ^^^^^^ the trait `Deserialize<'_>` is not implemented for `Struct` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:65:46 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[serde(deny_unknown_fields)] [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 derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:565:14 [INFO] [stdout] | [INFO] [stdout] 565 | #[derive(Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:578:29 [INFO] [stdout] | [INFO] [stdout] 578 | #[derive(Eq, PartialEq, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test.rs:579:7 [INFO] [stdout] | [INFO] [stdout] 579 | #[serde(untagged)] [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 derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:1278:39 [INFO] [stdout] | [INFO] [stdout] 1278 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1278:50 [INFO] [stdout] | [INFO] [stdout] 1278 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1395:32 [INFO] [stdout] | [INFO] [stdout] 1395 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1415:32 [INFO] [stdout] | [INFO] [stdout] 1415 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_json` due to 5 previous errors [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1425:32 [INFO] [stdout] | [INFO] [stdout] 1425 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/test.rs:1427:11 [INFO] [stdout] | [INFO] [stdout] 1427 | #[serde(rename = "y")] [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 derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:1627:32 [INFO] [stdout] | [INFO] [stdout] 1627 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1627:43 [INFO] [stdout] | [INFO] [stdout] 1627 | #[derive(Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1938:14 [INFO] [stdout] | [INFO] [stdout] 1938 | #[derive(Deserialize, Debug, Ord, PartialOrd, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:1948:60 [INFO] [stdout] | [INFO] [stdout] 1948 | #[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1948:71 [INFO] [stdout] | [INFO] [stdout] 1948 | #[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> tests/test.rs:1961:60 [INFO] [stdout] | [INFO] [stdout] 1961 | #[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1961:71 [INFO] [stdout] | [INFO] [stdout] 1961 | #[derive(Eq, PartialEq, Ord, PartialOrd, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:1999:36 [INFO] [stdout] | [INFO] [stdout] 1999 | #[derive(Debug, PartialEq, Eq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:2326:14 [INFO] [stdout] | [INFO] [stdout] 2326 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:2352:14 [INFO] [stdout] | [INFO] [stdout] 2352 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> tests/test.rs:2357:14 [INFO] [stdout] | [INFO] [stdout] 2357 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/test.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | test_encode_ok(&[ [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | test_pretty_encode_ok(&[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_pretty_encode_ok` [INFO] [stdout] --> tests/test.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn test_pretty_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | --------------------- required by a bound in this [INFO] [stdout] 103 | where [INFO] [stdout] 104 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_pretty_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_write_newtype_struct::Newtype: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:569:60 [INFO] [stdout] | [INFO] [stdout] 569 | let outer = treemap!(String::from("outer") => to_value(&inner).unwrap()); [INFO] [stdout] | -------- ^^^^^^ the trait `serde::Serialize` is not implemented for `test_write_newtype_struct::Newtype` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&test_write_newtype_struct::Newtype` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_write_newtype_struct::Newtype: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:571:20 [INFO] [stdout] | [INFO] [stdout] 571 | test_encode_ok(&[(inner, r#"{"inner":123}"#)]); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `test_write_newtype_struct::Newtype` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `test_deserialize_number_to_untagged_enum::E` in the current scope [INFO] [stdout] --> tests/test.rs:584:28 [INFO] [stdout] | [INFO] [stdout] 580 | enum E { [INFO] [stdout] | ------ variant or associated item `deserialize` not found here [INFO] [stdout] ... [INFO] [stdout] 584 | assert_eq!(E::N(0), E::deserialize(Number::from(0)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `test_deserialize_number_to_untagged_enum::E` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/test.rs:584:40 [INFO] [stdout] | [INFO] [stdout] 584 | assert_eq!(E::N(0), E::deserialize(Number::from(0)).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `serde_json::Number: From<{integer}>` found in the `serde_json` crate: [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] and 6 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Outer: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1203:22 [INFO] [stdout] | [INFO] [stdout] 1203 | test_parse_err::(&[ [INFO] [stdout] | ^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Outer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Outer` [INFO] [stdout] note: required by a bound in `test_parse_err` [INFO] [stdout] --> tests/test.rs:655:28 [INFO] [stdout] | [INFO] [stdout] 653 | fn test_parse_err(errors: &[(&str, &'static str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 654 | where [INFO] [stdout] 655 | T: Debug + PartialEq + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Outer` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Outer: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Outer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Outer` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Outer: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1246:20 [INFO] [stdout] | [INFO] [stdout] 1246 | let v: Outer = from_str( [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `Outer` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `Inner` in the current scope [INFO] [stdout] --> tests/test.rs:1267:12 [INFO] [stdout] | [INFO] [stdout] 75 | struct Inner { [INFO] [stdout] | ------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 1267 | Inner::deserialize(&j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Inner` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `Inner` in the current scope [INFO] [stdout] --> tests/test.rs:1268:12 [INFO] [stdout] | [INFO] [stdout] 75 | struct Inner { [INFO] [stdout] | ------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 1268 | Inner::deserialize(j).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Inner` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/test.rs:1266:13 [INFO] [stdout] | [INFO] [stdout] 1266 | let j = json!([null, 2, []]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_parse_option::Foo: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1283:22 [INFO] [stdout] | [INFO] [stdout] 1283 | let value: Foo = from_str("{}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_parse_option::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_parse_option::Foo: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1286:5 [INFO] [stdout] | [INFO] [stdout] 1286 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `test_parse_option::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_parse_option::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1286:5 [INFO] [stdout] | [INFO] [stdout] 1286 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_parse_option::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_parse_option::Foo` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Animal: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1294:22 [INFO] [stdout] | [INFO] [stdout] 1294 | test_parse_err::( [INFO] [stdout] | ^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Animal` [INFO] [stdout] note: required by a bound in `test_parse_err` [INFO] [stdout] --> tests/test.rs:655:28 [INFO] [stdout] | [INFO] [stdout] 653 | fn test_parse_err(errors: &[(&str, &'static str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 654 | where [INFO] [stdout] 655 | T: Debug + PartialEq + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1325:5 [INFO] [stdout] | [INFO] [stdout] 1325 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Animal: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1325:5 [INFO] [stdout] | [INFO] [stdout] 1325 | test_parse_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Animal` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1356:5 [INFO] [stdout] | [INFO] [stdout] 1356 | test_parse_unusual_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_parse_unusual_ok` [INFO] [stdout] --> tests/test.rs:635:36 [INFO] [stdout] | [INFO] [stdout] 633 | fn test_parse_unusual_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | --------------------- required by a bound in this [INFO] [stdout] 634 | where [INFO] [stdout] 635 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_unusual_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Animal: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1356:5 [INFO] [stdout] | [INFO] [stdout] 1356 | test_parse_unusual_ok(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `Animal` [INFO] [stdout] note: required by a bound in `test_parse_unusual_ok` [INFO] [stdout] --> tests/test.rs:635:53 [INFO] [stdout] | [INFO] [stdout] 633 | fn test_parse_unusual_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | --------------------- required by a bound in this [INFO] [stdout] 634 | where [INFO] [stdout] 635 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_unusual_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | test_parse_ok(vec![( [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Animal: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1361:5 [INFO] [stdout] | [INFO] [stdout] 1361 | test_parse_ok(vec![( [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `Animal` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> serde::Deserialize<'de>` for `BTreeMap` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_option_field::Foo: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1400:22 [INFO] [stdout] | [INFO] [stdout] 1400 | let value: Foo = from_str("{}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_missing_option_field::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_option_field::Foo: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1403:22 [INFO] [stdout] | [INFO] [stdout] 1403 | let value: Foo = from_str("{\"x\": 5}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_missing_option_field::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_missing_option_field::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1406:22 [INFO] [stdout] | [INFO] [stdout] 1406 | let value: Foo = from_value(json!({})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_missing_option_field::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_missing_option_field::Foo` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 986 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_missing_option_field::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1409:22 [INFO] [stdout] | [INFO] [stdout] 1409 | let value: Foo = from_value(json!({"x": 5})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_missing_option_field::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_missing_option_field::Foo` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 986 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/test.rs:1409:33 [INFO] [stdout] | [INFO] [stdout] 1409 | let value: Foo = from_value(json!({"x": 5})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_missing_nonoption_field::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1420:22 [INFO] [stdout] | [INFO] [stdout] 1420 | test_parse_err::(&[("{}", "missing field `x` at line 1 column 2")]); [INFO] [stdout] | ^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_missing_nonoption_field::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_missing_nonoption_field::Foo` [INFO] [stdout] note: required by a bound in `test_parse_err` [INFO] [stdout] --> tests/test.rs:655:28 [INFO] [stdout] | [INFO] [stdout] 653 | fn test_parse_err(errors: &[(&str, &'static str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 654 | where [INFO] [stdout] 655 | T: Debug + PartialEq + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_renamed_field::Foo: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1431:22 [INFO] [stdout] | [INFO] [stdout] 1431 | let value: Foo = from_str("{}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_missing_renamed_field::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_missing_renamed_field::Foo: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1434:22 [INFO] [stdout] | [INFO] [stdout] 1434 | let value: Foo = from_str("{\"y\": 5}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_missing_renamed_field::Foo` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_missing_renamed_field::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1437:22 [INFO] [stdout] | [INFO] [stdout] 1437 | let value: Foo = from_value(json!({})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_missing_renamed_field::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_missing_renamed_field::Foo` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 986 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> test_missing_renamed_field::Foo: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> tests/test.rs:1440:22 [INFO] [stdout] | [INFO] [stdout] 1440 | let value: Foo = from_value(json!({"y": 5})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `test_missing_renamed_field::Foo` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `test_missing_renamed_field::Foo` [INFO] [stdout] note: required by a bound in `from_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 986 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/test.rs:1440:33 [INFO] [stdout] | [INFO] [stdout] 1440 | let value: Foo = from_value(json!({"y": 5})).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&{integer}` [INFO] [stdout] note: required by a bound in `to_value` [INFO] [stdout] --> /opt/rustwide/workdir/src/value/mod.rs:944:8 [INFO] [stdout] | [INFO] [stdout] 944 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_value` [INFO] [stdout] = note: this error originates in the macro `json_internal` (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 `Message` in the current scope [INFO] [stdout] --> tests/test.rs:1641:36 [INFO] [stdout] | [INFO] [stdout] 1628 | struct Message { [INFO] [stdout] | -------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 1641 | let request = Message::deserialize(&mut de).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Message` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1645:36 [INFO] [stdout] | [INFO] [stdout] 1645 | to_writer(&mut stream, &response).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `to_writer` [INFO] [stdout] --> /opt/rustwide/workdir/src/ser.rs:2158:17 [INFO] [stdout] | [INFO] [stdout] 2158 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1653:28 [INFO] [stdout] | [INFO] [stdout] 1653 | to_writer(&mut stream, &request).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^ the trait `serde::Serialize` is not implemented for `Message` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `to_writer` [INFO] [stdout] --> /opt/rustwide/workdir/src/ser.rs:2158:17 [INFO] [stdout] | [INFO] [stdout] 2158 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `Message` in the current scope [INFO] [stdout] --> tests/test.rs:1656:29 [INFO] [stdout] | [INFO] [stdout] 1628 | struct Message { [INFO] [stdout] | -------------- function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 1656 | let response = Message::deserialize(&mut de).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Message` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewtypeStr<'_>: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1941:41 [INFO] [stdout] | [INFO] [stdout] 1941 | let map: BTreeMap = from_str("{\"borrowed\":null}").unwrap(); [INFO] [stdout] | ^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `NewtypeStr<'_>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Deserialize<'_>` for `BTreeMap, ()>` [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_effectively_string_keys::Enum: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1958:5 [INFO] [stdout] | [INFO] [stdout] 1958 | test_encode_ok(&[(&map, expected)]); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `test_effectively_string_keys::Enum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&BTreeMap` [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_effectively_string_keys::Enum: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1959:5 [INFO] [stdout] | [INFO] [stdout] 1959 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `test_effectively_string_keys::Enum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `test_effectively_string_keys::Enum: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1959:5 [INFO] [stdout] | [INFO] [stdout] 1959 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `test_effectively_string_keys::Enum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> serde::Deserialize<'de>` for `BTreeMap` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Wrapper: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1968:5 [INFO] [stdout] | [INFO] [stdout] 1968 | test_encode_ok(&[(&map, expected)]); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Wrapper` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&BTreeMap` [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Wrapper: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/test.rs:1969:5 [INFO] [stdout] | [INFO] [stdout] 1969 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `Wrapper` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:36 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Wrapper: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:1969:5 [INFO] [stdout] | [INFO] [stdout] 1969 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `serde::Deserialize<'_>` is not implemented for `Wrapper` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> serde::Deserialize<'de>` for `BTreeMap` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `BTreeMap` [INFO] [stdout] --> tests/test.rs:1958:5 [INFO] [stdout] | [INFO] [stdout] 1953 | let map = treemap! { [INFO] [stdout] | --- consider giving `map` the explicit type `BTreeMap<_, {integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 1958 | test_encode_ok(&[(&map, expected)]); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&BTreeMap` [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `BTreeMap` [INFO] [stdout] --> tests/test.rs:1959:5 [INFO] [stdout] | [INFO] [stdout] 1953 | let map = treemap! { [INFO] [stdout] | --- consider giving `map` the explicit type `BTreeMap<_, {integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 1959 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Deserialize<'_>` found in the `serde` crate: [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i128; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i16; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i32; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> serde::Deserialize<'de>` for `BTreeMap` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `BTreeMap` [INFO] [stdout] --> tests/test.rs:1968:5 [INFO] [stdout] | [INFO] [stdout] 1963 | let map = treemap! { [INFO] [stdout] | --- consider giving `map` the explicit type `BTreeMap<_, {integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 1968 | test_encode_ok(&[(&map, expected)]); [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Serialize` found in the `serde` crate: [INFO] [stdout] - impl serde::Serialize for i128; [INFO] [stdout] - impl serde::Serialize for i16; [INFO] [stdout] - impl serde::Serialize for i32; [INFO] [stdout] - impl serde::Serialize for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `BTreeMap` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `serde::Serialize` for `&BTreeMap` [INFO] [stdout] note: required by a bound in `test_encode_ok` [INFO] [stdout] --> tests/test.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 86 | fn test_encode_ok(errors: &[(T, &str)]) [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] 87 | where [INFO] [stdout] 88 | T: PartialEq + Debug + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `test_encode_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `BTreeMap` [INFO] [stdout] --> tests/test.rs:1969:5 [INFO] [stdout] | [INFO] [stdout] 1963 | let map = treemap! { [INFO] [stdout] | --- consider giving `map` the explicit type `BTreeMap<_, {integer}>`, where the type parameter `{integer}` is specified [INFO] [stdout] ... [INFO] [stdout] 1969 | test_parse_ok(vec![(expected, map)]); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: serde::Deserialize<'_>` found in the `serde` crate: [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i128; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i16; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i32; [INFO] [stdout] - impl<'de> serde::Deserialize<'de> for i64; [INFO] [stdout] and 8 more [INFO] [stdout] = note: required because of the requirements on the impl of `for<'de> serde::Deserialize<'de>` for `BTreeMap` [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `BTreeMap` [INFO] [stdout] note: required by a bound in `test_parse_ok` [INFO] [stdout] --> tests/test.rs:589:53 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_parse_ok(tests: Vec<(&str, T)>) [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] 588 | where [INFO] [stdout] 589 | T: Clone + Debug + PartialEq + ser::Serialize + de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `test_parse_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `issue_220::E: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:2004:24 [INFO] [stdout] | [INFO] [stdout] 2004 | assert!(from_str::(r#" "V"0 "#).is_err()); [INFO] [stdout] | ^ the trait `serde::Deserialize<'_>` is not implemented for `issue_220::E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `issue_220::E: serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/test.rs:2006:27 [INFO] [stdout] | [INFO] [stdout] 2006 | assert_eq!(from_str::(r#"{"V": 0}"#).unwrap(), E::V(0)); [INFO] [stdout] | ^ the trait `serde::Deserialize<'_>` is not implemented for `issue_220::E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/workdir/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_borrow_in_map_key::Outer` in the current scope [INFO] [stdout] --> tests/test.rs:2347:12 [INFO] [stdout] | [INFO] [stdout] 2327 | struct Outer { [INFO] [stdout] | ------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 2347 | Outer::deserialize(&value).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_borrow_in_map_key::Outer` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `test_value_into_deserializer::Outer` in the current scope [INFO] [stdout] --> tests/test.rs:2365:24 [INFO] [stdout] | [INFO] [stdout] 2353 | struct Outer { [INFO] [stdout] | ------------ function or associated item `deserialize` not found for this [INFO] [stdout] ... [INFO] [stdout] 2365 | let outer = Outer::deserialize(map.into_deserializer()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `test_value_into_deserializer::Outer` [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: `serde::Deserialize` [INFO] [stdout] candidate #2: `DeserializeSeed` [INFO] [stdout] candidate #3: `serde_bytes::Deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b253f23ee021bbc19bebf9eb809628e4f2d00fdbc52451704186adccfdb9602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b253f23ee021bbc19bebf9eb809628e4f2d00fdbc52451704186adccfdb9602", kill_on_drop: false }` [INFO] [stdout] 2b253f23ee021bbc19bebf9eb809628e4f2d00fdbc52451704186adccfdb9602