Skip to content

Errors when building libc 0.2.112 as dep of libstd on FreeBSD #2614

Closed
@bjorn3

Description

@bjorn3
Member

This causes the cg_clif CI to fail on FreeBSD: https://cirrus-ci.com/task/6719379466354688?logs=test#L178

error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:49:3
   |
49 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:65:3
   |
65 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:82:3
   |
82 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
  --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:98:3
   |
98 | #[derive(PartialEq, Eq)]
   |   ^^^^^^
   |
   = note: consider importing this attribute macro:
           core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:114:3
    |
114 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:136:3
    |
136 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:169:3
    |
169 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive
error: cannot find attribute `derive` in this scope
   --> /.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.112/src/unix/bsd/freebsdlike/freebsd/mod.rs:227:3
    |
227 | #[derive(PartialEq, Eq)]
    |   ^^^^^^
    |
    = note: consider importing this attribute macro:
            core::prelude::rust_2021::derive

Activity

self-assigned this
on Jan 4, 2022
removed their assignment
on Jan 29, 2022
JohnTitor

JohnTitor commented on Jan 29, 2022

@JohnTitor
Member

Should be fixed by #2659. feel free to re-open if my assumption is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bjorn3@JohnTitor

        Issue actions

          Errors when building libc 0.2.112 as dep of libstd on FreeBSD · Issue #2614 · rust-lang/libc