Closed kafji closed 2 years ago
That function has not existed. Do you have a vendored and modified version? Or are using a Cargo patch
or replace
?
@seanmonstar No.
$ cat Cargo.lock
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "bytes"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8"
[[package]]
name = "fnv"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "http"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff8670570af52249509a86f5e3e18a08c60b177071826898fde8997cf5f6bfbb"
dependencies = [
"bytes",
"fnv",
"itoa",
]
[[package]]
name = "itoa"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35"
[[package]]
name = "repro-http"
version = "0.1.0"
dependencies = [
"http",
]
Maybe some .cargo/config
file thing? You can see the source of the crate published doesn't contain the method either: https://docs.rs/http/0.2.7/src/http/extensions.rs.html
Nothing exceptional in my cargo config file.
$ cat ~/.cargo/config.toml
# https://raw.githubusercontent.com/bevyengine/bevy/master/.cargo/config_fast_builds
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang"
rustflags = ["-Clink-arg=-fuse-ld=lld"]
[target.x86_64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/usr/local/bin/zld"]
[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
[net]
git-fetch-with-cli = true
[profile.release]
incremental = true
You can see the source of the crate published doesn't contain the method either
Yeah. I tried building it in different machine and it works. The problem is localized to my machine. Maybe cargo bug. I'll try nuking its cache later.
Thanks for the help and thank you for maintaining this crate.
I can't build crates that depend on http version 0.2.7.
The errors references the
Extension::check
function:What's weird, is that I can't find that function in the trunk, neither in
HEAD
nor inv0.2.7
.