Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgit2.so.1.7: cannot open shared object file #243

Open
selfagency opened this issue Oct 10, 2023 · 24 comments
Open

libgit2.so.1.7: cannot open shared object file #243

selfagency opened this issue Oct 10, 2023 · 24 comments
Labels

Comments

@selfagency
Copy link

selfagency commented Oct 10, 2023

Same issue as #224 but on WSL instead of MacOS and recompiling doesn't work.

Ubuntu 22.04.3 LTS on Windows 10 x86_64
Kernel 5.15.123.1-microsoft-standard-WSL2
Cargo 1.73.0 (9c4383fb5 2023-08-26)

❯ sudo apt install libgit2-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libgit2-1.1 libhttp-parser-dev libhttp-parser2.9 libmbedcrypto7 libmbedtls-dev libmbedtls14 libmbedx509-1
  libssh2-1-dev
Suggested packages:
  libmbedtls-doc
The following NEW packages will be installed:
  libgit2-1.1 libgit2-dev libhttp-parser-dev libhttp-parser2.9 libmbedcrypto7 libmbedtls-dev libmbedtls14
  libmbedx509-1 libssh2-1-dev
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,465 kB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libhttp-parser2.9 amd64 2.9.4-4 [21.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libmbedcrypto7 amd64 2.28.0-1build1 [204 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libmbedx509-1 amd64 2.28.0-1build1 [47.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libmbedtls14 amd64 2.28.0-1build1 [82.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libgit2-1.1 amd64 1.1.0+dfsg.1-4.1build1 [456 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libmbedtls-dev amd64 2.28.0-1build1 [629 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libssh2-1-dev amd64 1.10.0-3 [243 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libhttp-parser-dev amd64 2.9.4-4 [20.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libgit2-dev amd64 1.1.0+dfsg.1-4.1build1 [762 kB]
Fetched 2,465 kB in 0s (8,167 kB/s)
Selecting previously unselected package libhttp-parser2.9:amd64.
(Reading database ... 95791 files and directories currently installed.)
Preparing to unpack .../0-libhttp-parser2.9_2.9.4-4_amd64.deb ...
Unpacking libhttp-parser2.9:amd64 (2.9.4-4) ...
Selecting previously unselected package libmbedcrypto7:amd64.
Preparing to unpack .../1-libmbedcrypto7_2.28.0-1build1_amd64.deb ...
Unpacking libmbedcrypto7:amd64 (2.28.0-1build1) ...
Selecting previously unselected package libmbedx509-1:amd64.
Preparing to unpack .../2-libmbedx509-1_2.28.0-1build1_amd64.deb ...
Unpacking libmbedx509-1:amd64 (2.28.0-1build1) ...
Selecting previously unselected package libmbedtls14:amd64.
Preparing to unpack .../3-libmbedtls14_2.28.0-1build1_amd64.deb ...
Unpacking libmbedtls14:amd64 (2.28.0-1build1) ...
Selecting previously unselected package libgit2-1.1:amd64.
Preparing to unpack .../4-libgit2-1.1_1.1.0+dfsg.1-4.1build1_amd64.deb ...
Unpacking libgit2-1.1:amd64 (1.1.0+dfsg.1-4.1build1) ...
Selecting previously unselected package libmbedtls-dev:amd64.
Preparing to unpack .../5-libmbedtls-dev_2.28.0-1build1_amd64.deb ...
Unpacking libmbedtls-dev:amd64 (2.28.0-1build1) ...
Selecting previously unselected package libssh2-1-dev:amd64.
Preparing to unpack .../6-libssh2-1-dev_1.10.0-3_amd64.deb ...
Unpacking libssh2-1-dev:amd64 (1.10.0-3) ...
Selecting previously unselected package libhttp-parser-dev.
Preparing to unpack .../7-libhttp-parser-dev_2.9.4-4_amd64.deb ...
Unpacking libhttp-parser-dev (2.9.4-4) ...
Selecting previously unselected package libgit2-dev:amd64.
Preparing to unpack .../8-libgit2-dev_1.1.0+dfsg.1-4.1build1_amd64.deb ...
Unpacking libgit2-dev:amd64 (1.1.0+dfsg.1-4.1build1) ...
Setting up libmbedcrypto7:amd64 (2.28.0-1build1) ...
Setting up libssh2-1-dev:amd64 (1.10.0-3) ...
Setting up libhttp-parser2.9:amd64 (2.9.4-4) ...
Setting up libhttp-parser-dev (2.9.4-4) ...
Setting up libmbedx509-1:amd64 (2.28.0-1build1) ...
Setting up libmbedtls14:amd64 (2.28.0-1build1) ...
Setting up libgit2-1.1:amd64 (1.1.0+dfsg.1-4.1build1) ...
Setting up libmbedtls-dev:amd64 (2.28.0-1build1) ...
Setting up libgit2-dev:amd64 (1.1.0+dfsg.1-4.1build1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.4) ...

❯ ./cargo install -f cargo-update
    Updating crates.io index
  Installing cargo-update v13.1.0
    Updating crates.io index
   Compiling libc v0.2.149
   Compiling pkg-config v0.3.27
   Compiling vcpkg v0.2.15
   Compiling serde v1.0.188
   Compiling semver v1.0.20
   Compiling io-lifetimes v1.0.11
   Compiling rustix v0.37.24
   Compiling tinyvec_macros v0.1.1
   Compiling proc-macro2 v1.0.69
   Compiling bitflags v1.3.2
   Compiling linux-raw-sys v0.3.8
   Compiling unicode-ident v1.0.12
   Compiling tinyvec v1.6.0
   Compiling autocfg v1.1.0
   Compiling memchr v2.6.4
   Compiling indexmap v1.9.3
   Compiling unicode-bidi v0.3.13
   Compiling percent-encoding v2.3.0
   Compiling unicode-normalization v0.1.22
   Compiling form_urlencoded v1.2.0
   Compiling aho-corasick v1.1.2
   Compiling curl v0.4.44
   Compiling openssl-probe v0.1.5
   Compiling os_str_bytes v6.5.1
   Compiling quote v1.0.33
   Compiling idna v0.4.0
   Compiling hashbrown v0.12.3
   Compiling regex-syntax v0.8.0
   Compiling url v2.4.1
   Compiling syn v2.0.38
   Compiling clap_lex v0.2.4
   Compiling termcolor v1.3.0
   Compiling log v0.4.20
   Compiling unicode-width v0.1.11
   Compiling once_cell v1.18.0
   Compiling bitflags v2.4.0
   Compiling strsim v0.10.0
   Compiling tabwriter v1.3.0
   Compiling jobserver v0.1.27
   Compiling regex-automata v0.4.1
   Compiling cc v1.0.83
   Compiling socket2 v0.4.9
   Compiling atty v0.2.14
   Compiling toml v0.5.11
   Compiling rustc_version v0.4.0
   Compiling serde_derive v1.0.188
   Compiling terminal_size v0.2.6
   Compiling lazysort v0.2.1
   Compiling home v0.5.5
   Compiling textwrap v0.16.0
   Compiling hex v0.4.3
   Compiling libz-sys v1.1.12
   Compiling openssl-sys v0.9.93
   Compiling libnghttp2-sys v0.1.8+1.55.1
   Compiling libssh2-sys v0.3.0
   Compiling curl-sys v0.4.67+curl-8.3.0
   Compiling libgit2-sys v0.16.1+1.7.1
   Compiling embed-resource v1.8.0
   Compiling regex v1.10.0
   Compiling cargo-update v13.1.0
   Compiling clap v3.2.25
   Compiling json-deserializer v0.4.4
   Compiling array_tool v1.0.3
   Compiling git2 v0.18.1
    Finished release [optimized] target(s) in 51.38s
   Replacing /home/dsieradski/.cargo/bin/cargo-install-update
   Replacing /home/dsieradski/.cargo/bin/cargo-install-update-config
    Replaced package `cargo-update v13.1.0` with `cargo-update v13.1.0` (executables `cargo-install-update`, `cargo-install-update-config`)

❯ ./cargo-install-update install-update --git --all
./cargo-install-update: error while loading shared libraries: libgit2.so.1.7: cannot open shared object file: No such file or directory
@nabijaczleweli
Copy link
Owner

Please spare me making an ubuntu chroot, what's the linker line (as listed by cargo install -v ...) and find /usr/lib target -name libgit2.*?

@LeifAndersen
Copy link

I seem to be having the same (or a very similar) error, so here is my run:

leif@fem ~/.cargo/bin $ cargo install -v -f cargo-update  
    Updating crates.io index
  Installing cargo-update v13.1.0
    Updating crates.io index
   Compiling libc v0.2.149
   Compiling pkg-config v0.3.27
   Compiling vcpkg v0.2.15
   Compiling serde v1.0.190
   Compiling semver v1.0.20
   Compiling io-lifetimes v1.0.11
   Compiling tinyvec_macros v0.1.1
   Compiling rustix v0.37.27
   Compiling proc-macro2 v1.0.69
   Compiling linux-raw-sys v0.3.8
   Compiling autocfg v1.1.0
   Compiling bitflags v1.3.2
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.149/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=9adab6dbe063a4c4 -C extra-filename=-9adab6dbe063a4c4 --out-dir /tmp/cargo-install1pJjTJ/release/build/libc-9adab6dbe063a4c4 -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name pkg_config /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pkg-config-0.3.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a6962381fee76247 -C extra-filename=-a6962381fee76247 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name vcpkg /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vcpkg-0.2.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ebcbc23bfdf4209b -C extra-filename=-ebcbc23bfdf4209b --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.190/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a9454670a6af29fe -C extra-filename=-a9454670a6af29fe --out-dir /tmp/cargo-install1pJjTJ/release/build/serde-a9454670a6af29fe -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/semver-1.0.20/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' -C metadata=45fa9bf2cdc9664b -C extra-filename=-45fa9bf2cdc9664b --out-dir /tmp/cargo-install1pJjTJ/release/build/semver-45fa9bf2cdc9664b -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/io-lifetimes-1.0.11/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="close"' --cfg 'feature="hermit-abi"' --cfg 'feature="libc"' --cfg 'feature="windows-sys"' -C metadata=97c4deb37e50eda5 -C extra-filename=-97c4deb37e50eda5 --out-dir /tmp/cargo-install1pJjTJ/release/build/io-lifetimes-97c4deb37e50eda5 -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name tinyvec_macros --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tinyvec_macros-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=e26d122fe0cae8b5 -C extra-filename=-e26d122fe0cae8b5 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.27/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="io-lifetimes"' --cfg 'feature="libc"' --cfg 'feature="std"' --cfg 'feature="termios"' --cfg 'feature="use-libc-auxv"' -C metadata=7f229ff04e8be5fe -C extra-filename=-7f229ff04e8be5fe --out-dir /tmp/cargo-install1pJjTJ/release/build/rustix-7f229ff04e8be5fe -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.69/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=1427096048b90dcd -C extra-filename=-1427096048b90dcd --out-dir /tmp/cargo-install1pJjTJ/release/build/proc-macro2-1427096048b90dcd -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name linux_raw_sys --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linux-raw-sys-0.3.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=1941efde8bf40a73 -C extra-filename=-1941efde8bf40a73 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name autocfg /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a2c532781482142a -C extra-filename=-a2c532781482142a --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name bitflags --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=80279c06d3c1f833 -C extra-filename=-80279c06d3c1f833 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling tinyvec v1.6.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name tinyvec --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tinyvec-1.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=399c1fc4eb498412 -C extra-filename=-399c1fc4eb498412 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern tinyvec_macros=/tmp/cargo-install1pJjTJ/release/deps/libtinyvec_macros-e26d122fe0cae8b5.rmeta --cap-lints allow`
   Compiling unicode-ident v1.0.12
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name unicode_ident --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=2b2418fcebeb9167 -C extra-filename=-2b2418fcebeb9167 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling memchr v2.6.4
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name memchr --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c27e2fa70f1dc850 -C extra-filename=-c27e2fa70f1dc850 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling indexmap v1.9.3
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=dfb531bdedd3ccbe -C extra-filename=-dfb531bdedd3ccbe --out-dir /tmp/cargo-install1pJjTJ/release/build/indexmap-dfb531bdedd3ccbe -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern autocfg=/tmp/cargo-install1pJjTJ/release/deps/libautocfg-a2c532781482142a.rlib --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/semver-45fa9bf2cdc9664b/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/serde-a9454670a6af29fe/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/io-lifetimes-97c4deb37e50eda5/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/serde-a9454670a6af29fe/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name serde --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.190/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=76ec9aab5b38d81c -C extra-filename=-76ec9aab5b38d81c --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling percent-encoding v2.3.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name percent_encoding --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/percent-encoding-2.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ba8473863a2ab31d -C extra-filename=-ba8473863a2ab31d --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/rustix-7f229ff04e8be5fe/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/proc-macro2-1427096048b90dcd/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/libc-9adab6dbe063a4c4/build-script-build`
     Running `/tmp/cargo-install1pJjTJ/release/build/libc-9adab6dbe063a4c4/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libc /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.149/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=036020f1ae15bf4f -C extra-filename=-036020f1ae15bf4f --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/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_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name proc_macro2 --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.69/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --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=7769985ffa5e0a4d -C extra-filename=-7769985ffa5e0a4d --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern unicode_ident=/tmp/cargo-install1pJjTJ/release/deps/libunicode_ident-2b2418fcebeb9167.rmeta --cap-lints allow --cfg wrap_proc_macro`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libc /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.149/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=2fefe96d4490f02d -C extra-filename=-2fefe96d4490f02d --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/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_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
   Compiling unicode-bidi v0.3.13
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name unicode_bidi --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-bidi-0.3.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' -C metadata=86420b310df7687d -C extra-filename=-86420b310df7687d --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling form_urlencoded v1.2.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name form_urlencoded --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/form_urlencoded-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c46e2fe9f8aeb7a3 -C extra-filename=-c46e2fe9f8aeb7a3 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern percent_encoding=/tmp/cargo-install1pJjTJ/release/deps/libpercent_encoding-ba8473863a2ab31d.rmeta --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name serde --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.190/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=bfc56b710771fcf7 -C extra-filename=-bfc56b710771fcf7 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/indexmap-dfb531bdedd3ccbe/build-script-build`
   Compiling curl v0.4.44
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/curl-0.4.44/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="http2"' --cfg 'feature="openssl-probe"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssl"' -C metadata=b010e26ccaf2194a -C extra-filename=-b010e26ccaf2194a --out-dir /tmp/cargo-install1pJjTJ/release/build/curl-b010e26ccaf2194a -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling quote v1.0.33
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name quote --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/quote-1.0.33/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --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=276e5f0ab85ff7c5 -C extra-filename=-276e5f0ab85ff7c5 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern proc_macro2=/tmp/cargo-install1pJjTJ/release/deps/libproc_macro2-7769985ffa5e0a4d.rmeta --cap-lints allow`
   Compiling aho-corasick v1.1.2
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name aho_corasick --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/aho-corasick-1.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' -C metadata=049d7560c66faccb -C extra-filename=-049d7560c66faccb --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern memchr=/tmp/cargo-install1pJjTJ/release/deps/libmemchr-c27e2fa70f1dc850.rmeta --cap-lints allow`
   Compiling hashbrown v0.12.3
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name hashbrown --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.12.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="raw"' -C metadata=6d81e7bff2faaca0 -C extra-filename=-6d81e7bff2faaca0 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling unicode-normalization v0.1.22
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name unicode_normalization --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-normalization-0.1.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=c390fa7af9cadba1 -C extra-filename=-c390fa7af9cadba1 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern tinyvec=/tmp/cargo-install1pJjTJ/release/deps/libtinyvec-399c1fc4eb498412.rmeta --cap-lints allow`
   Compiling os_str_bytes v6.6.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name os_str_bytes --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/os_str_bytes-6.6.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="raw_os_str"' -C metadata=7ff95a7bb66a14b6 -C extra-filename=-7ff95a7bb66a14b6 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling openssl-probe v0.1.5
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name openssl_probe /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-probe-0.1.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=4a5efb229ada8050 -C extra-filename=-4a5efb229ada8050 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling regex-syntax v0.8.2
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name regex_syntax --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=ca2fc63a08bab674 -C extra-filename=-ca2fc63a08bab674 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling clap_lex v0.2.4
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name clap_lex --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap_lex-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=7a7b8a139f0308c5 -C extra-filename=-7a7b8a139f0308c5 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern os_str_bytes=/tmp/cargo-install1pJjTJ/release/deps/libos_str_bytes-7ff95a7bb66a14b6.rmeta --cap-lints allow`
   Compiling syn v2.0.38
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.38/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --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="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=591fe6663dd5d428 -C extra-filename=-591fe6663dd5d428 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern proc_macro2=/tmp/cargo-install1pJjTJ/release/deps/libproc_macro2-7769985ffa5e0a4d.rmeta --extern quote=/tmp/cargo-install1pJjTJ/release/deps/libquote-276e5f0ab85ff7c5.rmeta --extern unicode_ident=/tmp/cargo-install1pJjTJ/release/deps/libunicode_ident-2b2418fcebeb9167.rmeta --cap-lints allow`
   Compiling idna v0.4.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name idna --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/idna-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d8ace9b84186546e -C extra-filename=-d8ace9b84186546e --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern unicode_bidi=/tmp/cargo-install1pJjTJ/release/deps/libunicode_bidi-86420b310df7687d.rmeta --extern unicode_normalization=/tmp/cargo-install1pJjTJ/release/deps/libunicode_normalization-c390fa7af9cadba1.rmeta --cap-lints allow`
   Compiling jobserver v0.1.27
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name jobserver --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/jobserver-0.1.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=06471ddb3dbe10cd -C extra-filename=-06471ddb3dbe10cd --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-036020f1ae15bf4f.rmeta --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name io_lifetimes --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/io-lifetimes-1.0.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="close"' --cfg 'feature="hermit-abi"' --cfg 'feature="libc"' --cfg 'feature="windows-sys"' -C metadata=4fe9ac63b9972163 -C extra-filename=-4fe9ac63b9972163 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow --cfg io_safety_is_in_std --cfg panic_in_const_fn`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name rustix --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.37.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="io-lifetimes"' --cfg 'feature="libc"' --cfg 'feature="std"' --cfg 'feature="termios"' --cfg 'feature="use-libc-auxv"' -C metadata=f18451af8a5a3332 -C extra-filename=-f18451af8a5a3332 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern bitflags=/tmp/cargo-install1pJjTJ/release/deps/libbitflags-80279c06d3c1f833.rmeta --extern io_lifetimes=/tmp/cargo-install1pJjTJ/release/deps/libio_lifetimes-4fe9ac63b9972163.rmeta --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern linux_raw_sys=/tmp/cargo-install1pJjTJ/release/deps/liblinux_raw_sys-1941efde8bf40a73.rmeta --cap-lints allow --cfg linux_raw --cfg asm --cfg linux_like --cfg linux_kernel`
   Compiling cc v1.0.83
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name cc --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cc-1.0.83/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="jobserver"' --cfg 'feature="parallel"' -C metadata=3c316ebdde73b0fe -C extra-filename=-3c316ebdde73b0fe --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern jobserver=/tmp/cargo-install1pJjTJ/release/deps/libjobserver-06471ddb3dbe10cd.rmeta --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-036020f1ae15bf4f.rmeta --cap-lints allow`
   Compiling url v2.4.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name url --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/url-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=3293ac84a525a73b -C extra-filename=-3293ac84a525a73b --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern form_urlencoded=/tmp/cargo-install1pJjTJ/release/deps/libform_urlencoded-c46e2fe9f8aeb7a3.rmeta --extern idna=/tmp/cargo-install1pJjTJ/release/deps/libidna-d8ace9b84186546e.rmeta --extern percent_encoding=/tmp/cargo-install1pJjTJ/release/deps/libpercent_encoding-ba8473863a2ab31d.rmeta --cap-lints allow`
   Compiling socket2 v0.4.10
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name socket2 --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/socket2-0.4.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=f8e96658954a24d3 -C extra-filename=-f8e96658954a24d3 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow`
   Compiling atty v0.2.14
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name atty /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/atty-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=bede258b033fe7cc -C extra-filename=-bede258b033fe7cc --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name indexmap --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=8f19830fe629e289 -C extra-filename=-8f19830fe629e289 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern hashbrown=/tmp/cargo-install1pJjTJ/release/deps/libhashbrown-6d81e7bff2faaca0.rmeta --cap-lints allow --cfg has_std`
     Running `/tmp/cargo-install1pJjTJ/release/build/semver-45fa9bf2cdc9664b/build-script-build`
   Compiling unicode-width v0.1.11
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name unicode_width /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/unicode-width-0.1.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=504bcdb32ad0587f -C extra-filename=-504bcdb32ad0587f --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling bitflags v2.4.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name bitflags --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=2edd9aeb9cebea45 -C extra-filename=-2edd9aeb9cebea45 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling once_cell v1.18.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name once_cell --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/once_cell-1.18.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --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=d1afd78e8c78f842 -C extra-filename=-d1afd78e8c78f842 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling terminal_size v0.2.6
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name terminal_size --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/terminal_size-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8195d8c52f948ba2 -C extra-filename=-8195d8c52f948ba2 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern rustix=/tmp/cargo-install1pJjTJ/release/deps/librustix-f18451af8a5a3332.rmeta --cap-lints allow`
   Compiling regex-automata v0.4.3
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name regex_automata --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-automata-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=e8bd920cc8635893 -C extra-filename=-e8bd920cc8635893 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern aho_corasick=/tmp/cargo-install1pJjTJ/release/deps/libaho_corasick-049d7560c66faccb.rmeta --extern memchr=/tmp/cargo-install1pJjTJ/release/deps/libmemchr-c27e2fa70f1dc850.rmeta --extern regex_syntax=/tmp/cargo-install1pJjTJ/release/deps/libregex_syntax-ca2fc63a08bab674.rmeta --cap-lints allow`
   Compiling textwrap v0.16.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name textwrap --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/textwrap-0.16.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="terminal_size"' -C metadata=4166ccd82841f636 -C extra-filename=-4166ccd82841f636 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern terminal_size=/tmp/cargo-install1pJjTJ/release/deps/libterminal_size-8195d8c52f948ba2.rmeta --cap-lints allow`
   Compiling strsim v0.10.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name strsim /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strsim-0.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=a6ebb3acb07eb4a7 -C extra-filename=-a6ebb3acb07eb4a7 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name semver --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/semver-1.0.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' -C metadata=7556f635302f86ec -C extra-filename=-7556f635302f86ec --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-76ec9aab5b38d81c.rmeta --cap-lints allow`
   Compiling libz-sys v1.1.12
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.12/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="libc"' -C metadata=b860d8fc297fd67d -C extra-filename=-b860d8fc297fd67d --out-dir /tmp/cargo-install1pJjTJ/release/build/libz-sys-b860d8fc297fd67d -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --extern pkg_config=/tmp/cargo-install1pJjTJ/release/deps/libpkg_config-a6962381fee76247.rlib --extern vcpkg=/tmp/cargo-install1pJjTJ/release/deps/libvcpkg-ebcbc23bfdf4209b.rlib --cap-lints allow`
   Compiling openssl-sys v0.9.93
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_main --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.93/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=e7f7bb51a929fcd6 -C extra-filename=-e7f7bb51a929fcd6 --out-dir /tmp/cargo-install1pJjTJ/release/build/openssl-sys-e7f7bb51a929fcd6 -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --extern pkg_config=/tmp/cargo-install1pJjTJ/release/deps/libpkg_config-a6962381fee76247.rlib --extern vcpkg=/tmp/cargo-install1pJjTJ/release/deps/libvcpkg-ebcbc23bfdf4209b.rlib --cap-lints allow`
   Compiling libnghttp2-sys v0.1.8+1.55.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libnghttp2-sys-0.1.8+1.55.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=cbb9a8b94798f134 -C extra-filename=-cbb9a8b94798f134 --out-dir /tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-cbb9a8b94798f134 -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --cap-lints allow`
   Compiling libssh2-sys v0.3.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libssh2-sys-0.3.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=f2636ddcbaff0f7c -C extra-filename=-f2636ddcbaff0f7c --out-dir /tmp/cargo-install1pJjTJ/release/build/libssh2-sys-f2636ddcbaff0f7c -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --extern pkg_config=/tmp/cargo-install1pJjTJ/release/deps/libpkg_config-a6962381fee76247.rlib --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/libz-sys-b860d8fc297fd67d/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libz_sys --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-sys-1.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="libc"' -C metadata=2ffafe4d019befd1 -C extra-filename=-2ffafe4d019befd1 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -l z`
   Compiling curl-sys v0.4.68+curl-8.4.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.68+curl-8.4.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="http2"' --cfg 'feature="libnghttp2-sys"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssl"' -C metadata=1b3b894e149718c5 -C extra-filename=-1b3b894e149718c5 --out-dir /tmp/cargo-install1pJjTJ/release/build/curl-sys-1b3b894e149718c5 -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --extern pkg_config=/tmp/cargo-install1pJjTJ/release/deps/libpkg_config-a6962381fee76247.rlib --cap-lints allow`
   Compiling rustc_version v0.4.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name rustc_version --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc_version-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=979d4ea00759df15 -C extra-filename=-979d4ea00759df15 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern semver=/tmp/cargo-install1pJjTJ/release/deps/libsemver-7556f635302f86ec.rmeta --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-cbb9a8b94798f134/build-script-build`
   Compiling libgit2-sys v0.16.1+1.7.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libgit2-sys-0.16.1+1.7.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="https"' --cfg 'feature="libssh2-sys"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssh"' --cfg 'feature="ssh_key_from_memory"' -C metadata=51ab231a6032a6df -C extra-filename=-51ab231a6032a6df --out-dir /tmp/cargo-install1pJjTJ/release/build/libgit2-sys-51ab231a6032a6df -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rlib --extern pkg_config=/tmp/cargo-install1pJjTJ/release/deps/libpkg_config-a6962381fee76247.rlib --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/openssl-sys-e7f7bb51a929fcd6/build-script-main`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name openssl_sys --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.93/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=8a32e88c8f033432 -C extra-filename=-8a32e88c8f033432 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib' -l ssl -l crypto --cfg openssl --cfg 'osslconf="OPENSSL_NO_SSL3_METHOD"' --cfg ossl300 --cfg ossl101 --cfg ossl102 --cfg ossl102f --cfg ossl102h --cfg ossl110 --cfg ossl110f --cfg ossl110g --cfg ossl110h --cfg ossl111 --cfg ossl111b --cfg ossl111c --cfg ossl111d`
     Running `/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-f2636ddcbaff0f7c/build-script-build`
   Compiling toml v0.5.11
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name toml --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/toml-0.5.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=1e123874f7b9396d -C extra-filename=-1e123874f7b9396d --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-76ec9aab5b38d81c.rmeta --cap-lints allow`
   Compiling termcolor v1.3.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name termcolor --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/termcolor-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=1a29f9e5cb316943 -C extra-filename=-1a29f9e5cb316943 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling log v0.4.20
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name log /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=5e28eee689168642 -C extra-filename=-5e28eee689168642 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling clap v3.2.25
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name clap --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clap-3.2.25/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="atty"' --cfg 'feature="cargo"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="env"' --cfg 'feature="once_cell"' --cfg 'feature="std"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="termcolor"' --cfg 'feature="terminal_size"' --cfg 'feature="wrap_help"' -C metadata=40d918266f712421 -C extra-filename=-40d918266f712421 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern atty=/tmp/cargo-install1pJjTJ/release/deps/libatty-bede258b033fe7cc.rmeta --extern bitflags=/tmp/cargo-install1pJjTJ/release/deps/libbitflags-80279c06d3c1f833.rmeta --extern clap_lex=/tmp/cargo-install1pJjTJ/release/deps/libclap_lex-7a7b8a139f0308c5.rmeta --extern indexmap=/tmp/cargo-install1pJjTJ/release/deps/libindexmap-8f19830fe629e289.rmeta --extern once_cell=/tmp/cargo-install1pJjTJ/release/deps/libonce_cell-d1afd78e8c78f842.rmeta --extern strsim=/tmp/cargo-install1pJjTJ/release/deps/libstrsim-a6ebb3acb07eb4a7.rmeta --extern termcolor=/tmp/cargo-install1pJjTJ/release/deps/libtermcolor-1a29f9e5cb316943.rmeta --extern terminal_size=/tmp/cargo-install1pJjTJ/release/deps/libterminal_size-8195d8c52f948ba2.rmeta --extern textwrap=/tmp/cargo-install1pJjTJ/release/deps/libtextwrap-4166ccd82841f636.rmeta --cap-lints allow`
   Compiling serde_derive v1.0.190
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name serde_derive /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_derive-1.0.190/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=ce58f8e8a1c4d0f4 -C extra-filename=-ce58f8e8a1c4d0f4 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern proc_macro2=/tmp/cargo-install1pJjTJ/release/deps/libproc_macro2-7769985ffa5e0a4d.rlib --extern quote=/tmp/cargo-install1pJjTJ/release/deps/libquote-276e5f0ab85ff7c5.rlib --extern syn=/tmp/cargo-install1pJjTJ/release/deps/libsyn-591fe6663dd5d428.rlib --extern proc_macro --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name toml --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/toml-0.5.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=32a2dd12b99ef993 -C extra-filename=-32a2dd12b99ef993 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-bfc56b710771fcf7.rmeta --cap-lints allow`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name semver --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/semver-1.0.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' -C metadata=a69f534876239193 -C extra-filename=-a69f534876239193 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-bfc56b710771fcf7.rmeta --cap-lints allow`
   Compiling tabwriter v1.3.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name tabwriter --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tabwriter-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=a12a2714b900dce4 -C extra-filename=-a12a2714b900dce4 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern unicode_width=/tmp/cargo-install1pJjTJ/release/deps/libunicode_width-504bcdb32ad0587f.rmeta --cap-lints allow`
   Compiling lazysort v0.2.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name lazysort /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lazysort-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=fcc7077d1b6e8cc7 -C extra-filename=-fcc7077d1b6e8cc7 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling hex v0.4.3
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name hex --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hex-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=4f441a2b3d616433 -C extra-filename=-4f441a2b3d616433 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling embed-resource v1.8.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name embed_resource /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embed-resource-1.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=62efbe380dcd2f1a -C extra-filename=-62efbe380dcd2f1a --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern cc=/tmp/cargo-install1pJjTJ/release/deps/libcc-3c316ebdde73b0fe.rmeta --extern rustc_version=/tmp/cargo-install1pJjTJ/release/deps/librustc_version-979d4ea00759df15.rmeta --extern toml=/tmp/cargo-install1pJjTJ/release/deps/libtoml-1e123874f7b9396d.rmeta --cap-lints allow`
   Compiling json-deserializer v0.4.4
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name json_deserializer --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json-deserializer-0.4.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=017330954b7114c7 -C extra-filename=-017330954b7114c7 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling home v0.5.5
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name home --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/home-0.5.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=a03540b18a902546 -C extra-filename=-a03540b18a902546 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling array_tool v1.0.3
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name array_tool /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/array_tool-1.0.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c702641f1ef984f6 -C extra-filename=-c702641f1ef984f6 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --cap-lints allow`
   Compiling regex v1.10.2
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name regex --edition=2021 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/regex-1.10.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=ad96e1dfc7063aa2 -C extra-filename=-ad96e1dfc7063aa2 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern aho_corasick=/tmp/cargo-install1pJjTJ/release/deps/libaho_corasick-049d7560c66faccb.rmeta --extern memchr=/tmp/cargo-install1pJjTJ/release/deps/libmemchr-c27e2fa70f1dc850.rmeta --extern regex_automata=/tmp/cargo-install1pJjTJ/release/deps/libregex_automata-e8bd920cc8635893.rmeta --extern regex_syntax=/tmp/cargo-install1pJjTJ/release/deps/libregex_syntax-ca2fc63a08bab674.rmeta --cap-lints allow`
   Compiling cargo-update v13.1.0
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name build_script_build /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-update-13.1.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=5c17c78a2018383d -C extra-filename=-5c17c78a2018383d --out-dir /tmp/cargo-install1pJjTJ/release/build/cargo-update-5c17c78a2018383d -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern embed_resource=/tmp/cargo-install1pJjTJ/release/deps/libembed_resource-62efbe380dcd2f1a.rlib --cap-lints allow`
     Running `/tmp/cargo-install1pJjTJ/release/build/cargo-update-5c17c78a2018383d/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libssh2_sys /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libssh2-sys-0.3.0/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=54840d8e27fb6903 -C extra-filename=-54840d8e27fb6903 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern libz_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibz_sys-2ffafe4d019befd1.rmeta --extern openssl_sys=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_sys-8a32e88c8f033432.rmeta --cap-lints allow -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build -l static=ssh2 -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib'`
     Running `/tmp/cargo-install1pJjTJ/release/build/libgit2-sys-51ab231a6032a6df/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libgit2_sys --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libgit2-sys-0.16.1+1.7.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="https"' --cfg 'feature="libssh2-sys"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssh"' --cfg 'feature="ssh_key_from_memory"' -C metadata=76c17494d979843c -C extra-filename=-76c17494d979843c --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern libssh2_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibssh2_sys-54840d8e27fb6903.rmeta --extern libz_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibz_sys-2ffafe4d019befd1.rmeta --extern openssl_sys=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_sys-8a32e88c8f033432.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/libgit2/1.7.1/lib -l git2 -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib'`
   Compiling git2 v0.18.1
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name git2 --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/git2-0.18.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="https"' --cfg 'feature="openssl-probe"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssh"' --cfg 'feature="ssh_key_from_memory"' -C metadata=544945495a0b3667 -C extra-filename=-544945495a0b3667 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern bitflags=/tmp/cargo-install1pJjTJ/release/deps/libbitflags-2edd9aeb9cebea45.rmeta --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern libgit2_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibgit2_sys-76c17494d979843c.rmeta --extern log=/tmp/cargo-install1pJjTJ/release/deps/liblog-5e28eee689168642.rmeta --extern openssl_probe=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_probe-4a5efb229ada8050.rmeta --extern openssl_sys=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_sys-8a32e88c8f033432.rmeta --extern url=/tmp/cargo-install1pJjTJ/release/deps/liburl-3293ac84a525a73b.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/libgit2/1.7.1/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib'`
     Running `/tmp/cargo-install1pJjTJ/release/build/curl-sys-1b3b894e149718c5/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name libnghttp2_sys /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libnghttp2-sys-0.1.8+1.55.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=887b36b07eba3afb -C extra-filename=-887b36b07eba3afb --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --cap-lints allow -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -l static=nghttp2`
     Running `/tmp/cargo-install1pJjTJ/release/build/curl-b010e26ccaf2194a/build-script-build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name curl_sys --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/curl-sys-0.4.68+curl-8.4.0/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="http2"' --cfg 'feature="libnghttp2-sys"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssl"' -C metadata=7cb299d23769d549 -C extra-filename=-7cb299d23769d549 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern libnghttp2_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibnghttp2_sys-887b36b07eba3afb.rmeta --extern libz_sys=/tmp/cargo-install1pJjTJ/release/deps/liblibz_sys-2ffafe4d019befd1.rmeta --extern openssl_sys=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_sys-8a32e88c8f033432.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/curl/8.3.0/lib -l curl -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib'`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name curl --edition=2018 /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/curl-0.4.44/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="http2"' --cfg 'feature="openssl-probe"' --cfg 'feature="openssl-sys"' --cfg 'feature="ssl"' -C metadata=06e57ab85be3045b -C extra-filename=-06e57ab85be3045b --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern curl_sys=/tmp/cargo-install1pJjTJ/release/deps/libcurl_sys-7cb299d23769d549.rmeta --extern libc=/tmp/cargo-install1pJjTJ/release/deps/liblibc-2fefe96d4490f02d.rmeta --extern openssl_probe=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_probe-4a5efb229ada8050.rmeta --extern openssl_sys=/tmp/cargo-install1pJjTJ/release/deps/libopenssl_sys-8a32e88c8f033432.rmeta --extern socket2=/tmp/cargo-install1pJjTJ/release/deps/libsocket2-f8e96658954a24d3.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/curl/8.3.0/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib'`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name cargo_update /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-update-13.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=7aa393e849f032db -C extra-filename=-7aa393e849f032db --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern array_tool=/tmp/cargo-install1pJjTJ/release/deps/libarray_tool-c702641f1ef984f6.rmeta --extern clap=/tmp/cargo-install1pJjTJ/release/deps/libclap-40d918266f712421.rmeta --extern curl=/tmp/cargo-install1pJjTJ/release/deps/libcurl-06e57ab85be3045b.rmeta --extern git2=/tmp/cargo-install1pJjTJ/release/deps/libgit2-544945495a0b3667.rmeta --extern hex=/tmp/cargo-install1pJjTJ/release/deps/libhex-4f441a2b3d616433.rmeta --extern home=/tmp/cargo-install1pJjTJ/release/deps/libhome-a03540b18a902546.rmeta --extern json_deserializer=/tmp/cargo-install1pJjTJ/release/deps/libjson_deserializer-017330954b7114c7.rmeta --extern lazysort=/tmp/cargo-install1pJjTJ/release/deps/liblazysort-fcc7077d1b6e8cc7.rmeta --extern once_cell=/tmp/cargo-install1pJjTJ/release/deps/libonce_cell-d1afd78e8c78f842.rmeta --extern regex=/tmp/cargo-install1pJjTJ/release/deps/libregex-ad96e1dfc7063aa2.rmeta --extern semver=/tmp/cargo-install1pJjTJ/release/deps/libsemver-a69f534876239193.rmeta --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-bfc56b710771fcf7.rmeta --extern serde_derive=/tmp/cargo-install1pJjTJ/release/deps/libserde_derive-ce58f8e8a1c4d0f4.so --extern tabwriter=/tmp/cargo-install1pJjTJ/release/deps/libtabwriter-a12a2714b900dce4.rmeta --extern toml=/tmp/cargo-install1pJjTJ/release/deps/libtoml-32a2dd12b99ef993.rmeta --extern url=/tmp/cargo-install1pJjTJ/release/deps/liburl-3293ac84a525a73b.rmeta --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/curl/8.3.0/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib' -L native=/home/linuxbrew/.linuxbrew/Cellar/libgit2/1.7.1/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name cargo_install_update /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-update-13.1.0/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=6bd7abcea38646c9 -C extra-filename=-6bd7abcea38646c9 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern array_tool=/tmp/cargo-install1pJjTJ/release/deps/libarray_tool-c702641f1ef984f6.rlib --extern cargo_update=/tmp/cargo-install1pJjTJ/release/deps/libcargo_update-7aa393e849f032db.rlib --extern clap=/tmp/cargo-install1pJjTJ/release/deps/libclap-40d918266f712421.rlib --extern curl=/tmp/cargo-install1pJjTJ/release/deps/libcurl-06e57ab85be3045b.rlib --extern git2=/tmp/cargo-install1pJjTJ/release/deps/libgit2-544945495a0b3667.rlib --extern hex=/tmp/cargo-install1pJjTJ/release/deps/libhex-4f441a2b3d616433.rlib --extern home=/tmp/cargo-install1pJjTJ/release/deps/libhome-a03540b18a902546.rlib --extern json_deserializer=/tmp/cargo-install1pJjTJ/release/deps/libjson_deserializer-017330954b7114c7.rlib --extern lazysort=/tmp/cargo-install1pJjTJ/release/deps/liblazysort-fcc7077d1b6e8cc7.rlib --extern once_cell=/tmp/cargo-install1pJjTJ/release/deps/libonce_cell-d1afd78e8c78f842.rlib --extern regex=/tmp/cargo-install1pJjTJ/release/deps/libregex-ad96e1dfc7063aa2.rlib --extern semver=/tmp/cargo-install1pJjTJ/release/deps/libsemver-a69f534876239193.rlib --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-bfc56b710771fcf7.rlib --extern serde_derive=/tmp/cargo-install1pJjTJ/release/deps/libserde_derive-ce58f8e8a1c4d0f4.so --extern tabwriter=/tmp/cargo-install1pJjTJ/release/deps/libtabwriter-a12a2714b900dce4.rlib --extern toml=/tmp/cargo-install1pJjTJ/release/deps/libtoml-32a2dd12b99ef993.rlib --extern url=/tmp/cargo-install1pJjTJ/release/deps/liburl-3293ac84a525a73b.rlib --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/curl/8.3.0/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib' -L native=/home/linuxbrew/.linuxbrew/Cellar/libgit2/1.7.1/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build`
     Running `/home/leif/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc --crate-name cargo_install_update_config /home/leif/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-update-13.1.0/src/main-config.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=83 --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=72770d4ec40271b5 -C extra-filename=-72770d4ec40271b5 --out-dir /tmp/cargo-install1pJjTJ/release/deps -L dependency=/tmp/cargo-install1pJjTJ/release/deps --extern array_tool=/tmp/cargo-install1pJjTJ/release/deps/libarray_tool-c702641f1ef984f6.rlib --extern cargo_update=/tmp/cargo-install1pJjTJ/release/deps/libcargo_update-7aa393e849f032db.rlib --extern clap=/tmp/cargo-install1pJjTJ/release/deps/libclap-40d918266f712421.rlib --extern curl=/tmp/cargo-install1pJjTJ/release/deps/libcurl-06e57ab85be3045b.rlib --extern git2=/tmp/cargo-install1pJjTJ/release/deps/libgit2-544945495a0b3667.rlib --extern hex=/tmp/cargo-install1pJjTJ/release/deps/libhex-4f441a2b3d616433.rlib --extern home=/tmp/cargo-install1pJjTJ/release/deps/libhome-a03540b18a902546.rlib --extern json_deserializer=/tmp/cargo-install1pJjTJ/release/deps/libjson_deserializer-017330954b7114c7.rlib --extern lazysort=/tmp/cargo-install1pJjTJ/release/deps/liblazysort-fcc7077d1b6e8cc7.rlib --extern once_cell=/tmp/cargo-install1pJjTJ/release/deps/libonce_cell-d1afd78e8c78f842.rlib --extern regex=/tmp/cargo-install1pJjTJ/release/deps/libregex-ad96e1dfc7063aa2.rlib --extern semver=/tmp/cargo-install1pJjTJ/release/deps/libsemver-a69f534876239193.rlib --extern serde=/tmp/cargo-install1pJjTJ/release/deps/libserde-bfc56b710771fcf7.rlib --extern serde_derive=/tmp/cargo-install1pJjTJ/release/deps/libserde_derive-ce58f8e8a1c4d0f4.so --extern tabwriter=/tmp/cargo-install1pJjTJ/release/deps/libtabwriter-a12a2714b900dce4.rlib --extern toml=/tmp/cargo-install1pJjTJ/release/deps/libtoml-32a2dd12b99ef993.rlib --extern url=/tmp/cargo-install1pJjTJ/release/deps/liburl-3293ac84a525a73b.rlib --cap-lints allow -L native=/home/linuxbrew/.linuxbrew/Cellar/curl/8.3.0/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libnghttp2-sys-4c1f26432a2fce3d/out/i/lib -L native=/home/linuxbrew/.linuxbrew/opt/zlib/lib -L 'native=/home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.1.3/lib' -L native=/home/linuxbrew/.linuxbrew/Cellar/libgit2/1.7.1/lib -L native=/tmp/cargo-install1pJjTJ/release/build/libssh2-sys-cc30c8f9f178f1d3/out/build`
    Finished release [optimized] target(s) in 20.62s
   Replacing /home/leif/.cargo/bin/cargo-install-update
   Replacing /home/leif/.cargo/bin/cargo-install-update-config
    Replaced package `cargo-update v13.1.0` with `cargo-update v13.1.0` (executables `cargo-install-update`, `cargo-install-update-config`)

Also:

leif@fem ~/.cargo/bin $ find /usr/lib/ target -name libgit2.*
/usr/lib/x86_64-linux-gnu/libgit2.so
/usr/lib/x86_64-linux-gnu/libgit2.so.1.1
/usr/lib/x86_64-linux-gnu/libgit2.so.1.1.0
/usr/lib/x86_64-linux-gnu/libgit2.a
/usr/lib/x86_64-linux-gnu/pkgconfig/libgit2.pc
find: ‘target’: No such file or directory

@nabijaczleweli
Copy link
Owner

nabijaczleweli commented Nov 1, 2023

If your binary also ENOENTs libgit2.so.1.7 or something to that effect, then the reason's obvious: your system libgit2 is 1.1.

Conversely, why precisely git2 is trying to run-time link to 1.7, or for that matter, where your linker found 1.7 at all, is mysterious.

find target -name libgit2.\* only does anything if you cargo built from a checkout; git clone --depth 1 https://github.com/nabijaczleweli/cargo-update; cd cargo-update; cargo build; find target -name libgit2.\* should either reveal (a) target/debug/.../libgit2.so.1.7 and unadorned .so or (b) nothing at all.

Both are git2 bugs, but (a) is easy "dont do whatever you're doing to produce a libgit2 for crying out loud" and (b) is continuously mysterious. Where the hell is it finding it? Is this an ubuntoment?

Especially since by default we don't even set vendored-libgit2, so it shouldn't even try to make a non-system libgit2.

@LeifAndersen
Copy link

Oh, it almost certainly found git 1.7 from linuxbrew, why its mixing up the linuxbrew git and the distro's git though is beyond me.

@nabijaczleweli
Copy link
Owner

I don't know what a linuxbrew is supposed to be, but if that's where the 1.7 sover is originating and it isn't supposed to be found by the linker by default (and isn't when linking with just cc -lgit2), then you should probably open an issue against https://github.com/rust-lang/git2-rs. If it is (or the linker finds it), then you need to configure the run-time linker to find it as well. Either way, not innately a cargo-update bug.

@LeifAndersen
Copy link

100% agreed. I highly suspect this is a bug with git2-rs, not this library, and I suspect the OP is in the same boat.

Thanks for helping me debug this btw.

(For the record, my hunch is git2-rs is using whatever pkg-config is in the user's path, which is not what they should be doing, it should be using the pkg-config that cargo is built against, imo anyway.)

@theCollectiv
Copy link

theCollectiv commented Jan 27, 2024

I ran into the same issue somehow:

 >> sudo apt rcargo install-update -a
/home/censored/.cargo/bin/cargo-install-update: error while loading shared libraries: libgit2.so.1.7: cannot open shared object file: No such file or directory

After some search:
Libget2 Version >= 1.7 seems only to be available for Ubuntu 24.04 -> Noble* (Numbat). This version almost nobody uses at this point in time.
For Ubuntu 22.04 Jammy (Jellyfish) only version libg2 Version 1.1 is available in the Ubuntu packages.

This info doesn't solve it. But maybe it helps, if someone runs into the same problem.

@skyfaller
Copy link

skyfaller commented Jan 29, 2024

I also have this problem (with both libgit2 and something similar with openssl). I have installed some packages with Homebrew on Pop OS Linux, and it must be finding git 1.7 from Homebrew.

I am working around it with cargo install cargo-update --force --features vendored-libgit2 --features vendored-openssl

If I try to run cargo install-update without those flags, I get:

> cargo install-update -a
/home/nelson/.cargo/bin/cargo-install-update: error while loading shared libraries: libgit2.so.1.7: cannot open shared object file: No such file or directory

@ziriuz84
Copy link

ziriuz84 commented May 7, 2024

I have the same issue on Arch without Homebrew installed

Pay attention to Homebrew: Often it makes a mess on installed packages

@nabijaczleweli
Copy link
Owner

if just cargo install cargo-update --force doesn't work to fix it, then how's about cargo install cargo-update --force --features vendored-libgit2?

@NobodyXu
Copy link

NobodyXu commented May 8, 2024

Would it makes sense to use gix instead of git2?

@nabijaczleweli
Copy link
Owner

i think it'd make sense to fix git2 imo

@ziriuz84
Copy link

ziriuz84 commented May 8, 2024 via email

@milvusAquila
Copy link

I have the same issue on Arch without Homebrew installed

Pay attention to Homebrew: Often it makes a mess on installed packages

On Arch, I had the same issue (libgit2 is in version 1.8.1 and cargo-update need 1.7) but reinstalling cargo-update with the cargo install -f cargo-update command solve my problem.

@alessandriniluca
Copy link

alessandriniluca commented May 25, 2024

I have the same issue on Arch without Homebrew installed
Pay attention to Homebrew: Often it makes a mess on installed packages

On Arch, I had the same issue (libgit2 is in version 1.8.1 and cargo-update need 1.7) but reinstalling cargo-update with the cargo install -f cargo-update command solve my problem.

Confirm that this is solving the problem on arch linux, thanks a lot @milvusAquila

@thingsiplay
Copy link

I'm on Arch based system with libgit2 version 1.8.1 and just got back into Rust after a while. So I cannot say when this issue became an issue. I thought this was an issue with my NeoVim LazyVim setup and I tried VScode for the first time because of this. Looks like same issue.

if just cargo install cargo-update --force doesn't work to fix it, then how's about cargo install cargo-update --force --features vendored-libgit2?

Tried both and did not help unfortunately.

@nabijaczleweli
Copy link
Owner

What do ldd $(command -v cargo-install-update) and pacman -Q | grep git say?

@thingsiplay
Copy link

I have installed rustup via pacman.

$ rustup --version
rustup 1.27.1 (2024-05-07)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.79.0 (129f3b996 2024-06-10)`

Requested output:

$ ldd $(command -v cargo-install-update)
linux-vdso.so.1 (0x00007ab7d0788000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x00007ab7d0139000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x00007ab7d005f000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007ab7cfa00000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007ab7d0732000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007ab7d0705000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007ab7cff74000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007ab7cf814000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ab7d078a000)
libnghttp3.so.9 => /usr/lib/libnghttp3.so.9 (0x00007ab7d06e0000)
libnghttp2.so.14 => /usr/lib/libnghttp2.so.14 (0x00007ab7cff4a000)
libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007ab7cff28000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0x00007ab7cfedf000)
libpsl.so.5 => /usr/lib/libpsl.so.5 (0x00007ab7d06cc000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007ab7cf7c1000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007ab7cf6e2000)
libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007ab7cfed0000)
libunistring.so.5 => /usr/lib/libunistring.so.5 (0x00007ab7cf532000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007ab7cf46d000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007ab7cf440000)
libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007ab7cf43a000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007ab7cf42c000)
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007ab7cf425000)
libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007ab7cf413000)
libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007ab7cf3f0000)

and

$ pacman -Q | grep git
git 2.45.2-1
kwin-polonium-git 1.0rc.r17.g59f2324-1
lazygit 0.42.0-1
libgit2 1:1.8.1-1
mlocate 0.26.git.20170220-7
xone-dkms-git 0.3.r57.g29ec357-1

additionally a log file

$ cat /tmp/nvim.tuncay/CMBYHZ/0-rust-analyzer.log
2024-07-13T14:34:04.441410Z ERROR rust_analyzer::main_loop: FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to load the project at /home/tuncay/Desktop/supervene/supervene/Cargo.toml: Failed to query rust toolchain version at /home/tuncay/Desktop/supervene/supervene, is your toolchain setup correctly?: cd "/home/tuncay/Desktop/supervene/supervene" && RUSTUP_TOOLCHAIN="/home/tuncay/.rustup/toolchains/stable-x86_64-unknown-linux-gnu" "/home/tuncay/.cargo/bin/cargo" "--version" failed, exit status: 127
stderr:
/home/tuncay/.cargo/bin/cargo: error while loading shared libraries: libgit2.so.1.7: cannot open shared object file: No such file or directory

@nabijaczleweli
Copy link
Owner

aaaaaand here we are. ldd $(command -v cargo) (which is most likely /home/tuncay/.cargo/bin/cargo) will probably tell you that cargo itself is linked to libgit 1.7

@thingsiplay
Copy link

So this is an issue with the Arch repository then?

@nabijaczleweli
Copy link
Owner

it's an issue with "you installed rust from rustup instead of from pacman". but really the issue is "arch ships rustup in pacman". either way, unrelated

@thingsiplay
Copy link

I see, thank you for looking into this. But installing Rust and everything from it is recommended to be installed and managed from Rustup.

The installation described above, via rustup, is the preferred way to install Rust for most developers.

- https://www.rust-lang.org/tools/install

and

The Rustup installation, recommended if you intend to program anything in Rust

- https://wiki.archlinux.org/title/Rust

So I don't see why this is a "me" problem here. So from your reply I gather the information that it is an issue with the Arch repository, if you blame me for installing Rust from Rustup. I understand that you declared this problem as unrelated, so I won't clutter this thread anymore.

@nabijaczleweli
Copy link
Owner

it's not that, it's just that installing rustup from pacman clearly gave you a false sense of security of "i installed distribution rust". you haven't, rustup just downloads a random binary, with all the pitfalls thereof (it will not get updated when the libraries it links to are removed)

@thingsiplay
Copy link

thingsiplay commented Jul 13, 2024

Understood. Uninstalled the rustup package from Arch and installed through official installer script from Rust documentation (usually I don't do this, but Rust is an exception). Looks like it works, as the binary is up to date. Thank you and apologies for polluting this thread with something that is unrelated. Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants