Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no UnixDatagramFramed in the root #870

Closed
yaa110 opened this issue Jan 26, 2019 · 1 comment
Closed

no UnixDatagramFramed in the root #870

yaa110 opened this issue Jan 26, 2019 · 1 comment

Comments

@yaa110
Copy link

yaa110 commented Jan 26, 2019

Version

│   ├── tokio-codec v0.1.1
│   │   └── tokio-io v0.1.9
│   ├── tokio-executor v0.1.5
│   ├── tokio-io v0.1.9 (*)
│   ├── tokio-tcp v0.1.2
│   │   ├── tokio-io v0.1.9 (*)
│   │   └── tokio-reactor v0.1.6
│   │       ├── tokio-executor v0.1.5 (*)
│   │       └── tokio-io v0.1.9 (*)
│   │   │   │   └── tokio-io v0.1.9 (*)
│   │   │   ├── tokio v0.1.15
│   │   │   │   ├── tokio-codec v0.1.1 (*)
│   │   │   │   ├── tokio-current-thread v0.1.3
│   │   │   │   │   └── tokio-executor v0.1.5 (*)
│   │   │   │   ├── tokio-executor v0.1.5 (*)
│   │   │   │   ├── tokio-fs v0.1.4
│   │   │   │   │   ├── tokio-io v0.1.9 (*)
│   │   │   │   │   └── tokio-threadpool v0.1.8
│   │   │   │   │       └── tokio-executor v0.1.5 (*)
│   │   │   │   │   └── tokio-io v0.1.9 (*)
│   │   │   │   ├── tokio-io v0.1.9 (*)
│   │   │   │   ├── tokio-reactor v0.1.6 (*)
│   │   │   │   ├── tokio-sync v0.1.0
│   │   │   │   ├── tokio-tcp v0.1.2 (*)
│   │   │   │   ├── tokio-threadpool v0.1.8 (*)
│   │   │   │   ├── tokio-timer v0.2.8
│   │   │   │   │   └── tokio-executor v0.1.5 (*)
│   │   │   │   ├── tokio-udp v0.1.2
│   │   │   │   │   ├── tokio-codec v0.1.1 (*)
│   │   │   │   │   ├── tokio-io v0.1.9 (*)
│   │   │   │   │   └── tokio-reactor v0.1.6 (*)
│   │   │   │   └── tokio-uds v0.2.3
│   │   │   │       ├── tokio-io v0.1.9 (*)
│   │   │   │       └── tokio-reactor v0.1.6 (*)
│   │   │   ├── tokio-executor v0.1.5 (*)
│   │   │   ├── tokio-io v0.1.9 (*)
│   │   │   ├── tokio-reactor v0.1.6 (*)
│   │   │   ├── tokio-tcp v0.1.2 (*)
│   │   │   ├── tokio-threadpool v0.1.8 (*)
│   │   │   ├── tokio-timer v0.2.8 (*)
│   │   │   └── tokio-io v0.1.9 (*)
│   │   ├── tokio v0.1.15 (*)
│   │   ├── tokio-executor v0.1.5 (*)
│   │   ├── tokio-io v0.1.9 (*)
│   │   ├── tokio-threadpool v0.1.8 (*)
│   │   ├── tokio-timer v0.2.8 (*)
├── tokio v0.1.15 (*)

Platform

Linux 6b1910508b09 4.20.3-arch1-1-ARCH #1 SMP PREEMPT Wed Jan 16 22:38:58 UTC 2019 x86_64 GNU/Linux

Building inside debian-stretch docker container

Description

I have used tokio in my project, during the build I got the following error:

error[E0432]: unresolved import `tokio_uds::UnixDatagramFramed`
  --> /root/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-0.1.15/src/net.rs:93:77
   |
93 |         ConnectFuture, Incoming, RecvDgram, SendDgram, UCred, UnixDatagram, UnixDatagramFramed,
   |                                                                             ^^^^^^^^^^^^^^^^^^ no `UnixDatagramFramed` in the root. Did you mean to use `UnixDatagram`?

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `tokio`.
warning: build failed, waiting for other jobs to finish...
error: build failed

cargo 1.32.0 (8610973aa 2019-01-02)
rustc 1.32.0 (9fda7c223 2019-01-16)

@yaa110
Copy link
Author

yaa110 commented Jan 26, 2019

The problem has been addressed by removing target directory and Cargo.lock file

@yaa110 yaa110 closed this as completed Jan 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant