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

[Git hakodate] Fails to compile with Rust 1.72.0 #8

Closed
hartwork opened this issue Oct 10, 2023 · 1 comment
Closed

[Git hakodate] Fails to compile with Rust 1.72.0 #8

hartwork opened this issue Oct 10, 2023 · 1 comment

Comments

@hartwork
Copy link

hartwork commented Oct 10, 2023

# rustc --version
rustc 1.72.0 (5680fa18f 2023-08-23)

# git rev-parse HEAD 
817f65dc9a95e6e0c83a1a8c4a0e277ff069b4f7

# cargo build
   Compiling pty-shell v0.1.4
   Compiling rmp-serialize v0.8.1
   Compiling env_logger v0.3.5
   Compiling docopt v0.6.86
error[E0276]: impl has stricter requirements than trait
  --> /home/user123/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pty-shell-0.1.4/src/lib.rs:50:30
   |
38 |     fn proxy<H: PtyHandler>(&self, handler: H) -> Result<()>;
   |     --------------------------------------------------------- definition of `proxy` from trait
...
50 |     fn proxy<H: PtyHandler + 'static>(&self, handler: H) -> Result<()> {
   |                              ^^^^^^^ impl has extra requirement `H: 'static`

For more information about this error, try `rustc --explain E0276`.
error: could not compile `pty-shell` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

CC #6

@hartwork
Copy link
Author

Closing to keep my https://github.com/issues clean…

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