Skip to content

storage: fix compile error #718

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

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Conversation

wllenyj
Copy link
Contributor

@wllenyj wllenyj commented Sep 8, 2022

Compiling storage alone will fail.

error[E0432]: unresolved import `tokio::time`
  --> storage/src/cache/worker.rs:12:12
   |
12 | use tokio::time::interval;
   |            ^^^^ could not find `time` in `tokio`

error[E0432]: unresolved import `tokio::time`
  --> storage/src/factory.rs:24:5
   |
24 |     time,
   |     ^^^^ no `time` in the root

Signed-off-by: wanglei01 [email protected]

Compiling storage alone will fail.
```
error[E0432]: unresolved import `tokio::time`
  --> storage/src/cache/worker.rs:12:12
   |
12 | use tokio::time::interval;
   |            ^^^^ could not find `time` in `tokio`

error[E0432]: unresolved import `tokio::time`
  --> storage/src/factory.rs:24:5
   |
24 |     time,
   |     ^^^^ no `time` in the root

```

Signed-off-by: wanglei01 <[email protected]>
@anolis-bot
Copy link
Collaborator

@wllenyj , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/20728

@anolis-bot
Copy link
Collaborator

@wllenyj , The CI test is completed, please check result:

Test CaseTest Result
merge-target-branch✅ SUCCESS
build-docker-image✅ SUCCESS
compile-nydus✅ SUCCESS
compile-ctr-remote✅ SUCCESS
compile-nydus-snapshotter✅ SUCCESS
start-nydus-snapshotter-config-containerd✅ SUCCESS
run-container-with-nydus-image✅ SUCCESS

Congratulations, your test job passed!

Copy link
Member

@bergwolf bergwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@bergwolf bergwolf merged commit 8604c9c into dragonflyoss:master Sep 8, 2022
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

Successfully merging this pull request may close these issues.

3 participants