[INFO] fetching crate loader-rs 0.7.0... [INFO] checking loader-rs-0.7.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate loader-rs 0.7.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate loader-rs 0.7.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 27266f02f15a8f6ead68737f31b42ea85501043eb8e7a06097852551ca86fe20 [INFO] running `Command { std: "docker" "start" "-a" "27266f02f15a8f6ead68737f31b42ea85501043eb8e7a06097852551ca86fe20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27266f02f15a8f6ead68737f31b42ea85501043eb8e7a06097852551ca86fe20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27266f02f15a8f6ead68737f31b42ea85501043eb8e7a06097852551ca86fe20", kill_on_drop: false }` [INFO] [stdout] 27266f02f15a8f6ead68737f31b42ea85501043eb8e7a06097852551ca86fe20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 869eaf9306b4cb0f642eea1501f629419be3ec98776c21a36e0d2a9a200741f0 [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" "869eaf9306b4cb0f642eea1501f629419be3ec98776c21a36e0d2a9a200741f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking assert-json-diff v2.0.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking mockito v0.30.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling cached_proc_macro v0.6.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 derive_builder_macro v0.10.2 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking cached v0.23.0 [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `loader-rs` due to 2 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: cannot satisfy `String: AsRef<_>` [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 `std::cmp::PartialEq` might be missing for `MockLoaderRequestBuilderError` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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" "869eaf9306b4cb0f642eea1501f629419be3ec98776c21a36e0d2a9a200741f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869eaf9306b4cb0f642eea1501f629419be3ec98776c21a36e0d2a9a200741f0", kill_on_drop: false }` [INFO] [stdout] 869eaf9306b4cb0f642eea1501f629419be3ec98776c21a36e0d2a9a200741f0