[INFO] fetching crate libipld-cbor-derive 0.7.0... [INFO] checking libipld-cbor-derive-0.7.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate libipld-cbor-derive 0.7.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate libipld-cbor-derive 0.7.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libipld-cbor-derive 0.7.0 [INFO] finished tweaking crates.io crate libipld-cbor-derive 0.7.0 [INFO] tweaked toml for crates.io crate libipld-cbor-derive 0.7.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate libipld-cbor-derive 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada2e503d697b63ebd11fab7b6716b249aed9969cec11dad806409d1f87fe37c [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" "ada2e503d697b63ebd11fab7b6716b249aed9969cec11dad806409d1f87fe37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada2e503d697b63ebd11fab7b6716b249aed9969cec11dad806409d1f87fe37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada2e503d697b63ebd11fab7b6716b249aed9969cec11dad806409d1f87fe37c", kill_on_drop: false }` [INFO] [stdout] ada2e503d697b63ebd11fab7b6716b249aed9969cec11dad806409d1f87fe37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db8857dff2f3ccc776039c33d2f5d6b3c21090bea6959e4f5e5b6713f985baf4 [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" "db8857dff2f3ccc776039c33d2f5d6b3c21090bea6959e4f5e5b6713f985baf4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking syn v1.0.42 [INFO] [stderr] Compiling libipld-cbor-derive v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking trybuild v1.0.35 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/repr_attr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libipld::cbor::DagCborCodec; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/repr_attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/repr_attr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libipld::ipld::Ipld; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/basic.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libipld::cbor::{DagCborCodec, Result}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libipld::ipld::Ipld; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/name_attr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libipld::cbor::DagCborCodec; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/name_attr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libipld` [INFO] [stdout] --> examples/name_attr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use libipld::ipld::Ipld; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld` [INFO] [stdout] --> examples/repr_attr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libipld::{ipld, DagCbor}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stdout] --> examples/repr_attr.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [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 attribute macro `ipld` [INFO] [stdout] --> examples/repr_attr.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[ipld(repr = "list")] [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 `DagCbor` [INFO] [stdout] --> examples/repr_attr.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug, PartialEq, DagCbor)] [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 attribute macro `ipld` [INFO] [stdout] --> examples/repr_attr.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[ipld(repr = "kinded")] [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 macro `ipld` [INFO] [stdout] --> examples/repr_attr.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | ipld!([false, false]) [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 macro `ipld` [INFO] [stdout] --> examples/repr_attr.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ipld!([true]) [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 macro `ipld` [INFO] [stdout] --> examples/repr_attr.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ipld!({ "a": 42 }) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld` [INFO] [stdout] --> examples/basic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libipld::{ipld, DagCbor}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stdout] --> examples/basic.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [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 `DagCbor` [INFO] [stdout] --> examples/basic.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [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 `DagCbor` [INFO] [stdout] --> examples/basic.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [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 `DagCbor` [INFO] [stdout] --> examples/basic.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone, Debug, PartialEq, DagCbor)] [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 `DagCbor` [INFO] [stdout] --> examples/basic.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, PartialEq, DagCbor)] [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | ipld!({ [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ipld!([false, 0]) [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ipld!([]) [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | ipld!({ "A": [] }) [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | ipld!({ "B": [true, 42] }) [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 macro `ipld` [INFO] [stdout] --> examples/basic.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld` [INFO] [stdout] --> examples/name_attr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libipld::{ipld, DagCbor}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `libipld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stdout] --> examples/name_attr.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [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 attribute macro `ipld` [INFO] [stdout] --> examples/name_attr.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[ipld(name = "hashAlg")] [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 macro `ipld` [INFO] [stdout] --> examples/name_attr.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let expect = ipld!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/repr_attr.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/repr_attr.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/name_attr.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/name_attr.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/name_attr.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/name_attr.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/name_attr.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | let data2 = RenameFields::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decode` [INFO] [stdout] --> examples/basic.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Decode` [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 8 | struct NamedStruct { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | list: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 8 | struct NamedStruct { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 15 | map: BTreeMap, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | ipld: Ipld, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stdout] --> examples/basic.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let ipld: Ipld = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DagCborCodec` in this scope [INFO] [stdout] --> examples/basic.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | let data: $ty = Decode::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `ListRepr` in the current scope [INFO] [stdout] --> examples/repr_attr.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct ListRepr { [INFO] [stdout] | --------------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `ListRepr` [INFO] [stdout] ... [INFO] [stdout] 33 | / test_case! { [INFO] [stdout] 34 | | ListRepr::default(), [INFO] [stdout] 35 | | ListRepr, [INFO] [stdout] 36 | | ipld!([false, false]) [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `RenameFields` in the current scope [INFO] [stdout] --> examples/name_attr.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 7 | struct RenameFields { [INFO] [stdout] | ------------------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 17 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `RenameFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `RenameFields` in the current scope [INFO] [stdout] --> examples/name_attr.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 7 | struct RenameFields { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this [INFO] [stdout] ... [INFO] [stdout] 23 | let data2 = RenameFields::decode(DagCborCodec, &mut bytes.as_slice())?; [INFO] [stdout] | ^^^^^^ function or associated item not found in `RenameFields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `KindedRepr` in the current scope [INFO] [stdout] --> examples/repr_attr.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 15 | enum KindedRepr { [INFO] [stdout] | --------------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `KindedRepr` [INFO] [stdout] ... [INFO] [stdout] 39 | / test_case! { [INFO] [stdout] 40 | | KindedRepr::A(true), [INFO] [stdout] 41 | | KindedRepr, [INFO] [stdout] 42 | | ipld!([true]) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `KindedRepr` in the current scope [INFO] [stdout] --> examples/repr_attr.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 15 | enum KindedRepr { [INFO] [stdout] | --------------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 24 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `KindedRepr` [INFO] [stdout] ... [INFO] [stdout] 45 | / test_case! { [INFO] [stdout] 46 | | KindedRepr::B { a: 42 }, [INFO] [stdout] 47 | | KindedRepr, [INFO] [stdout] 48 | | ipld!({ "a": 42 }) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libipld-cbor-derive` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/basic.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `NamedStruct` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct NamedStruct { [INFO] [stdout] | ------------------ method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `NamedStruct` [INFO] [stdout] ... [INFO] [stdout] 52 | / test_case! { [INFO] [stdout] 53 | | NamedStruct::default(), [INFO] [stdout] 54 | | NamedStruct, [INFO] [stdout] 55 | | ipld!({ [INFO] [stdout] ... | [INFO] [stdout] 63 | | }) [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `TupleStruct` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 20 | struct TupleStruct(bool, u32); [INFO] [stdout] | ------------------------------ method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `TupleStruct` [INFO] [stdout] ... [INFO] [stdout] 66 | / test_case! { [INFO] [stdout] 67 | | TupleStruct::default(), [INFO] [stdout] 68 | | TupleStruct, [INFO] [stdout] 69 | | ipld!([false, 0]) [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `UnitStruct` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct UnitStruct; [INFO] [stdout] | ------------------ method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `UnitStruct` [INFO] [stdout] ... [INFO] [stdout] 72 | / test_case! { [INFO] [stdout] 73 | | UnitStruct::default(), [INFO] [stdout] 74 | | UnitStruct, [INFO] [stdout] 75 | | ipld!([]) [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 26 | enum Enum { [INFO] [stdout] | --------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `Enum` [INFO] [stdout] ... [INFO] [stdout] 78 | / test_case! { [INFO] [stdout] 79 | | Enum::A, [INFO] [stdout] 80 | | Enum, [INFO] [stdout] 81 | | ipld!({ "A": [] }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 26 | enum Enum { [INFO] [stdout] | --------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `Enum` [INFO] [stdout] ... [INFO] [stdout] 84 | / test_case! { [INFO] [stdout] 85 | | Enum::B(true, 42), [INFO] [stdout] 86 | | Enum, [INFO] [stdout] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stdout] --> examples/basic.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 26 | enum Enum { [INFO] [stdout] | --------- method `encode` not found for this [INFO] [stdout] ... [INFO] [stdout] 43 | data.encode(DagCborCodec, &mut bytes)?; [INFO] [stdout] | ^^^^^^ method not found in `Enum` [INFO] [stdout] ... [INFO] [stdout] 90 | / test_case! { [INFO] [stdout] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stdout] 92 | | Enum, [INFO] [stdout] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "db8857dff2f3ccc776039c33d2f5d6b3c21090bea6959e4f5e5b6713f985baf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8857dff2f3ccc776039c33d2f5d6b3c21090bea6959e4f5e5b6713f985baf4", kill_on_drop: false }` [INFO] [stdout] db8857dff2f3ccc776039c33d2f5d6b3c21090bea6959e4f5e5b6713f985baf4