SofusA / roslyn-language-server

A wrapper around Roslyn language server which makes compatible with editors other than VSCode
MIT License
32 stars 4 forks source link

lock file `Cargo.lock` needs to be updated but `--frozen` was passed to prevent this #35

Closed felschr closed 1 month ago

felschr commented 1 month ago
error: builder for '/nix/store/2l298hk5dqm9za9hy8adg0fsr70znrih-roslyn-language-server-0.4.0.drv' failed with exit code 101;
       last 10 log lines:
       > Executing cargoSetupPostPatchHook
       > Validating consistency between /build/6k59ssr834y7hwhkn69vl96glbkmg07q-source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
       > Finished cargoSetupPostPatchHook
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: buildPhase
       > Executing cargoBuildHook
       > ++ env CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/cc CC_X86_64_UNKNOWN_LINUX_GNU=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/cc CXX_X86_64_UNKNOWN_LINUX_GNU=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/c++ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/cc CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu HOST_CC=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/cc HOST_CXX=/nix/store/r6k305g2rn0qqkvdxfvzqg7mhh7rw679-gcc-wrapper-13.2.0/bin/c++ cargo build -j 32 --target x86_64-unknown-linux-gnu --frozen --profile release
       > error: the lock file /build/6k59ssr834y7hwhkn69vl96glbkmg07q-source/Cargo.lock needs to be updated but --frozen was passed to prevent this
       > If you want to try to generate the lock file without accessing the network, remove the --frozen flag and use --offline instead.
       For full logs, run 'nix log /nix/store/2l298hk5dqm9za9hy8adg0fsr70znrih-roslyn-language-server-0.4.0.drv'.
error: 1 dependencies of derivation '/nix/store/afffv7hf2m7871732hp4h7pggpdgmy3h-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rknd63cw3d3qsmbnbz98yiq871f48g6x-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mavhi5i43a774pis9sy9ggnsb79kgxg1-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/23cl5z0shci6db5i0yz1rvv56x45rg11-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/7psdglcrwvdncbh6kk5px7dg1fxr54js-nixos-system-home-pc-24.05.20241009.d51c286.drv' failed tobuild
SofusA commented 1 month ago

Nice catch. Thanks!