[INFO] cloning repository https://github.com/dharanad/raft-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dharanad/raft-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharanad%2Fraft-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharanad%2Fraft-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f08240ee28360ae2b4bf99381a83493294c5889 [INFO] checking dharanad/raft-rs/8f08240ee28360ae2b4bf99381a83493294c5889 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharanad%2Fraft-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dharanad/raft-rs on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dharanad/raft-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/dharanad/raft-rs [INFO] tweaked toml for git repo https://github.com/dharanad/raft-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b38ba6ae9271dfdce9f77c189833fab4b81ba1ebc22297edae8ad1d9a1138346 [INFO] running `Command { std: "docker" "start" "-a" "b38ba6ae9271dfdce9f77c189833fab4b81ba1ebc22297edae8ad1d9a1138346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b38ba6ae9271dfdce9f77c189833fab4b81ba1ebc22297edae8ad1d9a1138346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38ba6ae9271dfdce9f77c189833fab4b81ba1ebc22297edae8ad1d9a1138346", kill_on_drop: false }` [INFO] [stdout] b38ba6ae9271dfdce9f77c189833fab4b81ba1ebc22297edae8ad1d9a1138346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ceb4a2d34a3d714fc86023e79062cda85948db7606dbb2ecd5bd9ff9a3f392 [INFO] running `Command { std: "docker" "start" "-a" "44ceb4a2d34a3d714fc86023e79062cda85948db7606dbb2ecd5bd9ff9a3f392", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking raft_rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/server.rs (7 fixes) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/network.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/network.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | .collect::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/network.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/network.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | .collect::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn dependency-on-unit-never-type-fallback` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/simulate_add_node.rs from 2021 edition to 2024 [INFO] [stderr] Fixed examples/simulate_add_node.rs (1 fix) [INFO] [stderr] Migrating examples/simulate_node_failure.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/simple_run.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking raft_rs v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/network.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | .collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `std::result::Result` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `std::result::Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/network.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | .collect::>() [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [INFO] [stdout] = help: the trait `FromIterator>` is implemented for `std::result::Result` [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] = note: required for `std::result::Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/iter/traits/iterator.rs:1967:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft_rs` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raft_rs` (lib test) due to 1 previous error [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "44ceb4a2d34a3d714fc86023e79062cda85948db7606dbb2ecd5bd9ff9a3f392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ceb4a2d34a3d714fc86023e79062cda85948db7606dbb2ecd5bd9ff9a3f392", kill_on_drop: false }` [INFO] [stdout] 44ceb4a2d34a3d714fc86023e79062cda85948db7606dbb2ecd5bd9ff9a3f392