denzyldick / phanalist

Performant static analyzer for PHP, which is extremely easy to use. It helps you catch common mistakes in your PHP code.
https://denzyldick.github.io/phanalist/
MIT License
127 stars 5 forks source link

New release #90

Closed SerheyDolgushev closed 1 month ago

SerheyDolgushev commented 1 month ago

Please note, the x86_64-unknown-linux-gnu release failed because rust installation led to Segmentation fault:

Releasing x86_64-unknown-linux-gnu ...
[+] Building 10.5s (7/10)                                                                                                 docker:desktop-linux
 => [internal] load build definition from x86_64-unknown-linux-gnu                                                                        0.0s
 => => transferring dockerfile: 332B                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                                                          0.4s
 => [internal] load .dockerignore                                                                                                         0.0s
 => => transferring context: 69B                                                                                                          0.0s
 => [1/6] FROM docker.io/library/ubuntu:latest@sha256:2e863c44b718727c860746568e1d54afd13b2fa71b160f5cd9058fc436217b30                    0.0s
 => [internal] load build context                                                                                                         0.1s
 => => transferring context: 4.46MB                                                                                                       0.1s
 => CACHED [2/6] RUN apt-get update && apt-get install -y clang curl                                                                      0.0s
 => ERROR [3/6] RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y                                              10.1s
------                                                                                                                                         
 > [3/6] RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y:                                                          
0.385 info: downloading installer                                                                                                              
1.685 info: profile set to 'default'                                                                                                           
1.685 info: default host triple is x86_64-unknown-linux-gnu                                                                                    
1.688 info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'                                                                      
1.864 info: latest update on 2024-06-13, rust version 1.79.0 (129f3b996 2024-06-10)
1.866 info: downloading component 'cargo'
2.295 info: downloading component 'clippy'
2.421 info: downloading component 'rust-docs'
3.212 info: downloading component 'rust-std'
4.471 info: downloading component 'rustc'
7.744 info: downloading component 'rustfmt'
7.868 info: installing component 'cargo'
8.492 info: installing component 'clippy'
8.734 info: installing component 'rust-docs'
9.060 Segmentation fault
------
x86_64-unknown-linux-gnu:3
--------------------
   1 |     FROM --platform=linux/x86_64 ubuntu:latest
   2 |     RUN apt-get update && apt-get install -y clang curl
   3 | >>> RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
   4 |     WORKDIR /usr/src/phanalist
   5 |     COPY . .
--------------------
ERROR: failed to solve: process "/bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y" did not complete successfully: exit code: 1
SerheyDolgushev commented 1 month ago

Docker update fixed x86_64-unknown-linux-gnu issue.

SerheyDolgushev commented 1 month ago

FYI @denzyldick @Fabccc