[INFO] fetching crate wasmedge-wasi-nn 0.8.0... [INFO] testing wasmedge-wasi-nn-0.8.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate wasmedge-wasi-nn 0.8.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmedge-wasi-nn 0.8.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] db7131f35154cefc366442af041678910ffe485ae146d714d8d7a566612f24c2 [INFO] running `Command { std: "docker" "start" "-a" "db7131f35154cefc366442af041678910ffe485ae146d714d8d7a566612f24c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db7131f35154cefc366442af041678910ffe485ae146d714d8d7a566612f24c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7131f35154cefc366442af041678910ffe485ae146d714d8d7a566612f24c2", kill_on_drop: false }` [INFO] [stdout] db7131f35154cefc366442af041678910ffe485ae146d714d8d7a566612f24c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d0e29ea85fb25ad47330293d4a2afbb2627c68a822afc6ad016a4f48e1d5006e [INFO] running `Command { std: "docker" "start" "-a" "d0e29ea85fb25ad47330293d4a2afbb2627c68a822afc6ad016a4f48e1d5006e", kill_on_drop: false }` [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 1.50s [INFO] running `Command { std: "docker" "inspect" "d0e29ea85fb25ad47330293d4a2afbb2627c68a822afc6ad016a4f48e1d5006e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e29ea85fb25ad47330293d4a2afbb2627c68a822afc6ad016a4f48e1d5006e", kill_on_drop: false }` [INFO] [stdout] d0e29ea85fb25ad47330293d4a2afbb2627c68a822afc6ad016a4f48e1d5006e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 68c537cc276a6b3667678f9b70b107549b18c60b7d92c1ebdb328b6f71a4b594 [INFO] running `Command { std: "docker" "start" "-a" "68c537cc276a6b3667678f9b70b107549b18c60b7d92c1ebdb328b6f71a4b594", kill_on_drop: false }` [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] [stderr] Compiling wasmedge-wasi-nn v0.8.0 (/opt/rustwide/workdir) [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" "68c537cc276a6b3667678f9b70b107549b18c60b7d92c1ebdb328b6f71a4b594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c537cc276a6b3667678f9b70b107549b18c60b7d92c1ebdb328b6f71a4b594", kill_on_drop: false }` [INFO] [stdout] 68c537cc276a6b3667678f9b70b107549b18c60b7d92c1ebdb328b6f71a4b594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5b4a42052f83ade99447b60e494ca05f43fff1c8219bda38b29e9af7b1793865 [INFO] running `Command { std: "docker" "start" "-a" "5b4a42052f83ade99447b60e494ca05f43fff1c8219bda38b29e9af7b1793865", 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmedge_wasi_nn-e96dd0c7d625948f) [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 graph::test::test_enum_graph_execution_target ... ok [INFO] [stdout] test error::test::test_wasi_nn_backend_error_from_i32 ... ok [INFO] [stdout] test graph::test::test_graph_encoding_with_generated ... ok [INFO] [stdout] test graph::test::test_graph_execution_target_with_generated ... ok [INFO] [stdout] test tensor::test::test_enum_tensor_type ... ok [INFO] [stdout] test tensor::test::test_tensor_type_with_generated ... ok [INFO] [stdout] test graph::test::test_graph_builder ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests wasmedge_wasi_nn [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/graph.rs - graph::Graph (line 186) - compile ... FAILED [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 45) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 54) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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/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]: failed to resolve: use of unresolved module or unlinked crate `wasi_nn` [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] ---- 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] [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.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5b4a42052f83ade99447b60e494ca05f43fff1c8219bda38b29e9af7b1793865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b4a42052f83ade99447b60e494ca05f43fff1c8219bda38b29e9af7b1793865", kill_on_drop: false }` [INFO] [stdout] 5b4a42052f83ade99447b60e494ca05f43fff1c8219bda38b29e9af7b1793865