I solved this problem by follwing steps:
rustup toolchain remove nightly-2024-05-24-x86_64-apple-darwin
rustup toolchain add nightly-2024-05-24-x86_64-apple-darwin
after I update toolchain from nightly-2023-09-24 to nightly-2024-05-24, /lib/rustlib/src is not exist
pearzl@mbp-pearzl rust-sdk1 % rustc --version
rustc 1.80.0-nightly (867900499 2024-05-23)
pearzl@mbp-pearzl rust-sdk1 % ls ~/.rustup/toolchains/nightly-2024-05-24-x86_64-apple-darwin/lib/rustlib/src
ls: /Users/pearzl/.rustup/toolchains/nightly-2024-05-24-x86_64-apple-darwin/lib/rustlib/src: No such file or directory
pearzl@mbp-pearzl rust-sdk1 % rustup default
nightly-2024-05-24-x86_64-apple-darwin (default)
pearzl@mbp-pearzl rust-sdk1 % rustup component add rust-src
info: component 'rust-src' is up to date