[Chapel Merge] Deprecate IO.unlink function

Branch: refs/heads/main
Revision: dfc87f6
Author: benharsh
Link: Unavailable
Log Message:

Merge pull request #20376 from benharsh/deprecate-io-unlink

Deprecate IO.unlink function

This PR deprecates the "unlink" function in the IO module, and recommends using FileSystem.remove instead. Tests that use the unlink method have been updated to use FileSystem.remove, including the fileIO primer.

[reviewed-by @mppf]

Modified Files:
A test/deprecated/IO/unlink.chpl

A test/deprecated/IO/unlink.good
M modules/standard/IO.chpl
M test/io/ferguson/bits-errors.chpl
M test/io/ferguson/bits-signed.chpl
M test/io/ferguson/easybits.chpl
M test/io/ferguson/inteof.chpl
M test/io/ferguson/zerosatend.chpl
M test/library/standard/Spawn/spawn-checkmutate.chpl
M test/library/standard/Spawn/spawn-checkret.chpl
M test/library/standard/Spawn/spawn-popen-input-output-error-long.chpl
M test/library/standard/Spawn/spawn-popen-input-output-error.chpl
M test/library/standard/Spawn/spawn-print-args-env.chpl
M test/release/examples/primers/fileIO.chpl

Compare: https://github.com/chapel-lang/chapel/compare/b8defaf9debe...dfc87f60e2b2