[INFO] fetching crate rusty_link 0.4.5... [INFO] testing rusty_link-0.4.5 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rusty_link 0.4.5 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_link 0.4.5 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded convert_case v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5b2d2d6b63eb472c3540551530b6808ae6a9b23d27456a3d326ccceabe9a44b [INFO] running `Command { std: "docker" "start" "-a" "c5b2d2d6b63eb472c3540551530b6808ae6a9b23d27456a3d326ccceabe9a44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5b2d2d6b63eb472c3540551530b6808ae6a9b23d27456a3d326ccceabe9a44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b2d2d6b63eb472c3540551530b6808ae6a9b23d27456a3d326ccceabe9a44b", kill_on_drop: false }` [INFO] [stdout] c5b2d2d6b63eb472c3540551530b6808ae6a9b23d27456a3d326ccceabe9a44b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfafd71c6eb237adced32a21f22132242daa96370c16345f9b338eff17908860 [INFO] running `Command { std: "docker" "start" "-a" "dfafd71c6eb237adced32a21f22132242daa96370c16345f9b338eff17908860", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rusty_link v0.4.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "dfafd71c6eb237adced32a21f22132242daa96370c16345f9b338eff17908860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfafd71c6eb237adced32a21f22132242daa96370c16345f9b338eff17908860", kill_on_drop: false }` [INFO] [stdout] dfafd71c6eb237adced32a21f22132242daa96370c16345f9b338eff17908860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1f76b530ebb1d7c50259a570169cf19ce927e36526cd6f995af9610325d8db8 [INFO] running `Command { std: "docker" "start" "-a" "c1f76b530ebb1d7c50259a570169cf19ce927e36526cd6f995af9610325d8db8", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [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 1m 13s [INFO] running `Command { std: "docker" "inspect" "c1f76b530ebb1d7c50259a570169cf19ce927e36526cd6f995af9610325d8db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f76b530ebb1d7c50259a570169cf19ce927e36526cd6f995af9610325d8db8", kill_on_drop: false }` [INFO] [stdout] c1f76b530ebb1d7c50259a570169cf19ce927e36526cd6f995af9610325d8db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f7a61005a6b08623909b78563a250b06395e6d4d07b9cbe1b950fc5416a2a01 [INFO] running `Command { std: "docker" "start" "-a" "7f7a61005a6b08623909b78563a250b06395e6d4d07b9cbe1b950fc5416a2a01", 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.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_link-629242f64b9c5aa1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rusty_link [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] [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.30s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.56s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7f7a61005a6b08623909b78563a250b06395e6d4d07b9cbe1b950fc5416a2a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7a61005a6b08623909b78563a250b06395e6d4d07b9cbe1b950fc5416a2a01", kill_on_drop: false }` [INFO] [stdout] 7f7a61005a6b08623909b78563a250b06395e6d4d07b9cbe1b950fc5416a2a01