[INFO] fetching crate rusty_link 0.4.5... [INFO] testing rusty_link-0.4.5 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rusty_link 0.4.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rusty_link 0.4.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rusty_link 0.4.5 [INFO] tweaked toml for crates.io crate rusty_link 0.4.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_link 0.4.5 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusty_link 0.4.5 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43737f923822724d251bdce2a772f4ef526ec0a7cf9b465fa4602df65f07de7 [INFO] running `Command { std: "docker" "start" "-a" "a43737f923822724d251bdce2a772f4ef526ec0a7cf9b465fa4602df65f07de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43737f923822724d251bdce2a772f4ef526ec0a7cf9b465fa4602df65f07de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43737f923822724d251bdce2a772f4ef526ec0a7cf9b465fa4602df65f07de7", kill_on_drop: false }` [INFO] [stdout] a43737f923822724d251bdce2a772f4ef526ec0a7cf9b465fa4602df65f07de7 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccdf27cc7e99106859466840aabbc4656dfbbb22dcf1384b77aea12b626c03f5 [INFO] running `Command { std: "docker" "start" "-a" "ccdf27cc7e99106859466840aabbc4656dfbbb22dcf1384b77aea12b626c03f5", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rusty_link v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "ccdf27cc7e99106859466840aabbc4656dfbbb22dcf1384b77aea12b626c03f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdf27cc7e99106859466840aabbc4656dfbbb22dcf1384b77aea12b626c03f5", kill_on_drop: false }` [INFO] [stdout] ccdf27cc7e99106859466840aabbc4656dfbbb22dcf1384b77aea12b626c03f5 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2a582d41ef1d7eca172c17539568c933cf87771c196de38d558838408da0e20 [INFO] running `Command { std: "docker" "start" "-a" "d2a582d41ef1d7eca172c17539568c933cf87771c196de38d558838408da0e20", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling rusty_link v0.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/link_hut/audio_platform_cpal.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 73 - engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static), [INFO] [stdout] 73 + engine_callback: impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/link_hut/audio_platform_cpal.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | mut engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec [INFO] [stdout] | ^ [INFO] [stdout] 105 | + Send [INFO] [stdout] 106 | + 'static), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 ~ mut engine_callback: impl FnMut(usize, u64, Duration, Duration, u64) -> Vec [INFO] [stdout] 105 | + Send [INFO] [stdout] 106 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 58.50s [INFO] running `Command { std: "docker" "inspect" "d2a582d41ef1d7eca172c17539568c933cf87771c196de38d558838408da0e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a582d41ef1d7eca172c17539568c933cf87771c196de38d558838408da0e20", kill_on_drop: false }` [INFO] [stdout] d2a582d41ef1d7eca172c17539568c933cf87771c196de38d558838408da0e20 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52f9eeba4e44b74e674201528a16cc0c825b80640dd4d9fa7a85eef081c4145d [INFO] running `Command { std: "docker" "start" "-a" "52f9eeba4e44b74e674201528a16cc0c825b80640dd4d9fa7a85eef081c4145d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/link_hut/audio_platform_cpal.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 73 - engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static), [INFO] [stderr] 73 + engine_callback: impl FnMut(usize, u64, Duration, Duration, u64) -> Vec + Send + 'static, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/link_hut/audio_platform_cpal.rs:104:30 [INFO] [stderr] | [INFO] [stderr] 104 | mut engine_callback: (impl FnMut(usize, u64, Duration, Duration, u64) -> Vec [INFO] [stderr] | ^ [INFO] [stderr] 105 | + Send [INFO] [stderr] 106 | + 'static), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 104 ~ mut engine_callback: impl FnMut(usize, u64, Duration, Duration, u64) -> Vec [INFO] [stderr] 105 | + Send [INFO] [stderr] 106 ~ + 'static, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rusty_link` (example "link_hut") generated 2 warnings (run `cargo fix --example "link_hut"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_link-629242f64b9c5aa1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rusty_link [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/split.rs - split::split_closure (line 9) ... FAILED [INFO] [stdout] test src/split.rs - split::split_closure_trailing_data (line 59) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/split.rs - split::split_closure (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ffi_helpers` [INFO] [stdout] --> src/split.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 24 | let (state, callback) = ffi_helpers::split_closure(&mut some_closure); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `ffi_helpers` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ffi_helpers`, use `cargo add ffi_helpers` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/split.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 17 | let got = cb(user_data, i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/split.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn some_c_function(max_value: usize, cb: Callback, user_data: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/split.rs - split::split_closure_trailing_data (line 59) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/split.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 3 | type Callback = unsafe extern "C" fn(usize, *mut c_void) -> usize; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] 2 + use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/split.rs - split::split_closure (line 9) [INFO] [stdout] src/split.rs - split::split_closure_trailing_data (line 59) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.48s; merged doctests compilation took 0.26s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "52f9eeba4e44b74e674201528a16cc0c825b80640dd4d9fa7a85eef081c4145d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f9eeba4e44b74e674201528a16cc0c825b80640dd4d9fa7a85eef081c4145d", kill_on_drop: false }` [INFO] [stdout] 52f9eeba4e44b74e674201528a16cc0c825b80640dd4d9fa7a85eef081c4145d