Skip to content

Build failure for i686-unknown-hurd-gnu #2306

@asomers

Description

@asomers

Due to bytecodealliance/rustix#1007 , the Nix CI build fails for i686-unknown-hurd-gnu .

> cargo check -Zbuild-std --target i686-unknown-hurd-gnu --all-features --all-targets
    Checking rustix v0.38.31
error[E0609]: no field `st_atime` on type `&libc::stat64`
   --> /home/somers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:168:14
    |
168 |         self.st_atime as i64
    |              ^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
168 |         self.st_atim as i64
    |              ~~~~~~~

error[E0609]: no field `st_mtime` on type `&libc::stat64`
   --> /home/somers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:172:14
    |
172 |         self.st_mtime as i64
    |              ^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
172 |         self.st_mtim as i64
    |              ~~~~~~~

error[E0609]: no field `st_ctime` on type `&libc::stat64`
   --> /home/somers/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:176:14
    |
176 |         self.st_ctime as i64
    |              ^^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
176 |         self.st_ctim as i64
    |              ~~~~~~~

For more information about this error, try `rustc --explain E0609`.
error: could not compile `rustix` (lib) due to 3 previous errors

As a hobby OS, I think we should permanently remove it from CI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions