[INFO] fetching crate kn-runtime 0.7.3... [INFO] testing kn-runtime-0.7.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kn-runtime 0.7.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate kn-runtime 0.7.3 [INFO] finished tweaking crates.io crate kn-runtime 0.7.3 [INFO] tweaked toml for crates.io crate kn-runtime 0.7.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kn-runtime 0.7.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kn-runtime 0.7.3 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba1cf7f584a883320d46ce1fa501b7ab1494960c5b94e5907a7222c51ff624f7 [INFO] running `Command { std: "docker" "start" "-a" "ba1cf7f584a883320d46ce1fa501b7ab1494960c5b94e5907a7222c51ff624f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba1cf7f584a883320d46ce1fa501b7ab1494960c5b94e5907a7222c51ff624f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1cf7f584a883320d46ce1fa501b7ab1494960c5b94e5907a7222c51ff624f7", kill_on_drop: false }` [INFO] [stdout] ba1cf7f584a883320d46ce1fa501b7ab1494960c5b94e5907a7222c51ff624f7 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd20e88403893d64f0a3199e07efc2191f4c6a81998b8c8d5c8f1089717a302e [INFO] running `Command { std: "docker" "start" "-a" "bd20e88403893d64f0a3199e07efc2191f4c6a81998b8c8d5c8f1089717a302e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling palette v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unwrap-match v0.1.0 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling decorum v0.3.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling prost-derive v0.12.1 [INFO] [stderr] Compiling palette_derive v0.7.3 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling prost v0.12.1 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling kn-graph v0.7.3 [INFO] [stderr] Compiling kn-runtime v0.7.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.87s [INFO] running `Command { std: "docker" "inspect" "bd20e88403893d64f0a3199e07efc2191f4c6a81998b8c8d5c8f1089717a302e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd20e88403893d64f0a3199e07efc2191f4c6a81998b8c8d5c8f1089717a302e", kill_on_drop: false }` [INFO] [stdout] bd20e88403893d64f0a3199e07efc2191f4c6a81998b8c8d5c8f1089717a302e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8b1b39088c172671194c8783488a4cfb7cfc39a014772f81b2758b4f8e18430 [INFO] running `Command { std: "docker" "start" "-a" "c8b1b39088c172671194c8783488a4cfb7cfc39a014772f81b2758b4f8e18430", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling decorum v0.3.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling kn-graph v0.7.3 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling kn-runtime v0.7.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: useless assignment of variable of type `ArrayBase, Dim>` to itself [INFO] [stdout] --> examples/stable_diffusion.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | model_output = model_output; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.02s [INFO] running `Command { std: "docker" "inspect" "c8b1b39088c172671194c8783488a4cfb7cfc39a014772f81b2758b4f8e18430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b1b39088c172671194c8783488a4cfb7cfc39a014772f81b2758b4f8e18430", kill_on_drop: false }` [INFO] [stdout] c8b1b39088c172671194c8783488a4cfb7cfc39a014772f81b2758b4f8e18430 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ead58d50d2d5503aa05c5b4b09a47a3cb0dcd2234a820d40ab764a948fe0c3a [INFO] running `Command { std: "docker" "start" "-a" "5ead58d50d2d5503aa05c5b4b09a47a3cb0dcd2234a820d40ab764a948fe0c3a", kill_on_drop: false }` [INFO] [stderr] warning: useless assignment of variable of type `ArrayBase, Dim>` to itself [INFO] [stderr] --> examples/stable_diffusion.rs:388:17 [INFO] [stderr] | [INFO] [stderr] 388 | model_output = model_output; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `kn-runtime` (example "stable_diffusion") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kn_runtime-251f2b46e4d6320e) [INFO] [stderr] Doc-tests kn_runtime [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `kn_cuda_sys` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use kn_cuda_sys::wrapper::handle::CudaDevice; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `kn_cuda_sys` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `kn_cuda_sys`, use `cargo add kn_cuda_sys` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Cuda` found for enum `Device` in the current scope [INFO] [stdout] --> src/lib.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | "cuda" => Device::Cuda(CudaDevice::all().next().unwrap()), [INFO] [stdout] | ^^^^ variant or associated item not found in `Device` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Device` consider using one of the following associated functions: [INFO] [stdout] Device::best [INFO] [stdout] Device::first_cuda [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn best() -> Device { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn first_cuda() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5ead58d50d2d5503aa05c5b4b09a47a3cb0dcd2234a820d40ab764a948fe0c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ead58d50d2d5503aa05c5b4b09a47a3cb0dcd2234a820d40ab764a948fe0c3a", kill_on_drop: false }` [INFO] [stdout] 5ead58d50d2d5503aa05c5b4b09a47a3cb0dcd2234a820d40ab764a948fe0c3a