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

Bug: Windows builds fail #167

Open
dunxen opened this issue Sep 2, 2024 · 0 comments
Open

Bug: Windows builds fail #167

dunxen opened this issue Sep 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dunxen
Copy link
Collaborator

dunxen commented Sep 2, 2024

Describe the bug

Compiling triggered v0.1.2
error[E0433]: failed to resolve: could not find `unix` in `os`
  --> src\server.rs:26:14
   |
26 | use std::os::unix::fs::PermissionsExt;
   |              ^^^^ could not find `unix` in `os`
   |
note: found an item that was configured out
  --> /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23\library\std\src\os\mod.rs:26:9
note: found an item that was configured out
  --> /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23\library\std\src\os\mod.rs:64:9

error[E0599]: no method named `set_mode` found for struct `Permissions` in the current scope
   --> src\server.rs:361:15
    |
361 |         perms.set_mode(0o600);
    |               ^^^^^^^^ method not found in `Permissions`

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `lndk` (lib) due to 2 previous errors
  • Expected Behavior: LNDK builds on windows
  • Actual Behavior: LNDK has a build error on windows

Environment

  • LND Version: {the version of LND you're running}
  • LNDK Version: {the commit of LNDK you're running}
  • Operating System: windows

_Please do not include private information in bug reports! _

To Reproduce
Steps to reproduce the behavior:

Additional context
Add any other context about the problem here.

@dunxen dunxen added the bug Something isn't working label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant