[INFO] fetching crate wasmedge-wasi-nn 0.8.0... [INFO] testing wasmedge-wasi-nn-0.8.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wasmedge-wasi-nn 0.8.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmedge-wasi-nn 0.8.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2bd772632073446ce02b8be2be6cb01383ee6680af5eb62d3dbcb5e1ba73573 [INFO] running `Command { std: "docker" "start" "-a" "d2bd772632073446ce02b8be2be6cb01383ee6680af5eb62d3dbcb5e1ba73573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2bd772632073446ce02b8be2be6cb01383ee6680af5eb62d3dbcb5e1ba73573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bd772632073446ce02b8be2be6cb01383ee6680af5eb62d3dbcb5e1ba73573", kill_on_drop: false }` [INFO] [stdout] d2bd772632073446ce02b8be2be6cb01383ee6680af5eb62d3dbcb5e1ba73573 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ce774a294a43caccbcfa052405e1aaf071561fd508b74fcedf1fc6d13499e3e [INFO] running `Command { std: "docker" "start" "-a" "7ce774a294a43caccbcfa052405e1aaf071561fd508b74fcedf1fc6d13499e3e", 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "7ce774a294a43caccbcfa052405e1aaf071561fd508b74fcedf1fc6d13499e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ce774a294a43caccbcfa052405e1aaf071561fd508b74fcedf1fc6d13499e3e", kill_on_drop: false }` [INFO] [stdout] 7ce774a294a43caccbcfa052405e1aaf071561fd508b74fcedf1fc6d13499e3e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f9027fdd55b608b0a1116742f1f030685dfc1353b0fcd24dde701ccdc265dc [INFO] running `Command { std: "docker" "start" "-a" "88f9027fdd55b608b0a1116742f1f030685dfc1353b0fcd24dde701ccdc265dc", 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.24s [INFO] running `Command { std: "docker" "inspect" "88f9027fdd55b608b0a1116742f1f030685dfc1353b0fcd24dde701ccdc265dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f9027fdd55b608b0a1116742f1f030685dfc1353b0fcd24dde701ccdc265dc", kill_on_drop: false }` [INFO] [stdout] 88f9027fdd55b608b0a1116742f1f030685dfc1353b0fcd24dde701ccdc265dc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b0ad19246004e6d276f4800fb7db655e5ab6862aaedd644c0f27f52b6f06949 [INFO] running `Command { std: "docker" "start" "-a" "7b0ad19246004e6d276f4800fb7db655e5ab6862aaedd644c0f27f52b6f06949", 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.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmedge_wasi_nn-5056cd5047e301c4) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test error::test::test_backend_error_with_generated ... ok [INFO] [stdout] test error::test::test_wasi_nn_backend_error_from_i32 ... 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 graph::test::test_graph_builder ... 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] [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::Graph (line 186) - 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] [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] 3 | 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] 3 | 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 54) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `wasi_nn` [INFO] [stdout] --> src/graph.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | 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] 5 | 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.06s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7b0ad19246004e6d276f4800fb7db655e5ab6862aaedd644c0f27f52b6f06949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b0ad19246004e6d276f4800fb7db655e5ab6862aaedd644c0f27f52b6f06949", kill_on_drop: false }` [INFO] [stdout] 7b0ad19246004e6d276f4800fb7db655e5ab6862aaedd644c0f27f52b6f06949