[INFO] fetching crate ansi 0.1.0... [INFO] checking ansi-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ansi 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ansi 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ansi 0.1.0 [INFO] finished tweaking crates.io crate ansi 0.1.0 [INFO] tweaked toml for crates.io crate ansi 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 556b6fc3b593c6218109bc523267f603954d53f4cd34e1e17ce38d2813d344a1 [INFO] running `Command { std: "docker" "start" "-a" "556b6fc3b593c6218109bc523267f603954d53f4cd34e1e17ce38d2813d344a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "556b6fc3b593c6218109bc523267f603954d53f4cd34e1e17ce38d2813d344a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556b6fc3b593c6218109bc523267f603954d53f4cd34e1e17ce38d2813d344a1", kill_on_drop: false }` [INFO] [stdout] 556b6fc3b593c6218109bc523267f603954d53f4cd34e1e17ce38d2813d344a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1991ba81abc67e97c244db58f2dec4be95c7237d98594059c9eaac6e7df08cbe [INFO] running `Command { std: "docker" "start" "-a" "1991ba81abc67e97c244db58f2dec4be95c7237d98594059c9eaac6e7df08cbe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ansi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u{001b}[31mred\u001b[39m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u{001b}[31mred\u001b[39m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u{001b}[39m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u{001b}[39m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u{001b}[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u{001b}[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:69 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:69 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u{001b}[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u{001b}[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u{001b}[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u{001b}[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:69 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u{001b}[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u{001b}[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:69 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u{001b}[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:89 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u{001b}[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u{001b}[22m\u001b[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:89 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u{001b}[49m"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/ansi.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u001b[{}m", c) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u{001b}[{}m", c) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/ansi.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u001b[{}m", c) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: format of unicode escape sequences uses braces [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u{001b}[{}m", c) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/ansi.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | impl AsSlice for [Ansi, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/ansi.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | impl AsSlice for [Ansi, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{r#mod, Ansi}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: escape `mod` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{r#mod, Ansi}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/fmt.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | | $( [INFO] [stdout] 70 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 67 ~ macro_rules! styles { [INFO] [stdout] 68 | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 84 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/fmt.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | | $( [INFO] [stdout] 70 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 67 ~ macro_rules! styles { [INFO] [stdout] 68 | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] ... [INFO] [stdout] 83 | } [INFO] [stdout] 84 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 84 | ); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/fmt.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<{ [Ansi, ..1] }> = Style { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/fmt.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: expressions must be enclosed in braces to be used as const generic arguments [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<{ [Ansi, ..1] }> = Style { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/fmt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ansi::r#mod`, `ansi::Ansi` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ ^^^^ no `Ansi` in `ansi` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `ansi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/fmt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ansi::r#mod`, `ansi::Ansi` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ ^^^^ no `Ansi` in `ansi` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `ansi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn recurse<'a, T: fmt::Show>(mut styles: Items<'a, Ansi>, subject: &T, fmt: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(style.open.fmt(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(recurse(styles, subject, fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/fmt.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / extern "rust-call" fn call(&self, (show,): (T,)) -> Styled { [INFO] [stdout] 40 | | self.show(show) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, unboxed_closures)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn recurse<'a, T: fmt::Show>(mut styles: Items<'a, Ansi>, subject: &T, fmt: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(style.open.fmt(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(recurse(styles, subject, fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(test)] extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/fmt.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / extern "rust-call" fn call(&self, (show,): (T,)) -> Styled { [INFO] [stdout] 40 | | self.show(show) [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn bench_fmt(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | fn bench_fmt_many_styles(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | fn bench_builder(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `macro_rules` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(macro_rules, unboxed_closures)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes at most 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/fmt.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^ expected at most 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/fmt.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^ ----------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes at most 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/fmt.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^ expected at most 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/fmt.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^ ----------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: constant provided when a type was expected [INFO] [stdout] --> src/fmt.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: constant provided when a type was expected [INFO] [stdout] --> src/fmt.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ansi` [INFO] [stdout] --> src/fmt.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | styles: [ansi::$ansi] [INFO] [stdout] | ^^^^ use of undeclared crate or module `ansi` [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ansi` [INFO] [stdout] --> src/fmt.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | styles: [ansi::$ansi] [INFO] [stdout] | ^^^^ use of undeclared crate or module `ansi` [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `styles` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0432, E0433, E0658, E0747. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0432, E0433, E0658, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ansi` (lib test) due to 55 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ansi` (lib) due to 49 previous errors [INFO] running `Command { std: "docker" "inspect" "1991ba81abc67e97c244db58f2dec4be95c7237d98594059c9eaac6e7df08cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1991ba81abc67e97c244db58f2dec4be95c7237d98594059c9eaac6e7df08cbe", kill_on_drop: false }` [INFO] [stdout] 1991ba81abc67e97c244db58f2dec4be95c7237d98594059c9eaac6e7df08cbe