Comments (11)
At last!
https://github.com/andrewdavidmackenzie/libproc-rs/actions/runs/8267240156/job/22617146403?pr=128
There was a bug in my GH Action that hid this. I will now push a fix and release later tonight.
(annoyingly, I cannot reproduce in local with act
either :-( )
from libproc-rs.
Fixed and a new minor version pushed to crates.io.
https://crates.io/crates/libproc/0.14.6
I'll do the github release later tonight.
from libproc-rs.
OK, reproduced locally - now I need to "fix" (i.e. break) CI....
from libproc-rs.
from libproc-rs.
Yes. Thanks!
from libproc-rs.
I'm not seeing the failure in CI on 1.74.1 or locally (on macos using act).
PR (so far just added that version of rust to the matrix) here
Any ideas?
from libproc-rs.
These are the errors it's giving in nushell. I think ptr_from_ref
may have been stabilized recently.
error[E0658]: use of unstable library feature 'ptr_from_ref'
--> /Users/fdncred/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.5/src/libproc/proc_pid.rs:241:22
|
241 | let buffer_ptr = std::ptr::from_mut::<T>(&mut pidinfo).cast::<c_void>();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information
error[E0658]: use of unstable library feature 'ptr_from_ref'
--> /Users/fdncred/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.5/src/libproc/pid_rusage.rs:389:22
|
389 | let buffer_ptr = std::ptr::from_mut::<T>(&mut pidrusage).cast::<c_void>();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information
error[E0658]: use of unstable library feature 'ptr_from_ref'
--> /Users/fdncred/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.5/src/libproc/file_info.rs:168:22
|
168 | let buffer_ptr = std::ptr::from_mut::<T>(&mut pidinfo).cast::<c_void>();
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information
from libproc-rs.
Can you give some more details about where those errors are from, OS versions, rustc versions etc - as I'd like to reproduce the problem in CI before putting in place fixes for it, and controls to avoid a re-occurrance?
When I try with stable 1.74.1 on macos and linux, I do not see those failures.
thanks
from libproc-rs.
Sure. They're from me building nushell with cargo install --path . --features=dataframe
❯ sw_vers
ProductName: macOS
ProductVersion: 14.4
BuildVersion: 23E214
❯ rustc --version --verbose
rustc 1.74.1 (a28077b28 2023-12-04)
binary: rustc
commit-hash: a28077b28a02b92985b3a3faecf92813155f1ea1
commit-date: 2023-12-04
host: aarch64-apple-darwin
release: 1.74.1
LLVM version: 17.0.4
from libproc-rs.
Thanks so much for your help and responsiveness @andrewdavidmackenzie !!!
from libproc-rs.
Seconded. Thank you!
from libproc-rs.
Related Issues (20)
- Failed to build libproc bindings HOT 23
- Problems compiling in nixpkgs HOT 1
- MacOS: accept a typeinfo argument for listpids HOT 11
- see why "act" (for running GH Actions locally) fails
- Fix publishing of docs page HOT 2
- build error in aosp rust HOT 2
- Run clippy on —all-features and —all-targets HOT 1
- Improve docs in docs.rs and remove repetition from README.md HOT 1
- Check if any new calls added in newer macos versions HOT 1
- Make binaries just be examples and change docs to reflect that
- Avoid linking to docs on my home page and link to docs.rs instead.
- Fix errno checking HOT 1
- pub use of modules
- Remove macos 10 features as no longer tested HOT 1
- Increase test coverage above 75%
- Add macos ARM builds to test matrix HOT 1
- See how far back in rust versions I can go without code changes HOT 1
- Documentation site down HOT 2
- Do a 0.15.0 release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libproc-rs.