PHPantom version
Nix flake
Installation method
Other (describe in Additional Context)
Operating system
Linux x86_64
Editor
Other (describe in Additional Context)
Bug description
Facing strange behavior on NixOS. Flake seems to require rustc 1.95.0, although 1.94.1 is the latest available version. Attaching the step to reproduce and error.
Steps to reproduce
nix build github:PHPantom-dev/phpantom_lsp
Error output or panic trace
error: Cannot build '/nix/store/4s4svdzrdacmn4px7hsjr6cy19dimzwr-phpantom_lsp-0.8.0.drv'.
Reason: builder failed with exit code 101.
Output paths:
/nix/store/4n88vf1hb929c1vhk7y7qjl7l3yx5k9g-phpantom_lsp-0.8.0
Last 25 log lines:
> Executing cargoSetupPostPatchHook
> Validating consistency between /build/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 8 --target x86_64-unknown-linux-gnu --offline --profile release
> error: rustc 1.94.1 is not supported by the following packages:
> mago-composer@1.27.0 requires rustc 1.95.0
> mago-database@1.27.0 requires rustc 1.95.0
> mago-docblock@1.27.0 requires rustc 1.95.0
> mago-formatter@1.27.0 requires rustc 1.95.0
> mago-names@1.27.0 requires rustc 1.95.0
> mago-php-version@1.27.0 requires rustc 1.95.0
> mago-reporting@1.27.0 requires rustc 1.95.0
> mago-span@1.27.0 requires rustc 1.95.0
> mago-syntax@1.27.0 requires rustc 1.95.0
> mago-syntax-core@1.27.0 requires rustc 1.95.0
> mago-text-edit@1.28.0 requires rustc 1.95.0
> mago-type-syntax@1.27.0 requires rustc 1.95.0
> Either upgrade rustc or select compatible dependency versions with
> `cargo update <name>@<current-ver> --precise <compatible-ver>`
> where `<compatible-ver>` is the latest version supporting rustc 1.94.1
>
For full logs, run:
nix log /nix/store/4s4svdzrdacmn4px7hsjr6cy19dimzwr-phpantom_lsp-0.8.0.drv
___
nix log /nix/store/4s4svdzrdacmn4px7hsjr6cy19dimzwr-phpantom_lsp-0.8.0.drvRunning phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/bbb5hi5pgd89f4r2ldwgcsw3rvjs8iai-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Executing cargoBuildHook
cargoBuildHook flags: -j 8 --target x86_64-unknown-linux-gnu --offline --profile release
error: rustc 1.94.1 is not supported by the following packages:
mago-composer@1.27.0 requires rustc 1.95.0
mago-database@1.27.0 requires rustc 1.95.0
mago-docblock@1.27.0 requires rustc 1.95.0
mago-formatter@1.27.0 requires rustc 1.95.0
mago-names@1.27.0 requires rustc 1.95.0
mago-php-version@1.27.0 requires rustc 1.95.0
mago-reporting@1.27.0 requires rustc 1.95.0
mago-span@1.27.0 requires rustc 1.95.0
mago-syntax@1.27.0 requires rustc 1.95.0
mago-syntax-core@1.27.0 requires rustc 1.95.0
mago-text-edit@1.28.0 requires rustc 1.95.0
mago-type-syntax@1.27.0 requires rustc 1.95.0
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.94.1
.phpantom.toml
Additional context
No response
PHPantom version
Nix flake
Installation method
Other (describe in Additional Context)
Operating system
Linux x86_64
Editor
Other (describe in Additional Context)
Bug description
Facing strange behavior on NixOS. Flake seems to require rustc 1.95.0, although 1.94.1 is the latest available version. Attaching the step to reproduce and error.
Steps to reproduce
nix build github:PHPantom-dev/phpantom_lsp
Error output or panic trace
.phpantom.toml
Additional context
No response