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

Rust toolchain breaks on nix flake update #151

Closed
ifd3f opened this issue Nov 19, 2024 · 0 comments
Closed

Rust toolchain breaks on nix flake update #151

ifd3f opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working ci Continuous Integration

Comments

@ifd3f
Copy link
Owner

ifd3f commented Nov 19, 2024

Right now, if you run a nix flake update, CI breaks. It appears to not be a problem with nixpkgs, so either rust-overlay or naersk broke things.

I'm currently trying to bisect this issue.

Build logs:

% nix flake update && nix build
warning: updating lock file '/home/astrid/Documents/caligula3/flake.lock':
• Updated input 'flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
  → 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b?narHash=sha256-l0KFg5HjrsfsO/JpG%2Br7fRrqm12kzFHyUHqHCVpMMbI%3D' (2024-11-13)
• Updated input 'naersk':
    'github:nix-community/naersk/c5037590290c6c7dae2e42e7da1e247e54ed2d49?narHash=sha256-CO8MmVDmqZX2FovL75pu5BvwhW%2BVugc7Q6ze7Hj8heI%3D' (2024-04-19)
  → 'github:nix-community/naersk/3fb418eaf352498f6b6c30592e3beb63df42ef11?narHash=sha256-r/xppY958gmZ4oTfLiHN0ZGuQ%2BRSTijDblVgVLFi1mw%3D' (2024-07-23)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e?narHash=sha256-NQbegJb2ZZnAqp2EJhWwTf6DrZXSpA6xZCEq%2BRGV1r0%3D' (2024-05-22)
  → 'path:/nix/store/808lp63z6yiraikjpzcfk3xg1frpd2s0-source?lastModified=0&narHash=sha256-GKJjtPY%2BSXfLF/yTN7M2cAnQB6RERFKnQhD8UvPSf3M%3D' (1970-01-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/5710852ba686cc1fd0d3b8e22b3117d43ba374c2?narHash=sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y%2BVBUeU%3D' (2024-05-21)
  → 'github:NixOS/nixpkgs/5e4fbfb6b3de1aa2872b76d49fafc942626e2add?narHash=sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg%3D' (2024-11-15)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ee0db3aeebafeaada2b98d076de6d314b4c8682e?narHash=sha256-vdVzaGD5p%2BKG7XHepIeX5rUPmdzEcF2w6rhqfr0SNkI%3D' (2024-05-23)
  → 'github:oxalica/rust-overlay/71287228d96e9568e1e70c6bbfa3f992d145947b?narHash=sha256-JECaBgC0pQ91Hq3W4unH6K9to8s2Zl2sPNu7bLOv4ek%3D' (2024-11-19)
• Removed input 'rust-overlay/flake-utils'
• Removed input 'rust-overlay/flake-utils/systems'
• Updated input 'rust-overlay/nixpkgs':
    'github:NixOS/nixpkgs/90f456026d284c22b3e3497be980b2e47d0b28ac?narHash=sha256-LE8lVX28MV2jWJsidW13D2qrHU/RUUONendL2Q/WlJg%3D' (2024-01-29)
  → 'github:NixOS/nixpkgs/b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221?narHash=sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU%3D' (2024-10-10)
warning: Git tree '/home/astrid/Documents/caligula3' is dirty
warning: Git tree '/home/astrid/Documents/caligula3' is dirty
error: builder for '/nix/store/600g9wcx01ddyk2dpcbfj6wayz1ymxwq-caligula-0.4.7.drv' failed with exit code 101;
       last 25 log lines:
       >   cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-musl
       >   AR_x86_64-unknown-linux-musl = None
       >   cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_musl
       >   AR_x86_64_unknown_linux_musl = None
       >   cargo:rerun-if-env-changed=TARGET_AR
       >   TARGET_AR = None
       >   cargo:rerun-if-env-changed=AR
       >   AR = Some("ar")
       >   cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-musl
       >   ARFLAGS_x86_64-unknown-linux-musl = None
       >   cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_musl
       >   ARFLAGS_x86_64_unknown_linux_musl = None
       >   cargo:rerun-if-env-changed=TARGET_ARFLAGS
       >   TARGET_ARFLAGS = None
       >   cargo:rerun-if-env-changed=ARFLAGS
       >   ARFLAGS = None
       >   cargo:rustc-link-lib=static=bz2
       >   cargo:rustc-link-search=native=/build/caligula-src/target/x86_64-unknown-linux-musl/release/build/bzip2-sys-a61c4a6a3b045828/out/lib
       >
       >   --- stderr
       >   thread 'main' panicked at /nix/store/kbphjzq0jwd3g6yk4g9q9nnwy9bl3v3s-crates-io-dependencies/bzip2-sys-0.1.11+1.0.8-736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc/build.rs:44:64:
       >   called `Result::unwrap()` on an `Err` value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
       >   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
       > warning: build failed, waiting for other jobs to finish...
       > [naersk] cargo returned with exit code 101, exiting
       For full logs, run 'nix log /nix/store/600g9wcx01ddyk2dpcbfj6wayz1ymxwq-caligula-0.4.7.drv'.
@ifd3f ifd3f added the bug Something isn't working label Nov 19, 2024
@ifd3f ifd3f self-assigned this Nov 19, 2024
@ifd3f ifd3f added the ci Continuous Integration label Nov 19, 2024
@ifd3f ifd3f linked a pull request Nov 19, 2024 that will close this issue
@ifd3f ifd3f removed a link to a pull request Nov 19, 2024
@ifd3f ifd3f closed this as completed in d743732 Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci Continuous Integration
Projects
None yet
Development

No branches or pull requests

1 participant