[INFO] fetching crate tracing-attributes 0.1.27... [INFO] checking tracing-attributes-0.1.27 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate tracing-attributes 0.1.27 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tracing-attributes 0.1.27 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tracing-attributes 0.1.27 [INFO] finished tweaking crates.io crate tracing-attributes 0.1.27 [INFO] tweaked toml for crates.io crate tracing-attributes 0.1.27 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.23.0) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.30.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.36.0) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 339acf22eae989118a5018ebf16ce96934fb91e35467ba074005baacb248384d [INFO] running `Command { std: "docker" "start" "-a" "339acf22eae989118a5018ebf16ce96934fb91e35467ba074005baacb248384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "339acf22eae989118a5018ebf16ce96934fb91e35467ba074005baacb248384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339acf22eae989118a5018ebf16ce96934fb91e35467ba074005baacb248384d", kill_on_drop: false }` [INFO] [stdout] 339acf22eae989118a5018ebf16ce96934fb91e35467ba074005baacb248384d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6925bb16718580d55612df42da941c305a4fd6fe7087c7a5db33f89222f7a0e6 [INFO] running `Command { std: "docker" "start" "-a" "6925bb16718580d55612df42da941c305a4fd6fe7087c7a5db33f89222f7a0e6", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling trybuild v1.0.96 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tracing-attributes v0.1.27 (/opt/rustwide/workdir) [INFO] [stderr] Checking syn v2.0.66 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/destructuring.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/names.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/ret.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/parents.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_mock` [INFO] [stdout] --> tests/fields.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::{expect, span::NewSpan, subscriber}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/fields.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::{expect, span::NewSpan, subscriber}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/levels.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/follows_from.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/names.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | .new_span(expect::span().named("default_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | .enter(expect::span().named("default_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | .exit(expect::span().named("default_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/names.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | .new_span(expect::span().named("my_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | .enter(expect::span().named("my_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .exit(expect::span().named("my_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/names.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | .new_span(expect::span().named("my_other_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/async_fn.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | .enter(expect::span().named("my_other_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/names.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | .exit(expect::span().named("my_other_name")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "names") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/instrument.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/targets.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_mock` [INFO] [stdout] --> tests/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tracing_mock::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `tracing_mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "fields") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let cause_a = expect::span().named("cause_a"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let cause_b = expect::span().named("cause_b"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let cause_c = expect::span().named("cause_c"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | let consequence = expect::span().named("with_follows_from_sync"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/follows_from.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let cause_a = expect::span().named("cause_a"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let cause_b = expect::span().named("cause_b"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let cause_c = expect::span().named("cause_c"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let consequence = expect::span().named("with_follows_from_async"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/follows_from.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/follows_from.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | block_on_future(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let cause = expect::span().named("cause"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/follows_from.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let consequence = expect::span().named("follows_from_current"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/follows_from.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/parents.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | let contextual_parent = expect::span().named("contextual_parent"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/parents.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let child = expect::span().named("with_default_parent"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/parents.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/parents.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | let contextual_parent = expect::span().named("contextual_parent"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/parents.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | let explicit_parent = expect::span().named("explicit_parent"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/parents.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let child = expect::span().named("with_explicit_parent"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/parents.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "follows_from") due to 16 previous errors [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "parents") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/targets.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/targets.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/targets.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | .and(expect::field("arg2").with_value(&format_args!("2"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | .and(expect::field("arg2").with_value(&format_args!("2"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | .and(expect::field("arg3").with_value(&format_args!("3"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | .and(expect::field("arg4").with_value(&format_args!("4"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | .with_field(expect::field("arg1").with_value(&1usize).only()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | .and(expect::field("arg2").with_value(&format_args!("2"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "targets") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | .and(expect::field("arg2").with_value(&format_args!("2"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/destructuring.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | .and(expect::field("arg2").with_value(&format_args!("2"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | .and(expect::field("arg3").with_value(&format_args!("3"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/destructuring.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | .and(expect::field("arg4").with_value(&format_args!("4"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "destructuring") due to 29 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollN` [INFO] [stdout] --> tests/err.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | let future = PollN::new_ok(polls); [INFO] [stdout] | ^^^^^ use of undeclared type `PollN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollN` [INFO] [stdout] --> tests/async_fn.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let future = PollN::new_ok(polls); [INFO] [stdout] | ^^^^^ use of undeclared type `PollN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PollN` [INFO] [stdout] --> tests/err.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let future = PollN::new_ok(polls); [INFO] [stdout] | ^^^^^ use of undeclared type `PollN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let span = expect::span().named("ret"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | let span = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | let span = expect::span().named("ret_warn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let span = expect::span().named("ret_mut"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:102:32 [INFO] [stdout] | [INFO] [stdout] 102 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | .with_fields(expect::field("a").with_value(&tracing::field::display(2))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | .with_fields(expect::field("return").with_value(&tracing::field::debug(2))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | let span = expect::span().named("ret_async"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/ret.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | with_default(subscriber, || block_on_future(async { ret_async().await })); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 158 | let span = expect::span().named("ret_impl_type"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | let span = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let span2 = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | let span = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let span2 = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | .and(expect::field("arg2").with_value(&false)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | let span = expect::span().named("ret_display"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | .and(expect::field("arg2").with_value(&true)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | .with_fields(expect::field("return").with_value(&tracing::field::display(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let span = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let span2 = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | let span3 = expect::span() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | .with_field(expect::field("arg1").with_value(&2usize).only()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | .with_field(expect::field("arg1").with_value(&3usize).only()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:170:32 [INFO] [stdout] | [INFO] [stdout] 170 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | expect::field("arg1") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | .and(expect::field("arg2").with_value(&format_args!("false"))), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | let span = expect::span().named("ret_and_err"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | expect::field("error") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 201 | let span = expect::span().named("my_fn"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:203:32 [INFO] [stdout] | [INFO] [stdout] 203 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | expect::field("self") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | .and(expect::field("arg1").with_value(&42usize)), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | let span = expect::span().named("ret_and_ok"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:238:32 [INFO] [stdout] | [INFO] [stdout] 238 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | let span = expect::span().named("returns_impl_trait"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/instrument.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/instrument.rs:237:29 [INFO] [stdout] | [INFO] [stdout] 237 | .with_field(expect::field("x").with_value(&10usize).only()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | expect::field("return") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | let span = expect::span().named("ret_warn_info").at_level(Level::WARN); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:291:16 [INFO] [stdout] | [INFO] [stdout] 291 | let span = expect::span().named("ret_dbg_warn").at_level(Level::INFO); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/ret.rs:292:32 [INFO] [stdout] | [INFO] [stdout] 292 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/ret.rs:297:30 [INFO] [stdout] | [INFO] [stdout] 297 | .with_fields(expect::field("return").with_value(&tracing::field::debug(42))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let span = expect::span().named("err"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | .event(expect::event().at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | let span = expect::span().named("err_early_return"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | .event(expect::event().at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let span = expect::span().named("err_async"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/levels.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | .new_span(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | .enter(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | .exit(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | .new_span(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | .enter(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | .exit(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | .new_span(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | .enter(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | .exit(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | .new_span(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "instrument") due to 29 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | .enter(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | .exit(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | .new_span(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | .with_fields(expect::field("awaiting").with_value(&true)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | .enter(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | .event(expect::event().at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | .exit(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/levels.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | .new_span(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | .enter(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | .exit(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | .new_span(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | .enter(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | .exit(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | .new_span(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | .enter(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | .exit(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | .new_span(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | .enter(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | .exit(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | .new_span(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/err.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | block_on_future(async { err_async(2).await }).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | .enter(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | .exit(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | let span = expect::span().named("err_mut"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/levels.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | .new_span(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | .enter(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | .exit(expect::span().named("trace").at_level(Level::TRACE)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | .new_span(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | .event(expect::event().at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | .enter(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | .exit(expect::span().named("debug").at_level(Level::DEBUG)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | .new_span(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | .enter(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .exit(expect::span().named("info").at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | .new_span(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | .enter(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let span = expect::span().named("err_mut_async"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | .exit(expect::span().named("warn").at_level(Level::WARN)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | .new_span(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | .enter(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/levels.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | .exit(expect::span().named("error").at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:125:32 [INFO] [stdout] | [INFO] [stdout] 125 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | .with_fields(expect::field("awaiting").with_value(&true)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | .event(expect::event().at_level(Level::ERROR)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/err.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | block_on_future(async { err_mut_async(2, &mut 0).await }).ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | let span = expect::span().named("returns_impl_trait"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | .with_field(expect::field("x").with_value(&10usize).only()), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | let span = expect::span().named("err_dbg"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "ret") due to 49 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | expect::event().at_level(Level::ERROR).with_fields( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | expect::field("error") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:210:16 [INFO] [stdout] | [INFO] [stdout] 210 | let span = expect::span().named("err"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | expect::event().at_level(Level::ERROR).with_fields( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | expect::field("error") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | let span = expect::span().named("error_span").with_target("my_target"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | expect::event() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | let span = expect::span().named("err_info"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:268:32 [INFO] [stdout] | [INFO] [stdout] 268 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:271:16 [INFO] [stdout] | [INFO] [stdout] 271 | .event(expect::event().at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | let span = expect::span().named("err_dbg_info"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:288:32 [INFO] [stdout] | [INFO] [stdout] 288 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | expect::event().at_level(Level::INFO).with_fields( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | expect::field("error") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | let span = expect::span().named("err_warn_info").at_level(Level::WARN); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/err.rs:317:32 [INFO] [stdout] | [INFO] [stdout] 317 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/err.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | .event(expect::event().at_level(Level::INFO)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | .new_span(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | .enter(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | .event(expect::event().with_fields(expect::field("awaiting").with_value(&true))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | .event(expect::event().with_fields(expect::field("awaiting").with_value(&true))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | .exit(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | .enter(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | .exit(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | .enter(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | .exit(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | .drop_span(expect::span().named("test_async_fn")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | block_on_future(async { test_async_fn(2).await }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | let span = expect::span().named("test_async_fns_nested"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let span2 = expect::span().named("test_async_fns_nested_other"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | .event(expect::event().with_fields(expect::field("nested").with_value(&true))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | .event(expect::event().with_fields(expect::field("nested").with_value(&true))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | block_on_future(async { test_async_fns_nested().await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | let span = expect::span().named("foo"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let span2 = expect::span().named("bar"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let span3 = expect::span().named("baz"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 196 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | .with_field(expect::field("self")) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | .with_field(expect::field("v")), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | .event(expect::event().with_fields(expect::field("val").with_value(&2u64))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | .event(expect::event().with_fields(expect::field("val").with_value(&2u64))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | .new_span(span2.clone().with_field(expect::field("self"))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "levels") due to 50 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | .event(expect::event().with_fields(expect::field("val").with_value(&5u64))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:212:44 [INFO] [stdout] | [INFO] [stdout] 212 | .event(expect::event().with_fields(expect::field("val").with_value(&5u64))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | block_on_future(async { test.foo(5).await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | let span = expect::span().named("call"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | expect::field("_v") [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | .and(expect::field("test").with_value(&tracing::field::debug(10))) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:264:26 [INFO] [stdout] | [INFO] [stdout] 264 | .and(expect::field("val").with_value(&42u64)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | .and(expect::field("val2").with_value(&42u64)), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | block_on_future(async { TestImpl.call(5).await }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "err") due to 49 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let span2 = expect::span().named("call_with_self"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | let span3 = expect::span().named("call_with_mut_self"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let span4 = expect::span().named("sync_fun"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:328:32 [INFO] [stdout] | [INFO] [stdout] 328 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | .with_field(expect::field("Self").with_value(&std::any::type_name::())), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:344:29 [INFO] [stdout] | [INFO] [stdout] 344 | .with_field(expect::field("Self").with_value(&std::any::type_name::())), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | .with_field(expect::field("Self").with_value(&std::any::type_name::())), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | block_on_future(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | let span = expect::span().named("call"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:400:32 [INFO] [stdout] | [INFO] [stdout] 400 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | block_on_future(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:432:16 [INFO] [stdout] | [INFO] [stdout] 432 | let span = expect::span().named("manual_impl_future"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | let poll_event = || expect::event().with_fields(expect::field("poll").with_value(&true)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:433:53 [INFO] [stdout] | [INFO] [stdout] 433 | let poll_event = || expect::event().with_fields(expect::field("poll").with_value(&true)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:435:32 [INFO] [stdout] | [INFO] [stdout] 435 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | block_on_future(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:465:16 [INFO] [stdout] | [INFO] [stdout] 465 | let span = expect::span().named("manual_box_pin"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let poll_event = || expect::event().with_fields(expect::field("poll").with_value(&true)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `expect` [INFO] [stdout] --> tests/async_fn.rs:466:53 [INFO] [stdout] | [INFO] [stdout] 466 | let poll_event = || expect::event().with_fields(expect::field("poll").with_value(&true)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `subscriber` [INFO] [stdout] --> tests/async_fn.rs:468:32 [INFO] [stdout] | [INFO] [stdout] 468 | let (subscriber, handle) = subscriber::mock() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on_future` in this scope [INFO] [stdout] --> tests/async_fn.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | block_on_future(async { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tracing-attributes` (test "async_fn") due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "6925bb16718580d55612df42da941c305a4fd6fe7087c7a5db33f89222f7a0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6925bb16718580d55612df42da941c305a4fd6fe7087c7a5db33f89222f7a0e6", kill_on_drop: false }` [INFO] [stdout] 6925bb16718580d55612df42da941c305a4fd6fe7087c7a5db33f89222f7a0e6