Skip to content

Fix CI on FreeBSD 15

faa7e0f
Select commit
Loading
Failed to load commit list.
Merged

[0.2] Backports #4592

Fix CI on FreeBSD 15
faa7e0f
Select commit
Loading
Failed to load commit list.
Cirrus CI / nightly freebsd-13 i686 failed Jul 29, 2025 in 1m 5s

Task Summary

Instruction test failed in 00:38

Details

✅ 00:08 clone
✅ 00:15 setup
❌ 00:38 test

      |                                                  ^

  error: invalid fragment specifier `literal`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:229:34
      |
  229 |             $($variant:ident $(= $value:literal)?,)+
      |                                  ^^^^^^^^^^^^^^
      |
      = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `path`, `meta`, `tt`, `item` and `vis`

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:240:44
      |
  240 |         $variant:ident $(= $value:literal)?,
      |                                            ^

  error: invalid fragment specifier `literal`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:240:28
      |
  240 |         $variant:ident $(= $value:literal)?,
      |                            ^^^^^^^^^^^^^^
      |
      = help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `path`, `meta`, `tt`, `item` and `vis`

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:232:49
      |
  232 |         pub type $ty_name = c_enum!(@ty $($repr)?);
      |                                                 ^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:233:59
      |
  233 |         c_enum!(@one; $ty_name; 0; $($variant $(= $value)?,)+);
      |                                                           ^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:247:13
      |
  247 |             r
      |             ^

  error: expected identifier, found `::`
     --> /tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/src-hotfix/macros.rs:257:17
      |
  257 |     (@ty) => { $::c_uint };
      |                 ^^

  rust version: 1.90.0-nightly


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m32" "--target=i686-unknown-freebsd" "-Wall" "-Wextra" "-Wall" "-Wextra" "-Werror" "-Wno-unused-parameter" "-Wno-type-limits" "-Wno-address-of-packed-member" "-Wno-unknown-warning-option" "-Wno-deprecated-declarations" "-D_WITH_CPU_SET_T" "-D_WITH_GETLINE" "-D_WANT_FREEBSD11_STAT" "-o" "/tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/0ecdcabd5fdfa7f3-main.o" "-c" "/tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/build/libc-test-b7939d51f8261d4d/out/main.c"



Exit status: 101