Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

donwload swift (6.0.3) fails (http 404) #3581

Closed
mamoss-oss opened this issue Dec 15, 2024 · 1 comment
Closed

donwload swift (6.0.3) fails (http 404) #3581

mamoss-oss opened this issue Dec 15, 2024 · 1 comment
Labels

Comments

@mamoss-oss
Copy link

Describe the bug
Trying to install swift v 6.0.3 fails due to an invalid download link. HTTP 404.

To Reproduce
Use command as documented in https://mise.jdx.dev/lang/swift.html
mise use -g swift

Expected behavior
Download and install swift.

mise doctor output

❯ mise doctor
version: 2024.12.10 linux-x64 (d52ec61 2024-12-14)
activated: yes
shims_on_path: no

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Sat, 14 Dec 2024 18:47:35 +0000
  Rust Version: rustc 1.83.0 (90b35a623 2024-11-26)
  Profile: release

shell:
  /usr/bin/fish
  fish, version 3.7.1

dirs:
  cache: ~/.cache/mise
  config: ~/.config/mise
  data: ~/.local/share/mise
  shims: ~/.local/share/mise/shims
  state: ~/.local/state/mise

config_files:

backends:
  aqua
  asdf
  cargo
  core
  gem
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:

toolset:

path:
  ~/.opam/5.2.1/bin
  ~/.local/bin
  ~/.local/bin/gerbil/bin
  ~/.cargo/bin
  ~/.opam/5.2.1/bin
  /usr/local/sbin
  /usr/local/bin
  /usr/bin
  /var/lib/flatpak/exports/bin
  /usr/lib/jvm/default/bin
  /usr/bin/site_perl
  /usr/bin/vendor_perl
  /usr/bin/core_perl
  /usr/lib/rustup/bin

env_vars:
  MISE_SHELL=fish

Additional context

mise use -g swift --verbose
DEBUG ARGS: /home/mamoss/.local/bin/mise use -g swift --verbose
DEBUG install_some_versions: swift@latest
INFO  swift@6.0.3     install
INFO  swift@6.0.3     download swift-6.0.3-RELEASE-arch.tar.gz
DEBUG GET Downloading https://download.swift.org/swift-6.0.3-release/arch/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-arch.tar.gz to ~/.local/share/mise/downloads/swift/6.0.3/swift-6.0.3-RELEASE-arch.tar.gz
DEBUG GET https://download.swift.org/swift-6.0.3-release/arch/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-arch.tar.gz
DEBUG starting new connection: https://download.swift.org/
DEBUG redirecting 'https://download.swift.org/swift-6.0.3-release/arch/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-arch.tar.gz' to 'https://swift.org/404.html'
DEBUG starting new connection: https://swift.org/
DEBUG redirecting 'https://swift.org/404.html' to 'https://www.swift.org/404.html'
DEBUG starting new connection: https://www.swift.org/
DEBUG GET https://download.swift.org/swift-6.0.3-release/arch/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE-arch.tar.gz 404 Not Found
Error: 
   0: failed to install core:swift@6.0.3
   1: HTTP status client error (404 Not Found) for url (https://www.swift.org/404.html)

Location:
   src/http.rs:64

Version:
   2024.12.10 linux-x64 (d52ec61 2024-12-14)

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

@mamoss-oss mamoss-oss added the bug label Dec 15, 2024
@mamoss-oss mamoss-oss changed the title donwload swift (6.0.3) fails download (http 404) donwload swift (6.0.3) fails (http 404) Dec 15, 2024
@jdx
Copy link
Owner

jdx commented Dec 15, 2024

swift doesn't provide binaries for arch: https://www.swift.org/install/linux

@jdx jdx closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants