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

Build failure: vector #227896

Closed
bbigras opened this issue Apr 23, 2023 · 5 comments
Closed

Build failure: vector #227896

bbigras opened this issue Apr 23, 2023 · 5 comments
Labels
0.kind: build failure A package fails to build

Comments

@bbigras
Copy link
Contributor

bbigras commented Apr 23, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. build vector

Build log

error: internal compiler error: no errors encountered even though `delay_span_bug` issued                                                                         error: internal compiler error: broken MIR in Item(WithOptConstParam { did: DefId(0:2573 ~ vector_buffers[61ee]::variants::disk_v2::record::_::{impl#0}::resolve), const_param_did: None }) (after phase change to runtime-optimized) at bb4[53]:                                                             Field projection `(*_4).field[3]` specified type `rkyv::boxed::ArchivedBox<[u8]>`, but actual type is `<rkyv::with::With<rkyv::with::With<&[u8], rkyv::with::RefAsBox>, rkyv::with::CopyOptimize> as rkyv::Archive>::Archived`                  --> lib/vector-buffers/src/variants/disk_v2/record.rs:46:10

Additional context

Add any other context about the problem here.

Notify maintainers

@happysalada @thoughtpolice

Metadata

  • system: "x86_64-linux" - host os: Linux 6.2.11-zen1, NixOS, 23.05 (Stoat), 23.05.20230419.645bc49 - multi-user?: no - sandbox: yes - version: nix-env (Nix) 2.13.3 - channels(root): "nixos, nixos-22.11-small-22.11-small" - nixpkgs: not found
@bbigras bbigras added the 0.kind: build failure A package fails to build label Apr 23, 2023
@happysalada
Copy link
Contributor

I've opened a rust compiler issue last week giving them the details.
My plan for this is to try again to see if the error persists with rust 1.69 (that should land on master in about 2-3 weeks).
I unfortunately don't have any workaround for this one.

@figsoda
Copy link
Member

figsoda commented Apr 24, 2023

See #225778, unfortunately it didn't get in the same staging cycle, but it should be fixed in the next cycle as @happysalada said

@KFearsoff
Copy link
Contributor

It looks like upstream Vector is already on Rust 1.69, where this issue does not occur. Are we just waiting for Rust 1.69 too, then? Any ETAs or band-aids in the mean time?

@figsoda
Copy link
Member

figsoda commented Apr 28, 2023

vector should already be fixed since the last staging-next cycle was merged: #226795

@happysalada
Copy link
Contributor

Ive just tested on nixpkgs latest master and can confirm that the failure is fixed.
Ill be updating vector soon with the latest version and a small improvement to the service

@vcunat vcunat closed this as completed Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

5 participants