[INFO] fetching crate log4rust 0.1.6...
[INFO] testing log4rust-0.1.6 against beta-2023-10-04 for beta-1.74-1
[INFO] extracting crate log4rust 0.1.6 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate log4rust 0.1.6 on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate log4rust 0.1.6
[INFO] finished tweaking crates.io crate log4rust 0.1.6
[INFO] tweaked toml for crates.io crate log4rust 0.1.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d8e2862f5b2adf26687f625229f984920cf975fcde8a6ed8d5ed3f725455519
[INFO] running `Command { std: "docker" "start" "-a" "3d8e2862f5b2adf26687f625229f984920cf975fcde8a6ed8d5ed3f725455519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d8e2862f5b2adf26687f625229f984920cf975fcde8a6ed8d5ed3f725455519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d8e2862f5b2adf26687f625229f984920cf975fcde8a6ed8d5ed3f725455519", kill_on_drop: false }`
[INFO] [stdout] 3d8e2862f5b2adf26687f625229f984920cf975fcde8a6ed8d5ed3f725455519
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ab28b9c2a7b1658ca8d191bbf3acce99ad7abab257d2d5687aad04f7a5c4c43
[INFO] running `Command { std: "docker" "start" "-a" "6ab28b9c2a7b1658ca8d191bbf3acce99ad7abab257d2d5687aad04f7a5c4c43", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling gimli v0.28.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling colored v2.0.4
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling object v0.32.1
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling log4rust v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.74s
[INFO] running `Command { std: "docker" "inspect" "6ab28b9c2a7b1658ca8d191bbf3acce99ad7abab257d2d5687aad04f7a5c4c43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ab28b9c2a7b1658ca8d191bbf3acce99ad7abab257d2d5687aad04f7a5c4c43", kill_on_drop: false }`
[INFO] [stdout] 6ab28b9c2a7b1658ca8d191bbf3acce99ad7abab257d2d5687aad04f7a5c4c43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eab69f09f037f12dc6895f5be57c9510d95f50d7fb1676f225b7a8cd954ea611
[INFO] running `Command { std: "docker" "start" "-a" "eab69f09f037f12dc6895f5be57c9510d95f50d7fb1676f225b7a8cd954ea611", kill_on_drop: false }`
[INFO] [stderr]    Compiling log4rust v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "eab69f09f037f12dc6895f5be57c9510d95f50d7fb1676f225b7a8cd954ea611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eab69f09f037f12dc6895f5be57c9510d95f50d7fb1676f225b7a8cd954ea611", kill_on_drop: false }`
[INFO] [stdout] eab69f09f037f12dc6895f5be57c9510d95f50d7fb1676f225b7a8cd954ea611
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 65695ff19c6c7ccc77d8dfce4b8edeffa97bf27c9a3e2d727eb81a787e7a166c
[INFO] running `Command { std: "docker" "start" "-a" "65695ff19c6c7ccc77d8dfce4b8edeffa97bf27c9a3e2d727eb81a787e7a166c", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/log4rust-e49f9f4856a764cb)
[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 log4rust
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/config.rs - config::Config (line 85) ... FAILED
[INFO] [stdout] test src/config.rs - config::Config (line 60) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error: cannot find macro `fatal` in this scope
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fatal!("This is something fatal");
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::fatal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]  --> src/lib.rs:15:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     error!("This is an error");
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::error;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `warn` in this scope
[INFO] [stdout]  --> src/lib.rs:14:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     warn!("This is a warning");
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `warn` is in scope, but it is an attribute: `#[warn]`
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::warn;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `info` in this scope
[INFO] [stdout]  --> src/lib.rs:13:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     info!("This is some info");
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::info;
[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/config.rs - config::Config (line 85) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Time`
[INFO] [stdout]  --> src/config.rs:88:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |    .time(Time::UTC)
[INFO] [stdout]   |          ^^^^ use of undeclared type `Time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Time;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]  --> src/config.rs:89:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |    .set_type(Log::Info)?.console(Console::_None)?
[INFO] [stdout]   |              ^^^ use of undeclared type `Log`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Log;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Console`
[INFO] [stdout]  --> src/config.rs:89:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |    .set_type(Log::Info)?.console(Console::_None)?
[INFO] [stdout]   |                                  ^^^^^^^ use of undeclared type `Console`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Console;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/config.rs:89:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_85_0() {
[INFO] [stdout]   |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 |    .set_type(Log::Info)?.console(Console::_None)?
[INFO] [stdout]   |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/config.rs:89:49
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_85_0() {
[INFO] [stdout]   |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 |    .set_type(Log::Info)?.console(Console::_None)?
[INFO] [stdout]   |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::Config (line 60) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Time`
[INFO] [stdout]  --> src/config.rs:63:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .time(Time::Local)
[INFO] [stdout]   |           ^^^^ use of undeclared type `Time`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Time;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]  --> src/config.rs:64:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     .set_type(Log::Info)?
[INFO] [stdout]   |               ^^^ use of undeclared type `Log`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Log;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]  --> src/config.rs:65:16
[INFO] [stdout]   |
[INFO] [stdout] 8 |         .color(Color::TrueColor{r:0,g:255,b:255})?
[INFO] [stdout]   |                ^^^^^ use of undeclared type `Color`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use colored::Color;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Color;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Console`
[INFO] [stdout]  --> src/config.rs:66:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .console(Console::Stdout)?
[INFO] [stdout]   |                  ^^^^^^^ use of undeclared type `Console`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use log4rust::Console;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backtrace`
[INFO] [stdout]   --> src/config.rs:67:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .backtrace(Backtrace::_None)?
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Backtrace`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]   --> src/config.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     .set_type(Log::Warn)?
[INFO] [stdout]    |               ^^^ use of undeclared type `Log`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]   --> src/config.rs:69:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |         .color(Color::TrueColor{r:255,g:215,b:185})?
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Color`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use colored::Color;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Color;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Console`
[INFO] [stdout]   --> src/config.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |         .console(Console::Stderr)?
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `Console`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Console;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backtrace`
[INFO] [stdout]   --> src/config.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |         .backtrace(Backtrace::_None)?
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Backtrace`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]   --> src/config.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     .set_type(Log::Error)?
[INFO] [stdout]    |               ^^^ use of undeclared type `Log`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]   --> src/config.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 16 |         .color(Color::TrueColor{r:255,g:100,b:0})?
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Color`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use colored::Color;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Color;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Console`
[INFO] [stdout]   --> src/config.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |         .console(Console::Stderr)?
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `Console`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Console;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backtrace`
[INFO] [stdout]   --> src/config.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |         .backtrace(Backtrace::Simple)?
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Backtrace`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log`
[INFO] [stdout]   --> src/config.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     .set_type(Log::Fatal)?
[INFO] [stdout]    |               ^^^ use of undeclared type `Log`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Log;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color`
[INFO] [stdout]   --> src/config.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |         .color(Color::TrueColor{r:255,g:0,b:0})?
[INFO] [stdout]    |                ^^^^^ use of undeclared type `Color`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use colored::Color;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Color;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Console`
[INFO] [stdout]   --> src/config.rs:78:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .console(Console::Stderr)?
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `Console`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Console;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Backtrace`
[INFO] [stdout]   --> src/config.rs:79:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .backtrace(Backtrace::Complex)?
[INFO] [stdout]    |                    ^^^^^^^^^ use of undeclared type `Backtrace`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use log4rust::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::backtrace::Backtrace;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/config.rs:64:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]   |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 |     .set_type(Log::Info)?
[INFO] [stdout]   |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/config.rs:65:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]   |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 |         .color(Color::TrueColor{r:0,g:255,b:255})?
[INFO] [stdout]   |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/config.rs:66:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]   |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 |         .console(Console::Stdout)?
[INFO] [stdout]   |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:67:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 |         .backtrace(Backtrace::_None)?
[INFO] [stdout]    |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:68:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     .set_type(Log::Warn)?
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:69:52
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         .color(Color::TrueColor{r:255,g:215,b:185})?
[INFO] [stdout]    |                                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:70:34
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 |         .console(Console::Stderr)?
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 |         .backtrace(Backtrace::_None)?
[INFO] [stdout]    |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 |     .set_type(Log::Error)?
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:73:50
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 |         .color(Color::TrueColor{r:255,g:100,b:0})?
[INFO] [stdout]    |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:74:34
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 17 |         .console(Console::Stderr)?
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:75:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 18 |         .backtrace(Backtrace::Simple)?
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:76:26
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     .set_type(Log::Fatal)?
[INFO] [stdout]    |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:77:48
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 20 |         .color(Color::TrueColor{r:255,g:0,b:0})?
[INFO] [stdout]    |                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:78:34
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 |         .console(Console::Stderr)?
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/config.rs:79:39
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_60_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 22 |         .backtrace(Backtrace::Complex)?
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/config.rs - config::Config (line 60)
[INFO] [stdout]     src/config.rs - config::Config (line 85)
[INFO] [stdout]     src/lib.rs - (line 8)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "65695ff19c6c7ccc77d8dfce4b8edeffa97bf27c9a3e2d727eb81a787e7a166c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65695ff19c6c7ccc77d8dfce4b8edeffa97bf27c9a3e2d727eb81a787e7a166c", kill_on_drop: false }`
[INFO] [stdout] 65695ff19c6c7ccc77d8dfce4b8edeffa97bf27c9a3e2d727eb81a787e7a166c
