[INFO] fetching crate cfr 0.4.3... [INFO] checking cfr-0.4.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cfr 0.4.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate cfr 0.4.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cfr 0.4.3 [INFO] tweaked toml for crates.io crate cfr 0.4.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cfr 0.4.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cfr 0.4.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dbeb69eefc81f1db5d4eb744bc6fb76452b0dc599124b07f5c6caf9f2b1f969 [INFO] running `Command { std: "docker" "start" "-a" "7dbeb69eefc81f1db5d4eb744bc6fb76452b0dc599124b07f5c6caf9f2b1f969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dbeb69eefc81f1db5d4eb744bc6fb76452b0dc599124b07f5c6caf9f2b1f969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbeb69eefc81f1db5d4eb744bc6fb76452b0dc599124b07f5c6caf9f2b1f969", kill_on_drop: false }` [INFO] [stdout] 7dbeb69eefc81f1db5d4eb744bc6fb76452b0dc599124b07f5c6caf9f2b1f969 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d06e460914357c0542b7a98d5b749399c987939ae8b9e80a2ba430df231989b9 [INFO] running `Command { std: "docker" "start" "-a" "d06e460914357c0542b7a98d5b749399c987939ae8b9e80a2ba430df231989b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking logaddexp v0.1.3 [INFO] [stderr] Checking by_address v1.2.1 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking gambit-parser v0.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking cfr v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 673 | ) -> Result<(Strategies, RegretBound), SolveError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 673 | ) -> Result<(Strategies<'_, I, A>, RegretBound), SolveError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 809 | ) -> Result, StratError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 809 | ) -> Result, StratError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 919 | ) -> Result, StratError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 919 | ) -> Result, StratError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:667:9 [INFO] [stdout] | [INFO] [stdout] 667 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 673 | ) -> Result<(Strategies, RegretBound), SolveError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 673 | ) -> Result<(Strategies<'_, I, A>, RegretBound), SolveError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 809 | ) -> Result, StratError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 809 | ) -> Result, StratError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 919 | ) -> Result, StratError> { [INFO] [stdout] | ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 919 | ) -> Result, StratError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> benches/liars_dice.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | type Combinations = impl Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Combinations` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> benches/liars_dice.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | type Rolls = impl Iterator)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rolls` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> benches/liars_dice.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | type Actions = impl Iterator)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Actions` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/liars_dice.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 24 | type Combinations = impl Iterator; [INFO] [stdout] | ------------------------------------ the expected opaque type [INFO] [stdout] 25 | [INFO] [stdout] 26 | fn combinations(num: u8) -> Combinations { [INFO] [stdout] | --------------- expected `Combinations` because of return type [INFO] [stdout] ... [INFO] [stdout] 33 | / iter::once((vals, prod)).chain(iter::from_fn(move || { [INFO] [stdout] 34 | | inds.pop().map(|i| { [INFO] [stdout] 35 | | prod *= vals[i] as u64; [INFO] [stdout] 36 | | vals[i] -= 1; [INFO] [stdout] ... | [INFO] [stdout] 47 | | }) [INFO] [stdout] 48 | | })) [INFO] [stdout] | |_______^ expected opaque type, found `Chain, FromFn<...>>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `Combinations` [INFO] [stdout] found struct `std::iter::Chain, std::iter::FromFn<{closure@benches/liars_dice.rs:33:50: 33:57}>>` [INFO] [stdout] note: this item must have a `#[define_opaque(Combinations)]` attribute to be able to define hidden types [INFO] [stdout] --> benches/liars_dice.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn combinations(num: u8) -> Combinations { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/liars_dice.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 24 | type Combinations = impl Iterator; [INFO] [stdout] | ------------------------------------ the found opaque type [INFO] [stdout] ... [INFO] [stdout] 51 | type Rolls = impl Iterator)>; [INFO] [stdout] | ------------------------------------- the expected opaque type [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn roll(player_dice: u8) -> Rolls { [INFO] [stdout] | -------- expected `Rolls` because of return type [INFO] [stdout] 54 | / combinations(player_dice).flat_map(move |(one_dice, p_one)| { [INFO] [stdout] 55 | | combinations(player_dice).map(move |(two_dice, p_two)| { [INFO] [stdout] 56 | | ( [INFO] [stdout] 57 | | (p_one * p_two) as f64, [INFO] [stdout] ... | [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | }) [INFO] [stdout] | |______^ expected opaque type, found `FlatMap, ..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `Rolls` [INFO] [stdout] found struct `FlatMap, Map, {closure@benches/liars_dice.rs:55:39: 55:63}>, {closure@benches/liars_dice.rs:54:40: 54:64}>` [INFO] [stdout] note: this item must have a `#[define_opaque(Rolls)]` attribute to be able to define hidden types [INFO] [stdout] --> benches/liars_dice.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn roll(player_dice: u8) -> Rolls { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/liars_dice.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 69 | type Actions = impl Iterator)>; [INFO] [stdout] | ---------------------------------------- the expected opaque type [INFO] [stdout] ... [INFO] [stdout] 72 | fn into_actions(self) -> Actions { [INFO] [stdout] | ---------- expected `Actions` because of return type [INFO] [stdout] ... [INFO] [stdout] 100 | let higher_card_bids = higher_cards.map(move |card| (card, last_num)); [INFO] [stdout] | ----------- one of the found closures [INFO] [stdout] ... [INFO] [stdout] 104 | .flat_map(move |card| higher_nums.clone().map(move |num| (card, num))); [INFO] [stdout] | ----------- ---------- one of the found closures [INFO] [stdout] | | [INFO] [stdout] | one of the found closures [INFO] [stdout] ... [INFO] [stdout] 108 | .map(move |(card, num)| { [INFO] [stdout] | ------------------ one of the found closures [INFO] [stdout] ... [INFO] [stdout] 119 | challenge.into_iter().chain(bid_iter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected opaque type, found `Chain)>, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `Actions` [INFO] [stdout] found struct `Chain)>, Map, ...>>` [INFO] [stdout] note: this item must have a `#[define_opaque(Actions)]` attribute to be able to define hidden types [INFO] [stdout] --> benches/liars_dice.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn into_actions(self) -> Actions { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/liars_dice-cc0c17aa90c2d9f8.long-type-3721161252618365956.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cfr` (bench "liars_dice") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d06e460914357c0542b7a98d5b749399c987939ae8b9e80a2ba430df231989b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d06e460914357c0542b7a98d5b749399c987939ae8b9e80a2ba430df231989b9", kill_on_drop: false }` [INFO] [stdout] d06e460914357c0542b7a98d5b749399c987939ae8b9e80a2ba430df231989b9