[INFO] fetching crate h256only 0.4.1... [INFO] checking h256only-0.4.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate h256only 0.4.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate h256only 0.4.1 [INFO] finished tweaking crates.io crate h256only 0.4.1 [INFO] tweaked toml for crates.io crate h256only 0.4.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate h256only 0.4.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 518611cb74cfde7799df60d126b4b2c535fb11d581891a3bd6361c1e252e7d64 [INFO] running `Command { std: "docker" "start" "-a" "518611cb74cfde7799df60d126b4b2c535fb11d581891a3bd6361c1e252e7d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "518611cb74cfde7799df60d126b4b2c535fb11d581891a3bd6361c1e252e7d64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518611cb74cfde7799df60d126b4b2c535fb11d581891a3bd6361c1e252e7d64", kill_on_drop: false }` [INFO] [stdout] 518611cb74cfde7799df60d126b4b2c535fb11d581891a3bd6361c1e252e7d64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd02bad7f59313b7f4e7d938ca27fd32f43eda656e7015cd4dae655e9cdf5dba [INFO] running `Command { std: "docker" "start" "-a" "cd02bad7f59313b7f4e7d938ca27fd32f43eda656e7015cd4dae655e9cdf5dba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking h256only v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/header.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/header.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/header.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/header.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/claims.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Default, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/claims.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Default, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let data = try!(raw.from_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let s = try!(String::from_utf8(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let tree = match try!(Json::from_str(&*s)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let reg_claims: Registered = try!(Decodable::decode(&mut decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(json::encode(&self.reg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let mut tree = match try!(Json::from_str(&*s)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let s = try!(json::encode(&tree)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data = try!(raw.from_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let s = try!(String::from_utf8(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(try!(json::decode(&*s))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let s = try!(json::encode(&self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | header: try!(Component::from_base64(pieces[0])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | claims: try!(Component::from_base64(pieces[1])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let header = try!(Component::to_base64(&self.header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let claims = try!(self.claims.to_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/header.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/header.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/header.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_base64` exists for struct `Header`, but its trait bounds were not satisfied [INFO] [stdout] --> src/header.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- function or associated item `from_base64` not found for this struct because it doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] ... [INFO] [stdout] 36 | let header = Header::from_base64(enc).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Header` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&Header: Decodable` [INFO] [stdout] `&Header: Encodable` [INFO] [stdout] `&mut Header: Decodable` [INFO] [stdout] `&mut Header: Encodable` [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_base64`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Component` [INFO] [stdout] candidate #2: `FromBase64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/header.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/claims.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Default, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_base64` exists for struct `Header`, but its trait bounds were not satisfied [INFO] [stdout] --> src/header.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- function or associated item `from_base64` not found for this struct because it doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] ... [INFO] [stdout] 42 | let header = Header::from_base64(enc).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Header` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&Header: Decodable` [INFO] [stdout] `&Header: Encodable` [INFO] [stdout] `&mut Header: Decodable` [INFO] [stdout] `&mut Header: Encodable` [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_base64`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Component` [INFO] [stdout] candidate #2: `FromBase64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/claims.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, Default, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Component` is not satisfied [INFO] [stdout] --> src/header.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | let enc = Component::to_base64(&header).unwrap(); [INFO] [stdout] | -------------------- ^^^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let data = try!(raw.from_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let s = try!(String::from_utf8(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | let tree = match try!(Json::from_str(&*s)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | let reg_claims: Registered = try!(Decodable::decode(&mut decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Component` is not satisfied [INFO] [stdout] --> src/header.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | let enc = Component::to_base64(&header).unwrap(); [INFO] [stdout] | -------------------- ^^^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(json::encode(&self.reg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let mut tree = match try!(Json::from_str(&*s)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/claims.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let s = try!(json::encode(&tree)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let data = try!(raw.from_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let s = try!(String::from_utf8(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(try!(json::decode(&*s))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let s = try!(json::encode(&self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | header: try!(Component::from_base64(pieces[0])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | claims: try!(Component::from_base64(pieces[1])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let header = try!(Component::to_base64(&self.header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let claims = try!(self.claims.to_base64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_base64` exists for struct `Header`, but its trait bounds were not satisfied [INFO] [stdout] --> src/header.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- function or associated item `from_base64` not found for this struct because it doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] ... [INFO] [stdout] 51 | assert_eq!(header, Header::from_base64(&*enc).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Header` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&Header: Decodable` [INFO] [stdout] `&Header: Encodable` [INFO] [stdout] `&mut Header: Decodable` [INFO] [stdout] `&mut Header: Encodable` [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_base64`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Component` [INFO] [stdout] candidate #2: `FromBase64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Registered: Decodable` is not satisfied [INFO] [stdout] --> src/claims.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | let reg_claims: Registered = try!(Decodable::decode(&mut decoder)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Registered` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Registered: Encodable` is not satisfied [INFO] [stdout] --> src/claims.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(json::encode(&self.reg)); [INFO] [stdout] | ------------ ^^^^^^^^^ the trait `Encodable` is not implemented for `Registered` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn encode(object: &T) -> EncodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_base64` exists for struct `Registered`, but its trait bounds were not satisfied [INFO] [stdout] --> src/claims.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Registered { [INFO] [stdout] | --------------------- function or associated item `from_base64` not found for this struct because it doesn't satisfy `Registered: Component`, `Registered: Decodable` or `Registered: Encodable` [INFO] [stdout] ... [INFO] [stdout] 108 | let claims = Registered::from_base64(enc).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item cannot be called on `Registered` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `&Registered: Decodable` [INFO] [stdout] `&Registered: Encodable` [INFO] [stdout] `&mut Registered: Decodable` [INFO] [stdout] `&mut Registered: Encodable` [INFO] [stdout] `Registered: Decodable` [INFO] [stdout] `Registered: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_base64`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Component` [INFO] [stdout] candidate #2: `FromBase64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let token = Token::::parse(raw).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Registered: Decodable` is not satisfied [INFO] [stdout] --> src/claims.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | let reg_claims: Registered = try!(Decodable::decode(&mut decoder)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Registered` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let token = Token::::parse(raw).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Registered: Encodable` is not satisfied [INFO] [stdout] --> src/claims.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(json::encode(&self.reg)); [INFO] [stdout] | ------------ ^^^^^^^^^ the trait `Encodable` is not implemented for `Registered` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn encode(object: &T) -> EncodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `parse` exists for struct `Token`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:153:46 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ---------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | let token = Token::::parse(raw).unwrap(); [INFO] [stdout] | ^^^^^ function or associated item cannot be called on `Token` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | let token: Token = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | let token: Token = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | let token: Token = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Default` [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:163:44 [INFO] [stdout] | [INFO] [stdout] 163 | let token: Token = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Default` [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `signed` exists for struct `Token`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ---------------------- method `signed` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 165 | let raw = token.signed(key).unwrap(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Token` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `h256only` (lib) due to 8 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let same = Token::parse(&*raw).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let same = Token::parse(&*raw).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let same = Token::parse(&*raw).unwrap(); [INFO] [stdout] | ^^^^^ the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | let same = Token::parse(&*raw).unwrap(); [INFO] [stdout] | ^^^^^ the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Token` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ----- required by a bound in this struct [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Token` [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token, same); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Token [INFO] [stdout] | Token [INFO] [stdout] | [INFO] [stdout] note: the following type would have to `impl` its required traits for this operation to be valid [INFO] [stdout] --> src/header.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | must implement `Decodable` [INFO] [stdout] | must implement `Encodable` [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token, same); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Debug` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] note: required by a bound in `core::panicking::assert_failed` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/panicking.rs:393:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token, same); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Debug` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] note: required by a bound in `core::panicking::assert_failed` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/panicking.rs:393:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encodable` is not satisfied [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token, same); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Encodable` is not implemented for `Header` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Debug` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] note: required by a bound in `core::panicking::assert_failed` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/panicking.rs:393:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decodable` is not satisfied [INFO] [stdout] --> src/lib.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | assert_eq!(token, same); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Decodable` is not implemented for `Header` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Header` to implement `Component` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] note: required for `Token` to implement `Debug` [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] 28 | where H: Component, C: Component { [INFO] [stdout] | --------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] note: required by a bound in `core::panicking::assert_failed` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/panicking.rs:393:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `verify` exists for struct `Token`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Token [INFO] [stdout] | ---------------------- method `verify` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | assert!(same.verify(key)); [INFO] [stdout] | ^^^^^^ method cannot be called on `Token` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/header.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Header { [INFO] [stdout] | ----------------- doesn't satisfy `Header: Component`, `Header: Decodable` or `Header: Encodable` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `Header: Decodable` [INFO] [stdout] `Header: Encodable` [INFO] [stdout] --> src/lib.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Component for T [INFO] [stdout] | --------- - [INFO] [stdout] 40 | where T: Encodable + Decodable + Sized { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the traits `Decodable` and `Encodable` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1 [INFO] [stdout] | [INFO] [stdout] 851 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `h256only` (lib test) due to 32 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd02bad7f59313b7f4e7d938ca27fd32f43eda656e7015cd4dae655e9cdf5dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd02bad7f59313b7f4e7d938ca27fd32f43eda656e7015cd4dae655e9cdf5dba", kill_on_drop: false }` [INFO] [stdout] cd02bad7f59313b7f4e7d938ca27fd32f43eda656e7015cd4dae655e9cdf5dba