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

Tool out of date with modern linux #8

Open
rtaft opened this issue Dec 29, 2023 · 1 comment
Open

Tool out of date with modern linux #8

rtaft opened this issue Dec 29, 2023 · 1 comment

Comments

@rtaft
Copy link

rtaft commented Dec 29, 2023

I attempted to build this on Ubuntu 23.10 ARM as well as Linux Mint 21.2, both get this error:

error[E0713]: borrow may still be in use when destructor runs
   --> /home/rtaft/.cargo/registry/src/index.crates.io-6f17d22bba15001f/url-1.4.0/src/form_urlencoded.rs:246:40
    |
244 | impl<'a> Target for ::UrlQuery<'a> {
    |      -- lifetime `'a` defined here
245 |     fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization }
246 |     fn finish(self) -> &'a mut ::Url { self.url }
    |                                        ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait
    |                                        |
    |                                        returning this value requires that `*self.url` is borrowed for `'a`

For more information about this error, try `rustc --explain E0713`.
error: could not compile `url` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
@rtaft
Copy link
Author

rtaft commented Dec 29, 2023

Updated to url 1.7.2 got it to compile. However now I get:

Using configuration file in current working directory:
  /home/rtaft/software/stabping/target/release/stabping_config.json
Web server listening on port 5001.
WebSocket server (re)listening on port 5002.
thread '<unnamed>' panicked at 'Unable to listen on websocket.: WS Error <Io(Os { code: 22, kind: InvalidInput, message: "Invalid argument" })>', src/wsserver.rs:82:20
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

posts are available, though the error says invalid argument which suggests a software issue.

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

No branches or pull requests

1 participant