[INFO] fetching crate serde_test 1.0.136... [INFO] testing serde_test-1.0.136 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate serde_test 1.0.136 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate serde_test 1.0.136 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serde_test 1.0.136 [INFO] finished tweaking crates.io crate serde_test 1.0.136 [INFO] tweaked toml for crates.io crate serde_test 1.0.136 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e724e0993a5ab7639b444d6c139262936c3f0ea2442021ac6f262a646bef6b82 [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" "e724e0993a5ab7639b444d6c139262936c3f0ea2442021ac6f262a646bef6b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e724e0993a5ab7639b444d6c139262936c3f0ea2442021ac6f262a646bef6b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e724e0993a5ab7639b444d6c139262936c3f0ea2442021ac6f262a646bef6b82", kill_on_drop: false }` [INFO] [stdout] e724e0993a5ab7639b444d6c139262936c3f0ea2442021ac6f262a646bef6b82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-04-10" "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] a18ff890fa3ec477196cea31aacc93e38f0b4cb64c23660473bc62b5409ffac3 [INFO] running `Command { std: "docker" "start" "-a" "a18ff890fa3ec477196cea31aacc93e38f0b4cb64c23660473bc62b5409ffac3", kill_on_drop: false }` [INFO] [stderr] Compiling serde_test v1.0.136 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "a18ff890fa3ec477196cea31aacc93e38f0b4cb64c23660473bc62b5409ffac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18ff890fa3ec477196cea31aacc93e38f0b4cb64c23660473bc62b5409ffac3", kill_on_drop: false }` [INFO] [stdout] a18ff890fa3ec477196cea31aacc93e38f0b4cb64c23660473bc62b5409ffac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-04-10" "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] eced44476a4bf451be8313df969435b4d9a3f9ef5f9c3ae3929a4e188b435c39 [INFO] running `Command { std: "docker" "start" "-a" "eced44476a4bf451be8313df969435b4d9a3f9ef5f9c3ae3929a4e188b435c39", kill_on_drop: false }` [INFO] [stderr] Compiling serde_test v1.0.136 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_test-ca2bc4bb89275bda) [INFO] running `Command { std: "docker" "inspect" "eced44476a4bf451be8313df969435b4d9a3f9ef5f9c3ae3929a4e188b435c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eced44476a4bf451be8313df969435b4d9a3f9ef5f9c3ae3929a4e188b435c39", kill_on_drop: false }` [INFO] [stdout] eced44476a4bf451be8313df969435b4d9a3f9ef5f9c3ae3929a4e188b435c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c03e42bf663b17c6f457e70395146bc3979449a5f27c866b81e286f1f83e455 [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" "0c03e42bf663b17c6f457e70395146bc3979449a5f27c866b81e286f1f83e455", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_test-ca2bc4bb89275bda) [INFO] [stdout] [INFO] [stderr] Doc-tests serde_test [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test src/assert.rs - assert::assert_de_tokens_error (line 187) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::Enum (line 464) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_de_tokens (line 133) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_ser_tokens (line 42) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_ser_tokens_error (line 81) ... FAILED [INFO] [stdout] test src/assert.rs - assert::assert_tokens (line 11) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::I16 (line 25) ... ok [INFO] [stdout] test src/token.rs - token::Token::NewtypeStruct (line 226) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::BorrowedStr (line 125) ... ok [INFO] [stdout] test src/token.rs - token::Token::Bool (line 7) ... ok [INFO] [stdout] test src/token.rs - token::Token::Char (line 106) ... ok [INFO] [stdout] test src/token.rs - token::Token::NewtypeVariant (line 247) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::I64 (line 43) ... ok [INFO] [stdout] test src/token.rs - token::Token::F32 (line 88) ... ok [INFO] [stdout] test src/token.rs - token::Token::I32 (line 34) ... ok [INFO] [stdout] test src/token.rs - token::Token::TupleVariant (line 343) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::F64 (line 97) ... ok [INFO] [stdout] test src/token.rs - token::Token::StructVariant (line 434) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::Struct (line 402) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::TupleStruct (line 316) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::I8 (line 16) ... ok [INFO] [stdout] test src/token.rs - token::Token::None (line 154) ... ok [INFO] [stdout] test src/token.rs - token::Token::UnitStruct (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... ok [INFO] [stdout] test src/token.rs - token::Token::UnitVariant (line 203) ... FAILED [INFO] [stdout] test src/token.rs - token::Token::Map (line 375) ... ok [INFO] [stdout] test src/token.rs - token::Token::Some (line 166) ... ok [INFO] [stdout] test src/configure.rs - configure::Configure (line 17) ... ok [INFO] [stdout] test src/token.rs - token::Token::U64 (line 79) ... ok [INFO] [stdout] test src/token.rs - token::Token::String (line 135) ... ok [INFO] [stdout] test src/token.rs - token::Token::Unit (line 179) ... ok [INFO] [stdout] test src/token.rs - token::Token::Str (line 115) ... ok [INFO] [stdout] test src/token.rs - token::Token::Seq (line 274) ... ok [INFO] [stdout] test src/token.rs - token::Token::Tuple (line 295) ... ok [INFO] [stdout] test src/token.rs - token::Token::U8 (line 52) ... ok [INFO] [stdout] test src/token.rs - token::Token::U32 (line 70) ... ok [INFO] [stdout] test src/token.rs - token::Token::U16 (line 61) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/assert.rs - assert::assert_de_tokens_error (line 187) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/assert.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/assert.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/assert.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/assert.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/assert.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[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] error[E0277]: the trait bound `S: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/assert.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_de_tokens_error::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_de_tokens_error` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::Enum (line 464) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 16 | assert_tokens(&a, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 16 | assert_tokens(&a, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:485:1 [INFO] [stdout] | [INFO] [stdout] 23 | assert_tokens(&b, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:485:1 [INFO] [stdout] | [INFO] [stdout] 23 | assert_tokens(&b, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 30 | assert_tokens(&c, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 30 | assert_tokens(&c, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:502:1 [INFO] [stdout] | [INFO] [stdout] 40 | assert_tokens(&d, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:502:1 [INFO] [stdout] | [INFO] [stdout] 40 | assert_tokens(&d, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_de_tokens (line 133) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/assert.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/assert.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/assert.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/assert.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/assert.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_de_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_de_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | T: Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_de_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_ser_tokens (line 42) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/assert.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/assert.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/assert.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/assert.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Serialize` is not satisfied [INFO] [stdout] --> src/assert.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_ser_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_ser_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_ser_tokens_error (line 81) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/assert.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize)] [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] --> src/assert.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Example: Serialize` is not satisfied [INFO] [stdout] --> src/assert.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 33 | assert_ser_tokens_error(&example, expected, error); [INFO] [stdout] | ----------------------- ^^^^^^^^ the trait `Serialize` is not implemented for `Example` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_ser_tokens_error` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | T: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_ser_tokens_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assert.rs - assert::assert_tokens (line 11) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/assert.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/assert.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/assert.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/assert.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Serialize` is not satisfied [INFO] [stdout] --> src/assert.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/assert.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::NewtypeStruct (line 226) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:231:21 [INFO] [stdout] | [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `N: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_tokens(&n, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `N` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `N: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_tokens(&n, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `N` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::NewtypeVariant (line 247) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:252:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&b, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&b, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::TupleVariant (line 343) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:348:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:344:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&c, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:354:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&c, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::StructVariant (line 434) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:439:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&d, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:445:1 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&d, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::Struct (line 402) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:407:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:403:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 14 | assert_tokens(&s, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::TupleStruct (line 316) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_tokens(&t, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `T: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 11 | assert_tokens(&t, &[ [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `T` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::UnitStruct (line 188) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `X: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 10 | assert_tokens(&X, &[Token::UnitStruct { name: "X" }]); [INFO] [stdout] | ------------- ^^ the trait `Serialize` is not implemented for `X` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `X: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 10 | assert_tokens(&X, &[Token::UnitStruct { name: "X" }]); [INFO] [stdout] | ------------- ^^ the trait `Deserialize<'_>` is not implemented for `X` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/token.rs - token::Token::UnitVariant (line 203) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/token.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, 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] --> src/token.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/token.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, PartialEq, 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] --> src/token.rs:204:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Serialize` is not satisfied [INFO] [stdout] --> src/token.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&a, &[Token::UnitVariant { name: "E", variant: "A" }]); [INFO] [stdout] | ------------- ^^ the trait `Serialize` is not implemented for `E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `E: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/token.rs:214:15 [INFO] [stdout] | [INFO] [stdout] 13 | assert_tokens(&a, &[Token::UnitVariant { name: "E", variant: "A" }]); [INFO] [stdout] | ------------- ^^ the trait `Deserialize<'_>` is not implemented for `E` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_tokens` [INFO] [stdout] --> /opt/rustwide/workdir/src/assert.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | T: Serialize + Deserialize<'de> + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `assert_tokens` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/assert.rs - assert::assert_de_tokens (line 133) [INFO] [stdout] src/assert.rs - assert::assert_de_tokens_error (line 187) [INFO] [stdout] src/assert.rs - assert::assert_ser_tokens (line 42) [INFO] [stdout] src/assert.rs - assert::assert_ser_tokens_error (line 81) [INFO] [stdout] src/assert.rs - assert::assert_tokens (line 11) [INFO] [stdout] src/token.rs - token::Token::Enum (line 464) [INFO] [stdout] src/token.rs - token::Token::NewtypeStruct (line 226) [INFO] [stdout] src/token.rs - token::Token::NewtypeVariant (line 247) [INFO] [stdout] src/token.rs - token::Token::Struct (line 402) [INFO] [stdout] src/token.rs - token::Token::StructVariant (line 434) [INFO] [stdout] src/token.rs - token::Token::TupleStruct (line 316) [INFO] [stdout] src/token.rs - token::Token::TupleVariant (line 343) [INFO] [stdout] src/token.rs - token::Token::UnitStruct (line 188) [INFO] [stdout] src/token.rs - token::Token::UnitVariant (line 203) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 8.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c03e42bf663b17c6f457e70395146bc3979449a5f27c866b81e286f1f83e455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c03e42bf663b17c6f457e70395146bc3979449a5f27c866b81e286f1f83e455", kill_on_drop: false }` [INFO] [stdout] 0c03e42bf663b17c6f457e70395146bc3979449a5f27c866b81e286f1f83e455