[INFO] fetching crate yaserde 0.12.0...
[INFO] checking yaserde-0.12.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1
[INFO] extracting crate yaserde 0.12.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate yaserde 0.12.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate yaserde 0.12.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate yaserde 0.12.0
[INFO] tweaked toml for crates.io crate yaserde 0.12.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 37 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded yaserde_derive v0.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29f7057b9334b2fab13befae9fdd23e1ea0bf60a3a3e167cd77fe227fd1abc0e
[INFO] running `Command { std: "docker" "start" "-a" "29f7057b9334b2fab13befae9fdd23e1ea0bf60a3a3e167cd77fe227fd1abc0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29f7057b9334b2fab13befae9fdd23e1ea0bf60a3a3e167cd77fe227fd1abc0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29f7057b9334b2fab13befae9fdd23e1ea0bf60a3a3e167cd77fe227fd1abc0e", kill_on_drop: false }`
[INFO] [stdout] 29f7057b9334b2fab13befae9fdd23e1ea0bf60a3a3e167cd77fe227fd1abc0e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ee7e1518a8c968fff8796e6a6af0fe50651c0a8f4ac8b442e1f2bb673b20c0f
[INFO] running `Command { std: "docker" "start" "-a" "4ee7e1518a8c968fff8796e6a6af0fe50651c0a8f4ac8b442e1f2bb673b20c0f", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.92
[INFO] [stderr] Compiling unicode-ident v1.0.14
[INFO] [stderr] Checking memchr v2.7.4
[INFO] [stderr] Checking regex-syntax v0.8.5
[INFO] [stderr] Compiling serde v1.0.215
[INFO] [stderr] Checking utf8parse v0.2.2
[INFO] [stderr] Checking log v0.4.22
[INFO] [stderr] Checking anstyle-query v1.1.2
[INFO] [stderr] Checking anstyle v1.0.10
[INFO] [stderr] Checking anstyle-parse v0.2.6
[INFO] [stderr] Checking colorchoice v1.0.3
[INFO] [stderr] Checking is_terminal_polyfill v1.70.1
[INFO] [stderr] Compiling heck v0.5.0
[INFO] [stderr] Checking xml-rs v0.8.23
[INFO] [stderr] Checking anstream v0.6.18
[INFO] [stderr] Checking humantime v2.1.0
[INFO] [stderr] Checking aho-corasick v1.1.3
[INFO] [stderr] Checking yaserde v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr] Compiling quote v1.0.37
[INFO] [stderr] Compiling syn v2.0.89
[INFO] [stderr] Checking regex-automata v0.4.9
[INFO] [stderr] Checking regex v1.11.1
[INFO] [stderr] Checking env_filter v0.1.2
[INFO] [stderr] Checking env_logger v0.11.5
[INFO] [stderr] Compiling serde_derive v1.0.215
[INFO] [stderr] Compiling serde_tokenstream v0.2.2
[INFO] [stderr] Compiling yaserde_derive v0.12.0
[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 = true)]
[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:99:1
[INFO] [stdout] |
[INFO] [stdout] 99 | pub trait YaDeserialize: Sized {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 | 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] 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 23 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "4ee7e1518a8c968fff8796e6a6af0fe50651c0a8f4ac8b442e1f2bb673b20c0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ee7e1518a8c968fff8796e6a6af0fe50651c0a8f4ac8b442e1f2bb673b20c0f", kill_on_drop: false }`
[INFO] [stdout] 4ee7e1518a8c968fff8796e6a6af0fe50651c0a8f4ac8b442e1f2bb673b20c0f