Coder Social home page Coder Social logo

Comments (4)

TheBinitGhimire avatar TheBinitGhimire commented on September 26, 2024

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.

saikumar9121 avatar saikumar9121 commented on September 26, 2024

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.

TheBinitGhimire avatar TheBinitGhimire commented on September 26, 2024

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.

nukats avatar nukats commented on September 26, 2024

NtHiM -t https://example.example.com -v
[ERROR] An error occured for [https://example.example.com].

How to troubleshoot?

from nthim.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.