[INFO] fetching crate matio-rs 1.3.2... [INFO] checking matio-rs-1.3.2 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate matio-rs 1.3.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate matio-rs 1.3.2 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate matio-rs 1.3.2 [INFO] finished tweaking crates.io crate matio-rs 1.3.2 [INFO] tweaked toml for crates.io crate matio-rs 1.3.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate matio-rs 1.3.2 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78d0b5fd907966b1de4607dd82dd1d27f8bde45b2adb90201e7e4ba5af0c374a [INFO] running `Command { std: "docker" "start" "-a" "78d0b5fd907966b1de4607dd82dd1d27f8bde45b2adb90201e7e4ba5af0c374a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78d0b5fd907966b1de4607dd82dd1d27f8bde45b2adb90201e7e4ba5af0c374a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d0b5fd907966b1de4607dd82dd1d27f8bde45b2adb90201e7e4ba5af0c374a", kill_on_drop: false }` [INFO] [stdout] 78d0b5fd907966b1de4607dd82dd1d27f8bde45b2adb90201e7e4ba5af0c374a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96146bd080adb8538d5244049a6a237bb30921ac32b904253534586e8eb791a2 [INFO] running `Command { std: "docker" "start" "-a" "96146bd080adb8538d5244049a6a237bb30921ac32b904253534586e8eb791a2", 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.79 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling cmake v0.1.49 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling matio-rs_derive v0.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling matio-rs-sys v0.2.3 [INFO] [stderr] Checking matio-rs v1.3.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/datatype.rs (2 fixes) [INFO] [stderr] Migrating examples/mat73.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/maybe.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/derive.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/bin2mat.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/derives.rs from 2021 edition to 2024 [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate [INFO] [stdout] --> examples/derives.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> MayBeFrom<&[SMat]> for Mat<'a> { [INFO] [stdout] | ^^^^^^^^^------------------^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | `Mat` is not defined in the current crate [INFO] [stdout] | this is not defined in the current crate because this is a foreign trait [INFO] [stdout] | [INFO] [stdout] = note: impl doesn't have any local type before any uncovered type parameters [INFO] [stdout] = note: for more information see https://doc.rust-lang.org/reference/items/implementations.html#orphan-rules [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Mat<'_>: MayBeFrom>` is not satisfied [INFO] [stdout] --> examples/derives.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | MatFile::save(&file)?.var("aa", aa)?; [INFO] [stdout] | --- ^^ the trait `MayBeFrom>` is not implemented for `Mat<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `MayBeFrom`: [INFO] [stdout] `Mat<'_>` implements `MayBeFrom<&Nested>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom<&SMat>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom<&Vec>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom<&[SMat]>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom<&[T]>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom>` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom` [INFO] [stdout] `Mat<'_>` implements `MayBeFrom>>>>` [INFO] [stdout] and 3 others [INFO] [stdout] note: required by a bound in `matio_rs::mat::>::var` [INFO] [stdout] --> /tmp/fixit/src/mat.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn var, T>(&self, name: S, data: T) -> Result<&Self> [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] 94 | where [INFO] [stdout] 95 | Mat<'a>: MayBeFrom, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `matio_rs::mat::>::var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matio-rs` (example "derives") due to 2 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "96146bd080adb8538d5244049a6a237bb30921ac32b904253534586e8eb791a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96146bd080adb8538d5244049a6a237bb30921ac32b904253534586e8eb791a2", kill_on_drop: false }` [INFO] [stdout] 96146bd080adb8538d5244049a6a237bb30921ac32b904253534586e8eb791a2