[INFO] fetching crate rusty_link 0.4.5... [INFO] testing rusty_link-0.4.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rusty_link 0.4.5 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_link 0.4.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb095bef4f8f628edc4597d74d17788a089466a5dce34801508de5a4853bc66 [INFO] running `Command { std: "docker" "start" "-a" "afb095bef4f8f628edc4597d74d17788a089466a5dce34801508de5a4853bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb095bef4f8f628edc4597d74d17788a089466a5dce34801508de5a4853bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb095bef4f8f628edc4597d74d17788a089466a5dce34801508de5a4853bc66", kill_on_drop: false }` [INFO] [stdout] afb095bef4f8f628edc4597d74d17788a089466a5dce34801508de5a4853bc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 400ae717ecb8d0b3d4074fc17257b6b1ed714b1a3252543c3f65ddec8176d307 [INFO] running `Command { std: "docker" "start" "-a" "400ae717ecb8d0b3d4074fc17257b6b1ed714b1a3252543c3f65ddec8176d307", kill_on_drop: false }` [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling regex-syntax v0.8.5 [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 quote v1.0.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.71.1 [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 cmake v0.1.54 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 02s [INFO] running `Command { std: "docker" "inspect" "400ae717ecb8d0b3d4074fc17257b6b1ed714b1a3252543c3f65ddec8176d307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400ae717ecb8d0b3d4074fc17257b6b1ed714b1a3252543c3f65ddec8176d307", kill_on_drop: false }` [INFO] [stdout] 400ae717ecb8d0b3d4074fc17257b6b1ed714b1a3252543c3f65ddec8176d307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c758ddc19ef739b03c6d201d7abd406b2fac5a142f920cfd4b59a70d89e9b1f [INFO] running `Command { std: "docker" "start" "-a" "5c758ddc19ef739b03c6d201d7abd406b2fac5a142f920cfd4b59a70d89e9b1f", 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 convert_case v0.7.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [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 cpal v0.15.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [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 54.99s [INFO] running `Command { std: "docker" "inspect" "5c758ddc19ef739b03c6d201d7abd406b2fac5a142f920cfd4b59a70d89e9b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c758ddc19ef739b03c6d201d7abd406b2fac5a142f920cfd4b59a70d89e9b1f", kill_on_drop: false }` [INFO] [stdout] 5c758ddc19ef739b03c6d201d7abd406b2fac5a142f920cfd4b59a70d89e9b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa2090be5aaf76ba1db13fadacaf9931aa95134bc2be8f638340449e25cdbf94 [INFO] running `Command { std: "docker" "start" "-a" "fa2090be5aaf76ba1db13fadacaf9931aa95134bc2be8f638340449e25cdbf94", 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_trailing_data (line 59) ... FAILED [INFO] [stdout] test src/split.rs - split::split_closure (line 9) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.31s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fa2090be5aaf76ba1db13fadacaf9931aa95134bc2be8f638340449e25cdbf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2090be5aaf76ba1db13fadacaf9931aa95134bc2be8f638340449e25cdbf94", kill_on_drop: false }` [INFO] [stdout] fa2090be5aaf76ba1db13fadacaf9931aa95134bc2be8f638340449e25cdbf94