Comments (4)
Adding the following line under [dependencies] in the Cargo.toml file can simply resolve the issue:
openssl = { version = "0.10", features = ["vendored"] }
But, this would make the NtHiM executable binary consume more memory due to OpenSSL being built into it. Therefore, I haven't included it inside the file.
You might be interested in adding this line into the file in case you are interested in modifying NtHiM to build something more interesting.
Thanks,
Binit Ghimire (@TheBinitGhimire)
from nthim.
error[E0658]: use of unstable library feature 'slice_strip'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/os_str_bytes-4.2.0/src/raw_str.rs:605:16
|
605 | self.0.strip_prefix(pat).map(Self::from_raw_bytes_unchecked)
| ^^^^^^^^^^^^
|
= note: see issue #73413 rust-lang/rust#73413 for more information
error[E0658]: use of unstable library feature 'slice_strip'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/os_str_bytes-4.2.0/src/raw_str.rs:635:16
|
635 | self.0.strip_suffix(pat).map(Self::from_raw_bytes_unchecked)
| ^^^^^^^^^^^^
|
= note: see issue #73413 rust-lang/rust#73413 for more information
error[E0658]: use of unstable library feature 'slice_strip'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/os_str_bytes-4.2.0/src/raw_str.rs:726:39
|
726 | impl_trim_matches!(self, pat, strip_suffix)
| ^^^^^^^^^^^^
|
= note: see issue #73413 rust-lang/rust#73413 for more information
error[E0658]: use of unstable library feature 'slice_strip'
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/os_str_bytes-4.2.0/src/raw_str.rs:749:39
|
749 | impl_trim_matches!(self, pat, strip_prefix)
| ^^^^^^^^^^^^
|
= note: see issue #73413 rust-lang/rust#73413 for more information
For more information about this error, try rustc --explain E0658
.
error: could not compile os_str_bytes
due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile NtHiM v0.1.2
, intermediate artifacts can be found at /tmp/cargo-installxBNBb8
Caused by:
build failed
from nthim.
Hello @saikumar9121,
Would you mind letting me know about your system? Also, using what method are you trying to install NtHiM?
I just tried doing a fresh install on a clean, new Debian 10 instance on amd64 with only Rustup installed, and the installation was successful both through crates.io and manual building. So, I would love to know about the system where you were trying to install and faced this issue.
Thanks,
@TheBinitGhimire
from nthim.
NtHiM -t https://example.example.com -v
[ERROR] An error occured for [https://example.example.com].
How to troubleshoot?
from nthim.
Related Issues (12)
- thread 'main' panicked at 'Unable to open cache file!: Os { code: 24, kind: Other, message: "Too many open files" }', src/platforms.rs:37:53 HOT 14
- Support for multiple signatures/fingerprint for the same platform via JSON provided from https://git.io/signatures_json HOT 1
- Allow user input fingerprint.json file HOT 1
- [Bug] Crashes when passing huge list using -f HOT 3
- [Bug] failed to compile `NtHiM v0.1.3` HOT 4
- Increase platform detection HOT 2
- Compile from source fix. HOT 2
- [Feature Request] HOT 1
- [Feature enhancement] Enumerate recursively of domain HOT 3
- Add Platform/OS support HOT 2
- NOT WORKING! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nthim.