[INFO] fetching crate flogging_macros 0.6.0... [INFO] testing flogging_macros-0.6.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate flogging_macros 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate flogging_macros 0.6.0 [INFO] finished tweaking crates.io crate flogging_macros 0.6.0 [INFO] tweaked toml for crates.io crate flogging_macros 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flogging_macros 0.6.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flogging_macros 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.9.2 [INFO] [stderr] Downloaded itoa v1.0.15 [INFO] [stderr] Downloaded darling_macro v0.21.0 [INFO] [stderr] Downloaded dyn-fmt v0.4.3 [INFO] [stderr] Downloaded document-features v0.2.11 [INFO] [stderr] Downloaded toml_writer v1.0.2 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded darling v0.21.0 [INFO] [stderr] Downloaded darling_core v0.21.0 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded indexmap v2.10.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded winnow v0.7.12 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded hashbrown v0.15.4 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded ryu v1.0.20 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded toml_parser v1.0.1 [INFO] [stderr] Downloaded trybuild v1.0.106 [INFO] [stderr] Downloaded winapi-util v0.1.9 [INFO] [stderr] Downloaded regex-syntax v0.8.5 [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded regex-automata v0.4.9 [INFO] [stderr] Downloaded windows-sys v0.59.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 100557b35ad1738bc800a4ee06da136e29a0da84ecad411d8a1e6edcd5978479 [INFO] running `Command { std: "docker" "start" "-a" "100557b35ad1738bc800a4ee06da136e29a0da84ecad411d8a1e6edcd5978479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "100557b35ad1738bc800a4ee06da136e29a0da84ecad411d8a1e6edcd5978479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100557b35ad1738bc800a4ee06da136e29a0da84ecad411d8a1e6edcd5978479", kill_on_drop: false }` [INFO] [stdout] 100557b35ad1738bc800a4ee06da136e29a0da84ecad411d8a1e6edcd5978479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae6b21ffea0f0f22a3bc525511d24590be826e981a113508cc6171c58ecbb8b2 [INFO] running `Command { std: "docker" "start" "-a" "ae6b21ffea0f0f22a3bc525511d24590be826e981a113508cc6171c58ecbb8b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling dyn-fmt v0.4.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.21.0 [INFO] [stderr] Compiling darling_macro v0.21.0 [INFO] [stderr] Compiling darling v0.21.0 [INFO] [stderr] Compiling flogging_macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.86s [INFO] running `Command { std: "docker" "inspect" "ae6b21ffea0f0f22a3bc525511d24590be826e981a113508cc6171c58ecbb8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae6b21ffea0f0f22a3bc525511d24590be826e981a113508cc6171c58ecbb8b2", kill_on_drop: false }` [INFO] [stdout] ae6b21ffea0f0f22a3bc525511d24590be826e981a113508cc6171c58ecbb8b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b76f5a01ba35aa7d504caa4d73f2f9e71277c2591cfb70b520badaacba6aa6c2 [INFO] running `Command { std: "docker" "start" "-a" "b76f5a01ba35aa7d504caa4d73f2f9e71277c2591cfb70b520badaacba6aa6c2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling flogging_macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling toml v0.9.2 [INFO] [stderr] Compiling trybuild v1.0.106 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.34s [INFO] running `Command { std: "docker" "inspect" "b76f5a01ba35aa7d504caa4d73f2f9e71277c2591cfb70b520badaacba6aa6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76f5a01ba35aa7d504caa4d73f2f9e71277c2591cfb70b520badaacba6aa6c2", kill_on_drop: false }` [INFO] [stdout] b76f5a01ba35aa7d504caa4d73f2f9e71277c2591cfb70b520badaacba6aa6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 929a0d9459d3643c1f2721a409090402ed46e81a699a4652ec9a954f3acb01e6 [INFO] running `Command { std: "docker" "start" "-a" "929a0d9459d3643c1f2721a409090402ed46e81a699a4652ec9a954f3acb01e6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flogging_macros-e6e4f2852a0ba2b0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests flogging_macros [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - logger (line 451) - compile ... FAILED [INFO] [stdout] test src/lib.rs - entering (line 155) - compile ... FAILED [INFO] [stdout] test src/lib.rs - get_handler (line 326) - compile ... FAILED [INFO] [stdout] test src/lib.rs - exiting (line 197) - compile ... FAILED [INFO] [stdout] test src/lib.rs - config (line 97) - compile ... FAILED [INFO] [stdout] test src/lib.rs - set_level (line 475) ... FAILED [INFO] [stdout] test src/lib.rs - is_logging (line 408) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - logger (line 451) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 457 - ... [INFO] [stdout] 457 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 457 - ... [INFO] [stdout] 457 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 457 - ... [INFO] [stdout] 457 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:452:3 [INFO] [stdout] | [INFO] [stdout] 452 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 451 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entering` in this scope [INFO] [stdout] --> src/lib.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | entering!(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 451 + use flogging_macros::entering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fine` in this scope [INFO] [stdout] --> src/lib.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | fine!("msg: {msg}"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `file` defined here [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 455 - fine!("msg: {msg}"); [INFO] [stdout] 455 + file!("msg: {msg}"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 451 + use flogging_macros::fine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0586`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - entering (line 155) stdout ---- [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 156 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entering` in this scope [INFO] [stdout] --> src/lib.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | entering!("name: {name}, age: {age}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 156 + use flogging_macros::entering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - get_handler (line 326) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `flogging` [INFO] [stdout] --> src/lib.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 326 | extern crate flogging; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:338:3 [INFO] [stdout] | [INFO] [stdout] 338 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 326 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | info!("Some text to store."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 326 + use flogging_macros::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warning` in this scope [INFO] [stdout] --> src/lib.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | warning!("Rain is wet!"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 326 + use flogging_macros::warning; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `severe` in this scope [INFO] [stdout] --> src/lib.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | severe!("Hurricanes are windy!"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 326 + use flogging_macros::severe; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `get_handler` in this scope [INFO] [stdout] --> src/lib.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | if let Some(h) = get_handler!(Handler::String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 326 + use flogging_macros::get_handler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_logger` in this scope [INFO] [stdout] --> src/lib.rs:331:1 [INFO] [stdout] | [INFO] [stdout] 331 | const_logger!({ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - exiting (line 197) stdout ---- [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 198 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entering` in this scope [INFO] [stdout] --> src/lib.rs:202:6 [INFO] [stdout] | [INFO] [stdout] 202 | entering!("name: {name}, age: {age}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 198 + use flogging_macros::entering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `exiting` in this scope [INFO] [stdout] --> src/lib.rs:207:6 [INFO] [stdout] | [INFO] [stdout] 207 | exiting!("rtn: {rtn}"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 198 + use flogging_macros::exiting; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - config (line 97) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `flogging` [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | use flogging::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `flogging` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flogging`, use `cargo add flogging` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use chrono::Local; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | config!("Some text to store."); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | config!(time); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | config!(time, data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | config!("The configuration as at: {}", time); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | config!("The configuration as at: {time}: {}", data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `config` in this scope [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | config!("The configuration as at: {time:?}: {data}"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 98 + use flogging_macros::config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_logger` in this scope [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | const_logger!({ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - set_level (line 475) stdout ---- [INFO] [stdout] error: cannot find macro `set_level` in this scope [INFO] [stdout] --> src/lib.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | set_level!(Level::FINER); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 476 + use flogging_macros::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 476 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 476 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entering` in this scope [INFO] [stdout] --> src/lib.rs:478:5 [INFO] [stdout] | [INFO] [stdout] 478 | entering!("msg: {msg}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 476 + use flogging_macros::entering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fine` in this scope [INFO] [stdout] --> src/lib.rs:479:5 [INFO] [stdout] | [INFO] [stdout] 479 | fine!("Everything is just fine!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:1252:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `file` defined here [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 479 - fine!("Everything is just fine!"); [INFO] [stdout] 479 + file!("Everything is just fine!"); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 476 + use flogging_macros::fine; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - is_logging (line 408) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `flogging` [INFO] [stdout] --> src/lib.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | extern crate flogging; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `logger` in this scope [INFO] [stdout] --> src/lib.rs:421:3 [INFO] [stdout] | [INFO] [stdout] 421 | #[logger] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 410 + use flogging_macros::logger; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `set_level` in this scope [INFO] [stdout] --> src/lib.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | set_level!(Level::OFF); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 410 + use flogging_macros::set_level; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warning` in this scope [INFO] [stdout] --> src/lib.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | warning!(msg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 410 + use flogging_macros::warning; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `is_logging` in this scope [INFO] [stdout] --> src/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | if !is_logging!() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 410 + use flogging_macros::is_logging; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_logger` in this scope [INFO] [stdout] --> src/lib.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 413 | const_logger!({ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - config (line 97) [INFO] [stdout] src/lib.rs - entering (line 155) [INFO] [stdout] src/lib.rs - exiting (line 197) [INFO] [stdout] src/lib.rs - get_handler (line 326) [INFO] [stdout] src/lib.rs - is_logging (line 408) [INFO] [stdout] src/lib.rs - logger (line 451) [INFO] [stdout] src/lib.rs - set_level (line 475) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "929a0d9459d3643c1f2721a409090402ed46e81a699a4652ec9a954f3acb01e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929a0d9459d3643c1f2721a409090402ed46e81a699a4652ec9a954f3acb01e6", kill_on_drop: false }` [INFO] [stdout] 929a0d9459d3643c1f2721a409090402ed46e81a699a4652ec9a954f3acb01e6