Skip to content

rustup fails #289

@Marin-Kitagawa

Description

@Marin-Kitagawa

What did you expect to happen?

rustup command executed via topgrade must have succeeded

What actually happened?

Following error occurred

―― 13:49:55 - rustup ―――――――――――――――――――――――――――――――――
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
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


Full stacktrace RUST_BACKTRACE=full ―― 14:26:00 - rustup ――――――――――――――――――――――――――――――――――――――――――― 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
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\quant.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\generic.rs:491

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: BaseThreadInitThunk
at :
2: RtlUserThreadStart
at :

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Location: C:\Users\quant.cargo\registry\src\github.com-1ecc6299db9ec823\topgrade-10.2.4\src\steps\generic.rs:491

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: BaseThreadInitThunk
at :
2: RtlUserThreadStart
at :

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Additional Details

  • Which operating system or Linux distribution are you using?
Edition	Windows 11 Pro
Version	22H2
OS build	22621.963
Experience	Windows Feature Experience Pack 1000.22638.1000.0
  • How did you install Topgrade?
cargo install topgrade
  • Which version are you running?
Topgrade 10.2.4
―― 14:02:24 - rustup ―――――――――――――――――――――――――――――――――――――――――――
Dry running: C:\Users\quant\.cargo\bin\rustup.EXE update
Dry running: C:\Program Files\dotnet\dotnet.EXE -h
The application panicked (crashed).
Message:  called `Result::unwrap()` on an `Err` value:
   0: Dry running

Location:
/rustc/69f9c33d71c871fc16ac445211281c6e7a340943\library\core\src\convert\mod.rs:726

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions