muslrust: Build and fetch errors with clux/muslrust:1.60.0

We are suddenly getting some weird failures in our build using clux/muslrust:1.60.0 on cloud.drone.io. First one is this:

+ git fetch --tags

fatal: unable to access 'https://github.com/LemmyNet/lemmy.git/': getaddrinfo() thread failed to start

And second, this:

+ cargo check -p lemmy_api_common
error: could not execute process `rustc -vV` (never executed)

Caused by:
  Operation not permitted (os error 1)

A few days ago the same ci build worked fine, was the image updated to a broken one in the meantime? For now i downgraded to muslrust:1.59.0 and it works fine.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 18 (8 by maintainers)

Most upvoted comments

@xD3CODER I had the same problem, after searching a bit (apt-get upgrade also failed, eg https://askubuntu.com/questions/1408528/apt-update-on-ubuntu22-04-results-in-error-100-on-some-docker-hosts) i found that docker apparently was bugged. I upgraded docker 2.10.7 to 2.10.12 (was docker-ce, i installed docker.io which is in the ubuntu repo) and the problem went away.

@clux I also have a selfhosted drone installation which gave the same errors. Just added your username to allowlist, so you should be able to sign in using Github at https://drone.yerbamate.ml and enable it for your repo.

FYI it seems the error with getaddrinfo() thread failed to start only happens when running in drone.io (and happens every time). But local builds work fine.

Also randomly getting “error: could not execute process rustc -vV (never executed)”

Ohh. That might be related to the os upgrade yeah. Didn’t test that git worked. I’ll have a quick look later.