[INFO] fetching crate libipld-cbor-derive 0.3.0... [INFO] testing libipld-cbor-derive-0.3.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate libipld-cbor-derive 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libipld-cbor-derive 0.3.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libipld-cbor-derive 0.3.0 [INFO] finished tweaking crates.io crate libipld-cbor-derive 0.3.0 [INFO] tweaked toml for crates.io crate libipld-cbor-derive 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate libipld-cbor-derive 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f121e1fd4f6a46788e252e033d82aab4597f5023989b7f92cdf6de46650e4a27 [INFO] running `"docker" "start" "-a" "f121e1fd4f6a46788e252e033d82aab4597f5023989b7f92cdf6de46650e4a27"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.14 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling libipld-cbor-derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.55s [INFO] running `"docker" "inspect" "f121e1fd4f6a46788e252e033d82aab4597f5023989b7f92cdf6de46650e4a27"` [INFO] running `"docker" "rm" "-f" "f121e1fd4f6a46788e252e033d82aab4597f5023989b7f92cdf6de46650e4a27"` [INFO] [stdout] f121e1fd4f6a46788e252e033d82aab4597f5023989b7f92cdf6de46650e4a27 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b3e746002fa8f0b3a9935d23c562d71158c8b9cf78c9821f7b96b84d03312ce [INFO] running `"docker" "start" "-a" "8b3e746002fa8f0b3a9935d23c562d71158c8b9cf78c9821f7b96b84d03312ce"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trybuild v1.0.27 [INFO] [stderr] Compiling libipld-cbor-derive v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/repr_attr.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use libipld::cbor::DagCborCodec; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/repr_attr.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/repr_attr.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use libipld::ipld::Ipld; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/name_attr.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use libipld::cbor::DagCborCodec; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/name_attr.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/name_attr.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use libipld::ipld::Ipld; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/basic.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use libipld::cbor::DagCborCodec; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/basic.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use libipld::codec::{Decode, Encode}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `libipld` [INFO] [stderr] --> examples/basic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use libipld::ipld::Ipld; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `libipld` [INFO] [stderr] --> examples/repr_attr.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use libipld::{ipld, DagCbor}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/repr_attr.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `ipld` [INFO] [stderr] --> examples/repr_attr.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[ipld(repr = "list")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/repr_attr.rs:13:35 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Debug, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `ipld` [INFO] [stderr] --> examples/repr_attr.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 14 | #[ipld(repr = "kinded")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/repr_attr.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | ipld!([false, false]) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/repr_attr.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | ipld!([true]) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/repr_attr.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | ipld!({ "a": 42 }) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/repr_attr.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `libipld` [INFO] [stderr] --> examples/name_attr.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use libipld::{ipld, DagCbor}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/name_attr.rs:6:44 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/repr_attr.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the attribute macro `ipld` [INFO] [stderr] --> examples/name_attr.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | #[ipld(name = "hashAlg")] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/name_attr.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 19 | let expect = ipld!({ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/name_attr.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/name_attr.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/name_attr.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `libipld` [INFO] [stderr] --> examples/basic.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use libipld::{ipld, DagCbor}; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `libipld` [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/basic.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/basic.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/basic.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone, Debug, Default, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/basic.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Clone, Debug, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the derive macro `DagCbor` [INFO] [stderr] --> examples/basic.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, Debug, PartialEq, DagCbor)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | ipld!({ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | ipld!([false, 0]) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | ipld!([]) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | ipld!({ "A": [] }) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | ipld!({ "B": [true, 42] }) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `ipld` [INFO] [stderr] --> examples/basic.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:44:26 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Decode` [INFO] [stderr] --> examples/basic.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Decode` [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:14:15 [INFO] [stderr] | [INFO] [stderr] 8 | struct NamedStruct { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 14 | list: Vec, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 8 | struct NamedStruct { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 15 | map: BTreeMap, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | ipld: Ipld, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Ipld` in this scope [INFO] [stderr] --> examples/basic.rs:44:19 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `RenameFields` in the current scope [INFO] [stderr] --> examples/name_attr.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 7 | struct RenameFields { [INFO] [stderr] | ------------------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 17 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `RenameFields` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | let ipld: Ipld = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DagCborCodec` in this scope [INFO] [stderr] --> examples/basic.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | let data: $ty = Decode::::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `ListRepr` in the current scope [INFO] [stderr] --> examples/repr_attr.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 8 | struct ListRepr { [INFO] [stderr] | --------------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 24 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `ListRepr` [INFO] [stderr] ... [INFO] [stderr] 33 | / test_case! { [INFO] [stderr] 34 | | ListRepr::default(), [INFO] [stderr] 35 | | ListRepr, [INFO] [stderr] 36 | | ipld!([false, false]) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `decode` found for struct `RenameFields` in the current scope [INFO] [stderr] --> examples/name_attr.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 7 | struct RenameFields { [INFO] [stderr] | ------------------- function or associated item `decode` not found for this [INFO] [stderr] ... [INFO] [stderr] 23 | let data2 = RenameFields::decode(&mut bytes.as_slice())?; [INFO] [stderr] | ^^^^^^ function or associated item not found in `RenameFields` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for enum `KindedRepr` in the current scope [INFO] [stderr] --> examples/repr_attr.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 15 | enum KindedRepr { [INFO] [stderr] | --------------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 24 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `KindedRepr` [INFO] [stderr] ... [INFO] [stderr] 39 | / test_case! { [INFO] [stderr] 40 | | KindedRepr::A(true), [INFO] [stderr] 41 | | KindedRepr, [INFO] [stderr] 42 | | ipld!([true]) [INFO] [stderr] 43 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0599]: no method named `encode` found for enum `KindedRepr` in the current scope [INFO] [stderr] --> examples/repr_attr.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 15 | enum KindedRepr { [INFO] [stderr] | --------------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 24 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `KindedRepr` [INFO] [stderr] ... [INFO] [stderr] 45 | / test_case! { [INFO] [stderr] 46 | | KindedRepr::B { a: 42 }, [INFO] [stderr] 47 | | KindedRepr, [INFO] [stderr] 48 | | ipld!({ "a": 42 }) [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [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] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> examples/basic.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | list: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::default::Default` [INFO] [stderr] = note: required by `std::default::Default::default` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0599]: no method named `encode` found for struct `NamedStruct` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 8 | struct NamedStruct { [INFO] [stderr] | ------------------ method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `NamedStruct` [INFO] [stderr] ... [INFO] [stderr] 52 | / test_case! { [INFO] [stderr] 53 | | NamedStruct::default(), [INFO] [stderr] 54 | | NamedStruct, [INFO] [stderr] 55 | | ipld!({ [INFO] [stderr] ... | [INFO] [stderr] 63 | | }) [INFO] [stderr] 64 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `TupleStruct` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 20 | struct TupleStruct(bool, u32); [INFO] [stderr] | ------------------------------ method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `TupleStruct` [INFO] [stderr] ... [INFO] [stderr] 66 | / test_case! { [INFO] [stderr] 67 | | TupleStruct::default(), [INFO] [stderr] 68 | | TupleStruct, [INFO] [stderr] 69 | | ipld!([false, 0]) [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for struct `UnitStruct` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 23 | struct UnitStruct; [INFO] [stderr] | ------------------ method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `UnitStruct` [INFO] [stderr] ... [INFO] [stderr] 72 | / test_case! { [INFO] [stderr] 73 | | UnitStruct::default(), [INFO] [stderr] 74 | | UnitStruct, [INFO] [stderr] 75 | | ipld!([]) [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 26 | enum Enum { [INFO] [stderr] | --------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `Enum` [INFO] [stderr] ... [INFO] [stderr] 78 | / test_case! { [INFO] [stderr] 79 | | Enum::A, [INFO] [stderr] 80 | | Enum, [INFO] [stderr] 81 | | ipld!({ "A": [] }) [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 26 | enum Enum { [INFO] [stderr] | --------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `Enum` [INFO] [stderr] ... [INFO] [stderr] 84 | / test_case! { [INFO] [stderr] 85 | | Enum::B(true, 42), [INFO] [stderr] 86 | | Enum, [INFO] [stderr] 87 | | ipld!({ "B": [true, 42] }) [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode` found for enum `Enum` in the current scope [INFO] [stderr] --> examples/basic.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 26 | enum Enum { [INFO] [stderr] | --------- method `encode` not found for this [INFO] [stderr] ... [INFO] [stderr] 43 | data.encode(&mut bytes)?; [INFO] [stderr] | ^^^^^^ method not found in `Enum` [INFO] [stderr] ... [INFO] [stderr] 90 | / test_case! { [INFO] [stderr] 91 | | Enum::C { boolean: true, int: 42 }, [INFO] [stderr] 92 | | Enum, [INFO] [stderr] 93 | | ipld!({ "C": { "boolean": true, "int": 42} }) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 55 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0283, E0412, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0283`. [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "8b3e746002fa8f0b3a9935d23c562d71158c8b9cf78c9821f7b96b84d03312ce"` [INFO] running `"docker" "rm" "-f" "8b3e746002fa8f0b3a9935d23c562d71158c8b9cf78c9821f7b96b84d03312ce"` [INFO] [stdout] 8b3e746002fa8f0b3a9935d23c562d71158c8b9cf78c9821f7b96b84d03312ce