Open tubzby opened 11 months ago
Seems this simple test failed for me:
#[tokio::test] #[traced_test] async fn test_log() -> anyhow::Result<()> { info!("hello"); Ok(()) }
It will panic with output:
running 1 test thread 'connector::rotate::tests::test_log' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regex parse error: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1: (?x) 2: ^(?P<global_level>(?i:trace|debug|info|warn|error|off|[0-5]))$ | ^ 3: # ^^^. 4: # `note: we match log level names case-insensitively 5: ^ 6: (?: # target name or span name 7: (?P<target>[\w:-]+)|(?P<span>\[[^\]]*\]) 8: ){1,2} 9: (?: # level or nothing 10: =(?P<level>(?i:trace|debug|info|warn|error|off|[0-5]))? 11: # ^^^. 12: # `note: we match log level names case-insensitively 13: )? 14: $ 15: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Unicode-aware case insensitivity matching is not available (make sure the unicode-case feature is enabled) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Seems this simple test failed for me:
It will panic with output: