[GH-ISSUE #34] build fails on Ubuntu 16.04 #16

Closed
opened 2026-06-08 11:25:18 +03:00 by zhus · 2 comments
Owner

Originally created by @horse-latitudes on GitHub (Nov 1, 2019).
Original GitHub issue: https://github.com/bootandy/dust/issues/34

cargo bails out whilst compiling:

error[E0432]: unresolved import self::std::hint--> .cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs:13:16 | 13 | use self::std::hint::unreachable_unchecked; | ^^^^ Could not findhintinstd`

error: aborting due to previous error

error: Could not compile lazy_static.
warning: build failed, waiting for other jobs to finish...
error: failed to compile du-dust v0.4.0, intermediate artifacts can be found at /tmp/cargo-install.9fTx6Q9xf9f3

Caused by:
build failed
`
any help appreciated,

Phil.

Originally created by @horse-latitudes on GitHub (Nov 1, 2019). Original GitHub issue: https://github.com/bootandy/dust/issues/34 cargo bails out whilst compiling: `error[E0432]: unresolved import `self::std::hint` --> .cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.4.0/src/inline_lazy.rs:13:16 | 13 | use self::std::hint::unreachable_unchecked; | ^^^^ Could not find `hint` in `std` error: aborting due to previous error error: Could not compile `lazy_static`. warning: build failed, waiting for other jobs to finish... error: failed to compile `du-dust v0.4.0`, intermediate artifacts can be found at `/tmp/cargo-install.9fTx6Q9xf9f3` Caused by: build failed ` any help appreciated, Phil.
zhus closed this issue 2026-06-08 11:25:18 +03:00
Author
Owner

@horse-latitudes commented on GitHub (Nov 1, 2019):

I ran rustup & upgraded both rust and cargo to 1.38.0 & running build again succeeded.

Sorry for the noise.

<!-- gh-comment-id:548840992 --> @horse-latitudes commented on GitHub (Nov 1, 2019): I ran `rustup` & upgraded both rust and cargo to 1.38.0 & running build again succeeded. Sorry for the noise.
Author
Owner

@bootandy commented on GitHub (Nov 2, 2019):

no worries, glad you got it fixed.

<!-- gh-comment-id:548992192 --> @bootandy commented on GitHub (Nov 2, 2019): no worries, glad you got it fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#16