[INFO] crate zvariant 2.0.0 is already in cache [INFO] testing zvariant-2.0.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate zvariant 2.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate zvariant 2.0.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate zvariant 2.0.0 [INFO] finished tweaking crates.io crate zvariant 2.0.0 [INFO] tweaked toml for crates.io crate zvariant 2.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aab7d7091aed94419a9c19a6cac03db4dee38923fbeb363bf7f8ce238a0c8027 [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" "aab7d7091aed94419a9c19a6cac03db4dee38923fbeb363bf7f8ce238a0c8027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aab7d7091aed94419a9c19a6cac03db4dee38923fbeb363bf7f8ce238a0c8027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab7d7091aed94419a9c19a6cac03db4dee38923fbeb363bf7f8ce238a0c8027", kill_on_drop: false }` [INFO] [stdout] aab7d7091aed94419a9c19a6cac03db4dee38923fbeb363bf7f8ce238a0c8027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c4d4341b6c6f10f2f3470615c1eadc67aa6e7cbd3ad318030add51f29b8b0ba [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" "0c4d4341b6c6f10f2f3470615c1eadc67aa6e7cbd3ad318030add51f29b8b0ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling zvariant v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.14s [INFO] running `Command { std: "docker" "inspect" "0c4d4341b6c6f10f2f3470615c1eadc67aa6e7cbd3ad318030add51f29b8b0ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4d4341b6c6f10f2f3470615c1eadc67aa6e7cbd3ad318030add51f29b8b0ba", kill_on_drop: false }` [INFO] [stdout] 0c4d4341b6c6f10f2f3470615c1eadc67aa6e7cbd3ad318030add51f29b8b0ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba6c0501c9b19e1a81fa98dec8a9fee78471ce402e2df302d5b8b5827b2f141 [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" "0ba6c0501c9b19e1a81fa98dec8a9fee78471ce402e2df302d5b8b5827b2f141", kill_on_drop: false }` [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling zvariant v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `zvariant_derive` [INFO] [stdout] --> src/lib.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | use zvariant_derive::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type or module `zvariant_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:872:18 [INFO] [stdout] | [INFO] [stdout] 872 | #[derive(Type, Deserialize, Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:832:42 [INFO] [stdout] | [INFO] [stdout] 832 | #[derive(Deserialize, Serialize, Type, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:819:52 [INFO] [stdout] | [INFO] [stdout] 819 | #[derive(Deserialize_repr, Serialize_repr, Type, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:805:52 [INFO] [stdout] | [INFO] [stdout] 805 | #[derive(Deserialize_repr, Serialize_repr, Type, Debug, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:796:42 [INFO] [stdout] | [INFO] [stdout] 796 | #[derive(Deserialize, Serialize, Type)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Type` [INFO] [stdout] --> src/lib.rs:777:42 [INFO] [stdout] | [INFO] [stdout] 777 | #[derive(Deserialize, Serialize, Type, PartialEq, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as zvariant` [INFO] [stdout] --> src/lib.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | use crate as zvariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate as zvariant` [INFO] [stdout] --> src/lib.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | use crate as zvariant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `signature` found for struct `tests::derive::Struct<'_>` in the current scope [INFO] [stdout] --> src/lib.rs:784:28 [INFO] [stdout] | [INFO] [stdout] 778 | struct Struct<'s> { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `signature` not found for this [INFO] [stdout] | doesn't satisfy `tests::derive::Struct<'_>: r#type::Type` [INFO] [stdout] ... [INFO] [stdout] 784 | assert_eq!(Struct::signature(), "(qxs)"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `tests::derive::Struct<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::derive::Struct<'_>: r#type::Type` [INFO] [stdout] which is required by `&tests::derive::Struct<'_>: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Struct<'_>: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:791:38 [INFO] [stdout] | [INFO] [stdout] 791 | let encoded = to_bytes(ctxt, &s).unwrap(); [INFO] [stdout] | ^^ the trait `r#type::Type` is not implemented for `tests::derive::Struct<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Struct<'_>: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:793:31 [INFO] [stdout] | [INFO] [stdout] 793 | let decoded: Struct = from_slice(&encoded, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::Struct<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn from_slice<'d, 'r: 'd, B, T: ?Sized>(bytes: &'r [u8], ctxt: EncodingContext) -> Result [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 69 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `signature` found for struct `tests::derive::UnitStruct` in the current scope [INFO] [stdout] --> src/lib.rs:799:32 [INFO] [stdout] | [INFO] [stdout] 797 | struct UnitStruct; [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | function or associated item `signature` not found for this [INFO] [stdout] | doesn't satisfy `tests::derive::UnitStruct: r#type::Type` [INFO] [stdout] 798 | [INFO] [stdout] 799 | assert_eq!(UnitStruct::signature(), <()>::signature()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `tests::derive::UnitStruct` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::derive::UnitStruct: r#type::Type` [INFO] [stdout] which is required by `&tests::derive::UnitStruct: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::UnitStruct: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:800:38 [INFO] [stdout] | [INFO] [stdout] 800 | let encoded = to_bytes(ctxt, &UnitStruct).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::UnitStruct` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::UnitStruct: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:802:29 [INFO] [stdout] | [INFO] [stdout] 802 | let _: UnitStruct = from_slice(&encoded, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::UnitStruct` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn from_slice<'d, 'r: 'd, B, T: ?Sized>(bytes: &'r [u8], ctxt: EncodingContext) -> Result [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 69 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `signature` found for enum `tests::derive::Enum` in the current scope [INFO] [stdout] --> src/lib.rs:812:26 [INFO] [stdout] | [INFO] [stdout] 806 | enum Enum { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `signature` not found here [INFO] [stdout] | doesn't satisfy `tests::derive::Enum: r#type::Type` [INFO] [stdout] ... [INFO] [stdout] 812 | assert_eq!(Enum::signature(), u8::signature()); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `tests::derive::Enum` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::derive::Enum: r#type::Type` [INFO] [stdout] which is required by `&tests::derive::Enum: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Enum: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:813:38 [INFO] [stdout] | [INFO] [stdout] 813 | let encoded = to_bytes(ctxt, &Enum::Variant3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::Enum` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Enum: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:815:29 [INFO] [stdout] | [INFO] [stdout] 815 | let decoded: Enum = from_slice(&encoded, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::Enum` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn from_slice<'d, 'r: 'd, B, T: ?Sized>(bytes: &'r [u8], ctxt: EncodingContext) -> Result [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 69 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `signature` found for enum `tests::derive::Enum2` in the current scope [INFO] [stdout] --> src/lib.rs:826:27 [INFO] [stdout] | [INFO] [stdout] 820 | enum Enum2 { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `signature` not found here [INFO] [stdout] | doesn't satisfy `tests::derive::Enum2: r#type::Type` [INFO] [stdout] ... [INFO] [stdout] 826 | assert_eq!(Enum2::signature(), i64::signature()); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `tests::derive::Enum2` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::derive::Enum2: r#type::Type` [INFO] [stdout] which is required by `&tests::derive::Enum2: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Enum2: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:827:38 [INFO] [stdout] | [INFO] [stdout] 827 | let encoded = to_bytes(ctxt, &Enum2::Variant2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::Enum2` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::Enum2: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:829:30 [INFO] [stdout] | [INFO] [stdout] 829 | let decoded: Enum2 = from_slice(&encoded, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::Enum2` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn from_slice<'d, 'r: 'd, B, T: ?Sized>(bytes: &'r [u8], ctxt: EncodingContext) -> Result [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 69 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `signature` found for enum `tests::derive::NoReprEnum` in the current scope [INFO] [stdout] --> src/lib.rs:839:32 [INFO] [stdout] | [INFO] [stdout] 833 | enum NoReprEnum { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | variant or associated item `signature` not found here [INFO] [stdout] | doesn't satisfy `tests::derive::NoReprEnum: r#type::Type` [INFO] [stdout] ... [INFO] [stdout] 839 | assert_eq!(NoReprEnum::signature(), u32::signature()); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `tests::derive::NoReprEnum` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::derive::NoReprEnum: r#type::Type` [INFO] [stdout] which is required by `&tests::derive::NoReprEnum: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::NoReprEnum: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:840:38 [INFO] [stdout] | [INFO] [stdout] 840 | let encoded = to_bytes(ctxt, &NoReprEnum::Variant2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::NoReprEnum` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::derive::NoReprEnum: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:842:35 [INFO] [stdout] | [INFO] [stdout] 842 | let decoded: NoReprEnum = from_slice(&encoded, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::derive::NoReprEnum` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn from_slice<'d, 'r: 'd, B, T: ?Sized>(bytes: &'r [u8], ctxt: EncodingContext) -> Result [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 69 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `signature` found for struct `tests::struct_with_hashmap::Foo` in the current scope [INFO] [stdout] --> src/lib.rs:878:25 [INFO] [stdout] | [INFO] [stdout] 873 | struct Foo { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `signature` not found for this [INFO] [stdout] | doesn't satisfy `tests::struct_with_hashmap::Foo: r#type::Type` [INFO] [stdout] ... [INFO] [stdout] 878 | assert_eq!(Foo::signature(), "(a{ss})"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `tests::struct_with_hashmap::Foo` [INFO] [stdout] | [INFO] [stdout] = note: the method `signature` exists but the following trait bounds were not satisfied: [INFO] [stdout] `tests::struct_with_hashmap::Foo: r#type::Type` [INFO] [stdout] which is required by `&tests::struct_with_hashmap::Foo: r#type::Type` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `r#type::Type` defines an item `signature`, perhaps you need to implement it [INFO] [stdout] --> src/type.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Type { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::struct_with_hashmap::Foo: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:881:38 [INFO] [stdout] | [INFO] [stdout] 881 | let encoded = to_bytes(ctxt, &(&foo, 1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::struct_with_hashmap::Foo` [INFO] [stdout] | [INFO] [stdout] ::: src/ser.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_bytes(ctxt: EncodingContext, value: &T) -> Result> [INFO] [stdout] | -------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 150 | T: Serialize + Type, [INFO] [stdout] | ---- required by this bound in `ser::to_bytes` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `r#type::Type` for `&tests::struct_with_hashmap::Foo` [INFO] [stdout] = note: required because of the requirements on the impl of `r#type::Type` for `(&tests::struct_with_hashmap::Foo, {integer})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tests::struct_with_hashmap::Foo: r#type::Type` is not satisfied [INFO] [stdout] --> src/lib.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | let f: Foo = from_slice_fds(&encoded, None, ctxt).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `r#type::Type` is not implemented for `tests::struct_with_hashmap::Foo` [INFO] [stdout] | [INFO] [stdout] ::: src/de.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from_slice_fds<'d, 'r: 'd, B, T: ?Sized>( [INFO] [stdout] | -------------- required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 42 | T: Deserialize<'d> + Type, [INFO] [stdout] | ---- required by this bound in `de::from_slice_fds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zvariant`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0ba6c0501c9b19e1a81fa98dec8a9fee78471ce402e2df302d5b8b5827b2f141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba6c0501c9b19e1a81fa98dec8a9fee78471ce402e2df302d5b8b5827b2f141", kill_on_drop: false }` [INFO] [stdout] 0ba6c0501c9b19e1a81fa98dec8a9fee78471ce402e2df302d5b8b5827b2f141