Skip to content

dont compile on Ubuntu 2204  #66

Closed
@dominix

Description

Describe the bug

just typed "cargo install sniffnet"

To Reproduce
cargo install sniffnet

Expected behavior
compile sniffnet cleanly

Screenshots
...
Compiling iced_core v0.7.0
Compiling wgpu-hal v0.14.1
Compiling iced_futures v0.5.1
Compiling iced_style v0.6.0
Compiling iced_native v0.8.0
Compiling image v0.24.5
Compiling ipnetwork v0.18.0
Compiling smithay-clipboard v0.6.6
Compiling sctk-adwaita v0.4.3
Compiling confy v0.5.1
Compiling maxminddb v0.23.0
Compiling iced_graphics v0.6.0
error[E0658]: generic associated types are unstable
--> /home/koublaski/.cargo/registry/src/github.com-1ecc6299db9ec823/iced_graphics-0.6.0/src/image/storage.rs:12:5
|
12 | type State<'a>;
| ^^^^^^^^^^^^^^^
|
= note: see issue #44265 rust-lang/rust#44265 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile iced_graphics due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile sniffnet v1.1.0, intermediate artifacts can be found at /tmp/cargo-installT3ViYm

Desktop (please complete the following information):

  • OS: [e.g. MacOS, Linux, Windows]
    linux Ubuntu
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.1 LTS
    Release: 22.04
    Codename: jammy

Additional context

I have tried to "rustup update" but it doesn't change nothing.

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