these 3 derivations will be built: /nix/store/mrgiqmz9xydn2w38abqrlsy2yxl4k013-cargo-vendor-dir.drv /nix/store/xpsqqpd9446h271xfq2jnkdly8kiy618-flake-fmt-1.0.0.drv /nix/store/qck81vi4b30b8sldn4gfx7lyrphv7glg-merge-when-green-0.3.0.drv building '/nix/store/xpsqqpd9446h271xfq2jnkdly8kiy618-flake-fmt-1.0.0.drv' flake-fmt-1.0.0> tribuchet: building on jamie flake-fmt-1.0.0> Running phase: unpackPhase flake-fmt-1.0.0> unpacking source archive /nix/store/n55ax2nx5a9fzlj1wcca21azransg6zw-wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source flake-fmt-1.0.0> source root is wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source flake-fmt-1.0.0> Executing cargoSetupPostUnpackHook flake-fmt-1.0.0> Finished cargoSetupPostUnpackHook flake-fmt-1.0.0> Running phase: patchPhase flake-fmt-1.0.0> Executing cargoSetupPostPatchHook flake-fmt-1.0.0> Validating consistency between /build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock flake-fmt-1.0.0> Finished cargoSetupPostPatchHook flake-fmt-1.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase flake-fmt-1.0.0> Running phase: configurePhase flake-fmt-1.0.0> Running phase: buildPhase flake-fmt-1.0.0> Executing cargoBuildHook flake-fmt-1.0.0> cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release flake-fmt-1.0.0> Compiling flake-fmt v1.0.0 (/build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/crates/flake-fmt) flake-fmt-1.0.0> Compiling flake-fmt-trace v1.0.0 (/build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/crates/flake-fmt-trace) flake-fmt-1.0.0> error: invalid definition of the runtime `open` symbol used by the standard library flake-fmt-1.0.0> --> crates/flake-fmt-trace/src/lib.rs:225:5 flake-fmt-1.0.0> | flake-fmt-1.0.0> 225 | pub unsafe extern "C" fn open(path: *const c_char, flags: c_int, mode: c_int) -> c_int { flake-fmt-1.0.0> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ flake-fmt-1.0.0> | flake-fmt-1.0.0> = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target) flake-fmt-1.0.0> found `unsafe extern "C" fn(*const i8, i32, i32) -> i32` flake-fmt-1.0.0> = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]` flake-fmt-1.0.0> = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default flake-fmt-1.0.0> flake-fmt-1.0.0> error: could not compile `flake-fmt-trace` (lib) due to 1 previous error flake-fmt-1.0.0> warning: build failed, waiting for other jobs to finish... error: Cannot build '/nix/store/xpsqqpd9446h271xfq2jnkdly8kiy618-flake-fmt-1.0.0.drv'. Reason: builder failed with exit code 101. Output paths: /nix/store/nldj32ni5bp4x8kyqvrs3qk5qf8ygzhg-flake-fmt-1.0.0 Last 25 log lines: > Finished cargoSetupPostUnpackHook > Running phase: patchPhase > Executing cargoSetupPostPatchHook > Validating consistency between /build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock > Finished cargoSetupPostPatchHook > Running phase: updateAutotoolsGnuConfigScriptsPhase > Running phase: configurePhase > Running phase: buildPhase > Executing cargoBuildHook > cargoBuildHook flags: -j 24 --target x86_64-unknown-linux-gnu --offline --profile release > Compiling flake-fmt v1.0.0 (/build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/crates/flake-fmt) > Compiling flake-fmt-trace v1.0.0 (/build/wpvcgzxxfv2fp6vcidf37bmssk2lwlbv-source/crates/flake-fmt-trace) > error: invalid definition of the runtime `open` symbol used by the standard library > --> crates/flake-fmt-trace/src/lib.rs:225:5 > | > 225 | pub unsafe extern "C" fn open(path: *const c_char, flags: c_int, mode: c_int) -> c_int { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target) > found `unsafe extern "C" fn(*const i8, i32, i32) -> i32` > = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]` > = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default > > error: could not compile `flake-fmt-trace` (lib) due to 1 previous error > warning: build failed, waiting for other jobs to finish... For full logs, run: nix log /nix/store/xpsqqpd9446h271xfq2jnkdly8kiy618-flake-fmt-1.0.0.drv error: Cannot build '/nix/store/qck81vi4b30b8sldn4gfx7lyrphv7glg-merge-when-green-0.3.0.drv'. Reason: 1 dependency failed. Output paths: /nix/store/mv8gdp1x2040r3brz148w465f0n1zl5c-merge-when-green-0.3.0