[INFO] fetching crate wasmedge-wasi-nn 0.8.0... [INFO] testing wasmedge-wasi-nn-0.8.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate wasmedge-wasi-nn 0.8.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate wasmedge-wasi-nn 0.8.0 [INFO] finished tweaking crates.io crate wasmedge-wasi-nn 0.8.0 [INFO] tweaked toml for crates.io crate wasmedge-wasi-nn 0.8.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmedge-wasi-nn 0.8.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09832bd5d7f271ba539ec678e56c66e1b408e2434487774f88e2ac8c45dcbd68 [INFO] running `Command { std: "docker" "start" "-a" "09832bd5d7f271ba539ec678e56c66e1b408e2434487774f88e2ac8c45dcbd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09832bd5d7f271ba539ec678e56c66e1b408e2434487774f88e2ac8c45dcbd68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09832bd5d7f271ba539ec678e56c66e1b408e2434487774f88e2ac8c45dcbd68", kill_on_drop: false }` [INFO] [stdout] 09832bd5d7f271ba539ec678e56c66e1b408e2434487774f88e2ac8c45dcbd68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49362e7feba64c84431fb9df4d1804a4bcda703bf7bbf18428c2ecc0b2f60a26 [INFO] running `Command { std: "docker" "start" "-a" "49362e7feba64c84431fb9df4d1804a4bcda703bf7bbf18428c2ecc0b2f60a26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasmedge-wasi-nn v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "49362e7feba64c84431fb9df4d1804a4bcda703bf7bbf18428c2ecc0b2f60a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49362e7feba64c84431fb9df4d1804a4bcda703bf7bbf18428c2ecc0b2f60a26", kill_on_drop: false }` [INFO] [stdout] 49362e7feba64c84431fb9df4d1804a4bcda703bf7bbf18428c2ecc0b2f60a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acb6712b0b885543d17ad321bcbd6fd1312e6c6319f9b611f02eb6ecf8360a87 [INFO] running `Command { std: "docker" "start" "-a" "acb6712b0b885543d17ad321bcbd6fd1312e6c6319f9b611f02eb6ecf8360a87", kill_on_drop: false }` [INFO] [stderr] Compiling wasmedge-wasi-nn v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/generated.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "acb6712b0b885543d17ad321bcbd6fd1312e6c6319f9b611f02eb6ecf8360a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb6712b0b885543d17ad321bcbd6fd1312e6c6319f9b611f02eb6ecf8360a87", kill_on_drop: false }` [INFO] [stdout] acb6712b0b885543d17ad321bcbd6fd1312e6c6319f9b611f02eb6ecf8360a87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 712dfae13ca2d1b63fc21ee04feb63c567d2cecf86cacaf4ce4051e5dbcebe29 [INFO] running `Command { std: "docker" "start" "-a" "712dfae13ca2d1b63fc21ee04feb63c567d2cecf86cacaf4ce4051e5dbcebe29", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/generated.rs:69:7 [INFO] [stderr] | [INFO] [stderr] 69 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/generated.rs:71:7 [INFO] [stderr] | [INFO] [stderr] 71 | #[cfg(feature = "std")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `wasmedge-wasi-nn` (lib) generated 2 warnings [INFO] [stderr] warning: `wasmedge-wasi-nn` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmedge_wasi_nn-4b78985c83302132) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test error::test::test_backend_error_with_generated ... ok [INFO] [stdout] test graph::test::test_enum_graph_encoding ... ok [INFO] [stdout] test error::test::test_wasi_nn_backend_error_from_i32 ... ok [INFO] [stdout] test graph::test::test_enum_graph_execution_target ... ok [INFO] [stdout] test graph::test::test_graph_encoding_with_generated ... ok [INFO] [stdout] test graph::test::test_graph_builder ... ok [INFO] [stdout] test graph::test::test_graph_execution_target_with_generated ... ok [INFO] [stdout] test tensor::test::test_tensor_type_with_generated ... ok [INFO] [stderr] Doc-tests wasmedge_wasi_nn [INFO] [stdout] test tensor::test::test_enum_tensor_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 54) - compile ... FAILED [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 45) - compile ... FAILED [INFO] [stdout] test src/graph.rs - graph::Graph (line 186) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/graph.rs - graph::GraphBuilder (line 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasi_nn` [INFO] [stdout] --> src/graph.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use wasi_nn::{GraphBuilder, GraphEncoding, ExecutionTarget}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wasi_nn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasi_nn`, use `cargo add wasi_nn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph.rs - graph::GraphBuilder (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasi_nn` [INFO] [stdout] --> src/graph.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use wasi_nn::{GraphBuilder, GraphEncoding}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wasi_nn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasi_nn`, use `cargo add wasi_nn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/graph.rs - graph::Graph (line 186) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasi_nn` [INFO] [stdout] --> src/graph.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | use wasi_nn::{GraphBuilder, GraphEncoding, ExecutionTarget}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wasi_nn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasi_nn`, use `cargo add wasi_nn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasi_nn` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wasi_nn::{GraphBuilder, GraphEncoding, ExecutionTarget, TensorType}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wasi_nn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasi_nn`, use `cargo add wasi_nn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wasi_nn` in this scope [INFO] [stdout] --> src/lib.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | fn test(model_path: &'static str) -> Result<(), wasi_nn::Error> { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wasi_nn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasi_nn`, use `cargo add wasi_nn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/graph.rs - graph::Graph (line 186) [INFO] [stdout] src/graph.rs - graph::GraphBuilder (line 45) [INFO] [stdout] src/graph.rs - graph::GraphBuilder (line 54) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "712dfae13ca2d1b63fc21ee04feb63c567d2cecf86cacaf4ce4051e5dbcebe29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "712dfae13ca2d1b63fc21ee04feb63c567d2cecf86cacaf4ce4051e5dbcebe29", kill_on_drop: false }` [INFO] [stdout] 712dfae13ca2d1b63fc21ee04feb63c567d2cecf86cacaf4ce4051e5dbcebe29