Actions
Bug #6876
closedrust: MSRV unintentionally bumped
Affected Versions:
Effort:
Difficulty:
Label:
Description
Compiling suricata v6.0.18-dev (/__w/suricata/suricata/rust)
error[E0658]: use of unstable library feature 'try_reserve': new API
--> src/jsonbuilder.rs:20:5
|
20 | use std::collections::TryReserveError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/48043
error[E0658]: use of unstable library feature 'try_reserve': new API
--> src/jsonbuilder.rs:46:11
|
46 | impl From<TryReserveError> for JsonError {
| ^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/48043
error[E0658]: use of unstable library feature 'try_reserve': new API
--> src/jsonbuilder.rs:47:16
|
47 | fn from(_: TryReserveError) -> Self {
| ^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/48043
error[E0658]: use of unstable library feature 'try_reserve': new API
--> src/jsonbuilder.rs:606:9
|
606 | out.try_reserve(input.len() * 4)?;
| ^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/48043
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `suricata`.
To learn more, run the command again with --verbose.
make[1]: *** [Makefile:549: all-local] Error 101
make[1]: Leaving directory '/__w/suricata/suricata/rust'
make: *** [Makefile:493: all-recursive] Error 1
Actions