[INFO] fetching crate garage_web 0.9.0...
[INFO] checking garage_web-0.9.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate garage_web 0.9.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate garage_web 0.9.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate garage_web 0.9.0
[INFO] finished tweaking crates.io crate garage_web 0.9.0
[INFO] tweaked toml for crates.io crate garage_web 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 225 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding arrayvec v0.5.2 (latest: v0.7.4)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding dashmap v4.0.2 (latest: v5.5.3)
[INFO] [stderr]       Adding garage_api v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_block v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_db v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_model v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_net v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_rpc v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_table v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_util v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding itertools v0.4.19 (latest: v0.12.1)
[INFO] [stderr]       Adding nix v0.27.1 (latest: v0.28.0)
[INFO] [stderr]       Adding num v0.2.1 (latest: v0.4.2)
[INFO] [stderr]       Adding num-bigint v0.2.6 (latest: v0.4.4)
[INFO] [stderr]       Adding num-complex v0.2.4 (latest: v0.4.5)
[INFO] [stderr]       Adding num-rational v0.2.4 (latest: v0.4.1)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding opentelemetry v0.17.0 (latest: v0.22.0)
[INFO] [stderr]       Adding quick-xml v0.26.0 (latest: v0.31.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded multer v3.0.0
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded http-range v0.1.5
[INFO] [stderr]   Downloaded parse_duration v2.1.1
[INFO] [stderr]   Downloaded h2 v0.4.4
[INFO] [stderr]   Downloaded quick-xml v0.26.0
[INFO] [stderr]   Downloaded garage_model v0.9.4
[INFO] [stderr]   Downloaded garage_api v0.9.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3738c858ec27a88b85bdc3fa19423f4dfec1e604df7faa29d88581373e743637
[INFO] running `Command { std: "docker" "start" "-a" "3738c858ec27a88b85bdc3fa19423f4dfec1e604df7faa29d88581373e743637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3738c858ec27a88b85bdc3fa19423f4dfec1e604df7faa29d88581373e743637", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3738c858ec27a88b85bdc3fa19423f4dfec1e604df7faa29d88581373e743637", kill_on_drop: false }`
[INFO] [stdout] 3738c858ec27a88b85bdc3fa19423f4dfec1e604df7faa29d88581373e743637
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71fd6f4643f1916624196a53baa6542bfd0564eacd40a5653be70b65d057df19
[INFO] running `Command { std: "docker" "start" "-a" "71fd6f4643f1916624196a53baa6542bfd0564eacd40a5653be70b65d057df19", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking winnow v0.6.7
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]    Compiling err-derive v0.3.1
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking no-std-net v0.6.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hexdump v0.1.1
[INFO] [stderr]     Checking pnet_base v0.34.0
[INFO] [stderr]    Compiling garage_util v0.9.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking dashmap v4.0.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking pnet_sys v0.34.0
[INFO] [stderr]     Checking xxhash-rust v0.8.10
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking gethostname v0.4.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking format_table v0.1.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling multer v3.0.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libsodium-sys v0.2.7
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking roxmltree v0.19.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking garage_db v0.9.4
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking parse_duration v2.1.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking async-compression v0.4.9
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking opentelemetry v0.17.0
[INFO] [stderr]     Checking h2 v0.4.4
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking serde_bytes v0.11.14
[INFO] [stderr]     Checking quick-xml v0.26.0
[INFO] [stderr]     Checking toml_edit v0.22.12
[INFO] [stderr]     Checking pnet_datalink v0.34.0
[INFO] [stderr]     Checking toml v0.8.12
[INFO] [stderr]     Checking hyperlocal v0.8.0
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking kuska-sodiumoxide v0.2.5-0
[INFO] [stderr]     Checking kuska-handshake v0.2.0
[INFO] [stderr]     Checking garage_net v0.9.4
[INFO] [stderr]     Checking garage_rpc v0.9.4
[INFO] [stderr]     Checking garage_table v0.9.4
[INFO] [stderr]     Checking garage_block v0.9.4
[INFO] [stderr]     Checking garage_model v0.9.4
[INFO] [stderr]     Checking garage_api v0.9.4
[INFO] [stderr]     Checking garage_web v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |             forwarded_headers::handle_forwarded_for_headers(req.headers())
[INFO] [stdout]     |             ----------------------------------------------- ^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_util-0.9.4/forwarded_headers.rs:7:8
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub fn handle_forwarded_for_headers(headers: &HeaderMap<HeaderValue>) -> Result<String, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |             forwarded_headers::handle_forwarded_for_headers(req.headers())
[INFO] [stdout]     |             ----------------------------------------------- ^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_util-0.9.4/forwarded_headers.rs:7:8
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub fn handle_forwarded_for_headers(headers: &HeaderMap<HeaderValue>) -> Result<String, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CommonError`
[INFO] [stdout]    --> web_server.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             .to_str()?;
[INFO] [stdout]     |                      ^ the trait `From<ToStrError>` is not implemented for `CommonError`, which is required by `Result<Response<Body>, error::Error>: FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <CommonError as From<garage_model::helper::error::Error>>
[INFO] [stdout]               <CommonError as From<garage_util::error::Error>>
[INFO] [stdout]               <CommonError as From<http::error::Error>>
[INFO] [stdout]               <CommonError as From<http::header::value::ToStrError>>
[INFO] [stdout]               <CommonError as From<hyper::error::Error>>
[INFO] [stdout]     = note: required for `garage_api::s3::error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: required for `Result<Response<Body>, error::Error>` to implement `FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CommonError`
[INFO] [stdout]    --> web_server.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             .to_str()?;
[INFO] [stdout]     |                      ^ the trait `From<ToStrError>` is not implemented for `CommonError`, which is required by `Result<Response<Body>, error::Error>: FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <CommonError as From<garage_model::helper::error::Error>>
[INFO] [stdout]               <CommonError as From<garage_util::error::Error>>
[INFO] [stdout]               <CommonError as From<http::error::Error>>
[INFO] [stdout]               <CommonError as From<http::header::value::ToStrError>>
[INFO] [stdout]               <CommonError as From<hyper::error::Error>>
[INFO] [stdout]     = note: required for `garage_api::s3::error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: required for `Result<Response<Body>, error::Error>` to implement `FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:270:23
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^      ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Request<Incoming>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `Request<Incoming>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Request<Incoming>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn handle_options_for_bucket(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:270:23
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^      ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Request<Incoming>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `Request<Incoming>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Request<Incoming>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn handle_options_for_bucket(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                             ^^^^^^^^^^^                           --------- unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:271:53
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                              ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub async fn handle_head(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 271 -             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 271 +             Method::HEAD => handle_head(/* ReqCtx */, /* req */, &key, None).await,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                             ^^^^^^^^^^^                           --------- unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:271:53
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                              ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub async fn handle_head(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 271 -             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 271 +             Method::HEAD => handle_head(/* ReqCtx */, /* req */, &key, None).await,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let ret_doc = match *req.method() {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 270 | |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     | |                                --------------------------------------- this is found to be of type `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout] 271 | |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     | |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Response<Empty<Bytes>>, ...>`, found `Result<Response<...>, ...>`
[INFO] [stdout] 272 | |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 273 | |             _ => Err(ApiError::bad_request("HTTP method not supported")),
[INFO] [stdout] 274 | |         };
[INFO] [stdout]     | |_________- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout]                found enum `Result<http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>, garage_api::s3::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:272:19
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                            ^^^^^^^^^^                           ---------        ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:272:51
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(/* ReqCtx */, /* req */, &key, None, /* GetObjectOverrides */).await,
[INFO] [stdout]     |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let ret_doc = match *req.method() {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 270 | |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     | |                                --------------------------------------- this is found to be of type `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout] 271 | |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     | |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Response<Empty<Bytes>>, ...>`, found `Result<Response<...>, ...>`
[INFO] [stdout] 272 | |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 273 | |             _ => Err(ApiError::bad_request("HTTP method not supported")),
[INFO] [stdout] 274 | |         };
[INFO] [stdout]     | |_________- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout]                found enum `Result<http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>, garage_api::s3::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:272:19
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                            ^^^^^^^^^^                           ---------        ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:272:51
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(/* ReqCtx */, /* req */, &key, None, /* GetObjectOverrides */).await,
[INFO] [stdout]     |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                       ^^^^^^^^^^                             ---------                   ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:316:22
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:316:43
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                                       ^^^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(/* ReqCtx */, /* req */, &error_document, None, /* GetObjectOverrides */).await
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                       ^^^^^^^^^^                             ---------                   ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:316:22
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:316:43
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                                       ^^^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(/* ReqCtx */, /* req */, &error_document, None, /* GetObjectOverrides */).await
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> web_server.rs:334:58
[INFO] [stdout]      |
[INFO] [stdout] 334  | ...                   error_doc.headers_mut().append("X-Garage-Error", v);
[INFO] [stdout]      |                                               ------                   ^ expected `http::header::value::HeaderValue`, found `HeaderValue`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: `HeaderValue` and `http::header::value::HeaderValue` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/value.rs:21:1
[INFO] [stdout]      |
[INFO] [stdout] 21   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::value::HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/value.rs:22:1
[INFO] [stdout]      |
[INFO] [stdout] 22   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:1369:12
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     pub fn append<K>(&mut self, key: K, value: T) -> bool
[INFO] [stdout]      |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         -- ^^^^^^^^^ expected `Response<Body>`, found `Response<BoxBody<Bytes, Error>>`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Response<BoxBody<Bytes, Error>>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Response<BoxBody<Bytes, Error>>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:338:7
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         ^^^---------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:351:25
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^ ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:351:58
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn find_matching_cors_rule<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> web_server.rs:334:58
[INFO] [stdout]      |
[INFO] [stdout] 334  | ...                   error_doc.headers_mut().append("X-Garage-Error", v);
[INFO] [stdout]      |                                               ------                   ^ expected `http::header::value::HeaderValue`, found `HeaderValue`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: `HeaderValue` and `http::header::value::HeaderValue` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/value.rs:21:1
[INFO] [stdout]      |
[INFO] [stdout] 21   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::value::HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/value.rs:22:1
[INFO] [stdout]      |
[INFO] [stdout] 22   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:1369:12
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     pub fn append<K>(&mut self, key: K, value: T) -> bool
[INFO] [stdout]      |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 -- ^^^^ expected `Response<Body>`, found `Response<_>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `http::response::Response<_>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::response::Response<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<_>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 ^^^----^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         -- ^^^^^^^^^ expected `Response<Body>`, found `Response<BoxBody<Bytes, Error>>`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Response<BoxBody<Bytes, Error>>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Response<BoxBody<Bytes, Error>>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:338:7
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         ^^^---------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:351:25
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^ ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:351:58
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn find_matching_cors_rule<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 -- ^^^^ expected `Response<Body>`, found `Response<_>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `http::response::Response<_>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::response::Response<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<_>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 ^^^----^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     .await?
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     .await?
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     .await?;
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     .await?;
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> error.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 35 | /         match self {
[INFO] [stdout] 36 | |             Error::NotFound => StatusCode::NOT_FOUND,
[INFO] [stdout]    | |                                --------------------- this is found to be of type `hyper::StatusCode`
[INFO] [stdout] 37 | |             Error::ApiError(e) => e.http_status_code(),
[INFO] [stdout]    | |                                   ^^^^^^^^^^^^^^^^^^^^ expected `hyper::StatusCode`, found `http::status::StatusCode`
[INFO] [stdout] 38 | |             Error::BadRequest(_) => StatusCode::BAD_REQUEST,
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: `http::status::StatusCode` and `hyper::StatusCode` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::status::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `hyper::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> error.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 35 | /         match self {
[INFO] [stdout] 36 | |             Error::NotFound => StatusCode::NOT_FOUND,
[INFO] [stdout]    | |                                --------------------- this is found to be of type `hyper::StatusCode`
[INFO] [stdout] 37 | |             Error::ApiError(e) => e.http_status_code(),
[INFO] [stdout]    | |                                   ^^^^^^^^^^^^^^^^^^^^ expected `hyper::StatusCode`, found `http::status::StatusCode`
[INFO] [stdout] 38 | |             Error::BadRequest(_) => StatusCode::BAD_REQUEST,
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: `http::status::StatusCode` and `hyper::StatusCode` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::status::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `hyper::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> error.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Error::ApiError(e) => e.add_http_headers(header_map),
[INFO] [stdout]    |                                     ---------------- ^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/generic_server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn add_http_headers(&self, header_map: &mut HeaderMap<HeaderValue>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> error.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Error::ApiError(e) => e.add_http_headers(header_map),
[INFO] [stdout]    |                                     ---------------- ^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/generic_server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn add_http_headers(&self, header_map: &mut HeaderMap<HeaderValue>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `garage_web` (lib) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `garage_web` (lib test) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "71fd6f4643f1916624196a53baa6542bfd0564eacd40a5653be70b65d057df19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71fd6f4643f1916624196a53baa6542bfd0564eacd40a5653be70b65d057df19", kill_on_drop: false }`
[INFO] [stdout] 71fd6f4643f1916624196a53baa6542bfd0564eacd40a5653be70b65d057df19
[INFO] checking garage_web-0.9.0 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate garage_web 0.9.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate garage_web 0.9.0 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate garage_web 0.9.0
[INFO] finished tweaking crates.io crate garage_web 0.9.0
[INFO] tweaked toml for crates.io crate garage_web 0.9.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 225 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding arrayvec v0.5.2 (latest: v0.7.4)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding dashmap v4.0.2 (latest: v5.5.3)
[INFO] [stderr]       Adding garage_api v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_block v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_db v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_model v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_net v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_rpc v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_table v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding garage_util v0.9.4 (latest: v1.0.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding http v0.2.12 (latest: v1.1.0)
[INFO] [stderr]       Adding http-body v0.4.6 (latest: v1.0.0)
[INFO] [stderr]       Adding hyper v0.14.28 (latest: v1.3.1)
[INFO] [stderr]       Adding itertools v0.4.19 (latest: v0.12.1)
[INFO] [stderr]       Adding nix v0.27.1 (latest: v0.28.0)
[INFO] [stderr]       Adding num v0.2.1 (latest: v0.4.2)
[INFO] [stderr]       Adding num-bigint v0.2.6 (latest: v0.4.4)
[INFO] [stderr]       Adding num-complex v0.2.4 (latest: v0.4.5)
[INFO] [stderr]       Adding num-rational v0.2.4 (latest: v0.4.1)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding opentelemetry v0.17.0 (latest: v0.22.0)
[INFO] [stderr]       Adding quick-xml v0.26.0 (latest: v0.31.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 87da9dd3f1a0e853a54cc2c9b2fa527ab79ace141bc13b3fef7e985c5a9432e0
[INFO] running `Command { std: "docker" "start" "-a" "87da9dd3f1a0e853a54cc2c9b2fa527ab79ace141bc13b3fef7e985c5a9432e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "87da9dd3f1a0e853a54cc2c9b2fa527ab79ace141bc13b3fef7e985c5a9432e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87da9dd3f1a0e853a54cc2c9b2fa527ab79ace141bc13b3fef7e985c5a9432e0", kill_on_drop: false }`
[INFO] [stdout] 87da9dd3f1a0e853a54cc2c9b2fa527ab79ace141bc13b3fef7e985c5a9432e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 148ae9ed0df1caf3312c3eb6a0e34adb96db351477b959b471bb981cb4730493
[INFO] running `Command { std: "docker" "start" "-a" "148ae9ed0df1caf3312c3eb6a0e34adb96db351477b959b471bb981cb4730493", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking winnow v0.6.7
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking no-std-net v0.6.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]    Compiling err-derive v0.3.1
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]    Compiling cc v1.0.96
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking hexdump v0.1.1
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]    Compiling garage_util v0.9.4
[INFO] [stderr]     Checking pnet_base v0.34.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]     Checking xxhash-rust v0.8.10
[INFO] [stderr]     Checking rmp v0.8.14
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking pnet_sys v0.34.0
[INFO] [stderr]     Checking dashmap v4.0.2
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking bytesize v1.3.0
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking gethostname v0.4.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking format_table v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling multer v3.0.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking roxmltree v0.19.0
[INFO] [stderr]    Compiling libsodium-sys v0.2.7
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking garage_db v0.9.4
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking parse_duration v2.1.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking async-compression v0.4.9
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking opentelemetry v0.17.0
[INFO] [stderr]     Checking h2 v0.4.4
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking rmp-serde v1.3.0
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking serde_bytes v0.11.14
[INFO] [stderr]     Checking quick-xml v0.26.0
[INFO] [stderr]     Checking pnet_datalink v0.34.0
[INFO] [stderr]     Checking toml_edit v0.22.12
[INFO] [stderr]     Checking hyperlocal v0.8.0
[INFO] [stderr]     Checking toml v0.8.12
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking kuska-sodiumoxide v0.2.5-0
[INFO] [stderr]     Checking kuska-handshake v0.2.0
[INFO] [stderr]     Checking garage_net v0.9.4
[INFO] [stderr]     Checking garage_rpc v0.9.4
[INFO] [stderr]     Checking garage_table v0.9.4
[INFO] [stderr]     Checking garage_block v0.9.4
[INFO] [stderr]     Checking garage_model v0.9.4
[INFO] [stderr]     Checking garage_api v0.9.4
[INFO] [stderr]     Checking garage_web v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |             forwarded_headers::handle_forwarded_for_headers(req.headers())
[INFO] [stdout]     |             ----------------------------------------------- ^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_util-0.9.4/forwarded_headers.rs:7:8
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub fn handle_forwarded_for_headers(headers: &HeaderMap<HeaderValue>) -> Result<String, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |             forwarded_headers::handle_forwarded_for_headers(req.headers())
[INFO] [stdout]     |             ----------------------------------------------- ^^^^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]     |
[INFO] [stdout] 45  | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_util-0.9.4/forwarded_headers.rs:7:8
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub fn handle_forwarded_for_headers(headers: &HeaderMap<HeaderValue>) -> Result<String, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CommonError`
[INFO] [stdout]    --> web_server.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             .to_str()?;
[INFO] [stdout]     |                      ^ the trait `From<ToStrError>` is not implemented for `CommonError`, which is required by `Result<Response<Body>, error::Error>: FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <CommonError as From<garage_model::helper::error::Error>>
[INFO] [stdout]               <CommonError as From<garage_util::error::Error>>
[INFO] [stdout]               <CommonError as From<http::error::Error>>
[INFO] [stdout]               <CommonError as From<http::header::value::ToStrError>>
[INFO] [stdout]               <CommonError as From<hyper::error::Error>>
[INFO] [stdout]     = note: required for `garage_api::s3::error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: required for `Result<Response<Body>, error::Error>` to implement `FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `CommonError`
[INFO] [stdout]    --> web_server.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             .to_str()?;
[INFO] [stdout]     |                      ^ the trait `From<ToStrError>` is not implemented for `CommonError`, which is required by `Result<Response<Body>, error::Error>: FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <CommonError as From<garage_model::helper::error::Error>>
[INFO] [stdout]               <CommonError as From<garage_util::error::Error>>
[INFO] [stdout]               <CommonError as From<http::error::Error>>
[INFO] [stdout]               <CommonError as From<http::header::value::ToStrError>>
[INFO] [stdout]               <CommonError as From<hyper::error::Error>>
[INFO] [stdout]     = note: required for `garage_api::s3::error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `error::Error` to implement `From<ToStrError>`
[INFO] [stdout]     = note: required for `Result<Response<Body>, error::Error>` to implement `FromResidual<Result<Infallible, ToStrError>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:270:23
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^      ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Request<Incoming>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `Request<Incoming>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Request<Incoming>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn handle_options_for_bucket(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:270:23
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^      ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&Request<Incoming>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     |                                                          ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `Request<Incoming>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Request<Incoming>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:151:8
[INFO] [stdout]     |
[INFO] [stdout] 151 | pub fn handle_options_for_bucket(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                             ^^^^^^^^^^^                           --------- unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:271:53
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                              ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub async fn handle_head(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 271 -             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 271 +             Method::HEAD => handle_head(/* ReqCtx */, /* req */, &key, None).await,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 5 arguments were supplied
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                             ^^^^^^^^^^^                           --------- unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:271:32
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:271:53
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                              ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub async fn handle_head(
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 271 -             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 271 +             Method::HEAD => handle_head(/* ReqCtx */, /* req */, &key, None).await,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let ret_doc = match *req.method() {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 270 | |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     | |                                --------------------------------------- this is found to be of type `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout] 271 | |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     | |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Response<Empty<Bytes>>, ...>`, found `Result<Response<...>, ...>`
[INFO] [stdout] 272 | |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 273 | |             _ => Err(ApiError::bad_request("HTTP method not supported")),
[INFO] [stdout] 274 | |         };
[INFO] [stdout]     | |_________- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout]                found enum `Result<http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>, garage_api::s3::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]    --> web_server.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 269 |           let ret_doc = match *req.method() {
[INFO] [stdout]     |  _______________________-
[INFO] [stdout] 270 | |             Method::OPTIONS => handle_options_for_bucket(req, &bucket),
[INFO] [stdout]     | |                                --------------------------------------- this is found to be of type `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout] 271 | |             Method::HEAD => handle_head(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     | |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Response<Empty<Bytes>>, ...>`, found `Result<Response<...>, ...>`
[INFO] [stdout] 272 | |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout] 273 | |             _ => Err(ApiError::bad_request("HTTP method not supported")),
[INFO] [stdout] 274 | |         };
[INFO] [stdout]     | |_________- `match` arms have incompatible types
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<http::response::Response<http_body_util::empty::Empty<hyper::body::Bytes>>, CommonError>`
[INFO] [stdout]                found enum `Result<http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>, garage_api::s3::error::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:272:19
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                            ^^^^^^^^^^                           ---------        ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:272:51
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(/* ReqCtx */, /* req */, &key, None, /* GetObjectOverrides */).await,
[INFO] [stdout]     |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:272:19
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                            ^^^^^^^^^^                           ---------        ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                                 |
[INFO] [stdout]     |                                                                 unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:272:30
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:272:51
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(self.garage.clone(), req, bucket_id, &key, None).await,
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Method::GET => handle_get(/* ReqCtx */, /* req */, &key, None, /* GetObjectOverrides */).await,
[INFO] [stdout]     |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                       ^^^^^^^^^^                             ---------                   ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:316:22
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:316:43
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                                       ^^^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(/* ReqCtx */, /* req */, &error_document, None, /* GetObjectOverrides */).await
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:316:11
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                       ^^^^^^^^^^                             ---------                   ---- an argument of type `GetObjectOverrides` is missing
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              unexpected argument of type `FixedBytes32`
[INFO] [stdout]     |
[INFO] [stdout] note: expected `ReqCtx`, found `Arc<Garage>`
[INFO] [stdout]    --> web_server.rs:316:22
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: expected struct `ReqCtx`
[INFO] [stdout]                found struct `Arc<Garage>`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:316:43
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(self.garage.clone(), &req2, bucket_id, &error_document, None).await
[INFO] [stdout]     |                                                       ^^^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/get.rs:230:14
[INFO] [stdout]     |
[INFO] [stdout] 230 | pub async fn handle_get(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 match handle_get(/* ReqCtx */, /* req */, &error_document, None, /* GetObjectOverrides */).await
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> web_server.rs:334:58
[INFO] [stdout]      |
[INFO] [stdout] 334  | ...                   error_doc.headers_mut().append("X-Garage-Error", v);
[INFO] [stdout]      |                                               ------                   ^ expected `http::header::value::HeaderValue`, found `HeaderValue`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: `HeaderValue` and `http::header::value::HeaderValue` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/value.rs:21:1
[INFO] [stdout]      |
[INFO] [stdout] 21   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::value::HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/value.rs:22:1
[INFO] [stdout]      |
[INFO] [stdout] 22   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:1369:12
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     pub fn append<K>(&mut self, key: K, value: T) -> bool
[INFO] [stdout]      |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> web_server.rs:334:58
[INFO] [stdout]      |
[INFO] [stdout] 334  | ...                   error_doc.headers_mut().append("X-Garage-Error", v);
[INFO] [stdout]      |                                               ------                   ^ expected `http::header::value::HeaderValue`, found `HeaderValue`
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               arguments to this method are incorrect
[INFO] [stdout]      |
[INFO] [stdout]      = note: `HeaderValue` and `http::header::value::HeaderValue` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/value.rs:21:1
[INFO] [stdout]      |
[INFO] [stdout] 21   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::value::HeaderValue` is defined in crate `http`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/value.rs:22:1
[INFO] [stdout]      |
[INFO] [stdout] 22   | pub struct HeaderValue {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:1369:12
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     pub fn append<K>(&mut self, key: K, value: T) -> bool
[INFO] [stdout]      |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         -- ^^^^^^^^^ expected `Response<Body>`, found `Response<BoxBody<Bytes, Error>>`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Response<BoxBody<Bytes, Error>>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Response<BoxBody<Bytes, Error>>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:338:7
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         ^^^---------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         -- ^^^^^^^^^ expected `Response<Body>`, found `Response<BoxBody<Bytes, Error>>`
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Response<BoxBody<Bytes, Error>>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `Response<BoxBody<Bytes, Error>>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<http_body_util::combinators::box_body::BoxBody<hyper::body::Bytes, garage_api::s3::error::Error>>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:338:7
[INFO] [stdout]     |
[INFO] [stdout] 338 |                         Ok(error_doc)
[INFO] [stdout]     |                         ^^^---------^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:351:25
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^ ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:351:58
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn find_matching_cors_rule<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> web_server.rs:351:25
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^ ------- expected `&BucketParams`, found `&Bucket`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&BucketParams`
[INFO] [stdout]                found reference `&garage_model::bucket_table::Bucket`
[INFO] [stdout] note: expected `&Request<_>`, found `&Request<Body>`
[INFO] [stdout]    --> web_server.rs:351:58
[INFO] [stdout]     |
[INFO] [stdout] 351 |                 if let Some(rule) = find_matching_cors_rule(&bucket, req)? {
[INFO] [stdout]     |                                                                      ^^^
[INFO] [stdout]     = note: `hyper::Request<Body>` and `http::request::Request<_>` have similar names, but are actually distinct types
[INFO] [stdout] note: `hyper::Request<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/request.rs:157:1
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::request::Request<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/request.rs:158:1
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Request<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/s3/cors.rs:188:8
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub fn find_matching_cors_rule<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 -- ^^^^ expected `Response<Body>`, found `Response<_>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `http::response::Response<_>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::response::Response<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<_>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 ^^^----^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> web_server.rs:355:8
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 -- ^^^^ expected `Response<Body>`, found `Response<_>`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: `http::response::Response<_>` and `Response<Body>` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::response::Response<_>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/response.rs:180:1
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `Response<Body>` is defined in crate `http`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/response.rs:179:1
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Response<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] help: the type constructed contains `http::response::Response<_>` due to the type of the argument passed
[INFO] [stdout]    --> web_server.rs:355:5
[INFO] [stdout]     |
[INFO] [stdout] 355 |                 Ok(resp)
[INFO] [stdout]     |                 ^^^----^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/core/src/result.rs:506:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     .await?
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 |                     .await?
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     .await?;
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `garage_util::error::Error`
[INFO] [stdout]    --> web_server.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |                     .await?;
[INFO] [stdout]     |                           ^ the trait `From<hyper::Error>` is not implemented for `garage_util::error::Error`, which is required by `Result<(), garage_util::error::Error>: FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <garage_util::error::Error as From<&'a str>>
[INFO] [stdout]               <garage_util::error::Error as From<AcquireError>>
[INFO] [stdout]               <garage_util::error::Error as From<JoinError>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_db::TxError<garage_util::error::Error>>>
[INFO] [stdout]               <garage_util::error::Error as From<garage_net::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::error::Error>>
[INFO] [stdout]               <garage_util::error::Error as From<http::header::value::ToStrError>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: required for `Result<(), garage_util::error::Error>` to implement `FromResidual<Result<Infallible, hyper::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> error.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 35 | /         match self {
[INFO] [stdout] 36 | |             Error::NotFound => StatusCode::NOT_FOUND,
[INFO] [stdout]    | |                                --------------------- this is found to be of type `hyper::StatusCode`
[INFO] [stdout] 37 | |             Error::ApiError(e) => e.http_status_code(),
[INFO] [stdout]    | |                                   ^^^^^^^^^^^^^^^^^^^^ expected `hyper::StatusCode`, found `http::status::StatusCode`
[INFO] [stdout] 38 | |             Error::BadRequest(_) => StatusCode::BAD_REQUEST,
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: `http::status::StatusCode` and `hyper::StatusCode` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::status::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `hyper::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> error.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 35 | /         match self {
[INFO] [stdout] 36 | |             Error::NotFound => StatusCode::NOT_FOUND,
[INFO] [stdout]    | |                                --------------------- this is found to be of type `hyper::StatusCode`
[INFO] [stdout] 37 | |             Error::ApiError(e) => e.http_status_code(),
[INFO] [stdout]    | |                                   ^^^^^^^^^^^^^^^^^^^^ expected `hyper::StatusCode`, found `http::status::StatusCode`
[INFO] [stdout] 38 | |             Error::BadRequest(_) => StatusCode::BAD_REQUEST,
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: `http::status::StatusCode` and `hyper::StatusCode` have similar names, but are actually distinct types
[INFO] [stdout] note: `http::status::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `hyper::StatusCode` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/status.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct StatusCode(NonZeroU16);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> error.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Error::ApiError(e) => e.add_http_headers(header_map),
[INFO] [stdout]    |                                     ---------------- ^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/generic_server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn add_http_headers(&self, header_map: &mut HeaderMap<HeaderValue>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> error.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Error::ApiError(e) => e.add_http_headers(header_map),
[INFO] [stdout]    |                                     ---------------- ^^^^^^^^^^ expected `http::header::map::HeaderMap`, found `HeaderMap`
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeaderMap` and `http::header::map::HeaderMap` have similar names, but are actually distinct types
[INFO] [stdout] note: `HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-0.2.12/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `http::header::map::HeaderMap` is defined in crate `http`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/http-1.1.0/src/header/map.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct HeaderMap<T = HeaderValue> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: perhaps two different versions of crate `http` are being used?
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/garage_api-0.9.4/generic_server.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn add_http_headers(&self, header_map: &mut HeaderMap<HeaderValue>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `garage_web` (lib) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `garage_web` (lib test) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "148ae9ed0df1caf3312c3eb6a0e34adb96db351477b959b471bb981cb4730493", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "148ae9ed0df1caf3312c3eb6a0e34adb96db351477b959b471bb981cb4730493", kill_on_drop: false }`
[INFO] [stdout] 148ae9ed0df1caf3312c3eb6a0e34adb96db351477b959b471bb981cb4730493
