-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
What did you expect to happen?
Topgrade upgrades selected packages
What actually happened?
Topgrade fails at updating rustup
Additional Details
- Which operating system or Linux distribution are you using? Windows X86_64 msvc
- How did you install Topgrade? cargo
- Which version are you running? Topgrade 10.2.4
~ took 24s
❯ topgrade -v
DEBUG Configuration at C:\Users\jledb\AppData\Roaming\topgrade.toml
DEBUG Loaded configuration: ConfigFile { pre_sudo: None, pre_commands: Some({}), post_commands: None, commands: Some({}), git_repos: None, predefined_git_repos: None, disable: Some([Wsl]), ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, git_arguments: None, tmux_arguments: None, set_title: None, display_time: Some(true), assume_yes: None, yay_arguments: None, aura_aur_arguments: None, aura_pacman_arguments: None, no_retry: None, run_in_tmux: None, cleanup: Some(true), notify_each_step: None, accept_all_windows_updates: None, skip_notify: None, bashit_branch: None, only: None, composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None, autoremove: None }), linux: Some(Linux { yay_arguments: None, aura_aur_arguments: None, aura_pacman_arguments: None, arch_package_manager: None, show_arch_news: None, trizen_arguments: None, pikaur_arguments: None, pamac_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, rpm_ostree: None, emerge_sync_flags: None, emerge_update_flags: None }), git: Some(Git { max_concurrency: None, arguments: None, repos: None, pull_predefined: None }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None, enable_winget: None }), npm: Some(NPM { use_sudo: None }), yarn: None, vim: None, firmware: Some(Firmware { upgrade: None }), vagrant: None, flatpak: Some(Flatpak { use_sudo: None }), distrobox: Some(Distrobox { use_root: None, containers: None }) }
DEBUG Version: 10.2.4
DEBUG OS: x86_64-pc-windows-msvc
DEBUG Args { inner: ["C:\\Users\\jledb\\.cargo\\bin\\topgrade.exe", "-v"] }
DEBUG Binary path: Ok("C:\\Users\\jledb\\.cargo\\bin\\topgrade.exe")
DEBUG Self Update: false
DEBUG Detected "C:\\Users\\jledb\\scoop\\shims\\git.EXE" as "git"
DEBUG Cannot find "doas"
DEBUG Detected "C:\\Users\\jledb\\scoop\\shims\\sudo.CMD" as "sudo"
DEBUG Detected "C:\\Program Files\\PowerShell\\7\\pwsh.EXE" as "pwsh"
DEBUG Executing command `C:\Program Files\PowerShell\7\pwsh.EXE -NoProfile -Command 'Split-Path $profile'`
DEBUG Path "C:\\Users\\jledb\\Documents\\PowerShell" exists
DEBUG Step "Chocolatey"
DEBUG Step "Scoop"
DEBUG Detected "C:\\Users\\jledb\\scoop\\shims\\scoop.CMD" as "scoop"
―― 21:38:16 - Scoop ――――――――――
DEBUG Executing command `C:\Users\jledb\scoop\shims\scoop.CMD update`
Updating Scoop...
Updating 'extras' bucket...
* b6efaa6fa hydrus-network: Update to version 512 11 minutes ago
Updating 'games' bucket...
* 43149303 yuzu-pineapple: Update to version EA-3280 10 minutes ago
* 0bf26e9a ryujinx: Update to version 1.1.511 10 minutes ago
* a13647b3 ryujinx-ava: Update to version 1.1.511 10 minutes ago
* 6c5a7974 dolphin-dev: Update to version 5.0-18167 10 minutes ago
Updating 'java' bucket...
Updating 'main' bucket...
* f781a46a4 ossgadget: Update to version 0.1.370 11 minutes ago
* e07f8ccf2 dolt: Update to version 0.52.0 11 minutes ago
Updating 'nerd-fonts' bucket...
Scoop was updated successfully!
DEBUG Executing command `C:\Users\jledb\scoop\shims\scoop.CMD update '*'`
Latest versions for all apps are installed! For more information try 'scoop status'
DEBUG Executing command `C:\Users\jledb\scoop\shims\scoop.CMD cleanup '*'`
Everything is shiny now!
DEBUG Step "Winget"
DEBUG Detected "C:\\Users\\jledb\\AppData\\Local\\Microsoft\\WindowsApps\\winget.EXE" as "winget"
―― 21:38:26 - winget ―――――――――
Winget is disabled by default. Enable it by setting enable_winget=true in the [windows] section in the configuration.
DEBUG Path "C:\\Users\\jledb\\AppData\\Roaming\\.emacs.d" doesn't exist
DEBUG C:\Users\jledb\.doom.d does not exists
DEBUG C:\Users\jledb\.vim does not exists
DEBUG C:\Users\jledb\.config/nvim does not exists
DEBUG C:\Users\jledb\.ideavimrc does not exists
DEBUG C:\Users\jledb\.intellimacs does not exists
DEBUG C:\Users\jledb\.dotfiles does not exists
DEBUG Checking if \\?\C:\Users\jledb\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState is a git repository
DEBUG Transformed path to C:\Users\jledb\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState
DEBUG Executing command `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
DEBUG Command failed: Err(
0: Command failed: `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
Stderr:
fatal: not a git repository (or any of the parent directories): .git
1: `C:\Users\jledb\scoop\shims\git.EXE` failed: exit code: 128
Location:
C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\git.rs:167
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Startup link: Lnk { path: Some("C:\\Users\\jledb\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\ShareX.lnk"), header: ShellLinkHeader { header_size: 76, link_clsid: 93045959704944114645041356371858166785, link_flags: HAS_LINK_TARGET_ID_LIST | HAS_LINK_INFO | HAS_RELATIVE_PATH | HAS_WORKING_DIR | HAS_ARGUMENTS | IS_UNICODE, file_attributes: (empty), creation_time: 133164918283455326, access_time: 133164918298093487, write_time: 133023961020000000, file_size: 2163200, icon_index: 0, show_command: SW_SHOWNORMAL, hot_key: HotKeyFlags { low_byte: 0, high_byte: 0 }, reserved1: 0, reserved2: 0, reserved3: 0, created_on: Some(2022-12-26T01:30:28.345Z), modified_on: Some(2022-07-15T22:01:42Z), accessed_on: Some(2022-12-26T01:30:29.809Z) }, string_data: StringData { name_string: None, relative_path: Some("..\\..\\..\\..\\..\\..\\..\\..\\..\\Program Files\\ShareX\\ShareX.exe"), working_dir: Some("C:\\Program Files\\ShareX"), command_line_arguments: Some("-silent"), icon_location: None }, link_target_id_list: LinkTargetIdList, link_info: LinkInfo { link_info_size: 81, link_info_header_size: 28, link_info_flags: Some(VOLUME_ID_AND_LOCAL_BASE_PATH), volume_id_offset: 28, local_base_path_offset: 45, common_network_relative_link_offset: 0, common_path_suffix_offset: 80, local_base_path_offset_unicode: 17, common_path_suffix_offset_unicode: 3, volume_id: None, local_base_path: Some("C:\\Program Files\\ShareX\\ShareX.exe"), common_network_relative_link: None, common_path_suffix: None, local_base_path_unicode: None, common_path_suffix_unicode: None }, extra_data: ExtraData { darwin_props: None, special_folder_props: None, console_props: None, console_fe_props: None, environment_props: None, icon_environment_props: None, known_folder_props: None, property_store_props: Some(PropertyStoreDataBlock { block_size: 69, block_signature: 2684354569, property_store: [57, 0, 0, 0, 49, 83, 80, 83, 177, 22, 109, 68, 173, 141, 112, 72, 167, 72, 64, 46, 164, 61, 120, 140, 29, 0, 0, 0, 104, 0, 0, 0, 0, 72, 0, 0, 0, 3, 107, 235, 229, 97, 203, 247, 66, 187, 188, 41, 132, 30, 106, 108, 231, 0, 0, 0, 0, 0, 0, 0, 0] }), shim_props: None, tracker_props: Some(TrackerDataBlock { block_size: 96, block_signature: 2684354563, length: 88, version: 0, machine_id: 140728428801276157357222252, droid: [180588484195425519178884697018084444598, 179492526264337342656481647283394522868], droid_birth: [180588484195425519178884697018084444598, 179492526264337342656481647283394522868] }), vista_and_above_idlist_props: None } }
DEBUG \\?\C:\Program Files\ShareX\ShareX.exe is a file. Checking \\?\C:\Program Files\ShareX
DEBUG Checking if \\?\C:\Program Files\ShareX is a git repository
DEBUG Transformed path to C:\Program Files\ShareX
DEBUG Executing command `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
DEBUG Command failed: Err(
0: Command failed: `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
Stderr:
fatal: not a git repository (or any of the parent directories): .git
1: `C:\Users\jledb\scoop\shims\git.EXE` failed: exit code: 128
Location:
C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\git.rs:167
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Checking if \\?\C:\Users\jledb\Documents\Powershell is a git repository
DEBUG Transformed path to C:\Users\jledb\Documents\Powershell
DEBUG Executing command `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
DEBUG Command failed: Err(
0: Command failed: `C:\Users\jledb\scoop\shims\git.EXE rev-parse --show-toplevel`
Stderr:
fatal: not a git repository (or any of the parent directories): .git
1: `C:\Users\jledb\scoop\shims\git.EXE` failed: exit code: 128
Location:
C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\git.rs:167
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
DEBUG Step "Git repositories"
DEBUG Step "Powershell Modules Update"
―― 21:38:26 - Powershell Modules Update ――
Updating modules...
DEBUG Executing command `C:\Program Files\PowerShell\7\pwsh.EXE -NoProfile -Command 'Update-Module -Verbose'`
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll
DEBUG Step "apm"
DEBUG Step "fossil"
DEBUG Step "rustup"
DEBUG Detected "C:\\Users\\jledb\\.cargo\\bin\\rustup.EXE" as "rustup"
―― 21:38:29 - rustup ―――――――――
DEBUG Executing command `C:\Users\jledb\.cargo\bin\rustup.EXE update`
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: checking for self-updates
stable-x86_64-pc-windows-msvc unchanged - rustc 1.66.0 (69f9c33d7 2022-12-12)
info: cleaning up downloads & tmp directories
DEBUG Step "juliaup"
DEBUG Step ".NET"
DEBUG Detected "C:\\Program Files\\dotnet\\dotnet.EXE" as "dotnet"
DEBUG Executing command `C:\Program Files\dotnet\dotnet.EXE -h`
DEBUG Command failed: Err(
0: Command failed: `C:\Program Files\dotnet\dotnet.EXE -h`
Stdout:
Usage: dotnet [host-options] [path-to-application]
path-to-application:
The path to an application .dll file to execute.
host-options:
--additionalprobingpath <path> Path containing probing policy and assemblies to probe for.
--depsfile <path> Path to <application>.deps.json file.
--runtimeconfig <path> Path to <application>.runtimeconfig.json file.
--fx-version <version> Version of the installed Shared Framework to use to run the application.
--roll-forward <value> Roll forward to framework version (LatestPatch, Minor, LatestMinor, Major, LatestMajor, Disable)
--additional-deps <path> Path to additional deps.json file.
--list-runtimes Display the installed runtimes
--list-sdks Display the installed SDKs
Common Options:
-h|--help Displays this help.
--info Display .NET information.
1: `C:\Program Files\dotnet\dotnet.EXE` failed: exit code: 0x80008081
Location:
C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\generic.rs:491
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.)
The application panicked (crashed).
Message: called `Result::unwrap()` on an `Err` value:
0: Command failed: `C:\Program Files\dotnet\dotnet.EXE -h`
Stdout:
Usage: dotnet [host-options] [path-to-application]
path-to-application:
The path to an application .dll file to execute.
host-options:
--additionalprobingpath <path> Path containing probing policy and assemblies to probe for.
--depsfile <path> Path to <application>.deps.json file.
--runtimeconfig <path> Path to <application>.runtimeconfig.json file.
--fx-version <version> Version of the installed Shared Framework to use to run the application.
--roll-forward <value> Roll forward to framework version (LatestPatch, Minor, LatestMinor, Major, LatestMajor, Disable)
--additional-deps <path> Path to additional deps.json file.
--list-runtimes Display the installed runtimes
--list-sdks Display the installed SDKs
Common Options:
-h|--help Displays this help.
--info Display .NET information.
1: `C:\Program Files\dotnet\dotnet.EXE` failed: exit code: 0x80008081
Location:
C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\generic.rs:491
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Location: C:\Users\jledb\.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\generic.rs:491
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Metadata
Metadata
Assignees
Labels
No labels