[INFO] fetching crate safer-ffi 0.1.13... [INFO] checking safer-ffi-0.1.13 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate safer-ffi 0.1.13 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate safer-ffi 0.1.13 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate safer-ffi 0.1.13 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate safer-ffi 0.1.13 [INFO] tweaked toml for crates.io crate safer-ffi 0.1.13 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding macro_rules_attribute v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding uninit v0.5.1 (available: v0.6.2) [INFO] [stderr] Adding with_builtin_macros v0.0.3 (available: v0.1.0) [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] a7da0e35b09c233a8efda35d98e26564016c49ad368927079ce6fb8ff4e307fd [INFO] running `Command { std: "docker" "start" "-a" "a7da0e35b09c233a8efda35d98e26564016c49ad368927079ce6fb8ff4e307fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7da0e35b09c233a8efda35d98e26564016c49ad368927079ce6fb8ff4e307fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7da0e35b09c233a8efda35d98e26564016c49ad368927079ce6fb8ff4e307fd", kill_on_drop: false }` [INFO] [stdout] a7da0e35b09c233a8efda35d98e26564016c49ad368927079ce6fb8ff4e307fd [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] edc22d6466963c6fa83cc540b39e08d270143590350757b57c8f310c4ee5018c [INFO] running `Command { std: "docker" "start" "-a" "edc22d6466963c6fa83cc540b39e08d270143590350757b57c8f310c4ee5018c", 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.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling safer-ffi v0.1.13 (/tmp/fixit) [INFO] [stderr] Checking extern-c v0.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unwind_safe v0.1.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ext-trait-proc_macros v1.0.1 [INFO] [stderr] Compiling with_builtin_macros-proc_macros v0.0.3 [INFO] [stderr] Compiling safer_ffi-proc_macros v0.1.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ext-trait v1.0.1 [INFO] [stderr] Checking extension-traits v1.0.1 [INFO] [stderr] Checking uninit v0.5.1 [INFO] [stderr] Checking with_builtin_macros v0.0.3 [INFO] [stderr] Migrating src/_lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/utils/_mod.rs (1 fix) [INFO] [stderr] Fixed src/layout/macros.rs (3 fixes) [INFO] [stderr] Fixed src/layout/impls.rs (1 fix) [INFO] [stderr] Fixed src/closure/borrowed.rs (1 fix) [INFO] [stderr] Fixed src/ptr.rs (3 fixes) [INFO] [stderr] Fixed src/utils/macros.rs (1 fix) [INFO] [stderr] Fixed src/layout/niche.rs (1 fix) [INFO] [stderr] Fixed src/closure/arc.rs (3 fixes) [INFO] [stderr] Fixed src/bytes.rs (5 fixes) [INFO] [stderr] Fixed src/layout/_mod.rs (2 fixes) [INFO] [stderr] Fixed src/_lib.rs (1 fix) [INFO] [stderr] Migrating tests/layout_macros.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/layout_macros.rs (3 fixes) [INFO] [stderr] Migrating tests/dyn_traits.rs from 2021 edition to 2024 [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive_ReprC(dyn)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[::safer_ffi::derive_ReprC]`: expected `rename` or `js` [INFO] [stdout] --> tests/dyn_traits.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive_ReprC(dyn, Clone)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FfiFnMut` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | impl FfiFnMut for T { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | fn call (mut f: VirtualPtr) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FfiFnMut` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn call (mut f: VirtualPtr) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn _example<'r, T : 'r + Example> (owned: T, r: &'r T, m: &'r mut T) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | let m: VirtualPtr = m.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `safer-ffi` (test "dyn_traits") due to 23 previous errors [INFO] [stdout] error[E0405]: cannot find trait `Example` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let m: VirtualPtr = m.into(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn _cloneable<'r, T : 'r + Cloneable + Clone> (owned: T, r: &'r T) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | let owned: VirtualPtr = Box::new(owned).into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let owned2: VirtualPtr = owned.clone(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | let owned2: VirtualPtr = owned.clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | let r: VirtualPtr = r.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualPtr` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let r2: VirtualPtr = r.clone(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Cloneable` in this scope [INFO] [stdout] --> tests/dyn_traits.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | let r2: VirtualPtr = r.clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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" "edc22d6466963c6fa83cc540b39e08d270143590350757b57c8f310c4ee5018c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc22d6466963c6fa83cc540b39e08d270143590350757b57c8f310c4ee5018c", kill_on_drop: false }` [INFO] [stdout] edc22d6466963c6fa83cc540b39e08d270143590350757b57c8f310c4ee5018c