[INFO] fetching crate cluColor 0.1.5... [INFO] testing cluColor-0.1.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cluColor 0.1.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cluColor 0.1.5 [INFO] finished tweaking crates.io crate cluColor 0.1.5 [INFO] tweaked toml for crates.io crate cluColor 0.1.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cluColor 0.1.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e05e08c1d33ec5ca96afb72ee359efa9e652b40edc2f575503467a21e8d227f [INFO] running `Command { std: "docker" "start" "-a" "7e05e08c1d33ec5ca96afb72ee359efa9e652b40edc2f575503467a21e8d227f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e05e08c1d33ec5ca96afb72ee359efa9e652b40edc2f575503467a21e8d227f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e05e08c1d33ec5ca96afb72ee359efa9e652b40edc2f575503467a21e8d227f", kill_on_drop: false }` [INFO] [stdout] 7e05e08c1d33ec5ca96afb72ee359efa9e652b40edc2f575503467a21e8d227f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70063247873ca9a24ee599bfea1a95799ba3116a239d6af07ab1f2ec1f866ba1 [INFO] running `Command { std: "docker" "start" "-a" "70063247873ca9a24ee599bfea1a95799ba3116a239d6af07ab1f2ec1f866ba1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cluColor v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "70063247873ca9a24ee599bfea1a95799ba3116a239d6af07ab1f2ec1f866ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70063247873ca9a24ee599bfea1a95799ba3116a239d6af07ab1f2ec1f866ba1", kill_on_drop: false }` [INFO] [stdout] 70063247873ca9a24ee599bfea1a95799ba3116a239d6af07ab1f2ec1f866ba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0080163cc069d8d1ec2178a4a55316689ad994c98594d421e8b4c1fa2c7310ce [INFO] running `Command { std: "docker" "start" "-a" "0080163cc069d8d1ec2178a4a55316689ad994c98594d421e8b4c1fa2c7310ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cluColor v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/use_write.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | write_color!(&mut lock_stdio, BrightBlue, "{} {} macro write...", 12345, "str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = write_color!(&mut lock_stdio, BrightBlue, "{} {} macro write...", 12345, "str"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/use_write.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | write_color!(lock_stdio, BrightBlue, "{} {} macro write...", 123465, "str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = write_color!(lock_stdio, BrightBlue, "{} {} macro write...", 123465, "str"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/use_write.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | writen_color!(&mut ::std::io::stdout(), BrightBlue, "{} {}", 123, "str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = writen_color!(&mut ::std::io::stdout(), BrightBlue, "{} {}", 123, "str"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/use_write.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | writen_color!(::std::io::stdout(), BrightBlue, "{} {}", 12345, "str"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = writen_color!(::std::io::stdout(), BrightBlue, "{} {}", 12345, "str"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> examples/struct.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MyWriter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | _c: PhantomData, [INFO] [stdout] 24 | time: SystemTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> examples/struct_2.rs:22:2 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MyWriter { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | time: SystemTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "0080163cc069d8d1ec2178a4a55316689ad994c98594d421e8b4c1fa2c7310ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0080163cc069d8d1ec2178a4a55316689ad994c98594d421e8b4c1fa2c7310ce", kill_on_drop: false }` [INFO] [stdout] 0080163cc069d8d1ec2178a4a55316689ad994c98594d421e8b4c1fa2c7310ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29eb38874da2128589a036aab3fd64d8e137d0944cebdd22819083d2593018ce [INFO] running `Command { std: "docker" "start" "-a" "29eb38874da2128589a036aab3fd64d8e137d0944cebdd22819083d2593018ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: field `time` is never read [INFO] [stderr] --> examples/struct.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct MyWriter { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 23 | _c: PhantomData, [INFO] [stderr] 24 | time: SystemTime, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `cluColor` (example "struct") generated 1 warning [INFO] [stderr] warning: field `time` is never read [INFO] [stderr] --> examples/struct_2.rs:22:2 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct MyWriter { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 22 | time: SystemTime, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyWriter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/use_write.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | write_color!(&mut lock_stdio, BrightBlue, "{} {} macro write...", 12345, "str"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 15 | let _ = write_color!(&mut lock_stdio, BrightBlue, "{} {} macro write...", 12345, "str"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/use_write.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | write_color!(lock_stdio, BrightBlue, "{} {} macro write...", 123465, "str"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 16 | let _ = write_color!(lock_stdio, BrightBlue, "{} {} macro write...", 123465, "str"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/use_write.rs:31:3 [INFO] [stderr] | [INFO] [stderr] 31 | writen_color!(&mut ::std::io::stdout(), BrightBlue, "{} {}", 123, "str"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 31 | let _ = writen_color!(&mut ::std::io::stdout(), BrightBlue, "{} {}", 123, "str"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/use_write.rs:34:3 [INFO] [stderr] | [INFO] [stderr] 34 | writen_color!(::std::io::stdout(), BrightBlue, "{} {}", 12345, "str"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 34 | let _ = writen_color!(::std::io::stdout(), BrightBlue, "{} {}", 12345, "str"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cluColor` (example "struct_2") generated 1 warning [INFO] [stderr] warning: `cluColor` (example "use_write") generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clucolor-dad2d7aad15e491e) [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 clucolor [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - color_args (line 307) ... FAILED [INFO] [stdout] test src/lib.rs - color_format (line 307) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - color_args (line 329) ... FAILED [INFO] [stdout] test src/raw/mod.rs - raw::raw_color (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - color_args (line 307) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `|` [INFO] [stdout] --> src/lib.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 1 | DATA | NAME_COLOR | NAME2_COLOR [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - color_format (line 307) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `|` [INFO] [stdout] --> src/lib.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 1 | DATA | NAME_COLOR | NAME2_COLOR [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 55) stdout ---- [INFO] [stdout] error: argument never used [INFO] [stdout] --> src/lib.rs:64:77 [INFO] [stdout] | [INFO] [stdout] 11 | writen_color!(&mut File::open("color_file.txt"), BrightBlue, "Color Str:)", 12345); [INFO] [stdout] | ------------- ^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/lib.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 11 | writen_color!(&mut File::open("color_file.txt"), BrightBlue, "Color Str:)", 12345); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `writen_fmt` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 9 | writen_color!(&mut ::std::io::stdout(), BrightBlue, "OutValueTest {}", 123); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `writen_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `cluColor` which provides `writen_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `writen_fmt` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 10 | writen_color!(&mut ::std::io::stdout(), BrightBlue, "OutValueTest2 {}", 12345); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `writen_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `cluColor` which provides `writen_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `writen_fmt` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 11 | writen_color!(&mut File::open("color_file.txt"), BrightBlue, "Color Str:)", 12345); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `writen_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `cluColor` which provides `writen_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - color_args (line 329) stdout ---- [INFO] [stdout] error: cannot find macro `color` in this scope [INFO] [stdout] --> src/lib.rs:330:19 [INFO] [stdout] | [INFO] [stdout] 3 | let str_colored = color!(blue, bold, "test"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw/mod.rs - raw::raw_color (line 7) stdout ---- [INFO] [stdout] error: invalid macro matcher; matchers must be contained in balanced delimiters [INFO] [stdout] --> src/raw/mod.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 4 | (start) => {"\x1B["}; <-- ascii escape, start format. wait color. [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: expected `=>`, found `-` [INFO] [stdout] --> src/raw/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 4 | (start) => {"\x1B["}; <-- ascii escape, start format. wait color. [INFO] [stdout] | ^ expected `=>` [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 - (line 128) stdout ---- [INFO] [stdout] error[E0599]: no variant or associated item named `writer` found for enum `Blue` in the current scope [INFO] [stdout] --> src/lib.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 7 | let writer = Blue::writer(); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Blue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is an associated function `write` with a similar name [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:413:2 [INFO] [stdout] | [INFO] [stdout] 413 | fn write<'a, W: Write>(mut w: W, array: &'a [u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `cluColor` which provides `writer` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 40) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `TEST` in this scope [INFO] [stdout] --> src/lib.rs:46:63 [INFO] [stdout] | [INFO] [stdout] 8 | let string = BrightRed::string_fmt( format_args!("[{:?}] {}", TEST, str) ); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `str` [INFO] [stdout] --> src/lib.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 8 | let string = BrightRed::string_fmt( format_args!("[{:?}] {}", TEST, str) ); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `cluColor` is private [INFO] [stdout] --> src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 5 | use clucolor::colors::cluColor; [INFO] [stdout] | ^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `cluColor` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/colors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cluColor; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: import `cluColor` directly [INFO] [stdout] | [INFO] [stdout] 5 - use clucolor::colors::cluColor; [INFO] [stdout] 5 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `string_fmt` found for enum `BrightRed` in the current scope [INFO] [stdout] --> src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 8 | let string = BrightRed::string_fmt( format_args!("[{:?}] {}", TEST, str) ); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `BrightRed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `cluColor` which provides `string_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `stringn_fmt` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | let string = BrightRed::stringn_fmt( format_args!("[{:?}] {}", TEST, str) ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `stringn` found for enum `BrightRed` in the current scope [INFO] [stdout] --> src/lib.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 9 | let string = BrightRed::stringn( "color str!" ); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `BrightRed` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `cluColor` which provides `stringn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `string` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - let string = BrightRed::stringn( "color str!" ); [INFO] [stdout] 9 + let string = BrightRed::string( "color str!" ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 93) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrightGreen` [INFO] [stdout] --> src/lib.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 20 | BrightGreen::with_color_fmt(format_args!("NUM #{}", a), |fmt_num| { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BrightGreen` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::colors::BrightGreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrightRed` [INFO] [stdout] --> src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 22 | BrightRed::with_color_fmt(format_args!("ALL_COUNT {}", item.count()), |fmt_count| { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BrightRed` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::colors::BrightRed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `with_color_fmt` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 21 | BrightBlue::with_color_fmt(format_args!("ITEM #{:?}", item), |fmt_item| { [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `cluColor` which provides `with_color_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `mut_with_color_fmt` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | BrightBlue::mut_with_color_fmt(format_args!("ITEM #{:?}", item), |fmt_item| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrightRed` [INFO] [stdout] --> src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 19 | let _e = BrightRed::writen(&mut vec, b"end value.." ); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BrightRed` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::colors::BrightRed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `write_str` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 12 | let _e = BrightBlue::write_str(&mut vec, "color str!" ); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `cluColor` which provides `write_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `writen_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | let _e = BrightBlue::writen_str(&mut vec, "color str!" ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 14 | let _e = vec.write(b"TestValue"); // For Vec implemented Write!! [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1724:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | let _e = vec.write_all(b"TestValue"); // For Vec implemented Write!! [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `writen_str` found for enum `BrightBlue` in the current scope [INFO] [stdout] --> src/lib.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 17 | let _e = BrightBlue::writen_str(&mut vec, "end str.." ); [INFO] [stdout] | ^^^^^^^^^^ variant or associated item not found in `BrightBlue` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `cluColor` which provides `writen_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clucolor::cluColor; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - let _e = BrightBlue::writen_str(&mut vec, "end str.." ); [INFO] [stdout] 17 + let _e = BrightBlue::write_str(&mut vec, "end str.." ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 128) [INFO] [stdout] src/lib.rs - (line 40) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/lib.rs - (line 93) [INFO] [stdout] src/lib.rs - color_args (line 307) [INFO] [stdout] src/lib.rs - color_args (line 329) [INFO] [stdout] src/lib.rs - color_format (line 307) [INFO] [stdout] src/raw/mod.rs - raw::raw_color (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "29eb38874da2128589a036aab3fd64d8e137d0944cebdd22819083d2593018ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29eb38874da2128589a036aab3fd64d8e137d0944cebdd22819083d2593018ce", kill_on_drop: false }` [INFO] [stdout] 29eb38874da2128589a036aab3fd64d8e137d0944cebdd22819083d2593018ce