[INFO] fetching crate unleash-client 0.1.3... [INFO] checking unleash-client-0.1.3 against try#52ae2445414b2a196b318d85c2819995c6e5f1aa for pr-133397 [INFO] extracting crate unleash-client 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate unleash-client 0.1.3 on toolchain 52ae2445414b2a196b318d85c2819995c6e5f1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unleash-client 0.1.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate unleash-client 0.1.3 [INFO] tweaked toml for crates.io crate unleash-client 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate unleash-client 0.1.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" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a7d06551a143ee26a612bb2f4144f34df300f847f0cd7a390dd7b1db6565d66 [INFO] running `Command { std: "docker" "start" "-a" "4a7d06551a143ee26a612bb2f4144f34df300f847f0cd7a390dd7b1db6565d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a7d06551a143ee26a612bb2f4144f34df300f847f0cd7a390dd7b1db6565d66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7d06551a143ee26a612bb2f4144f34df300f847f0cd7a390dd7b1db6565d66", kill_on_drop: false }` [INFO] [stdout] 4a7d06551a143ee26a612bb2f4144f34df300f847f0cd7a390dd7b1db6565d66 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128b1fb9b66f534e182c0b13feb148565bd06ddf16f06433f24e5812a1512102 [INFO] running `Command { std: "docker" "start" "-a" "128b1fb9b66f534e182c0b13feb148565bd06ddf16f06433f24e5812a1512102", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.1.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking murmur3 v0.5.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking unleash-types v0.12.0 [INFO] [stderr] Checking unleash-yggdrasil v0.12.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/strategy_parsing.rs:510:23 [INFO] [stdout] | [INFO] [stdout] 510 | Ok(Box::new(move |context| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 511 | context [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 510 | Ok(Box::new(move |context: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/strategy_parsing.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(Box::new(move |context| { [INFO] [stdout] | ________^ [INFO] [stdout] 443 | | if let Some(context_value) = context_getter(context) { [INFO] [stdout] 444 | | if let Ok(context_ip) = context_value.parse::() { [INFO] [stdout] 445 | | return ip_list.iter().any(|range| range.contains(context_ip)); [INFO] [stdout] ... | [INFO] [stdout] 448 | | false [INFO] [stdout] 449 | | })) [INFO] [stdout] | |______^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `FnOnce<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/strategy_parsing.rs:442:8 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(Box::new(move |context| { [INFO] [stdout] | ________^ [INFO] [stdout] 443 | | if let Some(context_value) = context_getter(context) { [INFO] [stdout] 444 | | if let Ok(context_ip) = context_value.parse::() { [INFO] [stdout] 445 | | return ip_list.iter().any(|range| range.contains(context_ip)); [INFO] [stdout] ... | [INFO] [stdout] 448 | | false [INFO] [stdout] 449 | | })) [INFO] [stdout] | |______^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `Fn<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/lib.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | compiled_strategy: Box::new(|_| true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `FnOnce<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/lib.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | compiled_strategy: Box::new(|_| true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `Fn<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `FnOnce` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/lib.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | Box::new(|_| false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ implementation of `FnOnce` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `FnOnce<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `FnOnce<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implementation of `Fn` is not general enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/unleash-yggdrasil-0.12.0/src/lib.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | Box::new(|_| false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ implementation of `Fn` is not general enough [INFO] [stdout] | [INFO] [stdout] = note: closure with signature `fn(&'2 EnrichedContext) -> bool` must implement `Fn<(&'1 EnrichedContext,)>`, for any lifetime `'1`... [INFO] [stdout] = note: ...but it actually implements `Fn<(&'2 EnrichedContext,)>`, for some specific lifetime `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unleash-yggdrasil` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "128b1fb9b66f534e182c0b13feb148565bd06ddf16f06433f24e5812a1512102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128b1fb9b66f534e182c0b13feb148565bd06ddf16f06433f24e5812a1512102", kill_on_drop: false }` [INFO] [stdout] 128b1fb9b66f534e182c0b13feb148565bd06ddf16f06433f24e5812a1512102