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

compile error on github actions macos-latest #15

Open
LuckyTurtleDev opened this issue Jul 5, 2023 · 3 comments
Open

compile error on github actions macos-latest #15

LuckyTurtleDev opened this issue Jul 5, 2023 · 3 comments

Comments

@LuckyTurtleDev
Copy link

Hi, I get the following compile error, if I try to compile this carte on github actions using macos-latest runner.
I am using this crates as dependency from keepawake.

 error: expected item after attributes
 --> /Users/runner/work/mission2teegarden-b/mission2teegarden-b/target/debug/build/apple-sys-1fef9ac78fba900c/out/CoreFoundation.rs:3:2249
  |
3 | ... :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] 
  |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: expected item after attributes
 --> /Users/runner/work/mission2teegarden-b/mission2teegarden-b/target/debug/build/apple-sys-1fef9ac78fba900c/out/IOKit.rs:3:2249
  |
3 | ... :: { self , msg_send , sel , sel_impl , class } ; # [allow (non_camel_case_types)] 
  |                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `apple-sys` (lib) due to 2 previous errors

https://github.com/LuckyTurtleDev/mission2teegarden-b/actions/runs/5466717079/jobs/9952050311?pr=130

@LuckyTurtleDev
Copy link
Author

After notifying that the msrv ci has successful build. I have retry the ci and it has build now. Keep free to close the issue.

@LuckyTurtleDev
Copy link
Author

LuckyTurtleDev commented Jul 5, 2023

Has fail again. It looks like, it does fail with a probability of 50% 30% 70%.

@LuckyTurtleDev
Copy link
Author

After rust 1.71 was released it does build fine on latest (1.71) now. But at 1.70 it does always fail now. I do not understand this behavior. 😕 ❓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant