gufolabs / gufo_ping

Gufo Labs Ping is the accelerated Python asyncio IPv4/IPv6 ping implementation.
https://docs.gufolabs.com/gufo_ping/
Other
10 stars 0 forks source link

Installing/Build via pip fails on windows 10 #1

Open Cacsjep opened 1 year ago

Cacsjep commented 1 year ago

Describe the issue:

Install/Build Unable to install via pip, building wheel fails on Windows 10 and python 3.10.7, there is an error when cargo tries to build.

It would also be great if you could creating wheels so that target machines doent need to install a rust compiler. =)

error[E0433]: failed to resolve: could not find unix in os --> src\socket.rs:19:14 | 19 | use std::os::unix::io::AsRawFd; | ^^^^ could not find unix in os

  error[E0599]: no method named `as_raw_fd` found for struct `Socket` in the current scope
     --> src\socket.rs:160:20
      |
  160 |         Ok(self.io.as_raw_fd())
      |                    ^^^^^^^^^ method not found in `Socket`

  Some errors have detailed explanations: E0433, E0599.
  For more information about an error, try `rustc --explain E0433`.
  error: could not compile `gufo_ping` due to 2 previous errors

Reproduce the code example:

pip install gufo-ping

Error message:

Collecting gufo-ping
  Using cached gufo_ping-0.2.2.tar.gz (13 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: gufo-ping
  Building wheel for gufo-ping (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for gufo-ping (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [166 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\gufo
      creating build\lib.win-amd64-cpython-310\gufo\ping
      copying src\gufo\ping\ping.py -> build\lib.win-amd64-cpython-310\gufo\ping
      copying src\gufo\ping\proto.py -> build\lib.win-amd64-cpython-310\gufo\ping
      copying src\gufo\ping\socket.py -> build\lib.win-amd64-cpython-310\gufo\ping
      copying src\gufo\ping\_fast.py -> build\lib.win-amd64-cpython-310\gufo\ping
      copying src\gufo\ping\__init__.py -> build\lib.win-amd64-cpython-310\gufo\ping
      running egg_info
      writing src\gufo_ping.egg-info\PKG-INFO
      writing dependency_links to src\gufo_ping.egg-info\dependency_links.txt
      writing top-level names to src\gufo_ping.egg-info\top_level.txt
      reading manifest file 'src\gufo_ping.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      no previously-included directories found matching '__pycache__'
      warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
      adding license file 'LICENSE.md'
      writing manifest file 'src\gufo_ping.egg-info\SOURCES.txt'
      running build_ext
      running build_rust
      cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylib
          Updating crates.io index
       Downloading crates ...
        Downloaded pyo3-ffi v0.16.6
        Downloaded pyo3-macros v0.16.6
        Downloaded pyo3 v0.16.6
        Downloaded pyo3-macros-backend v0.16.6
        Downloaded unindent v0.1.10
        Downloaded target-lexicon v0.12.5
        Downloaded internet-checksum v0.2.1
        Downloaded indoc v1.0.7
        Downloaded pyo3-build-config v0.16.6
        Downloaded byteorder v1.4.3
        Downloaded coarsetime v0.1.22
        Downloaded parking_lot v0.12.1
        Downloaded once_cell v1.16.0
        Downloaded ppv-lite86 v0.2.17
        Downloaded parking_lot_core v0.9.4
        Downloaded rand_core v0.6.4
        Downloaded lock_api v0.4.9
        Downloaded quote v1.0.21
        Downloaded proc-macro2 v1.0.47
        Downloaded socket2 v0.4.7
        Downloaded smallvec v1.10.0
        Downloaded unicode-ident v1.0.5
        Downloaded syn v1.0.103
        Downloaded getrandom v0.2.8
        Downloaded windows_x86_64_msvc v0.42.0
        Downloaded libc v0.2.137
        Downloaded windows-sys v0.42.0
         Compiling target-lexicon v0.12.5
         Compiling proc-macro2 v1.0.47
         Compiling once_cell v1.16.0
         Compiling cfg-if v1.0.0
         Compiling windows_x86_64_msvc v0.42.0
         Compiling unicode-ident v1.0.5
         Compiling quote v1.0.21
         Compiling autocfg v1.1.0
         Compiling syn v1.0.103
         Compiling libc v0.2.137
         Compiling parking_lot_core v0.9.4
         Compiling winapi v0.3.9
         Compiling scopeguard v1.1.0
         Compiling smallvec v1.10.0
         Compiling ppv-lite86 v0.2.17
         Compiling indoc v1.0.7
         Compiling unindent v0.1.10
         Compiling byteorder v1.4.3
         Compiling internet-checksum v0.2.1
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\target-lexicon-0.12.5\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=df7bd1041d6888b6 -C extra-filename=-df7bd1041d6888b6 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\target-lexicon-df7bd1041d6888b6 -C strip=debuginfo
-L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-1.0.47\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no
-C debug-assertions=off --cfg "feature=\"proc-macro\"" -C metadata=57dacef07bdb12df -C extra-filename=-57dacef07bdb12df --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\proc-macro2-57dacef07bdb12df -C strip=debuginfo -L
dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name once_cell --edition=2021 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\once_cell-1.16.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no
-C debug-assertions=off --cfg "feature=\"alloc\"" --cfg "feature=\"default\"" --cfg "feature=\"race\"" --cfg "feature=\"std\"" -C metadata=e433abcb68ecdee9 -C extra-filename=-e433abcb68ecdee9 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name cfg_if --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\cfg-if-1.0.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=46f4e2f1a5c64e60 -C extra-filename=-46f4e2f1a5c64e60 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a5ac3d49347e59ad -C extra-filename=-a5ac3d49347e59ad --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\windows_x86_64_msvc-a5ac3d49347e59ad -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name unicode_ident --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\unicode-ident-1.0.5\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=180298e7a28e529e -C extra-filename=-180298e7a28e529e --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\quote-1.0.21\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=50af20bc47d4b57d -C extra-filename=-50af20bc47d4b57d --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\quote-50af20bc47d4b57d -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name autocfg C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\autocfg-1.1.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=96fdd0aaa72f2299 -C extra-filename=-96fdd0aaa72f2299 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-1.0.103\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"extra-traits\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=803bd6b3acf20861 -C extra-filename=-803bd6b3acf20861 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\syn-803bd6b3acf20861 -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.137\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=9c58062695df70ad -C extra-filename=-9c58062695df70ad --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\libc-9c58062695df70ad -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\parking_lot_core-0.9.4\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=47b4d46da559d07a -C extra-filename=-47b4d46da559d07a --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\parking_lot_core-47b4d46da559d07a -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name build_script_build C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.9\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"handleapi\"" --cfg "feature=\"ws2ipdef\"" --cfg "feature=\"ws2tcpip\"" -C metadata=7ab3e9b91e76a088 -C extra-filename=-7ab3e9b91e76a088 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\winapi-7ab3e9b91e76a088 -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name internet_checksum --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\internet-checksum-0.2.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=e92ba27312113ca3 -C extra-filename=-e92ba27312113ca3 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name smallvec --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\smallvec-1.10.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=40c853052fe1d032 -C extra-filename=-40c853052fe1d032 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name ppv_lite86 --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\ppv-lite86-0.2.17\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C
embed-bitcode=no --cfg "feature=\"simd\"" --cfg "feature=\"std\"" -C metadata=95be0100e863f26f -C extra-filename=-95be0100e863f26f --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name indoc --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\indoc-1.0.7\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=b74fe25d7a70a56d -C extra-filename=-b74fe25d7a70a56d --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name unindent --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\unindent-0.1.10\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=00aa17b1d63e26ce -C extra-filename=-00aa17b1d63e26ce --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name once_cell --edition=2021 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\once_cell-1.16.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"alloc\"" --cfg "feature=\"default\"" --cfg "feature=\"race\"" --cfg "feature=\"std\"" -C metadata=2ec078e685b359fc -C
extra-filename=-2ec078e685b359fc --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name byteorder --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\byteorder-1.4.3\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=99d3041e6471bc0d -C extra-filename=-99d3041e6471bc0d --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
           Running `rustc --crate-name scopeguard C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\scopeguard-1.1.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=983314624317d6b0 -C extra-filename=-983314624317d6b0 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow`
         Compiling getrandom v0.2.8
           Running `rustc --crate-name getrandom --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\getrandom-0.2.8\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"std\"" -C metadata=64ed2a8c4aff25c5 -C extra-filename=-64ed2a8c4aff25c5 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern cfg_if=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libcfg_if-46f4e2f1a5c64e60.rmeta --cap-lints allow`
         Compiling rand_core v0.6.4
           Running `rustc --crate-name rand_core --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_core-0.6.4\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"alloc\"" --cfg "feature=\"getrandom\"" --cfg "feature=\"std\"" -C metadata=cfa0169a4c9b1e48 -C extra-filename=-cfa0169a4c9b1e48 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern getrandom=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libgetrandom-64ed2a8c4aff25c5.rmeta --cap-lints allow`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\windows_x86_64_msvc-a5ac3d49347e59ad\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\proc-macro2-57dacef07bdb12df\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\parking_lot_core-47b4d46da559d07a\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\quote-50af20bc47d4b57d\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\syn-803bd6b3acf20861\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\libc-9c58062695df70ad\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\winapi-7ab3e9b91e76a088\build-script-build`
         Compiling lock_api v0.4.9
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\lock_api-0.4.9\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a9e9ac18b21587b7 -C extra-filename=-a9e9ac18b21587b7 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\lock_api-a9e9ac18b21587b7 -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern autocfg=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libautocfg-96fdd0aaa72f2299.rlib --cap-lints allow`
           Running `rustc --crate-name proc_macro2 --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\proc-macro2-1.0.47\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"proc-macro\"" -C metadata=844ea1730fb6aeb5 -C extra-filename=-844ea1730fb6aeb5 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern unicode_ident=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libunicode_ident-180298e7a28e529e.rmeta --cap-lints allow --cfg use_proc_macro --cfg wrap_proc_macro`
         Compiling rand_chacha v0.3.1
           Running `rustc --crate-name rand_chacha --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\rand_chacha-0.3.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"std\"" -C metadata=5db8d0ad5786db8b -C extra-filename=-5db8d0ad5786db8b --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern ppv_lite86=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libppv_lite86-95be0100e863f26f.rmeta --extern rand_core=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\librand_core-cfa0169a4c9b1e48.rmeta --cap-lints allow`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\target-lexicon-df7bd1041d6888b6\build-script-build`
           Running `rustc --crate-name windows_x86_64_msvc --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link
-C opt-level=3 -C embed-bitcode=no -C metadata=f746268f82cff7db -C extra-filename=-f746268f82cff7db --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib`
           Running `rustc --crate-name libc C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\libc-0.2.137\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"std\"" -C metadata=d03040ecbf136b5a -C extra-filename=-d03040ecbf136b5a --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
           Running `rustc --crate-name winapi C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\winapi-0.3.9\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"handleapi\"" --cfg "feature=\"ws2ipdef\"" --cfg "feature=\"ws2tcpip\"" -C metadata=e06291e350bf3165 -C extra-filename=-e06291e350bf3165 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow -l dylib=advapi32 -l dylib=cfgmgr32 -l dylib=fwpuclnt -l dylib=kernel32 -l dylib=ntdll -l dylib=user32 -l dylib=ws2_32 --cfg "feature=\"winsock2\"" --cfg "feature=\"reason\"" --cfg "feature=\"ntstatus\"" --cfg "feature=\"basetsd\"" --cfg "feature=\"vcruntime\"" --cfg "feature=\"cfgmgr32\"" --cfg "feature=\"windef\"" --cfg "feature=\"devpropdef\"" --cfg "feature=\"ws2def\"" --cfg "feature=\"processthreadsapi\"" --cfg "feature=\"ntdef\"" --cfg "feature=\"winnt\"" --cfg "feature=\"ktmtypes\"" --cfg "feature=\"qos\"" --cfg "feature=\"cfg\"" --cfg "feature=\"guiddef\"" --cfg "feature=\"fileapi\"" --cfg "feature=\"rpcndr\"" --cfg "feature=\"winreg\"" --cfg "feature=\"in6addr\"" --cfg "feature=\"mstcpip\"" --cfg "feature=\"winbase\"" --cfg "feature=\"libloaderapi\"" --cfg "feature=\"excpt\"" --cfg "feature=\"minwinbase\"" --cfg "feature=\"minwindef\"" --cfg "feature=\"winerror\"" --cfg "feature=\"wtypesbase\"" --cfg "feature=\"vadefs\"" --cfg "feature=\"inaddr\""`
         Compiling windows-sys v0.42.0
           Running `rustc --crate-name windows_sys --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-sys-0.42.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"Win32\"" --cfg "feature=\"Win32_Foundation\"" --cfg "feature=\"Win32_System\"" --cfg "feature=\"Win32_System_LibraryLoader\"" --cfg "feature=\"Win32_System_SystemServices\"" --cfg "feature=\"Win32_System_WindowsProgramming\"" --cfg "feature=\"default\"" -C metadata=d252e2ec2fc4f2a7 -C extra-filename=-d252e2ec2fc4f2a7 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern windows_x86_64_msvc=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libwindows_x86_64_msvc-f746268f82cff7db.rmeta --cap-lints allow -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib`
           Running `rustc --crate-name target_lexicon --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\target-lexicon-0.12.5\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" -C metadata=4cfbac985b257c65 -C extra-filename=-4cfbac985b257c65 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --cap-lints allow --cfg "feature=\"rust_1_40\""`
         Compiling coarsetime v0.1.22
           Running `rustc --crate-name coarsetime --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\coarsetime-0.1.22\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C
embed-bitcode=no -C metadata=1babcddc8d2ffdcc -C extra-filename=-1babcddc8d2ffdcc --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern libc=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\liblibc-d03040ecbf136b5a.rmeta --extern once_cell=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libonce_cell-2ec078e685b359fc.rmeta --cap-lints allow`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\lock_api-a9e9ac18b21587b7\build-script-build`
         Compiling rand v0.8.5
           Running `rustc --crate-name rand --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\rand-0.8.5\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"alloc\"" --cfg "feature=\"default\"" --cfg "feature=\"getrandom\"" --cfg "feature=\"libc\"" --cfg "feature=\"rand_chacha\"" --cfg "feature=\"std\"" --cfg "feature=\"std_rng\"" -C metadata=b68d67503ba43484 -C extra-filename=-b68d67503ba43484 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern rand_chacha=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\librand_chacha-5db8d0ad5786db8b.rmeta --extern rand_core=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\librand_core-cfa0169a4c9b1e48.rmeta --cap-lints allow`
           Running `rustc --crate-name lock_api --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\lock_api-0.4.9\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=023c5df683429784 -C extra-filename=-023c5df683429784 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern scopeguard=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libscopeguard-983314624317d6b0.rmeta --cap-lints allow --cfg has_const_fn_trait_bound`
           Running `rustc --crate-name quote --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\quote-1.0.21\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"proc-macro\"" -C metadata=2c3aa70d12c2ed31 -C extra-filename=-2c3aa70d12c2ed31 --out-dir
C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern proc_macro2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libproc_macro2-844ea1730fb6aeb5.rmeta --cap-lints allow`
         Compiling pyo3-build-config v0.16.6
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-build-config-0.16.6\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" --cfg "feature=\"resolve-config\"" -C metadata=4a0b82c6ebad2f24 -C extra-filename=-4a0b82c6ebad2f24 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-build-config-4a0b82c6ebad2f24 -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern target_lexicon=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libtarget_lexicon-4cfbac985b257c65.rlib --cap-lints allow`
           Running `rustc --crate-name syn --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\syn-1.0.103\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"clone-impls\"" --cfg "feature=\"default\"" --cfg "feature=\"derive\"" --cfg "feature=\"extra-traits\"" --cfg "feature=\"full\"" --cfg "feature=\"parsing\"" --cfg "feature=\"printing\"" --cfg "feature=\"proc-macro\"" --cfg "feature=\"quote\"" -C metadata=16320b1d8645ae7f -C extra-filename=-16320b1d8645ae7f --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern proc_macro2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libproc_macro2-844ea1730fb6aeb5.rmeta --extern quote=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libquote-2c3aa70d12c2ed31.rmeta --extern unicode_ident=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libunicode_ident-180298e7a28e529e.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-build-config-4a0b82c6ebad2f24\build-script-build`
           Running `rustc --crate-name pyo3_build_config --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-build-config-0.16.6\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" --cfg "feature=\"resolve-config\"" -C metadata=331598bb9420fa60 -C extra-filename=-331598bb9420fa60 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern once_cell=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libonce_cell-e433abcb68ecdee9.rmeta --extern target_lexicon=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libtarget_lexicon-4cfbac985b257c65.rmeta --cap-lints allow`
         Compiling pyo3-ffi v0.16.6
         Compiling pyo3 v0.16.6
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-ffi-0.16.6\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C
debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" -C metadata=a688ed655625ec5e -C extra-filename=-a688ed655625ec5e --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-ffi-a688ed655625ec5e -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern pyo3_build_config=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3_build_config-331598bb9420fa60.rlib --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-0.16.6\build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" --cfg "feature=\"indoc\"" --cfg "feature=\"macros\"" --cfg "feature=\"pyo3-macros\"" --cfg "feature=\"pyproto\"" --cfg "feature=\"unindent\"" -C metadata=02f8d8963ed101dc -C extra-filename=-02f8d8963ed101dc --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-02f8d8963ed101dc -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern
pyo3_build_config=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3_build_config-331598bb9420fa60.rlib --cap-lints allow`
           Running `rustc --crate-name parking_lot_core --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\parking_lot_core-0.9.4\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d04b5909ebd8a959 -C extra-filename=-d04b5909ebd8a959 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern cfg_if=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libcfg_if-46f4e2f1a5c64e60.rmeta --extern smallvec=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libsmallvec-40c853052fe1d032.rmeta --extern windows_sys=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libwindows_sys-d252e2ec2fc4f2a7.rmeta --cap-lints allow -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-ffi-a688ed655625ec5e\build-script-build`
           Running `C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\build\pyo3-02f8d8963ed101dc\build-script-build`
           Running `rustc --crate-name pyo3_ffi --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-ffi-0.16.6\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" -C metadata=4e94b4aa996178d0 -C extra-filename=-4e94b4aa996178d0 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern libc=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\liblibc-d03040ecbf136b5a.rmeta --cap-lints allow -L "native=C:\Program Files\Python310\libs" -l pythonXY:python310 --cfg Py_3_6 --cfg Py_3_7 --cfg Py_3_8 --cfg Py_3_9 --cfg Py_3_10 --cfg min_const_generics --cfg addr_of`
         Compiling parking_lot v0.12.1
           Running `rustc --crate-name parking_lot --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\parking_lot-0.12.1\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"default\"" -C metadata=dd317f16d58e1223 -C extra-filename=-dd317f16d58e1223 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern lock_api=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\liblock_api-023c5df683429784.rmeta --extern parking_lot_core=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libparking_lot_core-d04b5909ebd8a959.rmeta --cap-lints allow -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib`
         Compiling socket2 v0.4.7
           Running `rustc --crate-name socket2 --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\socket2-0.4.7\src\lib.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"all\"" -C metadata=9d794d54a14c1bbf -C extra-filename=-9d794d54a14c1bbf --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern winapi=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libwinapi-e06291e350bf3165.rmeta --cap-lints allow`
         Compiling pyo3-macros-backend v0.16.6
           Running `rustc --crate-name pyo3_macros_backend --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-macros-backend-0.16.6\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link
-C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"pyproto\"" -C metadata=3c6fbefc0bb6a7de -C extra-filename=-3c6fbefc0bb6a7de --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern proc_macro2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libproc_macro2-844ea1730fb6aeb5.rmeta --extern quote=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libquote-2c3aa70d12c2ed31.rmeta --extern syn=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libsyn-16320b1d8645ae7f.rmeta --cap-lints allow`
         Compiling pyo3-macros v0.16.6
           Running `rustc --crate-name pyo3_macros --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-macros-0.16.6\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic
-C embed-bitcode=no -C debug-assertions=off --cfg "feature=\"pyproto\"" -C metadata=de792497545cd3b5 -C extra-filename=-de792497545cd3b5 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern proc_macro2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libproc_macro2-844ea1730fb6aeb5.rlib --extern pyo3_macros_backend=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3_macros_backend-3c6fbefc0bb6a7de.rlib --extern quote=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libquote-2c3aa70d12c2ed31.rlib --extern syn=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libsyn-16320b1d8645ae7f.rlib --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name pyo3 --edition=2018 C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\pyo3-0.16.6\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg "feature=\"default\"" --cfg "feature=\"extension-module\"" --cfg "feature=\"indoc\"" --cfg "feature=\"macros\"" --cfg "feature=\"pyo3-macros\"" --cfg "feature=\"pyproto\"" --cfg "feature=\"unindent\"" -C metadata=35a6a95b06831607 -C extra-filename=-35a6a95b06831607 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern cfg_if=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libcfg_if-46f4e2f1a5c64e60.rmeta --extern indoc=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\indoc-b74fe25d7a70a56d.dll --extern libc=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\liblibc-d03040ecbf136b5a.rmeta --extern parking_lot=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libparking_lot-dd317f16d58e1223.rmeta --extern pyo3_ffi=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3_ffi-4e94b4aa996178d0.rmeta --extern pyo3_macros=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\pyo3_macros-de792497545cd3b5.dll --extern unindent=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libunindent-00aa17b1d63e26ce.rmeta --cap-lints allow -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib -L "native=C:\Program Files\Python310\libs" --cfg Py_3_6 --cfg Py_3_7 --cfg Py_3_8 --cfg Py_3_9 --cfg Py_3_10 --cfg min_const_generics --cfg addr_of`
         Compiling gufo_ping v0.2.2 (C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c)
           Running `rustc --crate-name gufo_ping --edition=2021 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --crate-type cdylib -C metadata=25a05c346a6c2313 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern byteorder=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libbyteorder-99d3041e6471bc0d.rlib --extern coarsetime=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libcoarsetime-1babcddc8d2ffdcc.rlib --extern internet_checksum=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libinternet_checksum-e92ba27312113ca3.rlib --extern pyo3=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3-35a6a95b06831607.rlib --extern rand=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\librand-b68d67503ba43484.rlib --extern socket2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libsocket2-9d794d54a14c1bbf.rlib -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib -L "native=C:\Program Files\Python310\libs"`
      error[E0433]: failed to resolve: could not find `unix` in `os`
        --> src\socket.rs:19:14
         |
      19 | use std::os::unix::io::AsRawFd;
         |              ^^^^ could not find `unix` in `os`

      error[E0599]: no method named `as_raw_fd` found for struct `Socket` in the current scope
         --> src\socket.rs:160:20
          |
      160 |         Ok(self.io.as_raw_fd())
          |                    ^^^^^^^^^ method not found in `Socket`

      Some errors have detailed explanations: E0433, E0599.
      For more information about an error, try `rustc --explain E0433`.
      error: could not compile `gufo_ping` due to 2 previous errors

      Caused by:
        process didn't exit successfully: `rustc --crate-name gufo_ping --edition=2021 src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --crate-type cdylib -C metadata=25a05c346a6c2313 --out-dir C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps -C strip=debuginfo -L dependency=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps --extern byteorder=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libbyteorder-99d3041e6471bc0d.rlib --extern coarsetime=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libcoarsetime-1babcddc8d2ffdcc.rlib --extern internet_checksum=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libinternet_checksum-e92ba27312113ca3.rlib --extern pyo3=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libpyo3-35a6a95b06831607.rlib --extern rand=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\librand-b68d67503ba43484.rlib --extern socket2=C:\Users\admin\AppData\Local\Temp\pip-install-gp0t17wt\gufo-ping_dcd19c61947242b2b9b398725b29e43c\target\release\deps\libsocket2-9d794d54a14c1bbf.rlib -L native=C:\Users\admin\.cargo\registry\src\github.com-1ecc6299db9ec823\windows_x86_64_msvc-0.42.0\lib -L "native=C:\Program Files\Python310\libs"` (exit code: 1)
      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path Cargo.toml --release -v --features pyo3/extension-module -- --crate-type cdylib` failed with code 101
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for gufo-ping
Failed to build gufo-ping
ERROR: Could not build wheels for gufo-ping, which is required to install pyproject.toml-based projects

Python version information

3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]

Gufo Ping version information

-

Operation system version

W10 1809

dvolodin7 commented 1 year ago

Windows is not supported still. Need some time to investigation due to the difference in sockets implementation.