[INFO] fetching crate yaserde 0.11.1...
[INFO] checking yaserde-0.11.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2
[INFO] extracting crate yaserde 0.11.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate yaserde 0.11.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yaserde 0.11.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate yaserde 0.11.1
[INFO] tweaked toml for crates.io crate yaserde 0.11.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 34 packages to latest compatible versions
[INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77)
[INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded yaserde_derive v0.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95fddbe87d57008d00b97695d08f832de362f6bc009251fa60d07ecbfd617c60
[INFO] running `Command { std: "docker" "start" "-a" "95fddbe87d57008d00b97695d08f832de362f6bc009251fa60d07ecbfd617c60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95fddbe87d57008d00b97695d08f832de362f6bc009251fa60d07ecbfd617c60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95fddbe87d57008d00b97695d08f832de362f6bc009251fa60d07ecbfd617c60", kill_on_drop: false }`
[INFO] [stdout] 95fddbe87d57008d00b97695d08f832de362f6bc009251fa60d07ecbfd617c60
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 84d1fe8b132d9873a261e3bfe636c4f3f58577854b898f54ec555bb39dfe9c7e
[INFO] running `Command { std: "docker" "start" "-a" "84d1fe8b132d9873a261e3bfe636c4f3f58577854b898f54ec555bb39dfe9c7e", kill_on_drop: false }`
[INFO] [stderr] Checking memchr v2.7.4
[INFO] [stderr] Checking regex-syntax v0.8.4
[INFO] [stderr] Compiling unicode-ident v1.0.13
[INFO] [stderr] Checking utf8parse v0.2.2
[INFO] [stderr] Checking log v0.4.22
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Checking colorchoice v1.0.2
[INFO] [stderr] Checking anstyle v1.0.8
[INFO] [stderr] Checking anstyle-query v1.1.1
[INFO] [stderr] Checking is_terminal_polyfill v1.70.1
[INFO] [stderr] Compiling xml-rs v0.8.22
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Checking humantime v2.1.0
[INFO] [stderr] Compiling proc-macro2 v1.0.86
[INFO] [stderr] Checking anstyle-parse v0.2.5
[INFO] [stderr] Checking anstream v0.6.15
[INFO] [stderr] Checking aho-corasick v1.1.3
[INFO] [stderr] Checking yaserde v0.11.1 (/opt/rustwide/workdir)
[INFO] [stderr] Compiling quote v1.0.37
[INFO] [stderr] Checking regex-automata v0.4.7
[INFO] [stderr] Compiling yaserde_derive v0.11.1
[INFO] [stderr] Checking regex v1.10.6
[INFO] [stderr] Checking env_filter v0.1.2
[INFO] [stderr] Checking env_logger v0.11.5
[INFO] [stdout] error: cannot find derive macro `YaDeserialize` in this scope
[INFO] [stdout] --> tests/generic.rs:14:30
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, PartialEq, YaDeserialize, YaSerialize)]
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `YaDeserialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout] --> tests/generic.rs:4:15
[INFO] [stdout] |
[INFO] [stdout] 4 | use yaserde::{YaDeserialize, YaSerialize};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 4 + use yaserde_derive::YaDeserialize;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `YaSerialize` in this scope
[INFO] [stdout] --> tests/generic.rs:14:45
[INFO] [stdout] |
[INFO] [stdout] 14 | #[derive(Debug, PartialEq, YaDeserialize, YaSerialize)]
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `YaSerialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout] --> tests/generic.rs:4:30
[INFO] [stdout] |
[INFO] [stdout] 4 | use yaserde::{YaDeserialize, YaSerialize};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 4 + use yaserde_derive::YaSerialize;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `yaserde` in this scope
[INFO] [stdout] --> tests/generic.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | #[yaserde(rename = "base")]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `yaserde` is imported here, but it is a crate, not an attribute
[INFO] [stdout] --> tests/generic.rs:2:1
[INFO] [stdout] |
[INFO] [stdout] 2 | extern crate yaserde;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `YaDeserialize` in this scope
[INFO] [stdout] --> tests/generic.rs:23:39
[INFO] [stdout] |
[INFO] [stdout] 23 | #[derive(Debug, Default, PartialEq, YaDeserialize, YaSerialize)]
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `YaDeserialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout] --> tests/generic.rs:4:15
[INFO] [stdout] |
[INFO] [stdout] 4 | use yaserde::{YaDeserialize, YaSerialize};
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 4 + use yaserde_derive::YaDeserialize;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: cannot find derive macro `YaSerialize` in this scope
[INFO] [stdout] --> tests/generic.rs:23:54
[INFO] [stdout] |
[INFO] [stdout] 23 | #[derive(Debug, Default, PartialEq, YaDeserialize, YaSerialize)]
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `YaSerialize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout] --> tests/generic.rs:4:30
[INFO] [stdout] |
[INFO] [stdout] 4 | use yaserde::{YaDeserialize, YaSerialize};
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout] |
[INFO] [stdout] 4 + use yaserde_derive::YaSerialize;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: cannot find attribute `yaserde` in this scope
[INFO] [stdout] --> tests/generic.rs:25:7
[INFO] [stdout] |
[INFO] [stdout] 25 | #[yaserde(attribute)]
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] note: `yaserde` is imported here, but it is a crate, not an attribute
[INFO] [stdout] --> tests/generic.rs:2:1
[INFO] [stdout] |
[INFO] [stdout] 2 | extern crate yaserde;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:39:15
[INFO] [stdout] |
[INFO] [stdout] 39 | let loaded: Result, String> = yaserde::de::from_str(content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:39:15
[INFO] [stdout] |
[INFO] [stdout] 39 | let loaded: Result, String> = yaserde::de::from_str(content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:31:17
[INFO] [stdout] |
[INFO] [stdout] 31 | background: Generic {
[INFO] [stdout] | _________________^
[INFO] [stdout] 32 | | color: "blue".to_string(),
[INFO] [stdout] 33 | | },
[INFO] [stdout] | |_____^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:31:17
[INFO] [stdout] |
[INFO] [stdout] 31 | background: Generic {
[INFO] [stdout] | _________________^
[INFO] [stdout] 32 | | color: "blue".to_string(),
[INFO] [stdout] 33 | | },
[INFO] [stdout] | |_____^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Base: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:36:3
[INFO] [stdout] |
[INFO] [stdout] 36 | serialize_and_validate!(model, content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | the trait `YaSerialize` is not implemented for `Base`
[INFO] [stdout] | required by a bound introduced by this call
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `yaserde::ser::to_string`
[INFO] [stdout] --> /opt/rustwide/workdir/src/ser/mod.rs:11:21
[INFO] [stdout] |
[INFO] [stdout] 11 | pub fn to_string(model: &T) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] = note: this error originates in the macro `serialize_and_validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:36:3
[INFO] [stdout] |
[INFO] [stdout] 36 | serialize_and_validate!(model, content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout] = note: this error originates in the macro `serialize_and_validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:36:3
[INFO] [stdout] |
[INFO] [stdout] 36 | serialize_and_validate!(model, content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout] = note: this error originates in the macro `serialize_and_validate` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Base: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:39:47
[INFO] [stdout] |
[INFO] [stdout] 39 | let loaded: Result, String> = yaserde::de::from_str(content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Base`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `yaserde::de::from_str`
[INFO] [stdout] --> /opt/rustwide/workdir/src/de/mod.rs:9:20
[INFO] [stdout] |
[INFO] [stdout] 9 | pub fn from_str(s: &str) -> Result {
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:39:47
[INFO] [stdout] |
[INFO] [stdout] 39 | let loaded: Result, String> = yaserde::de::from_str(content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:39:47
[INFO] [stdout] |
[INFO] [stdout] 39 | let loaded: Result, String> = yaserde::de::from_str(content);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^^^^^^^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:22
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, String>`
[INFO] [stdout] --> tests/generic.rs:40:3
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | Result, String>
[INFO] [stdout] | Result, String>
[INFO] [stdout] |
[INFO] [stdout] note: the following type would have to `impl` its required traits for this operation to be valid
[INFO] [stdout] --> tests/generic.rs:24:3
[INFO] [stdout] |
[INFO] [stdout] 24 | pub struct Generic {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | must implement `YaDeserialize`
[INFO] [stdout] | must implement `YaSerialize`
[INFO] [stdout] note: the traits `YaDeserialize` and `YaSerialize` must be implemented
[INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:1
[INFO] [stdout] |
[INFO] [stdout] 101 | pub trait YaDeserialize: Sized {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 | pub trait YaSerialize: Sized {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaSerialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:3
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaSerialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] = help: the following other types implement trait `YaSerialize`:
[INFO] [stdout] bool
[INFO] [stdout] char
[INFO] [stdout] f32
[INFO] [stdout] f64
[INFO] [stdout] i16
[INFO] [stdout] i32
[INFO] [stdout] i64
[INFO] [stdout] i8
[INFO] [stdout] and 6 others
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `Generic: YaDeserialize` is not satisfied
[INFO] [stdout] --> tests/generic.rs:40:3
[INFO] [stdout] |
[INFO] [stdout] 40 | assert_eq!(loaded, Ok(model));
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `YaDeserialize` is not implemented for `Generic`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Base`
[INFO] [stdout] --> tests/generic.rs:18:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct Base
[INFO] [stdout] | ---- required by a bound in this struct
[INFO] [stdout] 17 | where
[INFO] [stdout] 18 | G: YaSerialize + YaDeserialize + Default,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Base`
[INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 23 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `yaserde` (test "generic") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "84d1fe8b132d9873a261e3bfe636c4f3f58577854b898f54ec555bb39dfe9c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84d1fe8b132d9873a261e3bfe636c4f3f58577854b898f54ec555bb39dfe9c7e", kill_on_drop: false }`
[INFO] [stdout] 84d1fe8b132d9873a261e3bfe636c4f3f58577854b898f54ec555bb39dfe9c7e