[INFO] fetching crate http-client-2 6.6.3... [INFO] testing http-client-2-6.6.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate http-client-2 6.6.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate http-client-2 6.6.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate http-client-2 6.6.3 [INFO] tweaked toml for crates.io crate http-client-2 6.6.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-client-2 6.6.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate http-client-2 6.6.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24ed096d42ec39279d1176bd96d696416eff1ae3e68963f9a31c579d38ff4085 [INFO] running `Command { std: "docker" "start" "-a" "24ed096d42ec39279d1176bd96d696416eff1ae3e68963f9a31c579d38ff4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24ed096d42ec39279d1176bd96d696416eff1ae3e68963f9a31c579d38ff4085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ed096d42ec39279d1176bd96d696416eff1ae3e68963f9a31c579d38ff4085", kill_on_drop: false }` [INFO] [stdout] 24ed096d42ec39279d1176bd96d696416eff1ae3e68963f9a31c579d38ff4085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfc928796e4afcc325ab97b0f17edd198b5dff18718a796beb2a6da1641da30e [INFO] running `Command { std: "docker" "start" "-a" "cfc928796e4afcc325ab97b0f17edd198b5dff18718a796beb2a6da1641da30e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling cfb v0.7.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling http-types-2 v3.1.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling infer v0.15.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling async-dup v1.2.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling deadpool v0.7.0 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling async-h1-2 v2.4.0 [INFO] [stderr] Compiling http-client-2 v6.6.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "cfc928796e4afcc325ab97b0f17edd198b5dff18718a796beb2a6da1641da30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc928796e4afcc325ab97b0f17edd198b5dff18718a796beb2a6da1641da30e", kill_on_drop: false }` [INFO] [stdout] cfc928796e4afcc325ab97b0f17edd198b5dff18718a796beb2a6da1641da30e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ac3ef531eb39bf6b8c148b243e951ce14ecb896bd8a4b91634b09dba15eb8a [INFO] running `Command { std: "docker" "start" "-a" "44ac3ef531eb39bf6b8c148b243e951ce14ecb896bd8a4b91634b09dba15eb8a", kill_on_drop: false }` [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.4 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling async-rustls v0.2.0 [INFO] [stderr] Compiling tide-rustls v0.3.0 [INFO] [stderr] Compiling http-client-2 v6.6.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_client` [INFO] [stdout] --> examples/print_client_debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_client::h1::H1Client as Client; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_client` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use http_client_2::h1::H1Client as Client; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_client` [INFO] [stdout] --> examples/print_client_debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http_client::HttpClient; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_client` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use http_client_2::HttpClient; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-client-2` (example "print_client_debug") due to 2 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `http_client` [INFO] [stdout] --> tests/test.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use http_client::h1::H1Client as DefaultClient; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_client` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | use http_client_2::h1::H1Client as DefaultClient; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_client` [INFO] [stdout] --> tests/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_client::HttpClient; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `http_client` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 | use http_client_2::HttpClient; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_url` in crate `mockito` [INFO] [stdout] --> tests/test.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | Url::parse(&mockito::server_url()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ not found in `mockito` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_url` in crate `mockito` [INFO] [stdout] --> tests/test.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | Url::parse(&mockito::server_url()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ not found in `mockito` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `mockito::mock` [INFO] [stdout] --> tests/test.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | let _mock_guard = mockito::mock("GET", "/report") [INFO] [stdout] | ^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_url` in crate `mockito` [INFO] [stdout] --> tests/test.rs:147:50 [INFO] [stdout] | [INFO] [stdout] 147 | let url: Url = format!("{}/report", mockito::server_url()).parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `mockito` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_url` in crate `mockito` [INFO] [stdout] --> tests/test.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | let mock_port = &mockito::server_url()[17..]; [INFO] [stdout] | ^^^^^^^^^^ not found in `mockito` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mock` is private [INFO] [stdout] --> tests/test.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use mockito::mock; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mock` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mockito-1.7.0/src/lib.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | mod mock; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `mock` is private [INFO] [stdout] --> tests/test.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let _mock_guard = mockito::mock("GET", "/report") [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `mock` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mockito-1.7.0/src/lib.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 742 | mod mock; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-client-2` (test "test") due to 9 previous errors [INFO] [stdout] error[E0277]: the trait bound `tide::StatusCode: From` is not satisfied [INFO] [stdout] --> src/h1/mod.rs:323:32 [INFO] [stdout] | [INFO] [stdout] 323 | let mut response = tide::Response::new(http_types::StatusCode::Ok); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From` is not implemented for `tide::StatusCode` [INFO] [stdout] | [INFO] [stdout] = help: the trait `TryFrom` is not implemented for `tide::StatusCode` [INFO] [stdout] but trait `TryFrom` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `u16`, found `http_types_2::StatusCode` [INFO] [stdout] = note: required for `http_types_2::StatusCode` to implement `Into` [INFO] [stdout] = note: required for `tide::StatusCode` to implement `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-client-2` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "44ac3ef531eb39bf6b8c148b243e951ce14ecb896bd8a4b91634b09dba15eb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ac3ef531eb39bf6b8c148b243e951ce14ecb896bd8a4b91634b09dba15eb8a", kill_on_drop: false }` [INFO] [stdout] 44ac3ef531eb39bf6b8c148b243e951ce14ecb896bd8a4b91634b09dba15eb8a