[INFO] fetching crate snazy 0.52.11... [INFO] checking snazy-0.52.11 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate snazy 0.52.11 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate snazy 0.52.11 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snazy 0.52.11 [INFO] finished tweaking crates.io crate snazy 0.52.11 [INFO] tweaked toml for crates.io crate snazy 0.52.11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate snazy 0.52.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c5fb76bdccff34c22ef9d30fea76a9d247d8b606cbb1704851964b2ec050a09 [INFO] running `Command { std: "docker" "start" "-a" "1c5fb76bdccff34c22ef9d30fea76a9d247d8b606cbb1704851964b2ec050a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c5fb76bdccff34c22ef9d30fea76a9d247d8b606cbb1704851964b2ec050a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5fb76bdccff34c22ef9d30fea76a9d247d8b606cbb1704851964b2ec050a09", kill_on_drop: false }` [INFO] [stdout] 1c5fb76bdccff34c22ef9d30fea76a9d247d8b606cbb1704851964b2ec050a09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3897e9e958072ddcdcb4fdaefdc8db50462758fc14b0e60039aa00f864949601 [INFO] running `Command { std: "docker" "start" "-a" "3897e9e958072ddcdcb4fdaefdc8db50462758fc14b0e60039aa00f864949601", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking chrono v0.4.32 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Compiling color-print-proc-macro v0.3.5 [INFO] [stderr] Checking color-print v0.3.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking clap_complete v4.4.9 [INFO] [stderr] Checking snazy v0.52.11 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cli.rs (2 fixes) [INFO] [stderr] Fixed src/parse.rs (1 fix) [INFO] [stdout] warning: field `colouring` is never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub colouring: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stdout] warning: field `colouring` is never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub colouring: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tests` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/testenv/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> tests/testenv/mod.rs:6:72 [INFO] [stderr] | [INFO] [stderr] 6 | ($fun: ident, $args:tt, $input:literal, $expected_output:literal, $substring:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/testenv/mod.rs:6:83 [INFO] [stdout] | [INFO] [stdout] 6 | ($fun: ident, $args:tt, $input:literal, $expected_output:literal, $substring:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | ($fun: ident, $args:tt, $input:literal, $expected_output:literal, $substring:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / snazytest!( [INFO] [stdout] 7 | | show_help, [INFO] [stdout] 8 | | ["--help"], [INFO] [stdout] 9 | | "", [INFO] [stdout] 10 | | "snazy is a snazzy json log viewer", [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / snazytest!( [INFO] [stdout] 7 | | show_help, [INFO] [stdout] 8 | | ["--help"], [INFO] [stdout] 9 | | "", [INFO] [stdout] 10 | | "snazy is a snazzy json log viewer", [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / snazytest!( [INFO] [stdout] 15 | | simple_parsing, [INFO] [stdout] 16 | | [""], [INFO] [stdout] 17 | | r#"{"level":"info","msg":"foo"}"#, [INFO] [stdout] 18 | | "INFO foo\n", [INFO] [stdout] 19 | | false [INFO] [stdout] 20 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / snazytest!( [INFO] [stdout] 15 | | simple_parsing, [INFO] [stdout] 16 | | [""], [INFO] [stdout] 17 | | r#"{"level":"info","msg":"foo"}"#, [INFO] [stdout] 18 | | "INFO foo\n", [INFO] [stdout] 19 | | false [INFO] [stdout] 20 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / snazytest!( [INFO] [stdout] 23 | | simple_date, [INFO] [stdout] 24 | | [""], [INFO] [stdout] 25 | | r#"{"level":"info", "ts": "2022-04-25T14:20:32.505637358Z", "msg":"foo"}"#, [INFO] [stdout] 26 | | "INFO 14:20:32 foo\n", [INFO] [stdout] 27 | | false [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / snazytest!( [INFO] [stdout] 23 | | simple_date, [INFO] [stdout] 24 | | [""], [INFO] [stdout] 25 | | r#"{"level":"info", "ts": "2022-04-25T14:20:32.505637358Z", "msg":"foo"}"#, [INFO] [stdout] 26 | | "INFO 14:20:32 foo\n", [INFO] [stdout] 27 | | false [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / snazytest!( [INFO] [stdout] 31 | | floated_date, [INFO] [stdout] 32 | | [""], [INFO] [stdout] 33 | | r#"{"level":"info", "ts": 1650602040.6289625, "msg":"foo"}"#, [INFO] [stdout] 34 | | "INFO 04:34:00 foo\n", [INFO] [stdout] 35 | | false [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / snazytest!( [INFO] [stdout] 31 | | floated_date, [INFO] [stdout] 32 | | [""], [INFO] [stdout] 33 | | r#"{"level":"info", "ts": 1650602040.6289625, "msg":"foo"}"#, [INFO] [stdout] 34 | | "INFO 04:34:00 foo\n", [INFO] [stdout] 35 | | false [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | snazytest!(raw_non_json, [""], "Hello Moto", "Hello Moto\n", false); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | snazytest!(raw_non_json, [""], "Hello Moto", "Hello Moto\n", false); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / snazytest!( [INFO] [stdout] 41 | | regexp_raw_json, [INFO] [stdout] 42 | | ["-rHello", "--color", "always"], [INFO] [stdout] 43 | | "Hello Moto", [INFO] [stdout] 44 | | "\x1b[36mHello\x1b[0m Moto\n", [INFO] [stdout] 45 | | false [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / snazytest!( [INFO] [stdout] 41 | | regexp_raw_json, [INFO] [stdout] 42 | | ["-rHello", "--color", "always"], [INFO] [stdout] 43 | | "Hello Moto", [INFO] [stdout] 44 | | "\x1b[36mHello\x1b[0m Moto\n", [INFO] [stdout] 45 | | false [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / snazytest!( [INFO] [stdout] 49 | | regexp_colored, [INFO] [stdout] 50 | | ["-ryellow:Hello", "-r88,48,235:Moto", "--color", "always"], [INFO] [stdout] 51 | | "Hello Moto", [INFO] [stdout] 52 | | "\u{1b}[33mHello\u{1b}[0m \u{1b}[38;2;88;48;235mMoto\u{1b}[0m\n", [INFO] [stdout] 53 | | false [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / snazytest!( [INFO] [stdout] 49 | | regexp_colored, [INFO] [stdout] 50 | | ["-ryellow:Hello", "-r88,48,235:Moto", "--color", "always"], [INFO] [stdout] 51 | | "Hello Moto", [INFO] [stdout] 52 | | "\u{1b}[33mHello\u{1b}[0m \u{1b}[38;2;88;48;235mMoto\u{1b}[0m\n", [INFO] [stdout] 53 | | false [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / snazytest!( [INFO] [stdout] 57 | | multiple_regexp_raw_json, [INFO] [stdout] 58 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 59 | | "Hello Moto", [INFO] [stdout] 60 | | "\u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 61 | | false [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / snazytest!( [INFO] [stdout] 57 | | multiple_regexp_raw_json, [INFO] [stdout] 58 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 59 | | "Hello Moto", [INFO] [stdout] 60 | | "\u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 61 | | false [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / snazytest!( [INFO] [stdout] 65 | | kail_log_and_regexp, [INFO] [stdout] 66 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 67 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 68 | | "\u{1b}[38;5;10mINFO\u{1b}[0m \u{1b}[34mns/pod[container]\u{1b}[0m \u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 69 | | false [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / snazytest!( [INFO] [stdout] 65 | | kail_log_and_regexp, [INFO] [stdout] 66 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 67 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 68 | | "\u{1b}[38;5;10mINFO\u{1b}[0m \u{1b}[34mns/pod[container]\u{1b}[0m \u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 69 | | false [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / snazytest!( [INFO] [stdout] 73 | | kail_custom_format, [INFO] [stdout] 74 | | ["--kail-prefix-format", "{namespace}::{pod}|{container}"], [INFO] [stdout] 75 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 76 | | "ns::pod|container", [INFO] [stdout] 77 | | true [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / snazytest!( [INFO] [stdout] 73 | | kail_custom_format, [INFO] [stdout] 74 | | ["--kail-prefix-format", "{namespace}::{pod}|{container}"], [INFO] [stdout] 75 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 76 | | "ns::pod|container", [INFO] [stdout] 77 | | true [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / snazytest!( [INFO] [stdout] 81 | | kail_no_prefix, [INFO] [stdout] 82 | | ["--kail-no-prefix"], [INFO] [stdout] 83 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 84 | | "INFO Hello Moto\n", [INFO] [stdout] 85 | | false [INFO] [stdout] 86 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / snazytest!( [INFO] [stdout] 81 | | kail_no_prefix, [INFO] [stdout] 82 | | ["--kail-no-prefix"], [INFO] [stdout] 83 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 84 | | "INFO Hello Moto\n", [INFO] [stdout] 85 | | false [INFO] [stdout] 86 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / snazytest!( [INFO] [stdout] 89 | | pac_output_github, [INFO] [stdout] 90 | | [""], [INFO] [stdout] 91 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 92 | | "INFO 14:20:32 \u{f09b} github\n", [INFO] [stdout] 93 | | false [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / snazytest!( [INFO] [stdout] 89 | | pac_output_github, [INFO] [stdout] 90 | | [""], [INFO] [stdout] 91 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 92 | | "INFO 14:20:32 \u{f09b} github\n", [INFO] [stdout] 93 | | false [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / snazytest!( [INFO] [stdout] 97 | | pac_output_gitlab, [INFO] [stdout] 98 | | [""], [INFO] [stdout] 99 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 100 | | "INFO 14:20:32 \u{f296} gitlab\n", [INFO] [stdout] 101 | | false [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / snazytest!( [INFO] [stdout] 97 | | pac_output_gitlab, [INFO] [stdout] 98 | | [""], [INFO] [stdout] 99 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 100 | | "INFO 14:20:32 \u{f296} gitlab\n", [INFO] [stdout] 101 | | false [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / snazytest!( [INFO] [stdout] 105 | | pac_output_bitbucket_cloud, [INFO] [stdout] 106 | | [""], [INFO] [stdout] 107 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 108 | | "INFO 14:20:32 \u{f171} bitbucket-cloud\n", [INFO] [stdout] 109 | | false [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / snazytest!( [INFO] [stdout] 105 | | pac_output_bitbucket_cloud, [INFO] [stdout] 106 | | [""], [INFO] [stdout] 107 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 108 | | "INFO 14:20:32 \u{f171} bitbucket-cloud\n", [INFO] [stdout] 109 | | false [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / snazytest!( [INFO] [stdout] 113 | | pac_output_fallback_ts, [INFO] [stdout] 114 | | [""], [INFO] [stdout] 115 | | r#"{"severity":"INFO","timestamp":"2022-04-25:FOO","logger":"pipelinesascode","caller":"pipelineascode/status.go:59","message":" bitb... [INFO] [stdout] 116 | | "INFO 2022-04-25:FOO \u{f171} bitbucket-cloud\n", [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / snazytest!( [INFO] [stdout] 113 | | pac_output_fallback_ts, [INFO] [stdout] 114 | | [""], [INFO] [stdout] 115 | | r#"{"severity":"INFO","timestamp":"2022-04-25:FOO","logger":"pipelinesascode","caller":"pipelineascode/status.go:59","message":" bitb... [INFO] [stdout] 116 | | "INFO 2022-04-25:FOO \u{f171} bitbucket-cloud\n", [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / snazytest!( [INFO] [stdout] 121 | | pac_output_bitbucket_server, [INFO] [stdout] 122 | | [""], [INFO] [stdout] 123 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 124 | | "INFO 14:20:32 \u{f171}S bitbucket-server\n", [INFO] [stdout] 125 | | false [INFO] [stdout] 126 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / snazytest!( [INFO] [stdout] 121 | | pac_output_bitbucket_server, [INFO] [stdout] 122 | | [""], [INFO] [stdout] 123 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 124 | | "INFO 14:20:32 \u{f171}S bitbucket-server\n", [INFO] [stdout] 125 | | false [INFO] [stdout] 126 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / snazytest!( [INFO] [stdout] 129 | | level_symbols, [INFO] [stdout] 130 | | ["--level-symbols"], [INFO] [stdout] 131 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 137 | | false [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / snazytest!( [INFO] [stdout] 129 | | level_symbols, [INFO] [stdout] 130 | | ["--level-symbols"], [INFO] [stdout] 131 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 137 | | false [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / snazytest!( [INFO] [stdout] 141 | | filter_level, [INFO] [stdout] 142 | | ["--filter-levels=info", "--filter-levels=warning"], [INFO] [stdout] 143 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 148 | | false [INFO] [stdout] 149 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / snazytest!( [INFO] [stdout] 141 | | filter_level, [INFO] [stdout] 142 | | ["--filter-levels=info", "--filter-levels=warning"], [INFO] [stdout] 143 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 148 | | false [INFO] [stdout] 149 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / snazytest!( [INFO] [stdout] 152 | | skip_lines, [INFO] [stdout] 153 | | ["-S", "yolo"], [INFO] [stdout] 154 | | r#"{"level":"info","msg":"yolo"}"#, [INFO] [stdout] 155 | | "", [INFO] [stdout] 156 | | false [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / snazytest!( [INFO] [stdout] 152 | | skip_lines, [INFO] [stdout] 153 | | ["-S", "yolo"], [INFO] [stdout] 154 | | r#"{"level":"info","msg":"yolo"}"#, [INFO] [stdout] 155 | | "", [INFO] [stdout] 156 | | false [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / snazytest!( [INFO] [stdout] 160 | | custom_level, [INFO] [stdout] 161 | | [ [INFO] [stdout] 162 | | "-k", [INFO] [stdout] ... | [INFO] [stdout] 173 | | false [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 12 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 13 ~ let _ = unsafe { std::env::remove_var("SNAZY_LEVEL_SYMBOLS") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / snazytest!( [INFO] [stdout] 160 | | custom_level, [INFO] [stdout] 161 | | [ [INFO] [stdout] 162 | | "-k", [INFO] [stdout] ... | [INFO] [stdout] 173 | | false [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: this warning originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 13 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 14 ~ let _ = unsafe { std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.93s [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking snazy v0.52.11 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / snazytest!( [INFO] [stdout] 7 | | show_help, [INFO] [stdout] 8 | | ["--help"], [INFO] [stdout] 9 | | "", [INFO] [stdout] 10 | | "snazy is a snazzy json log viewer", [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / snazytest!( [INFO] [stdout] 7 | | show_help, [INFO] [stdout] 8 | | ["--help"], [INFO] [stdout] 9 | | "", [INFO] [stdout] 10 | | "snazy is a snazzy json log viewer", [INFO] [stdout] 11 | | true [INFO] [stdout] 12 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / snazytest!( [INFO] [stdout] 15 | | simple_parsing, [INFO] [stdout] 16 | | [""], [INFO] [stdout] 17 | | r#"{"level":"info","msg":"foo"}"#, [INFO] [stdout] 18 | | "INFO foo\n", [INFO] [stdout] 19 | | false [INFO] [stdout] 20 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / snazytest!( [INFO] [stdout] 15 | | simple_parsing, [INFO] [stdout] 16 | | [""], [INFO] [stdout] 17 | | r#"{"level":"info","msg":"foo"}"#, [INFO] [stdout] 18 | | "INFO foo\n", [INFO] [stdout] 19 | | false [INFO] [stdout] 20 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / snazytest!( [INFO] [stdout] 23 | | simple_date, [INFO] [stdout] 24 | | [""], [INFO] [stdout] 25 | | r#"{"level":"info", "ts": "2022-04-25T14:20:32.505637358Z", "msg":"foo"}"#, [INFO] [stdout] 26 | | "INFO 14:20:32 foo\n", [INFO] [stdout] 27 | | false [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / snazytest!( [INFO] [stdout] 23 | | simple_date, [INFO] [stdout] 24 | | [""], [INFO] [stdout] 25 | | r#"{"level":"info", "ts": "2022-04-25T14:20:32.505637358Z", "msg":"foo"}"#, [INFO] [stdout] 26 | | "INFO 14:20:32 foo\n", [INFO] [stdout] 27 | | false [INFO] [stdout] 28 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / snazytest!( [INFO] [stdout] 31 | | floated_date, [INFO] [stdout] 32 | | [""], [INFO] [stdout] 33 | | r#"{"level":"info", "ts": 1650602040.6289625, "msg":"foo"}"#, [INFO] [stdout] 34 | | "INFO 04:34:00 foo\n", [INFO] [stdout] 35 | | false [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / snazytest!( [INFO] [stdout] 31 | | floated_date, [INFO] [stdout] 32 | | [""], [INFO] [stdout] 33 | | r#"{"level":"info", "ts": 1650602040.6289625, "msg":"foo"}"#, [INFO] [stdout] 34 | | "INFO 04:34:00 foo\n", [INFO] [stdout] 35 | | false [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | snazytest!(raw_non_json, [""], "Hello Moto", "Hello Moto\n", false); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | snazytest!(raw_non_json, [""], "Hello Moto", "Hello Moto\n", false); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / snazytest!( [INFO] [stdout] 41 | | regexp_raw_json, [INFO] [stdout] 42 | | ["-rHello", "--color", "always"], [INFO] [stdout] 43 | | "Hello Moto", [INFO] [stdout] 44 | | "\x1b[36mHello\x1b[0m Moto\n", [INFO] [stdout] 45 | | false [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / snazytest!( [INFO] [stdout] 41 | | regexp_raw_json, [INFO] [stdout] 42 | | ["-rHello", "--color", "always"], [INFO] [stdout] 43 | | "Hello Moto", [INFO] [stdout] 44 | | "\x1b[36mHello\x1b[0m Moto\n", [INFO] [stdout] 45 | | false [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / snazytest!( [INFO] [stdout] 49 | | regexp_colored, [INFO] [stdout] 50 | | ["-ryellow:Hello", "-r88,48,235:Moto", "--color", "always"], [INFO] [stdout] 51 | | "Hello Moto", [INFO] [stdout] 52 | | "\u{1b}[33mHello\u{1b}[0m \u{1b}[38;2;88;48;235mMoto\u{1b}[0m\n", [INFO] [stdout] 53 | | false [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / snazytest!( [INFO] [stdout] 49 | | regexp_colored, [INFO] [stdout] 50 | | ["-ryellow:Hello", "-r88,48,235:Moto", "--color", "always"], [INFO] [stdout] 51 | | "Hello Moto", [INFO] [stdout] 52 | | "\u{1b}[33mHello\u{1b}[0m \u{1b}[38;2;88;48;235mMoto\u{1b}[0m\n", [INFO] [stdout] 53 | | false [INFO] [stdout] 54 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / snazytest!( [INFO] [stdout] 57 | | multiple_regexp_raw_json, [INFO] [stdout] 58 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 59 | | "Hello Moto", [INFO] [stdout] 60 | | "\u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 61 | | false [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / snazytest!( [INFO] [stdout] 57 | | multiple_regexp_raw_json, [INFO] [stdout] 58 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 59 | | "Hello Moto", [INFO] [stdout] 60 | | "\u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 61 | | false [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / snazytest!( [INFO] [stdout] 65 | | kail_log_and_regexp, [INFO] [stdout] 66 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 67 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 68 | | "\u{1b}[38;5;10mINFO\u{1b}[0m \u{1b}[34mns/pod[container]\u{1b}[0m \u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 69 | | false [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / snazytest!( [INFO] [stdout] 65 | | kail_log_and_regexp, [INFO] [stdout] 66 | | ["-rHello", "-rMoto", "--color", "always"], [INFO] [stdout] 67 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 68 | | "\u{1b}[38;5;10mINFO\u{1b}[0m \u{1b}[34mns/pod[container]\u{1b}[0m \u{1b}[36mHello\u{1b}[0m \u{1b}[33mMoto\u{1b}[0m\n", [INFO] [stdout] 69 | | false [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / snazytest!( [INFO] [stdout] 73 | | kail_custom_format, [INFO] [stdout] 74 | | ["--kail-prefix-format", "{namespace}::{pod}|{container}"], [INFO] [stdout] 75 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 76 | | "ns::pod|container", [INFO] [stdout] 77 | | true [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / snazytest!( [INFO] [stdout] 73 | | kail_custom_format, [INFO] [stdout] 74 | | ["--kail-prefix-format", "{namespace}::{pod}|{container}"], [INFO] [stdout] 75 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 76 | | "ns::pod|container", [INFO] [stdout] 77 | | true [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / snazytest!( [INFO] [stdout] 81 | | kail_no_prefix, [INFO] [stdout] 82 | | ["--kail-no-prefix"], [INFO] [stdout] 83 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 84 | | "INFO Hello Moto\n", [INFO] [stdout] 85 | | false [INFO] [stdout] 86 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / snazytest!( [INFO] [stdout] 81 | | kail_no_prefix, [INFO] [stdout] 82 | | ["--kail-no-prefix"], [INFO] [stdout] 83 | | r#"ns/pod[container]: {"level":"INFO","msg":"Hello Moto"}"#, [INFO] [stdout] 84 | | "INFO Hello Moto\n", [INFO] [stdout] 85 | | false [INFO] [stdout] 86 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / snazytest!( [INFO] [stdout] 89 | | pac_output_github, [INFO] [stdout] 90 | | [""], [INFO] [stdout] 91 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 92 | | "INFO 14:20:32 \u{f09b} github\n", [INFO] [stdout] 93 | | false [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / snazytest!( [INFO] [stdout] 89 | | pac_output_github, [INFO] [stdout] 90 | | [""], [INFO] [stdout] 91 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 92 | | "INFO 14:20:32 \u{f09b} github\n", [INFO] [stdout] 93 | | false [INFO] [stdout] 94 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / snazytest!( [INFO] [stdout] 97 | | pac_output_gitlab, [INFO] [stdout] 98 | | [""], [INFO] [stdout] 99 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 100 | | "INFO 14:20:32 \u{f296} gitlab\n", [INFO] [stdout] 101 | | false [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / snazytest!( [INFO] [stdout] 97 | | pac_output_gitlab, [INFO] [stdout] 98 | | [""], [INFO] [stdout] 99 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 100 | | "INFO 14:20:32 \u{f296} gitlab\n", [INFO] [stdout] 101 | | false [INFO] [stdout] 102 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / snazytest!( [INFO] [stdout] 105 | | pac_output_bitbucket_cloud, [INFO] [stdout] 106 | | [""], [INFO] [stdout] 107 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 108 | | "INFO 14:20:32 \u{f171} bitbucket-cloud\n", [INFO] [stdout] 109 | | false [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / snazytest!( [INFO] [stdout] 105 | | pac_output_bitbucket_cloud, [INFO] [stdout] 106 | | [""], [INFO] [stdout] 107 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 108 | | "INFO 14:20:32 \u{f171} bitbucket-cloud\n", [INFO] [stdout] 109 | | false [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / snazytest!( [INFO] [stdout] 113 | | pac_output_fallback_ts, [INFO] [stdout] 114 | | [""], [INFO] [stdout] 115 | | r#"{"severity":"INFO","timestamp":"2022-04-25:FOO","logger":"pipelinesascode","caller":"pipelineascode/status.go:59","message":" bitb... [INFO] [stdout] 116 | | "INFO 2022-04-25:FOO \u{f171} bitbucket-cloud\n", [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / snazytest!( [INFO] [stdout] 113 | | pac_output_fallback_ts, [INFO] [stdout] 114 | | [""], [INFO] [stdout] 115 | | r#"{"severity":"INFO","timestamp":"2022-04-25:FOO","logger":"pipelinesascode","caller":"pipelineascode/status.go:59","message":" bitb... [INFO] [stdout] 116 | | "INFO 2022-04-25:FOO \u{f171} bitbucket-cloud\n", [INFO] [stdout] 117 | | false [INFO] [stdout] 118 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / snazytest!( [INFO] [stdout] 121 | | pac_output_bitbucket_server, [INFO] [stdout] 122 | | [""], [INFO] [stdout] 123 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 124 | | "INFO 14:20:32 \u{f171}S bitbucket-server\n", [INFO] [stdout] 125 | | false [INFO] [stdout] 126 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / snazytest!( [INFO] [stdout] 121 | | pac_output_bitbucket_server, [INFO] [stdout] 122 | | [""], [INFO] [stdout] 123 | | r#"{"severity":"INFO","timestamp":"2022-04-25T14:20:32.505637358Z","logger":"pipelinesascode","caller":"pipelineascode/status.go:59",... [INFO] [stdout] 124 | | "INFO 14:20:32 \u{f171}S bitbucket-server\n", [INFO] [stdout] 125 | | false [INFO] [stdout] 126 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / snazytest!( [INFO] [stdout] 129 | | level_symbols, [INFO] [stdout] 130 | | ["--level-symbols"], [INFO] [stdout] 131 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 137 | | false [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / snazytest!( [INFO] [stdout] 129 | | level_symbols, [INFO] [stdout] 130 | | ["--level-symbols"], [INFO] [stdout] 131 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 137 | | false [INFO] [stdout] 138 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / snazytest!( [INFO] [stdout] 141 | | filter_level, [INFO] [stdout] 142 | | ["--filter-levels=info", "--filter-levels=warning"], [INFO] [stdout] 143 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 148 | | false [INFO] [stdout] 149 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / snazytest!( [INFO] [stdout] 141 | | filter_level, [INFO] [stdout] 142 | | ["--filter-levels=info", "--filter-levels=warning"], [INFO] [stdout] 143 | | r#"{"level":"info","msg":"INFO"} [INFO] [stdout] ... | [INFO] [stdout] 148 | | false [INFO] [stdout] 149 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / snazytest!( [INFO] [stdout] 152 | | skip_lines, [INFO] [stdout] 153 | | ["-S", "yolo"], [INFO] [stdout] 154 | | r#"{"level":"info","msg":"yolo"}"#, [INFO] [stdout] 155 | | "", [INFO] [stdout] 156 | | false [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / snazytest!( [INFO] [stdout] 152 | | skip_lines, [INFO] [stdout] 153 | | ["-S", "yolo"], [INFO] [stdout] 154 | | r#"{"level":"info","msg":"yolo"}"#, [INFO] [stdout] 155 | | "", [INFO] [stdout] 156 | | false [INFO] [stdout] 157 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = std::env::remove_var("SNAZY_LEVEL_SYMBOLS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / snazytest!( [INFO] [stdout] 160 | | custom_level, [INFO] [stdout] 161 | | [ [INFO] [stdout] 162 | | "-k", [INFO] [stdout] ... | [INFO] [stdout] 173 | | false [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> tests/testenv/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let _ = std::env::remove_var("SNAZY_KAIL_PREFIX_FORMAT"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: tests/tests.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / snazytest!( [INFO] [stdout] 160 | | custom_level, [INFO] [stdout] 161 | | [ [INFO] [stdout] 162 | | "-k", [INFO] [stdout] ... | [INFO] [stdout] 173 | | false [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this error originates in the macro `snazytest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snazy` (test "tests") due to 41 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `colouring` is never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub colouring: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colouring` is never read [INFO] [stdout] --> src/config.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub colouring: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3897e9e958072ddcdcb4fdaefdc8db50462758fc14b0e60039aa00f864949601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3897e9e958072ddcdcb4fdaefdc8db50462758fc14b0e60039aa00f864949601", kill_on_drop: false }` [INFO] [stdout] 3897e9e958072ddcdcb4fdaefdc8db50462758fc14b0e60039aa00f864949601