nixbot

builds

failed x86_64-linux.clippy build #8 · raw · ·

1this derivation will be built:2  /nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv3building '/nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv' on 'ssh-ng://nix@jamie'4building '/nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv'5formatelf-clippy-0.1.0> Running phase: unpackPhase6formatelf-clippy-0.1.0> unpacking source archive /nix/store/vhgh42q9rljyxz8zrv3xm3gxirq2jscz-0y8jfl8xpmqykvw8ymsdysrggm51cvyi-source7formatelf-clippy-0.1.0> source root is 0y8jfl8xpmqykvw8ymsdysrggm51cvyi-source8formatelf-clippy-0.1.0> Executing cargoSetupPostUnpackHook9formatelf-clippy-0.1.0> Finished cargoSetupPostUnpackHook10formatelf-clippy-0.1.0> Running phase: patchPhase11formatelf-clippy-0.1.0> Executing cargoSetupPostPatchHook12formatelf-clippy-0.1.0> Validating consistency between /build/0y8jfl8xpmqykvw8ymsdysrggm51cvyi-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock13formatelf-clippy-0.1.0> Finished cargoSetupPostPatchHook14formatelf-clippy-0.1.0> Running phase: updateAutotoolsGnuConfigScriptsPhase15formatelf-clippy-0.1.0> Running phase: configurePhase16formatelf-clippy-0.1.0> Running phase: buildPhase17formatelf-clippy-0.1.0>    Compiling libc v0.2.18618formatelf-clippy-0.1.0>    Compiling getrandom v0.3.419formatelf-clippy-0.1.0>    Compiling proc-macro2 v1.0.10620formatelf-clippy-0.1.0>    Compiling rustix v1.1.421formatelf-clippy-0.1.0>    Compiling quote v1.0.4622formatelf-clippy-0.1.0>    Compiling unicode-ident v1.0.2423formatelf-clippy-0.1.0>     Checking cfg-if v1.0.424formatelf-clippy-0.1.0>     Checking bitflags v2.13.025formatelf-clippy-0.1.0>     Checking linux-raw-sys v0.12.126formatelf-clippy-0.1.0>    Compiling object v0.36.727formatelf-clippy-0.1.0>    Compiling thiserror v2.0.1828formatelf-clippy-0.1.0>    Compiling zerocopy v0.8.5229formatelf-clippy-0.1.0>    Compiling autocfg v1.5.130formatelf-clippy-0.1.0>     Checking anstyle v1.0.1431formatelf-clippy-0.1.0>     Checking clap_lex v1.1.032formatelf-clippy-0.1.0>     Checking memchr v2.8.233formatelf-clippy-0.1.0>     Checking fastrand v2.4.134formatelf-clippy-0.1.0>     Checking once_cell v1.21.435formatelf-clippy-0.1.0>     Checking regex-lite v0.1.936formatelf-clippy-0.1.0>     Checking unarray v0.1.437formatelf-clippy-0.1.0>     Checking regex-syntax v0.8.1138formatelf-clippy-0.1.0>     Checking lexopt v0.3.239formatelf-clippy-0.1.0>     Checking condtype v1.3.040formatelf-clippy-0.1.0>    Compiling num-traits v0.2.1941formatelf-clippy-0.1.0>    Compiling syn v2.0.11842formatelf-clippy-0.1.0>     Checking memmap2 v0.9.1143formatelf-clippy-0.1.0>     Checking rand_core v0.9.544formatelf-clippy-0.1.0>     Checking rand_xorshift v0.4.045formatelf-clippy-0.1.0>     Checking rand v0.9.446formatelf-clippy-0.1.0>     Checking terminal_size v0.4.447formatelf-clippy-0.1.0>     Checking tempfile v3.27.048formatelf-clippy-0.1.0>     Checking clap_builder v4.6.049formatelf-clippy-0.1.0>    Compiling thiserror-impl v2.0.1850formatelf-clippy-0.1.0>    Compiling divan-macros v0.1.2151formatelf-clippy-0.1.0>     Checking clap v4.6.152formatelf-clippy-0.1.0>     Checking ppv-lite86 v0.2.2153formatelf-clippy-0.1.0>     Checking rand_chacha v0.9.054formatelf-clippy-0.1.0>     Checking proptest v1.11.055formatelf-clippy-0.1.0>     Checking divan v0.1.2156formatelf-clippy-0.1.0>     Checking formatelf v0.1.0 (/build/0y8jfl8xpmqykvw8ymsdysrggm51cvyi-source)57formatelf-clippy-0.1.0> error: unsafe attribute used without unsafe58formatelf-clippy-0.1.0>  --> tests/sample_cdylib.rs:3:359formatelf-clippy-0.1.0>   |60formatelf-clippy-0.1.0> 3 | #[no_mangle]61formatelf-clippy-0.1.0>   |   ^^^^^^^^^ usage of unsafe attribute62formatelf-clippy-0.1.0>   |63formatelf-clippy-0.1.0> help: wrap the attribute in `unsafe(...)`64formatelf-clippy-0.1.0>   |65formatelf-clippy-0.1.0> 3 | #[unsafe(no_mangle)]66formatelf-clippy-0.1.0>   |   +++++++         +67formatelf-clippy-0.1.0> 68formatelf-clippy-0.1.0> error: could not compile `formatelf` (test "sample_cdylib") due to 1 previous error69formatelf-clippy-0.1.0> warning: build failed, waiting for other jobs to finish...70formatelf-clippy-0.1.0> error: this operation will always return zero. This is likely not the intended outcome71formatelf-clippy-0.1.0>  --> tests/sample.rs:4:2472formatelf-clippy-0.1.0>   |73formatelf-clippy-0.1.0> 4 |     std::process::exit(std::hint::black_box(20) & 0);74formatelf-clippy-0.1.0>   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^75formatelf-clippy-0.1.0>   |76formatelf-clippy-0.1.0>   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op77formatelf-clippy-0.1.0>   = note: `#[deny(clippy::erasing_op)]` on by default78formatelf-clippy-0.1.0> 79formatelf-clippy-0.1.0> error: could not compile `formatelf` (test "sample") due to 1 previous error80error: build of '/nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv' on 'ssh-ng://nix@jamie' failed: Cannot build '/nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv'.81       Reason: builder failed with exit code 101.82       Output paths:83         /nix/store/qvrsx08j3l2q89hnv04fm66wjgz7favz-formatelf-clippy-0.1.084       Last 25 log lines:85       >     Checking divan v0.1.2186       >     Checking formatelf v0.1.0 (/build/0y8jfl8xpmqykvw8ymsdysrggm51cvyi-source)87       > error: unsafe attribute used without unsafe88       >  --> tests/sample_cdylib.rs:3:389       >   |90       > 3 | #[no_mangle]91       >   |   ^^^^^^^^^ usage of unsafe attribute92       >   |93       > help: wrap the attribute in `unsafe(...)`94       >   |95       > 3 | #[unsafe(no_mangle)]96       >   |   +++++++         +97       >98       > error: could not compile `formatelf` (test "sample_cdylib") due to 1 previous error99       > warning: build failed, waiting for other jobs to finish...100       > error: this operation will always return zero. This is likely not the intended outcome101       >  --> tests/sample.rs:4:24102       >   |103       > 4 |     std::process::exit(std::hint::black_box(20) & 0);104       >   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^105       >   |106       >   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#erasing_op107       >   = note: `#[deny(clippy::erasing_op)]` on by default108       >109       > error: could not compile `formatelf` (test "sample") due to 1 previous error110       For full logs, run:111         nix log /nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv112error: Cannot build '/nix/store/aqahlllcmn0p47x0r1jhiqnm0nm3v91f-formatelf-clippy-0.1.0.drv'.113       Reason: builder failed with exit code 1.114       Output paths:115         /nix/store/qvrsx08j3l2q89hnv04fm66wjgz7favz-formatelf-clippy-0.1.0