[INFO] fetching crate ev3robot 0.3.1... [INFO] checking ev3robot-0.3.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ev3robot 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate ev3robot 0.3.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ev3robot 0.3.1 [INFO] finished tweaking crates.io crate ev3robot 0.3.1 [INFO] tweaked toml for crates.io crate ev3robot 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa45850d2385e6261e356025dd79188f00eccafc3a9a6174c53b3bb8231bd27e [INFO] running `Command { std: "docker" "start" "-a" "fa45850d2385e6261e356025dd79188f00eccafc3a9a6174c53b3bb8231bd27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa45850d2385e6261e356025dd79188f00eccafc3a9a6174c53b3bb8231bd27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa45850d2385e6261e356025dd79188f00eccafc3a9a6174c53b3bb8231bd27e", kill_on_drop: false }` [INFO] [stdout] fa45850d2385e6261e356025dd79188f00eccafc3a9a6174c53b3bb8231bd27e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fb8cb2f3db2ce921c340b0cd1c46ef79b6b4e306f90f516b5323407631972c [INFO] running `Command { std: "docker" "start" "-a" "57fb8cb2f3db2ce921c340b0cd1c46ef79b6b4e306f90f516b5323407631972c", 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] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling ev3robot_macros v0.3.1 [INFO] [stderr] Checking ev3robot v0.3.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/motor/bunch.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn is_running(&mut self) -> anyhow::Result { [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 a future release! [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/motor/bunch.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.exec(|it| it.is_running().map(|b| is_running |= b))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/motor/bunch.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn is_holding(&mut self) -> anyhow::Result { [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 a future release! [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/motor/bunch.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.exec(|it| it.is_holding().map(|b| is_holding |= b))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/motor/bunch.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn is_running(&mut self) -> anyhow::Result { [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 a future release! [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/motor/bunch.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.exec(|it| it.is_running().map(|b| is_running |= b))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/motor/bunch.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn is_holding(&mut self) -> anyhow::Result { [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 a future release! [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/motor/bunch.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.exec(|it| it.is_holding().map(|b| is_holding |= b))?; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ev3robot v0.3.1 (/tmp/fixit) [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/motor/bunch.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.exec(|it| it.is_running().map(|b| is_running |= b))?; [INFO] [stdout] | ^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [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 by a bound in `MotorsBunch::::exec` [INFO] [stdout] --> src/motor/bunch.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn exec<'a, T, U, F>(&'a mut self, f: F) -> anyhow::Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 23 | U: FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `MotorsBunch::::exec` [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/motor/bunch.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.exec(|it| it.is_holding().map(|b| is_holding |= b))?; [INFO] [stdout] | ^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [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 by a bound in `MotorsBunch::::exec` [INFO] [stdout] --> src/motor/bunch.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn exec<'a, T, U, F>(&'a mut self, f: F) -> anyhow::Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 23 | U: FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `MotorsBunch::::exec` [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/motor/bunch.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | self.exec(|it| it.is_running().map(|b| is_running |= b))?; [INFO] [stdout] | ^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [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 by a bound in `MotorsBunch::::exec` [INFO] [stdout] --> src/motor/bunch.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn exec<'a, T, U, F>(&'a mut self, f: F) -> anyhow::Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 23 | U: FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `MotorsBunch::::exec` [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/motor/bunch.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | self.exec(|it| it.is_holding().map(|b| is_holding |= b))?; [INFO] [stdout] | ^^^^ value of type `!` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<()>` is not implemented for `!` [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 by a bound in `MotorsBunch::::exec` [INFO] [stdout] --> src/motor/bunch.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn exec<'a, T, U, F>(&'a mut self, f: F) -> anyhow::Result [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 23 | U: FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `MotorsBunch::::exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ev3robot` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ev3robot` (lib test) due to 3 previous errors [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" "57fb8cb2f3db2ce921c340b0cd1c46ef79b6b4e306f90f516b5323407631972c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fb8cb2f3db2ce921c340b0cd1c46ef79b6b4e306f90f516b5323407631972c", kill_on_drop: false }` [INFO] [stdout] 57fb8cb2f3db2ce921c340b0cd1c46ef79b6b4e306f90f516b5323407631972c