Project

General

Profile

Actions

Bug #25345

closed

Bug #25238: rudderc is generating 0 bytes resources when output directory is the same as the input

Missing import in rudderc

Added by Alexis Mousset 3 months ago. Updated about 2 months ago.

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

Description

[2024-08-23T07:23:35.106Z] error: cannot find macro `bail` in this scope

[2024-08-23T07:23:35.106Z]    --> policies/rudderc/src/lib.rs:117:17

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 117 |                 bail!("Output directory cannot be the same as the input directory");

[2024-08-23T07:23:35.106Z]     |                 ^^^^

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] help: consider importing this macro

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 4   + use anyhow::bail;

[2024-08-23T07:23:35.106Z]     |

[2024-08-23T07:23:35.106Z] 

Actions #1

Updated by Alexis Mousset 3 months ago

  • Category set to rudderc
  • Target version set to 8.1.7
Actions #2

Updated by Alexis Mousset 3 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/5830
Actions #4

Updated by Alexis Mousset 3 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Clark ANDRIANASOLO 2 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.7 which was released today.

Actions

Also available in: Atom PDF