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

Failures in Linux armv7 uclibceabihf CI target #1955

Closed
JonathanWoollett-Light opened this issue Dec 31, 2022 · 0 comments · Fixed by #1956
Closed

Failures in Linux armv7 uclibceabihf CI target #1955

JonathanWoollett-Light opened this issue Dec 31, 2022 · 0 comments · Fixed by #1956

Comments

@JonathanWoollett-Light
Copy link
Contributor

JonathanWoollett-Light commented Dec 31, 2022

The Linux armv7 uclibceabihf CI target is failing in multiple unrelated PRs e.g.:

With

$TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET --all-targets -- -D warnings
    Checking nix v0.26.1 (/tmp/cirrus-ci-build)
error: argument to `std::mem::size_of_val()` is a reference to a reference
    --> src/sys/socket/mod.rs:1295:17
     |
1295 |                 mem::size_of_val(&iv) + iv.len()
     |                 ^^^^^^^^^^^^^^^^^^^^^
     |
     = help: dereference the argument to `std::mem::size_of_val()` to get the size of the value instead of the size of the reference-type
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#size_of_ref
     = note: `-D clippy::size-of-ref` implied by `-D warnings`

error: argument to `std::mem::size_of_val()` is a reference to a reference
    --> src/sys/socket/mod.rs:1295:17
     |
1295 |                 mem::size_of_val(&iv) + iv.len()
     |                 ^^^^^^^^^^^^^^^^^^^^^
     |
     = help: dereference the argument to `std::mem::size_of_val()` to get the size of the value instead of the size of the reference-type
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#size_of_ref
note: the lint level is defined here
    --> src/lib.rs:46:24
     |
46   | #![cfg_attr(test, deny(warnings))]
     |                        ^^^^^^^^
     = note: `#[deny(clippy::size_of_ref)]` implied by `#[deny(warnings)]`

error: could not compile `nix` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `nix` due to previous error

Exit status: 101
@JonathanWoollett-Light JonathanWoollett-Light changed the title Failures in Linux armv7 uclibceabihf target Failures in Linux armv7 uclibceabihf CI target Dec 31, 2022
@bors bors bot closed this as completed in 67f8770 Jan 8, 2023
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

Successfully merging a pull request may close this issue.

1 participant