# Avoid binary target name conflicts \(\#3401\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/700168467e871ea1cc071ca17cc000fb8df7f485)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 700168467e871ea1cc071ca17cc000fb8df7f485

Requested commit: 700168467e871ea1cc071ca17cc000fb8df7f485

Commit: 700168467e871ea1cc071ca17cc000fb8df7f485

Tree: 3bb9b89d9ae980a017e1d0fc487e7c3d2c0a7804

Author: Kirill Bulatov

Committer: GitHub

## Message

````
Avoid binary target name conflicts (#3401)

Fixes binary build warnings such as 

https://github.com/zed-industries/zed/actions/runs/6980107733/job/18994693722#step:5:9

```
warning: output filename collision.
The bin target `dotenv` in package `collab2 v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab2)` has the same output filename as the bin target `dotenv` in package `collab v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab)`.
Colliding filename is: /Users/administrator/actions-runner-1/_work/zed/zed/target/debug/dotenv
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
warning: output filename collision.
The bin target `dotenv` in package `collab2 v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab2)` has the same output filename as the bin target `dotenv` in package `collab v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab)`.
Colliding filename is: /Users/administrator/actions-runner-1/_work/zed/zed/target/debug/dotenv.dSYM
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
warning: output filename collision.
The bin target `seed` in package `collab2 v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab2)` has the same output filename as the bin target `seed` in package `collab v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab)`.
Colliding filename is: /Users/administrator/actions-runner-1/_work/zed/zed/target/debug/seed
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
warning: output filename collision.
The bin target `seed` in package `collab2 v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab2)` has the same output filename as the bin target `seed` in package `collab v0.28.0 (/Users/administrator/actions-runner-1/_work/zed/zed/crates/collab)`.
Colliding filename is: /Users/administrator/actions-runner-1/_work/zed/zed/target/debug/seed.dSYM
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
```

by suffixing the collab2 binaries with `2`.

Release Notes:

- N/A
````

## Parents

- [bc2dfcfa8e3d54f9659a3f4a9f92e260db061b57](https://git.cafe/gitcafe/zed/commit/bc2dfcfa8e3d54f9659a3f4a9f92e260db061b57?format=markdown)

- [e19860d3b02879c1c86a4aabe615fd3ac5c732fe](https://git.cafe/gitcafe/zed/commit/e19860d3b02879c1c86a4aabe615fd3ac5c732fe?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/700168467e871ea1cc071ca17cc000fb8df7f485?format=markdown)
