[INFO] fetching crate wasmedge-wasi-nn 0.8.0... [INFO] testing wasmedge-wasi-nn-0.8.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate wasmedge-wasi-nn 0.8.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmedge-wasi-nn 0.8.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62696ce314c9fc26f29f4855607d509f1a88517e320aec339a757e87d7cdc429 [INFO] running `Command { std: "docker" "start" "-a" "62696ce314c9fc26f29f4855607d509f1a88517e320aec339a757e87d7cdc429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62696ce314c9fc26f29f4855607d509f1a88517e320aec339a757e87d7cdc429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62696ce314c9fc26f29f4855607d509f1a88517e320aec339a757e87d7cdc429", kill_on_drop: false }` [INFO] [stdout] 62696ce314c9fc26f29f4855607d509f1a88517e320aec339a757e87d7cdc429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3ee81d6909c38fbf01b70129dece6dae126c5379d560ae30076f0401c6dd15 [INFO] running `Command { std: "docker" "start" "-a" "9a3ee81d6909c38fbf01b70129dece6dae126c5379d560ae30076f0401c6dd15", 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.14s [INFO] running `Command { std: "docker" "inspect" "9a3ee81d6909c38fbf01b70129dece6dae126c5379d560ae30076f0401c6dd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3ee81d6909c38fbf01b70129dece6dae126c5379d560ae30076f0401c6dd15", kill_on_drop: false }` [INFO] [stdout] 9a3ee81d6909c38fbf01b70129dece6dae126c5379d560ae30076f0401c6dd15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e2b657b3430dafd67aa0a69fd004a23e1a5d02ca3650b6d156924a0fed35069 [INFO] running `Command { std: "docker" "start" "-a" "7e2b657b3430dafd67aa0a69fd004a23e1a5d02ca3650b6d156924a0fed35069", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "7e2b657b3430dafd67aa0a69fd004a23e1a5d02ca3650b6d156924a0fed35069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2b657b3430dafd67aa0a69fd004a23e1a5d02ca3650b6d156924a0fed35069", kill_on_drop: false }` [INFO] [stdout] 7e2b657b3430dafd67aa0a69fd004a23e1a5d02ca3650b6d156924a0fed35069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99b8694b8ac5df451b335d6de0eebebbc23cc9ef5f4d2f06b07cbd5d33ac982f [INFO] running `Command { std: "docker" "start" "-a" "99b8694b8ac5df451b335d6de0eebebbc23cc9ef5f4d2f06b07cbd5d33ac982f", 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.08s [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 graph::test::test_graph_builder ... ok [INFO] [stdout] test error::test::test_wasi_nn_backend_error_from_i32 ... ok [INFO] [stdout] test error::test::test_backend_error_with_generated ... ok [INFO] [stdout] test graph::test::test_graph_encoding_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_enum_graph_execution_target ... ok [INFO] [stdout] test graph::test::test_enum_graph_encoding ... ok [INFO] [stdout] test graph::test::test_graph_execution_target_with_generated ... 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] [stderr] Doc-tests wasmedge_wasi_nn [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 45) - compile ... FAILED [INFO] [stdout] test src/graph.rs - graph::GraphBuilder (line 54) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/graph.rs - graph::Graph (line 186) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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/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::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] [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" "99b8694b8ac5df451b335d6de0eebebbc23cc9ef5f4d2f06b07cbd5d33ac982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b8694b8ac5df451b335d6de0eebebbc23cc9ef5f4d2f06b07cbd5d33ac982f", kill_on_drop: false }` [INFO] [stdout] 99b8694b8ac5df451b335d6de0eebebbc23cc9ef5f4d2f06b07cbd5d33ac982f