[INFO] fetching crate perdix 0.1.1... [INFO] testing perdix-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate perdix 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate perdix 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate perdix 0.1.1 [INFO] tweaked toml for crates.io crate perdix 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate perdix 0.1.1 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 perdix 0.1.1 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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36fb46f9d4e0cf674304b69427dfe3b244911147907677d8d0dc3d564fbfbc1e [INFO] running `Command { std: "docker" "start" "-a" "36fb46f9d4e0cf674304b69427dfe3b244911147907677d8d0dc3d564fbfbc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36fb46f9d4e0cf674304b69427dfe3b244911147907677d8d0dc3d564fbfbc1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36fb46f9d4e0cf674304b69427dfe3b244911147907677d8d0dc3d564fbfbc1e", kill_on_drop: false }` [INFO] [stdout] 36fb46f9d4e0cf674304b69427dfe3b244911147907677d8d0dc3d564fbfbc1e [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=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] 8acdffa884c71e2b3f9db66f0493e49b87474eaf3d11815e8dbb41e5940c51de [INFO] running `Command { std: "docker" "start" "-a" "8acdffa884c71e2b3f9db66f0493e49b87474eaf3d11815e8dbb41e5940c51de", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling codespan-reporting v0.12.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling serial2 v0.2.32 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling perdix v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] warning: perdix@0.1.1: CARGO_FEATURE_CUDA env var: Err(NotPresent) [INFO] [stderr] warning: perdix@0.1.1: Skipping CUDA compilation (cuda feature not enabled) [INFO] [stderr] warning: perdix@0.1.1: Creating stub implementation... [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'cuda_init_device': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:11:26: warning: unused parameter 'device_id' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 11 | int cuda_init_device(int device_id) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_unified_kernel': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:33: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:46: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:63: warning: unused parameter 'contexts' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:35: warning: unused parameter 'n_messages' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:51: warning: unused parameter 'enable_metrics' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:76: warning: unused parameter 'stream' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_simple_test': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:30: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:43: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:52: warning: unused parameter 'n_msgs' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: CUDA compilation failed, using stub implementation [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling wgpu-types v26.0.0 [INFO] [stderr] Compiling portable-pty v0.9.0 [INFO] [stderr] Compiling wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/buffer/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/buffer/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | pinned: Pinned, [INFO] [stdout] 100 | stream: u64, // We can store the CUDA stream here [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Producer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | // We can use a reference for simpler borrows... [INFO] [stdout] 14 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | // ...or an Arc for owned, thread-safe handles. [INFO] [stdout] 16 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Consumer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 192 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 193 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `header_buffer` are never read [INFO] [stdout] --> src/webgpu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct WebGpuProducer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 67 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | header_buffer: WgpuBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device`, `queue`, and `n_slots` are never read [INFO] [stdout] --> src/webgpu.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct WebGpuBuffer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 321 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 322 | queue: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | n_slots: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentType` and `Producer` [INFO] [stdout] --> src/bin/gpu_test.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use perdix::{Producer, AgentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/bin/gpu_pty.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "8acdffa884c71e2b3f9db66f0493e49b87474eaf3d11815e8dbb41e5940c51de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8acdffa884c71e2b3f9db66f0493e49b87474eaf3d11815e8dbb41e5940c51de", kill_on_drop: false }` [INFO] [stdout] 8acdffa884c71e2b3f9db66f0493e49b87474eaf3d11815e8dbb41e5940c51de [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=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] bbefebbf32640706d314f7b763c1d34922290c31ddb92c40ee865858d07d5f9f [INFO] running `Command { std: "docker" "start" "-a" "bbefebbf32640706d314f7b763c1d34922290c31ddb92c40ee865858d07d5f9f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] warning: perdix@0.1.1: CARGO_FEATURE_CUDA env var: Err(NotPresent) [INFO] [stderr] warning: perdix@0.1.1: Skipping CUDA compilation (cuda feature not enabled) [INFO] [stderr] warning: perdix@0.1.1: Creating stub implementation... [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'cuda_init_device': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:11:26: warning: unused parameter 'device_id' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 11 | int cuda_init_device(int device_id) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_unified_kernel': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:33: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:46: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:63: warning: unused parameter 'contexts' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:35: warning: unused parameter 'n_messages' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:51: warning: unused parameter 'enable_metrics' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:76: warning: unused parameter 'stream' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_simple_test': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:30: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:43: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:52: warning: unused parameter 'n_msgs' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: CUDA compilation failed, using stub implementation [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-types v26.0.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling gpu-descriptor v0.3.2 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling portable-pty v0.9.0 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Compiling wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Compiling perdix v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/buffer/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/buffer/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | pinned: Pinned, [INFO] [stdout] 100 | stream: u64, // We can store the CUDA stream here [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Producer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | // We can use a reference for simpler borrows... [INFO] [stdout] 14 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | // ...or an Arc for owned, thread-safe handles. [INFO] [stdout] 16 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Consumer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 192 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 193 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `header_buffer` are never read [INFO] [stdout] --> src/webgpu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct WebGpuProducer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 67 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | header_buffer: WgpuBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device`, `queue`, and `n_slots` are never read [INFO] [stdout] --> src/webgpu.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct WebGpuBuffer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 321 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 322 | queue: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | n_slots: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> examples/gpu_streaming.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/bin/gpu_pty.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | producer.try_produce(msg.as_bytes(), AgentType::System); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 55 - producer.try_produce(msg.as_bytes(), AgentType::System); [INFO] [stdout] 55 + producer.try_produce(msg.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentType` and `Producer` [INFO] [stdout] --> src/bin/gpu_test.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use perdix::{Producer, AgentType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | producer.try_produce(b"\n", AgentType::System); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 56 - producer.try_produce(b"\n", AgentType::System); [INFO] [stdout] 56 + producer.try_produce(b"\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/buffer/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | producer.try_produce(msg.as_bytes(), AgentType::Info); [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 63 - producer.try_produce(msg.as_bytes(), AgentType::Info); [INFO] [stdout] 63 + producer.try_produce(msg.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | producer.try_produce(b"\n", AgentType::Info); [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 64 - producer.try_produce(b"\n", AgentType::Info); [INFO] [stdout] 64 + producer.try_produce(b"\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | producer.try_produce(b"\nPTY streaming complete!\n", AgentType::System); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 68 - producer.try_produce(b"\nPTY streaming complete!\n", AgentType::System); [INFO] [stdout] 68 + producer.try_produce(b"\nPTY streaming complete!\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/basic_usage.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | producer.try_produce(text, *agent_type); [INFO] [stdout] | ^^^^^^^^^^^ ----------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - producer.try_produce(text, *agent_type); [INFO] [stdout] 45 + producer.try_produce(text); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | producer.try_produce(msg.as_bytes(), agent_type); [INFO] [stdout] | ^^^^^^^^^^^ ---------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 114 - producer.try_produce(msg.as_bytes(), agent_type); [INFO] [stdout] 114 + producer.try_produce(msg.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | producer.try_produce(bar.as_bytes(), AgentType::Info); [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 123 - producer.try_produce(bar.as_bytes(), AgentType::Info); [INFO] [stdout] 123 + producer.try_produce(bar.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | producer.try_produce(b"\n\n\x1b[1;32mComplete!\x1b[0m\n", AgentType::System); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 127 - producer.try_produce(b"\n\n\x1b[1;32mComplete!\x1b[0m\n", AgentType::System); [INFO] [stdout] 127 + producer.try_produce(b"\n\n\x1b[1;32mComplete!\x1b[0m\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | producer.try_produce(cmd.as_bytes(), AgentType::User); [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 166 - producer.try_produce(cmd.as_bytes(), AgentType::User); [INFO] [stdout] 166 + producer.try_produce(cmd.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | producer.try_produce(b"\n", AgentType::User); [INFO] [stdout] | ^^^^^^^^^^^ --------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 167 - producer.try_produce(b"\n", AgentType::User); [INFO] [stdout] 167 + producer.try_produce(b"\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/pty_integration.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 174 | producer.try_produce(b"exit\n", AgentType::System); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 174 - producer.try_produce(b"exit\n", AgentType::System); [INFO] [stdout] 174 + producer.try_produce(b"exit\n"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `agent_type` found for struct `Message` in the current scope [INFO] [stdout] --> examples/basic_usage.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | message.agent_type(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/basic_usage.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | producer.try_produce(message.as_bytes(), AgentType::Assistant); [INFO] [stdout] | ^^^^^^^^^^^ -------------------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 77 - producer.try_produce(message.as_bytes(), AgentType::Assistant); [INFO] [stdout] 77 + producer.try_produce(message.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: perdix@0.1.1: CARGO_FEATURE_CUDA env var: Err(NotPresent) [INFO] [stderr] warning: perdix@0.1.1: Skipping CUDA compilation (cuda feature not enabled) [INFO] [stderr] warning: perdix@0.1.1: Creating stub implementation... [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'cuda_init_device': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:11:26: warning: unused parameter 'device_id' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 11 | int cuda_init_device(int device_id) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_unified_kernel': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:33: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:46: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:63: warning: unused parameter 'contexts' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:35: warning: unused parameter 'n_messages' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:51: warning: unused parameter 'enable_metrics' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:76: warning: unused parameter 'stream' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_simple_test': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:30: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:43: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:52: warning: unused parameter 'n_msgs' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: CUDA compilation failed, using stub implementation [INFO] [stderr] error: could not compile `perdix` (example "pty_integration") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Result<&str, Utf8Error>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/basic_usage.rs:94:55 [INFO] [stdout] | [INFO] [stdout] 94 | println!("Consumer received: \"{}\"", message.as_str()); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ `Result<&str, Utf8Error>` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result<&str, Utf8Error>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> examples/basic_usage.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | producer.try_produce(message.as_bytes(), agent_type); [INFO] [stdout] | ^^^^^^^^^^^ ---------- unexpected argument #2 of type `AgentType` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/buffer/spsc.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn try_produce(&mut self, data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 134 - producer.try_produce(message.as_bytes(), agent_type); [INFO] [stdout] 134 + producer.try_produce(message.as_bytes()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: perdix@0.1.1: CARGO_FEATURE_CUDA env var: Err(NotPresent) [INFO] [stderr] warning: perdix@0.1.1: Skipping CUDA compilation (cuda feature not enabled) [INFO] [stderr] warning: perdix@0.1.1: Creating stub implementation... [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'cuda_init_device': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:11:26: warning: unused parameter 'device_id' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 11 | int cuda_init_device(int device_id) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_unified_kernel': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:33: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:46: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:49:63: warning: unused parameter 'contexts' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 49 | int launch_unified_kernel(void* slots, void* hdr, const void* contexts, [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:35: warning: unused parameter 'n_messages' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:51: warning: unused parameter 'enable_metrics' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~~~~~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:50:76: warning: unused parameter 'stream' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 50 | uint32_t n_messages, int enable_metrics, uint64_t stream) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c: In function 'launch_simple_test': [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:30: warning: unused parameter 'slots' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:43: warning: unused parameter 'hdr' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~~~^~~ [INFO] [stderr] warning: perdix@0.1.1: /opt/rustwide/target/debug/build/perdix-1cbae51d2ce6032e/out/stub.c:55:52: warning: unused parameter 'n_msgs' [-Wunused-parameter] [INFO] [stderr] warning: perdix@0.1.1: 55 | int launch_simple_test(void* slots, void* hdr, int n_msgs) { [INFO] [stderr] warning: perdix@0.1.1: | ~~~~^~~~~~ [INFO] [stderr] warning: perdix@0.1.1: CUDA compilation failed, using stub implementation [INFO] [stderr] error: could not compile `perdix` (example "basic_usage") due to 5 previous errors [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/buffer/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct Buffer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 99 | pinned: Pinned, [INFO] [stdout] 100 | stream: u64, // We can store the CUDA stream here [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Producer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | // We can use a reference for simpler borrows... [INFO] [stdout] 14 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | // ...or an Arc for owned, thread-safe handles. [INFO] [stdout] 16 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pinned_ref` and `pinned_arc` are never read [INFO] [stdout] --> src/buffer/spsc.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct Consumer<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 192 | pinned_ref: Option<&'a Pinned>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 193 | pinned_arc: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device` and `header_buffer` are never read [INFO] [stdout] --> src/webgpu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct WebGpuProducer { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 67 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | header_buffer: WgpuBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `device`, `queue`, and `n_slots` are never read [INFO] [stdout] --> src/webgpu.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct WebGpuBuffer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 321 | device: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 322 | queue: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | n_slots: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbefebbf32640706d314f7b763c1d34922290c31ddb92c40ee865858d07d5f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbefebbf32640706d314f7b763c1d34922290c31ddb92c40ee865858d07d5f9f", kill_on_drop: false }` [INFO] [stdout] bbefebbf32640706d314f7b763c1d34922290c31ddb92c40ee865858d07d5f9f