[INFO] fetching crate autd3capi-wrapper-generator 18.0.1... [INFO] checking autd3capi-wrapper-generator-18.0.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate autd3capi-wrapper-generator 18.0.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate autd3capi-wrapper-generator 18.0.1 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 crates.io crate autd3capi-wrapper-generator 18.0.1 [INFO] finished tweaking crates.io crate autd3capi-wrapper-generator 18.0.1 [INFO] tweaked toml for crates.io crate autd3capi-wrapper-generator 18.0.1 written to /workspace/builds/worker-3-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 68 packages to latest compatible versions [INFO] [stderr] Adding cargo_metadata v0.18.1 (available: v0.19.0) [INFO] [stderr] Adding cbindgen v0.26.0 (available: v0.27.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2a1b137055300acc7bd253a66fa8813d9cbbdda8389a362402883b6daf7e0690 [INFO] running `Command { std: "docker" "start" "-a" "2a1b137055300acc7bd253a66fa8813d9cbbdda8389a362402883b6daf7e0690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a1b137055300acc7bd253a66fa8813d9cbbdda8389a362402883b6daf7e0690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1b137055300acc7bd253a66fa8813d9cbbdda8389a362402883b6daf7e0690", kill_on_drop: false }` [INFO] [stdout] 2a1b137055300acc7bd253a66fa8813d9cbbdda8389a362402883b6daf7e0690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 830359ce16f3a50968c41b4e47a7b2b3d52cfabb31255c60c4e205a51ce916cb [INFO] running `Command { std: "docker" "start" "-a" "830359ce16f3a50968c41b4e47a7b2b3d52cfabb31255c60c4e205a51ce916cb", 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.92 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking syn v2.0.89 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking csbindgen v1.9.3 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking autd3capi-wrapper-generator v18.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/python.rs (4 fixes) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/python.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | fn write>(self, path: P, crate_name: &str) -> 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 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/python.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | .try_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/python.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | fn write>(self, path: P, crate_name: &str) -> 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 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/python.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | .try_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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking autd3capi-wrapper-generator v18.0.1 (/tmp/fixit) [INFO] [stdout] error[E0277]: a value of type `!` cannot be built from an iterator over elements of type `()` [INFO] [stdout] --> src/python.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | .try_collect()?; [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] = help: the trait `FromIterator>` is implemented for `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 `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `itertools::Itertools::try_collect` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/itertools-0.12.1/src/lib.rs:2226:23 [INFO] [stdout] | [INFO] [stdout] 2223 | fn try_collect(self) -> Result [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2226 | Result: FromIterator>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Itertools::try_collect` [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/python.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | .try_collect()?; [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] = help: the trait `FromIterator>` is implemented for `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 `Result` to implement `FromIterator>` [INFO] [stdout] note: required by a bound in `itertools::Itertools::try_collect` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/itertools-0.12.1/src/lib.rs:2226:23 [INFO] [stdout] | [INFO] [stdout] 2223 | fn try_collect(self) -> Result [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 2226 | Result: FromIterator>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Itertools::try_collect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autd3capi-wrapper-generator` (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 `autd3capi-wrapper-generator` (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" "830359ce16f3a50968c41b4e47a7b2b3d52cfabb31255c60c4e205a51ce916cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830359ce16f3a50968c41b4e47a7b2b3d52cfabb31255c60c4e205a51ce916cb", kill_on_drop: false }` [INFO] [stdout] 830359ce16f3a50968c41b4e47a7b2b3d52cfabb31255c60c4e205a51ce916cb