The Solana CLI tools come bundled with a rustc
compiler that can be used for on-chain programs. Since you're on 1.9.5, you have a much older version of the bundled Rust compiler.
Please upgrade to something newer, at least the version targeted by Anchor 0.26.0, which is 1.13.5, by running:
$ solana-install init 1.13.5