hyper: v0.14.21 broken build
Version v0.14.21
Platform MacOS and Linux
Description
Cannot build the newest hyper:
[2022-10-31T14:18:27.529Z] error[E0599]: no method named `with_interval` found for struct `TcpKeepalive` in the current scope
[2022-10-31T14:18:27.529Z] --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.21/src/server/tcp.rs:49:12
[2022-10-31T14:18:27.529Z] |
[2022-10-31T14:18:27.529Z] 49 | ka.with_interval(interval)
[2022-10-31T14:18:27.529Z] | ^^^^^^^^^^^^^ method not found in `TcpKeepalive`
[2022-10-31T14:18:27.529Z]
[2022-10-31T14:18:27.529Z] error[E0599]: no method named `with_retries` found for struct `TcpKeepalive` in the current scope
[2022-10-31T14:18:27.529Z] --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.21/src/server/tcp.rs:60:12
[2022-10-31T14:18:27.529Z] |
[2022-10-31T14:18:27.529Z] 60 | ka.with_retries(retries)
[2022-10-31T14:18:27.529Z] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `with_time`
[2022-10-31T14:18:27.529Z]
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- fix(server): fix compile-time cfgs for TCP keepalive options (#3039) Closes #3038 — committed to hyperium/hyper by seanmonstar 2 years ago
- Fix issue no method named with_interval found for struct TcpKeepalive More info: https://github.com/hyperium/hyper/issues/3038 — committed to ngocbv/renec by ngocbv 2 years ago
- Fix issue no method named with_interval found for struct TcpKeepalive More info: https://github.com/hyperium/hyper/issues/3038 — committed to ngocbv/renec by ngocbv 2 years ago
- Fix issue no method named with_interval found for struct TcpKeepalive More info: https://github.com/hyperium/hyper/issues/3038 — committed to renec-chain/renec by ngocbv 2 years ago
- Fix issue no method named with_interval found for struct TcpKeepalive More info: https://github.com/hyperium/hyper/issues/3038 — committed to renec-chain/renec by ngocbv 2 years ago
Most upvoted comments
+1
mskrzypkows on Oct 31, 2022