Define SO_PROTOCOL
and SO_DOMAIN
on OpenBSD and Solarish.
#3316
Cirrus CI / nightly x86_64-unknown-freebsd-13
failed
Aug 9, 2023 in 49s
Task Summary
Instruction test failed in 00:30
Details
ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
✅ 00:04 clone
✅ 00:12 setup
❌ 00:30 test
Downloaded garando_errors v0.1.0
Downloaded ryu v1.0.15
Downloaded semver v1.0.18
Downloaded quote v1.0.32
Downloaded ctest2 v0.4.7
Downloaded unicode-ident v1.0.11
Downloaded cc v1.0.82
Downloaded serde v1.0.183
Downloaded serde_json v1.0.104
Downloaded syn v2.0.28
Downloaded garando_syntax v0.1.0
Downloaded libc v0.2.147
Downloaded serde_derive v1.0.183
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling libc v0.2.147
Compiling quote v1.0.32
Compiling syn v2.0.28
Compiling serde v1.0.183
Compiling dirs-sys v0.3.7
Compiling cfg-if v0.1.10
Compiling dirs v2.0.2
Compiling semver v1.0.18
Compiling serde_json v1.0.104
Compiling term v0.6.1
Compiling unicode-xid v0.2.4
Compiling ryu v1.0.15
Compiling itoa v1.0.9
Compiling bitflags v1.3.2
Compiling log v0.4.19
Compiling rustc_version v0.4.0
Compiling cc v1.0.82
Compiling serde_derive v1.0.183
Compiling libc v0.2.147 (/tmp/cirrus-ci-build)
Compiling garando_pos v0.1.0
Compiling garando_errors v0.1.0
Compiling garando_syntax v0.1.0
Compiling ctest2 v0.4.7
Compiling libc-test v0.2.147 (/tmp/cirrus-ci-build/libc-test)
error: call to `.clone()` on a reference in this situation does nothing
--> libc-test/build.rs:645:22
|
645 | if ty.clone().chars().next().unwrap().is_uppercase() {
| ^^^^^^^^ help: remove this redundant call
|
= note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
note: the lint level is defined here
--> libc-test/build.rs:1:9
|
1 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(noop_method_call)]` implied by `#[deny(warnings)]`
error: could not compile `libc-test` (build script) due to previous error
Exit status: 101