[INFO] fetching crate ansi 0.1.0... [INFO] testing ansi-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ansi 0.1.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ansi 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dee5f5f5be676ba40719599a2a72c501106e7bda7cbe9adf46657e3f6ffda65 [INFO] running `Command { std: "docker" "start" "-a" "5dee5f5f5be676ba40719599a2a72c501106e7bda7cbe9adf46657e3f6ffda65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dee5f5f5be676ba40719599a2a72c501106e7bda7cbe9adf46657e3f6ffda65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dee5f5f5be676ba40719599a2a72c501106e7bda7cbe9adf46657e3f6ffda65", kill_on_drop: false }` [INFO] [stdout] 5dee5f5f5be676ba40719599a2a72c501106e7bda7cbe9adf46657e3f6ffda65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3bc805e6257285de5c4faa1ba2948a5d62108dc8030f7bbafce399dbc04dd34e [INFO] running `Command { std: "docker" "start" "-a" "3bc805e6257285de5c4faa1ba2948a5d62108dc8030f7bbafce399dbc04dd34e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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"), "\u001b[31mred\u001b[39m"); [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\u001b[39m"); [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"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [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\u001b[31mred\u001b[39m\u001b[22m"); [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\u001b[39m\u001b[22m"); [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\u001b[22m"); [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: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"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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: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\u001b[39m\u001b[22m\u001b[49m"); [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: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\u001b[22m\u001b[49m"); [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: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\u001b[49m"); [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: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"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [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\u001b[31mred\u001b[39m\u001b[22m"); [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: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\u001b[39m\u001b[22m"); [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: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\u001b[22m"); [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"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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: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\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [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: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\u001b[39m\u001b[22m\u001b[49m"); [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: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\u001b[22m\u001b[49m"); [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\u001b[49m"); [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, "\u001b[{}m", c) [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 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] 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[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: 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 2025-06-19; 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[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 unresolved module or unlinked crate `ansi` [INFO] [stdout] --> src/fmt.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | styles: [ansi::$ansi] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `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] = help: if you wanted to use a crate named `ansi`, use `cargo add ansi` to add it to your `Cargo.toml` [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] 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] [stderr] error: could not compile `ansi` (lib) due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "3bc805e6257285de5c4faa1ba2948a5d62108dc8030f7bbafce399dbc04dd34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bc805e6257285de5c4faa1ba2948a5d62108dc8030f7bbafce399dbc04dd34e", kill_on_drop: false }` [INFO] [stdout] 3bc805e6257285de5c4faa1ba2948a5d62108dc8030f7bbafce399dbc04dd34e