[INFO] fetching crate minicbor-derive 0.18.2... [INFO] testing minicbor-derive-0.18.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate minicbor-derive 0.18.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate minicbor-derive 0.18.2 [INFO] finished tweaking crates.io crate minicbor-derive 0.18.2 [INFO] tweaked toml for crates.io crate minicbor-derive 0.18.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate minicbor-derive 0.18.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minicbor-derive 0.18.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b93ceb79b55f434363979228ec0180effdac1a147bc0fb49d77218b23d3a70a [INFO] running `Command { std: "docker" "start" "-a" "7b93ceb79b55f434363979228ec0180effdac1a147bc0fb49d77218b23d3a70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b93ceb79b55f434363979228ec0180effdac1a147bc0fb49d77218b23d3a70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b93ceb79b55f434363979228ec0180effdac1a147bc0fb49d77218b23d3a70a", kill_on_drop: false }` [INFO] [stdout] 7b93ceb79b55f434363979228ec0180effdac1a147bc0fb49d77218b23d3a70a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192ddcda54da376a22af9cb59df419f21828fb3b1c490c0b02fb20d7d911b646 [INFO] running `Command { std: "docker" "start" "-a" "192ddcda54da376a22af9cb59df419f21828fb3b1c490c0b02fb20d7d911b646", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling minicbor-derive v0.18.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "192ddcda54da376a22af9cb59df419f21828fb3b1c490c0b02fb20d7d911b646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192ddcda54da376a22af9cb59df419f21828fb3b1c490c0b02fb20d7d911b646", kill_on_drop: false }` [INFO] [stdout] 192ddcda54da376a22af9cb59df419f21828fb3b1c490c0b02fb20d7d911b646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe4429ecae028ffc81bac9ff056b5f012198ef90482b588e46ff60a89fda839f [INFO] running `Command { std: "docker" "start" "-a" "fe4429ecae028ffc81bac9ff056b5f012198ef90482b588e46ff60a89fda839f", kill_on_drop: false }` [INFO] [stderr] Compiling minicbor-derive v0.18.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "fe4429ecae028ffc81bac9ff056b5f012198ef90482b588e46ff60a89fda839f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4429ecae028ffc81bac9ff056b5f012198ef90482b588e46ff60a89fda839f", kill_on_drop: false }` [INFO] [stdout] fe4429ecae028ffc81bac9ff056b5f012198ef90482b588e46ff60a89fda839f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 251ac1f3c688f777026c0fe0b546d69a128935998986940c9fd3da6ec20be352 [INFO] running `Command { std: "docker" "start" "-a" "251ac1f3c688f777026c0fe0b546d69a128935998986940c9fd3da6ec20be352", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minicbor_derive-42c470b77eda8c8b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests minicbor_derive [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 196) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 259) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 240) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 271) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 313) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 397) ... FAILED [INFO] [stdout] test src/lib.rs - (line 212) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] --> src/lib.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | use minicbor::decode::{Decoder, Error}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minicbor` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use minicbor::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[n(0)] Start, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 67 + #[derive(CborLen, Decode, Encode)] [INFO] [stdout] 68 | enum State { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[n(1)] Search { #[n(0)] info: u64 } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 67 + #[derive(CborLen, Decode, Encode)] [INFO] [stdout] 68 | enum State { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | #[n(1)] Search { #[n(0)] info: u64 } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 67 + #[derive(CborLen, Decode, Encode)] [INFO] [stdout] 68 | enum State { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[n(0)] left: Point, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[n(1)] right: Point, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[n(2)] points: Vec, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[n(3)] state: Option [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[n(0)] x: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[n(1)] y: f64 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 313) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minicbor` [INFO] [stdout] --> src/lib.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | use minicbor::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | use minicbor::decode::{self, Decoder}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `minicbor` [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | use minicbor::decode::{self, Decoder}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 352 | #[cbor(context_bound = "AsMut + AsMut")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[n(0)] a: A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:355:7 [INFO] [stdout] | [INFO] [stdout] 355 | #[n(1)] b: B [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 397) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `minicbor` [INFO] [stdout] --> src/lib.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | use minicbor::{Encode, Decode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:402:7 [INFO] [stdout] | [INFO] [stdout] 402 | #[cbor(n(0), with = "minicbor::bytes")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `n` in this scope [INFO] [stdout] --> src/lib.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[n(1)] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `n` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:406:7 [INFO] [stdout] | [INFO] [stdout] 406 | #[cbor(encode_with = "minicbor::bytes::encode")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | #[cbor(decode_with = "minicbor::bytes::decode")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | #[cbor(n(2), with = "minicbor::bytes")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:413:7 [INFO] [stdout] | [INFO] [stdout] 413 | #[cbor(n(3), with = "minicbor::bytes")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cbor` in this scope [INFO] [stdout] --> src/lib.rs:416:7 [INFO] [stdout] | [INFO] [stdout] 416 | #[cbor(n(4), with = "minicbor::bytes")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cbor` is an attribute that can be used by the derive macros `CborLen`, `Decode` and `Encode`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 212) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] --> src/lib.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | use minicbor::encode::{Encoder, Error, Write}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `minicbor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `minicbor`, use `cargo add minicbor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 196) [INFO] [stdout] src/lib.rs - (line 212) [INFO] [stdout] src/lib.rs - (line 313) [INFO] [stdout] src/lib.rs - (line 397) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.59s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "251ac1f3c688f777026c0fe0b546d69a128935998986940c9fd3da6ec20be352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "251ac1f3c688f777026c0fe0b546d69a128935998986940c9fd3da6ec20be352", kill_on_drop: false }` [INFO] [stdout] 251ac1f3c688f777026c0fe0b546d69a128935998986940c9fd3da6ec20be352