Message is thread 'main' panicked at 'assertion failed: (left == right)(left:2, right: 1)', src/rustup-cli/self_update.rs:495
The line in question seems to check that there is only one unix shell profile file in the list to be checked. But if the user's $SHELL is zsh, the list will contain both .profile and .zprofile and fail with an assertion error.
Setting the user's SHELL var to something non-zsh works around this problem temporarily.
Message is
thread 'main' panicked at 'assertion failed:(left == right)(left:2, right:1)', src/rustup-cli/self_update.rs:495The line in question seems to check that there is only one unix shell profile file in the list to be checked. But if the user's
$SHELLis zsh, the list will contain both.profileand.zprofileand fail with an assertion error.Setting the user's SHELL var to something non-zsh works around this problem temporarily.