[INFO] fetching crate bondrewd-derive 0.3.18... [INFO] testing bondrewd-derive-0.3.18 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bondrewd-derive 0.3.18 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate bondrewd-derive 0.3.18 [INFO] finished tweaking crates.io crate bondrewd-derive 0.3.18 [INFO] tweaked toml for crates.io crate bondrewd-derive 0.3.18 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bondrewd-derive 0.3.18 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bondrewd-derive 0.3.18 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 864552f08104656f29bee080596957e5e6a957c7665986ea0c526b2d483b7410 [INFO] running `Command { std: "docker" "start" "-a" "864552f08104656f29bee080596957e5e6a957c7665986ea0c526b2d483b7410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864552f08104656f29bee080596957e5e6a957c7665986ea0c526b2d483b7410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864552f08104656f29bee080596957e5e6a957c7665986ea0c526b2d483b7410", kill_on_drop: false }` [INFO] [stdout] 864552f08104656f29bee080596957e5e6a957c7665986ea0c526b2d483b7410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7387c8b7d369a10958b675593321d213b582d6c127ae7163368d03cd0b6ae26 [INFO] running `Command { std: "docker" "start" "-a" "a7387c8b7d369a10958b675593321d213b582d6c127ae7163368d03cd0b6ae26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling bondrewd-derive v0.3.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 633 | pub struct ElementSubFieldIter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 640 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct BlockSubFieldIter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 678 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockSubFieldIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.45s [INFO] running `Command { std: "docker" "inspect" "a7387c8b7d369a10958b675593321d213b582d6c127ae7163368d03cd0b6ae26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7387c8b7d369a10958b675593321d213b582d6c127ae7163368d03cd0b6ae26", kill_on_drop: false }` [INFO] [stdout] a7387c8b7d369a10958b675593321d213b582d6c127ae7163368d03cd0b6ae26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e1171103043460f537f1ba6f5d7a21eaad56d7f47a808b199be0b810a553873e [INFO] running `Command { std: "docker" "start" "-a" "e1171103043460f537f1ba6f5d7a21eaad56d7f47a808b199be0b810a553873e", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 633 | pub struct ElementSubFieldIter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 640 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct BlockSubFieldIter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 678 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockSubFieldIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bondrewd-derive v0.3.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 633 | pub struct ElementSubFieldIter { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 640 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `outer_name` is never read [INFO] [stdout] --> src/structs/common.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 671 | pub struct BlockSubFieldIter { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 678 | pub outer_name: Ident, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockSubFieldIter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/block_arrays.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> examples/complex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/enum_fields_custom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/structs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/enum_derives.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::BitfieldEnum; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/ccsds.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/block_arrays.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> examples/complex.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(BitfieldEnum, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/block_arrays.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/block_arrays.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[bondrewd(bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/block_arrays.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[bondrewd(block_bit_length = 9)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> examples/complex.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Bitfields, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Eq, PartialEq, Clone, Debug, BitfieldEnum)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/block_arrays.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[bondrewd(bit_length = 4)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[bondrewd(bit_length = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[bondrewd(bit_length = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bondrewd` [INFO] [stdout] --> tests/enum_partial_eq.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bondrewd::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `bondrewd` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bondrewd`, use `cargo add bondrewd` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[bondrewd(bit_length = 4)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> examples/complex.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Bitfields, Clone, Eq, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[bondrewd(default_endianness = "be", reverse)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[bondrewd(enum_primitive = "u8", bit_length = 8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[bondrewd(element_byte_length = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Eq, PartialEq, Clone, Debug, BitfieldEnum)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[bondrewd(bit_length = 7)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[bondrewd(enum_primitive = "u8", bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[bondrewd(bit_length = 9, struct_size = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[bondrewd(bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> examples/complex.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[bondrewd(bit_length = 60)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[bondrewd(bit_length = 27)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[bondrewd(bit_length = 14)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/ccsds.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(BitfieldEnum, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/enum_fields_custom.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[bondrewd(enum_primitive = "u8", bit_length = 8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_derives.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_derives.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleWithBlockArray` in the current scope [INFO] [stdout] --> tests/block_arrays.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 5 | struct SimpleWithBlockArray { [INFO] [stdout] | --------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 20 | assert_eq!(SimpleWithBlockArray::BYTE_SIZE, 2); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleWithBlockArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_derives.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[bondrewd_enum(invalid)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/ccsds.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(BitfieldEnum, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[bondrewd(bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[bondrewd(struct_size = 7)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[bondrewd(bit_length = 4)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Eq, PartialEq, Clone, Debug, BitfieldEnum)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/ccsds.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/ccsds.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleWithBlockArray` in the current scope [INFO] [stdout] --> tests/block_arrays.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 5 | struct SimpleWithBlockArray { [INFO] [stdout] | --------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 21 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleWithBlockArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/ccsds.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[bondrewd(default_endianness = "be", enforce_bytes = 6)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[bondrewd_enum(u8, partial_eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleWithBlockArray` in the current scope [INFO] [stdout] --> tests/block_arrays.rs:38:44 [INFO] [stdout] | [INFO] [stdout] 5 | struct SimpleWithBlockArray { [INFO] [stdout] | --------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let new_simple = SimpleWithBlockArray::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleWithBlockArray` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Eq, PartialEq, Clone, Debug, BitfieldEnum)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[bondrewd(default_endianness = "be", reverse)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[bondrewd(bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[bondrewd(struct_size = 7)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/ccsds.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[bondrewd(enum_primitive = "u8", bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BIT_SIZE` found for struct `PersonStuff` in the current scope [INFO] [stdout] --> examples/complex.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 25 | struct PersonStuff { [INFO] [stdout] | ------------------ associated item `BIT_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 47 | PersonStuff::BIT_SIZE, [INFO] [stdout] | ^^^^^^^^ associated item not found in `PersonStuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[bondrewd_enum(u8, partial_eq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `BitfieldEnum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Eq, PartialEq, Clone, Debug, BitfieldEnum)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::BitfieldEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/ccsds.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[bondrewd(bit_length = 11)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `PersonStuff` in the current scope [INFO] [stdout] --> examples/complex.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 25 | struct PersonStuff { [INFO] [stdout] | ------------------ associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | PersonStuff::BYTE_SIZE [INFO] [stdout] | ^^^^^^^^^ associated item not found in `PersonStuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/ccsds.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[bondrewd(enum_primitive = "u8", bit_length = 2)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd_enum` in this scope [INFO] [stdout] --> tests/enum_partial_eq.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[bondrewd_enum(u8)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/ccsds.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[bondrewd(bit_length = 14)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[bondrewd(bit_length = 4)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `PersonStuff` in the current scope [INFO] [stdout] --> examples/complex.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 25 | struct PersonStuff { [INFO] [stdout] | ------------------ method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 64 | let bytes = person.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `PersonStuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "block_arrays") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | #[bondrewd(bit_length = 4)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(0u8).into_primitive() == 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[bondrewd(struct_size = 1, bit_length = 5)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[bondrewd(bit_length = 7)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(1u8).into_primitive() == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Bitfields` in this scope [INFO] [stdout] --> tests/structs.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | #[derive(Bitfields, Clone, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use bondrewd_derive::Bitfields; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `PersonStuff` in the current scope [INFO] [stdout] --> examples/complex.rs:65:54 [INFO] [stdout] | [INFO] [stdout] 25 | struct PersonStuff { [INFO] [stdout] | ------------------ function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | let cloned_and_transferred_person = PersonStuff::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `PersonStuff` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | #[bondrewd(default_endianness = "be")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[bondrewd(bit_length = 3)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 29 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(2u8).into_primitive() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleCustomEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 15 | struct SimpleCustomEnumUsage { [INFO] [stdout] | ---------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | assert_eq!(SimpleCustomEnumUsage::BYTE_SIZE, 3); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleCustomEnumUsage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bondrewd` in this scope [INFO] [stdout] --> tests/structs.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | #[bondrewd(struct_size = 1, bit_length = 5)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(3u8).into_primitive() == 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 33 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(4u8).into_primitive() == 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(5u8).into_primitive() == 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 35 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(154u8).into_primitive() == 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(simple_one, 1_u8); [INFO] [stdout] | ^^^^ expected `TestPartialEqEnum`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(simple_three, 3_u8); [INFO] [stdout] | ^^^^ expected `TestPartialEqEnum`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `InferPrimitiveTypeWithInvalidEnum` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 18 | enum InferPrimitiveTypeWithInvalidEnum { [INFO] [stdout] | -------------------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(InferPrimitiveTypeWithInvalidEnum::from_primitive(255u8).into_primitive() == 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `InferPrimitiveTypeWithInvalidEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | assert_ne!(simple_invalid, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `TestPartialEqEnum`, found `u8` [INFO] [stdout] | expected because this is `TestPartialEqEnum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(custom_one, 0x20_u8); [INFO] [stdout] | ^^^^^^^ expected `TestPartialEqCustomEnum`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleCustomEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 15 | struct SimpleCustomEnumUsage { [INFO] [stdout] | ---------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleCustomEnumUsage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(custom_three, 0x40_u8); [INFO] [stdout] | ^^^^^^^ expected `TestPartialEqCustomEnum`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enum_partial_eq.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | assert_ne!(custom_invalid, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `TestPartialEqCustomEnum`, found `u8` [INFO] [stdout] | expected because this is `TestPartialEqCustomEnum` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(CenteredInvalid::from_primitive(0u8).into_primitive(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (example "complex") due to 18 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleCustomEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 15 | struct SimpleCustomEnumUsage { [INFO] [stdout] | ---------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 45 | let new_simple = SimpleCustomEnumUsage::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleCustomEnumUsage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(CenteredInvalid::from_primitive(1u8).into_primitive(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 54 | assert_eq!(CenteredInvalid::from_primitive(2u8).into_primitive(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_primitive` found for enum `TestNoPartialEqCustomEnum` in the current scope [INFO] [stdout] --> tests/enum_partial_eq.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 25 | enum TestNoPartialEqCustomEnum { [INFO] [stdout] | ------------------------------ method `into_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 60 | assert_eq!(no_partial_one.into_primitive(), 0x20); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `TestNoPartialEqCustomEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleCustomContinuationEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:76:51 [INFO] [stdout] | [INFO] [stdout] 62 | struct SimpleCustomContinuationEnumUsage { [INFO] [stdout] | ---------------------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(SimpleCustomContinuationEnumUsage::BYTE_SIZE, 3); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleCustomContinuationEnumUsage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 55 | let test = CenteredInvalid::from_primitive(3u8); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `CcsdsPacketHeader` in the current scope [INFO] [stdout] --> tests/ccsds.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CcsdsPacketHeader { [INFO] [stdout] | ---------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | CcsdsPacketHeader::from_bytes(packet.clone().into_bytes()), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `CcsdsPacketHeader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(CenteredInvalid::from_primitive(4u8).into_primitive(), 4); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_primitive` found for enum `TestNoPartialEqCustomEnum` in the current scope [INFO] [stdout] --> tests/enum_partial_eq.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 25 | enum TestNoPartialEqCustomEnum { [INFO] [stdout] | ------------------------------ method `into_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 61 | assert_eq!(no_partial_three.into_primitive(), 0x40); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `TestNoPartialEqCustomEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 61 | assert_eq!(CenteredInvalid::from_primitive(5u8).into_primitive(), 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 62 | assert!(CenteredInvalid::from_primitive(6u8).into_primitive() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleWithStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 16 | struct SimpleWithStruct { [INFO] [stdout] | ----------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(SimpleWithStruct::BYTE_SIZE, 8); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleWithStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleCustomContinuationEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 62 | struct SimpleCustomContinuationEnumUsage { [INFO] [stdout] | ---------------------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 77 | let mut bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleCustomContinuationEnumUsage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | assert!(CenteredInvalid::from_primitive(154u8).into_primitive() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleCustomContinuationEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:100:57 [INFO] [stdout] | [INFO] [stdout] 62 | struct SimpleCustomContinuationEnumUsage { [INFO] [stdout] | ---------------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 100 | let new_simple = SimpleCustomContinuationEnumUsage::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleCustomContinuationEnumUsage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalid` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 41 | enum CenteredInvalid { [INFO] [stdout] | -------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 64 | assert!(CenteredInvalid::from_primitive(255u8).into_primitive() == 2); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 79 | CenteredInvalidPrimitive::from_primitive(0u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `CcsdsPacketHeader` in the current scope [INFO] [stdout] --> tests/ccsds.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct CcsdsPacketHeader { [INFO] [stdout] | ---------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | CcsdsPacketHeader::from_bytes(packet.clone().into_bytes()), [INFO] [stdout] | ^^^^^^^^^^ method not found in `CcsdsPacketHeader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | CenteredInvalidPrimitive::from_primitive(1u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 87 | CenteredInvalidPrimitive::from_primitive(2u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 91 | CenteredInvalidPrimitive::from_primitive(3u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `write_slice_two` found for struct `SimpleCustomContinuationEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 62 | struct SimpleCustomContinuationEnumUsage { [INFO] [stdout] | ---------------------------------------- function or associated item `write_slice_two` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | SimpleCustomContinuationEnumUsage::write_slice_two( [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `SimpleCustomContinuationEnumUsage` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "enum_partial_eq") due to 15 previous errors [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleWithStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 16 | struct SimpleWithStruct { [INFO] [stdout] | ----------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleWithStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 95 | CenteredInvalidPrimitive::from_primitive(4u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:101:35 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 101 | CenteredInvalidPrimitive::from_primitive(5u8).into_primitive(), [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 104 | assert!(CenteredInvalidPrimitive::from_primitive(6u8).into_primitive() == 6); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(CenteredInvalidPrimitive::from_primitive(154u8).into_primitive() == 154); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleWithStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 16 | struct SimpleWithStruct { [INFO] [stdout] | ----------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let new_simple = SimpleWithStruct::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleWithStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleCustomContinuationEnumUsage` in the current scope [INFO] [stdout] --> tests/enum_fields_custom.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 62 | struct SimpleCustomContinuationEnumUsage { [INFO] [stdout] | ---------------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | SimpleCustomContinuationEnumUsage::from_bytes(bytes), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleCustomContinuationEnumUsage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_primitive` found for enum `CenteredInvalidPrimitive` in the current scope [INFO] [stdout] --> tests/enum_derives.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 68 | enum CenteredInvalidPrimitive { [INFO] [stdout] | ----------------------------- variant or associated item `from_primitive` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 106 | assert!(CenteredInvalidPrimitive::from_primitive(255u8).into_primitive() == 255); [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `CenteredInvalidPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "ccsds") due to 12 previous errors [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleWithStructWithFlip` in the current scope [INFO] [stdout] --> tests/structs.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 65 | struct SimpleWithStructWithFlip { [INFO] [stdout] | ------------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 86 | assert_eq!(SimpleWithStructWithFlip::BYTE_SIZE, 8); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleWithStructWithFlip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleWithStructWithFlip` in the current scope [INFO] [stdout] --> tests/structs.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 65 | struct SimpleWithStructWithFlip { [INFO] [stdout] | ------------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 87 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleWithStructWithFlip` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "enum_derives") due to 30 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleWithStructWithFlip` in the current scope [INFO] [stdout] --> tests/structs.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 65 | struct SimpleWithStructWithFlip { [INFO] [stdout] | ------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 114 | let new_simple = SimpleWithStructWithFlip::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleWithStructWithFlip` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleWithSingleByteSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 131 | struct SimpleWithSingleByteSpanningStruct { [INFO] [stdout] | ----------------------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | assert_eq!(SimpleWithSingleByteSpanningStruct::BYTE_SIZE, 2); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleWithSingleByteSpanningStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleWithSingleByteSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 131 | struct SimpleWithSingleByteSpanningStruct { [INFO] [stdout] | ----------------------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleWithSingleByteSpanningStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "enum_fields_custom") due to 19 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleWithSingleByteSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:176:58 [INFO] [stdout] | [INFO] [stdout] 131 | struct SimpleWithSingleByteSpanningStruct { [INFO] [stdout] | ----------------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 176 | let new_simple = SimpleWithSingleByteSpanningStruct::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleWithSingleByteSpanningStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `BYTE_SIZE` found for struct `SimpleWithSingleByteNonSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:203:55 [INFO] [stdout] | [INFO] [stdout] 182 | struct SimpleWithSingleByteNonSpanningStruct { [INFO] [stdout] | -------------------------------------------- associated item `BYTE_SIZE` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 203 | assert_eq!(SimpleWithSingleByteNonSpanningStruct::BYTE_SIZE, 2); [INFO] [stdout] | ^^^^^^^^^ associated item not found in `SimpleWithSingleByteNonSpanningStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_bytes` found for struct `SimpleWithSingleByteNonSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 182 | struct SimpleWithSingleByteNonSpanningStruct { [INFO] [stdout] | -------------------------------------------- method `into_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 204 | let bytes = simple.clone().into_bytes(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `SimpleWithSingleByteNonSpanningStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `SimpleWithSingleByteNonSpanningStruct` in the current scope [INFO] [stdout] --> tests/structs.rs:226:61 [INFO] [stdout] | [INFO] [stdout] 182 | struct SimpleWithSingleByteNonSpanningStruct { [INFO] [stdout] | -------------------------------------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 226 | let new_simple = SimpleWithSingleByteNonSpanningStruct::from_bytes(bytes); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `SimpleWithSingleByteNonSpanningStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bondrewd-derive` (test "structs") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "e1171103043460f537f1ba6f5d7a21eaad56d7f47a808b199be0b810a553873e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1171103043460f537f1ba6f5d7a21eaad56d7f47a808b199be0b810a553873e", kill_on_drop: false }` [INFO] [stdout] e1171103043460f537f1ba6f5d7a21eaad56d7f47a808b199be0b810a553873e