[INFO] fetching crate loader-rs 0.7.0... [INFO] checking loader-rs-0.7.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate loader-rs 0.7.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate loader-rs 0.7.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92bfe738f0cfc2ccdc98544eab0e68e59c9d68d031eb091e1d2b1cf8a37dde84 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "92bfe738f0cfc2ccdc98544eab0e68e59c9d68d031eb091e1d2b1cf8a37dde84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92bfe738f0cfc2ccdc98544eab0e68e59c9d68d031eb091e1d2b1cf8a37dde84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92bfe738f0cfc2ccdc98544eab0e68e59c9d68d031eb091e1d2b1cf8a37dde84", kill_on_drop: false }` [INFO] [stdout] 92bfe738f0cfc2ccdc98544eab0e68e59c9d68d031eb091e1d2b1cf8a37dde84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2154a62bffd0e319e5f846d4a0e9f74e726a6c5c081d698654207855376860c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a2154a62bffd0e319e5f846d4a0e9f74e726a6c5c081d698654207855376860c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling test-case v1.2.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking crc32fast v1.2.2 [INFO] [stderr] Checking encoding_rs v0.8.29 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking async-rwlock v1.3.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.72 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Checking mockito v0.30.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling cached_proc_macro v0.7.1 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking cached v0.26.2 [INFO] [stderr] Checking hyper v0.13.10 [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] [stdout] error: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(incomplete_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(incomplete_features)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused result [INFO] [stdout] --> src/thread_safe_cache.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | self.0.lock().cache_set(key.clone(), value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | unused_results, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `loader-rs` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/testing_helpers.rs:62:88 [INFO] [stdout] | [INFO] [stdout] 62 | self.http_path.split('#').collect::>().first().unwrap().to_string().as_ref(), [INFO] [stdout] | ---------------------------------------------------------------------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [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] [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 for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Matcher: From<&_>` found in the `mockito` crate: [INFO] [stdout] - impl<'a> From<&'a str> for Matcher; [INFO] [stdout] - impl<> From<&Path> for Matcher; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `mock` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mockito-0.30.0/src/lib.rs:657:16 [INFO] [stdout] | [INFO] [stdout] 657 | pub fn mock>(method: &str, path: P) -> Mock { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `mock` [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `MockLoaderRequestBuilderError` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, #[derive(PartialEq)] [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "a2154a62bffd0e319e5f846d4a0e9f74e726a6c5c081d698654207855376860c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2154a62bffd0e319e5f846d4a0e9f74e726a6c5c081d698654207855376860c", kill_on_drop: false }` [INFO] [stdout] a2154a62bffd0e319e5f846d4a0e9f74e726a6c5c081d698654207855376860c