Warn when cleaning shared directories when partitions are enabled
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Emit a warning when `clean` is run for the `stage` or `prime` steps for a particular part.
```
Warning: Cleaning the [stage|prime] step for a part with partitions enabled is not supported.
Resolution: Clean the [stage|prime] step without specifying a part.
```
### Why it needs to get done
Until https://github.com/canonical/craft-parts/issues/665 is completed, users need to know that cleaning may result in unknown behavior.
Evaluation history
No evaluation history available.