Project

General

Profile

Actions

Bug #27217

open

Bug #27167: When the component value of a method is too long, the reporting can be missing

Syntax error in the upmerge of parent ticket

Added by Félix DALLIDET 1 day ago. Updated about 23 hours ago.

Status:
Pending release
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

The rudderc build fails with:

error: variables can be used directly in the `format!` string
   --> policies/rudderc/src/backends/unix/ncf/method_call.rs:101:25
    |
101 |     let c_very_unique = format!("canonify(\"{}\")", very_unique);
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    = note: `-D clippy::uninlined-format-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::uninlined_format_args)]`
help: change this to
    |
101 -     let c_very_unique = format!("canonify(\"{}\")", very_unique);
101 +     let c_very_unique = format!("canonify(\"{very_unique}\")");
    |

error: could not compile `rudderc` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `rudderc` (lib test) due to 1 previous error
Actions #1

Updated by Félix DALLIDET 1 day ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET 1 day ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/6501
Actions #3

Updated by Félix DALLIDET about 23 hours ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF