[INFO] fetching crate loader-rs 0.7.0... [INFO] checking loader-rs-0.7.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate loader-rs 0.7.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate loader-rs 0.7.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate loader-rs 0.7.0 [INFO] finished tweaking crates.io crate loader-rs 0.7.0 [INFO] tweaked toml for crates.io crate loader-rs 0.7.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 240 packages to latest compatible versions [INFO] [stderr] Adding mockito v0.32.5 (available: v1.6.1) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.9) [INFO] [stderr] Adding test-case v1.2.3 (available: v3.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v1.2.3 [INFO] [stderr] Downloaded mockito v0.32.5 [INFO] [stderr] Downloaded json-trait-rs v0.11.0 [INFO] [stderr] Downloaded cached_proc_macro v0.23.0 [INFO] [stderr] Downloaded join-lazy-fmt v0.9.2 [INFO] [stderr] Downloaded cached v0.54.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19f5cbce72638b82eda28a6529670223c5f16d8a9451df10b1aac3cf43782b55 [INFO] running `Command { std: "docker" "start" "-a" "19f5cbce72638b82eda28a6529670223c5f16d8a9451df10b1aac3cf43782b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19f5cbce72638b82eda28a6529670223c5f16d8a9451df10b1aac3cf43782b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f5cbce72638b82eda28a6529670223c5f16d8a9451df10b1aac3cf43782b55", kill_on_drop: false }` [INFO] [stdout] 19f5cbce72638b82eda28a6529670223c5f16d8a9451df10b1aac3cf43782b55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15b3bfbddd9545888a1ae94e810133941d25e7d299707cb34a34cd5c2ac5b60 [INFO] running `Command { std: "docker" "start" "-a" "b15b3bfbddd9545888a1ae94e810133941d25e7d299707cb34a34cd5c2ac5b60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling test-case v1.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking cached v0.54.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper v0.14.31 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking loader-rs v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking mockito v0.32.5 [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/testing_helpers.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | let mut mocked_request_builder = mockito::mock( [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `P` declared on the function `mock` [INFO] [stdout] ... [INFO] [stdout] 62 | self.http_path.split('#').collect::>().first().unwrap().to_string().as_ref(), [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 59 | let mut mocked_request_builder = mockito::mock::<&T>( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/testing_helpers.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | let mut mocked_request_builder = mockito::mock( [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type of the type parameter `P` declared on the function `mock` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Matcher: From<&_>` found in the `mockito` crate: [INFO] [stdout] - impl From<&Path> for Matcher; [INFO] [stdout] - impl<'a> From<&'a str> for Matcher; [INFO] [stdout] = note: required for `&_` to implement `Into` [INFO] [stdout] note: required by a bound in `mock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/mockito-0.32.5/src/legacy.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn mock>(method: &str, path: P) -> Mock { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `mock` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 59 | let mut mocked_request_builder = mockito::mock::<&T>( [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `MockLoaderRequestBuilderError` [INFO] [stdout] --> src/testing_helpers.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / assert_eq!( [INFO] [stdout] 121 | | MockLoaderRequestBuilder::default().resp_body_file_path(vec!["not-existing"]).build().unwrap_err(), [INFO] [stdout] 122 | | std::io::Error::from_raw_os_error(2).to_string(), [INFO] [stdout] 123 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________MockLoaderRequestBuilderError [INFO] [stdout] | String [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `MockLoaderRequestBuilderError` [INFO] [stdout] --> src/testing_helpers.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, Builder)] [INFO] [stdout] | ^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loader-rs` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b15b3bfbddd9545888a1ae94e810133941d25e7d299707cb34a34cd5c2ac5b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15b3bfbddd9545888a1ae94e810133941d25e7d299707cb34a34cd5c2ac5b60", kill_on_drop: false }` [INFO] [stdout] b15b3bfbddd9545888a1ae94e810133941d25e7d299707cb34a34cd5c2ac5b60