Project

General

Profile

Actions

Bug #6876

closed

rust: MSRV unintentionally bumped

Added by Victor Julien about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
High
Target version:
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 #1

Updated by Philippe Antoine about 2 months ago

  • Status changed from New to In Review
Actions #2

Updated by Victor Julien about 2 months ago

  • Assignee changed from OISF Dev to Philippe Antoine
Actions #3

Updated by Victor Julien about 2 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF