Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error during install / cargo check #6

@jgrund

Description

@jgrund

I am seeing the following error both when cargo installing binary and running cargo check on latest master:

error[E0599]: no method named `to_primitive_values` found for struct `MacAddr` in the current scope
   --> /Users/jgrund/repos/ift/target/debug/build/pnet_packet-da31a87675003943/out/ethernet.rs:442:24
    |
442 |         let vals = val.to_primitive_values();
    |                        ^^^^^^^^^^^^^^^^^^^ method not found in `MacAddr`

error[E0599]: no method named `to_primitive_values` found for struct `MacAddr` in the current scope
   --> /Users/jgrund/repos/ift/target/debug/build/pnet_packet-da31a87675003943/out/ethernet.rs:499:24
    |
499 |         let vals = val.to_primitive_values();
    |                        ^^^^^^^^^^^^^^^^^^^ method not found in `MacAddr`

error[E0599]: no method named `to_primitive_values` found for struct `MacAddr` in the current scope
   --> /Users/jgrund/repos/ift/target/debug/build/pnet_packet-da31a87675003943/out/arp.rs:776:24
    |
776 |         let vals = val.to_primitive_values();
    |                        ^^^^^^^^^^^^^^^^^^^ method not found in `MacAddr`

error[E0599]: no method named `to_primitive_values` found for struct `MacAddr` in the current scope
   --> /Users/jgrund/repos/ift/target/debug/build/pnet_packet-da31a87675003943/out/arp.rs:874:24
    |
874 |         let vals = val.to_primitive_values();
    |                        ^^^^^^^^^^^^^^^^^^^ method not found in `MacAddr`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions