[INFO] fetching crate serde_flat_regex 0.1.2... [INFO] testing serde_flat_regex-0.1.2 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] extracting crate serde_flat_regex 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate serde_flat_regex 0.1.2 [INFO] finished tweaking crates.io crate serde_flat_regex 0.1.2 [INFO] tweaked toml for crates.io crate serde_flat_regex 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_flat_regex 0.1.2 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding bson v2.15.0 (available: v3.1.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.23.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-triple v1.0.0 [INFO] [stderr] Downloaded serde_spanned v1.1.1 [INFO] [stderr] Downloaded toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Downloaded trybuild v1.0.116 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded toml v1.1.2+spec-1.1.0 [INFO] [stderr] Downloaded darling_macro v0.14.4 [INFO] [stderr] Downloaded darling v0.14.4 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded darling_core v0.14.4 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 705e439d920621dfe8e3e13a48a3651ea8327be5460d9c8de89031ab26a2f751 [INFO] running `Command { std: "docker" "start" "-a" "705e439d920621dfe8e3e13a48a3651ea8327be5460d9c8de89031ab26a2f751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705e439d920621dfe8e3e13a48a3651ea8327be5460d9c8de89031ab26a2f751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705e439d920621dfe8e3e13a48a3651ea8327be5460d9c8de89031ab26a2f751", kill_on_drop: false }` [INFO] [stdout] 705e439d920621dfe8e3e13a48a3651ea8327be5460d9c8de89031ab26a2f751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575ed8c233e77ac30f21de4e655922d94fe3cb24d108b030784a2f3b70e1c599 [INFO] running `Command { std: "docker" "start" "-a" "575ed8c233e77ac30f21de4e655922d94fe3cb24d108b030784a2f3b70e1c599", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling serde_flat_regex v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.75s [INFO] running `Command { std: "docker" "inspect" "575ed8c233e77ac30f21de4e655922d94fe3cb24d108b030784a2f3b70e1c599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575ed8c233e77ac30f21de4e655922d94fe3cb24d108b030784a2f3b70e1c599", kill_on_drop: false }` [INFO] [stdout] 575ed8c233e77ac30f21de4e655922d94fe3cb24d108b030784a2f3b70e1c599 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a94de4b78f2f8ed039eb2fbf199429da79102357c9c8fa8ceb7106fd9821d5a2 [INFO] running `Command { std: "docker" "start" "-a" "a94de4b78f2f8ed039eb2fbf199429da79102357c9c8fa8ceb7106fd9821d5a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling winnow v1.0.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.1.1 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling toml v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.4 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling serde_flat_regex v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `as_str` is never used [INFO] [stdout] --> tests/macro_test.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn as_str(s: &String) -> Result<&str, Utf8Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.82s [INFO] running `Command { std: "docker" "inspect" "a94de4b78f2f8ed039eb2fbf199429da79102357c9c8fa8ceb7106fd9821d5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94de4b78f2f8ed039eb2fbf199429da79102357c9c8fa8ceb7106fd9821d5a2", kill_on_drop: false }` [INFO] [stdout] a94de4b78f2f8ed039eb2fbf199429da79102357c9c8fa8ceb7106fd9821d5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a0cb54dcb6649a52ece4994633382d05eb27fb840ab0ea855944ee871a74c11 [INFO] running `Command { std: "docker" "start" "-a" "9a0cb54dcb6649a52ece4994633382d05eb27fb840ab0ea855944ee871a74c11", kill_on_drop: false }` [INFO] [stderr] warning: function `as_str` is never used [INFO] [stderr] --> tests/macro_test.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | fn as_str(s: &String) -> Result<&str, Utf8Error> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `serde_flat_regex` (test "macro_test") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_flat_regex-00fae442009d818f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/macro_test.rs (/opt/rustwide/target/debug/deps/macro_test-1f85d1a1da28cfc0) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test compile ... ok [INFO] [stdout] test bson_test ... ok [INFO] [stdout] test enum_test ... ok [INFO] [stdout] test json_should_fail ... ok [INFO] [stdout] test cstr ... ok [INFO] [stdout] test json_borrow_two_lt ... ok [INFO] [stdout] test json_test ... ok [INFO] [stdout] test json ... ok [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling serde_flat_regex v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking serde_flat_regex-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/serde_flat_regex) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.41s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/fail/regex_fail.rs ... ok [INFO] [stderr] test tests/fail/key_access_fail.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/fail/key_access_fail.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[flat_regex] [INFO] [stderr] | ^^^^^^^^^^^^^ expected struct `std::string::String`, found struct `CString` [INFO] [stderr] ... [INFO] [stderr] 11 | key_access = "some_modul::as_str" [INFO] [stderr] | -------------------- arguments to this function are incorrect [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&std::string::String` [INFO] [stderr] found reference `&CString` [INFO] [stderr] note: function defined here [INFO] [stderr] --> tests/fail/key_access_fail.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn as_str(s: &String) -> Result<&str, Utf8Error> { [INFO] [stderr] | ^^^^^^ ---------- [INFO] [stderr] = note: this error originates in the attribute macro `flat_regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> tests/fail/key_access_fail.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[flat_regex] [INFO] [stderr] | ^^^^^^^^^^^^^ expected `&String`, found `&CString` [INFO] [stderr] ... [INFO] [stderr] 11 | key_access = "some_modul::as_str" [INFO] [stderr] | -------------------- arguments to this function are incorrect [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&String` [INFO] [stderr] found reference `&CString` [INFO] [stderr] note: function defined here [INFO] [stderr] --> tests/fail/key_access_fail.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn as_str(s: &String) -> Result<&str, Utf8Error> { [INFO] [stderr] | ^^^^^^ ---------- [INFO] [stderr] = note: this error originates in the attribute macro `flat_regex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test should_fail_at_compliltime ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- should_fail_at_compliltime stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'should_fail_at_compliltime' (26) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13: [INFO] [stdout] 1 of 2 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x565842838c3a - std[29689e6404d28ef9]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x565842838c3a - std[29689e6404d28ef9]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x565842838c3a - std[29689e6404d28ef9]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x565842838c3a - <::print::DisplayBacktrace as core[e929cb53b82a81ca]::fmt::Display>::fmt [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x56584284feea - ::fmt [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x56584284feea - core[e929cb53b82a81ca]::fmt::write [INFO] [stdout] 6: 0x56584283dc72 - std[29689e6404d28ef9]::io::default_write_fmt::> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x56584283dc72 - as std[29689e6404d28ef9]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x565842814b1f - ::print [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x565842814b1f - std[29689e6404d28ef9]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5658428300b9 - std[29689e6404d28ef9]::panicking::default_hook [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5658426dbcbc - core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x5658426dbcbc - test[a24b3028667022f7]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x565842830272 - core[e929cb53b82a81ca]::ops::function::Fn<(&'a std[29689e6404d28ef9]::panic::PanicHookInfo<'b>,), Output = ()> + core[e929cb53b82a81ca]::marker::Send + core[e929cb53b82a81ca]::marker::Sync> as core[e929cb53b82a81ca]::ops::function::Fn<(&std[29689e6404d28ef9]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x565842830272 - std[29689e6404d28ef9]::panicking::panic_with_hook [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x565842814bd8 - std[29689e6404d28ef9]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x565842809af9 - std[29689e6404d28ef9]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5658428158ed - __rustc[3aed6af316653e63]::rust_begin_unwind [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x56584285072c - core[e929cb53b82a81ca]::panicking::panic_fmt [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5658423b87c4 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13 [INFO] [stdout] 20: 0x5658423bcec8 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38 [INFO] [stdout] 21: 0x565842253d17 - core[e929cb53b82a81ca]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ptr/mod.rs:809:1 [INFO] [stdout] 22: 0x565842267b4b - macro_test[c508df4beb533c27]::should_fail_at_compliltime [INFO] [stdout] at /opt/rustwide/workdir/tests/macro_test.rs:239:1 [INFO] [stdout] 23: 0x565842267797 - macro_test[c508df4beb533c27]::should_fail_at_compliltime::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/macro_test.rs:235:32 [INFO] [stdout] 24: 0x56584225bb06 - >::call_once [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5658426cef9b - core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5658426cef9b - test[a24b3028667022f7]::__rust_begin_short_backtrace::, fn() -> core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:724:18 [INFO] [stdout] 27: 0x5658426dc78b - test[a24b3028667022f7]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:74 [INFO] [stdout] 28: 0x5658426dc78b - as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 29: 0x5658426dc78b - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 30: 0x5658426dc78b - std[29689e6404d28ef9]::panicking::catch_unwind::, core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 31: 0x5658426dc78b - std[29689e6404d28ef9]::panic::catch_unwind::, core[e929cb53b82a81ca]::result::Result<(), alloc[9d7caffeb3b5d2c6]::string::String>> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5658426dc78b - test[a24b3028667022f7]::run_test_in_process [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:747:27 [INFO] [stdout] 33: 0x5658426dc78b - test[a24b3028667022f7]::run_test::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:668:43 [INFO] [stdout] 34: 0x5658426d5ea4 - test[a24b3028667022f7]::run_test::{closure#1} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/test/src/lib.rs:698:41 [INFO] [stdout] 35: 0x5658426d5ea4 - std[29689e6404d28ef9]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 36: 0x5658426df392 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 37: 0x5658426df392 - ::{closure#1}::{closure#0}> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 38: 0x5658426df392 - std[29689e6404d28ef9]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 39: 0x5658426df392 - std[29689e6404d28ef9]::panicking::catch_unwind::<(), core[e929cb53b82a81ca]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 40: 0x5658426df392 - std[29689e6404d28ef9]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5658426df392 - std[29689e6404d28ef9]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 42: 0x5658426df392 - ::{closure#1} as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x565842837f7f - + core[e929cb53b82a81ca]::marker::Send> as core[e929cb53b82a81ca]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 44: 0x565842837f7f - ::new::thread_start [INFO] [stdout] at /rustc/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 45: 0x78bc99a54aa4 - [INFO] [stdout] 46: 0x78bc99ae1a64 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] should_fail_at_compliltime [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 33.67s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test macro_test` [INFO] running `Command { std: "docker" "inspect" "9a0cb54dcb6649a52ece4994633382d05eb27fb840ab0ea855944ee871a74c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0cb54dcb6649a52ece4994633382d05eb27fb840ab0ea855944ee871a74c11", kill_on_drop: false }` [INFO] [stdout] 9a0cb54dcb6649a52ece4994633382d05eb27fb840ab0ea855944ee871a74c11