| <svg width="1986px" height="200px" xmlns="http://www.w3.org/2000/svg"> |
| <style> |
| .fg { fill: #AAAAAA } |
| .bg { background: #000000 } |
| .fg-green { fill: #00AA00 } |
| .fg-red { fill: #AA0000 } |
| .container { |
| padding: 0 10px; |
| line-height: 18px; |
| } |
| .bold { font-weight: bold; } |
| tspan { |
| font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace; |
| white-space: pre; |
| line-height: 18px; |
| } |
| </style> |
| |
| <rect width="100%" height="100%" y="0" rx="4.5" class="bg" /> |
| |
| <text xml:space="preserve" class="container fg"> |
| <tspan x="10px" y="28px"><tspan class="fg-green bold"> Creating</tspan><tspan> binary (application) package</tspan> |
| </tspan> |
| <tspan x="10px" y="46px"><tspan class="fg-red bold">error</tspan><tspan class="bold">:</tspan><tspan> the name `test` cannot be used as a package name, it conflicts with Rust's built-in test library</tspan> |
| </tspan> |
| <tspan x="10px" y="64px"><tspan>If you need a package name to not match the directory name, consider using --name flag.</tspan> |
| </tspan> |
| <tspan x="10px" y="82px"><tspan>If you need a binary with the name "test", use a valid package name, and set the binary name to be different from the package. This can be done by setting the binary filename to `src/bin/test.rs` or change the name in Cargo.toml with:</tspan> |
| </tspan> |
| <tspan x="10px" y="100px"> |
| </tspan> |
| <tspan x="10px" y="118px"><tspan> [[bin]]</tspan> |
| </tspan> |
| <tspan x="10px" y="136px"><tspan> name = "test"</tspan> |
| </tspan> |
| <tspan x="10px" y="154px"><tspan> path = "src/main.rs"</tspan> |
| </tspan> |
| <tspan x="10px" y="172px"> |
| </tspan> |
| <tspan x="10px" y="190px"> |
| </tspan> |
| </text> |
| |
| </svg> |