[INFO] fetching crate wasi-binio-host 0.1.0... [INFO] testing wasi-binio-host-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate wasi-binio-host 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate wasi-binio-host 0.1.0 [INFO] finished tweaking crates.io crate wasi-binio-host 0.1.0 [INFO] tweaked toml for crates.io crate wasi-binio-host 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasi-binio-host 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 146 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding wasmtime v0.15.0 (available: v37.0.1) [INFO] [stderr] Adding zstd-sys v1.4.18+zstd.1.4.7 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d100e46f0dd12fcc6e94da2cae6573a834806c7a08b1089c38ac20184c770a1 [INFO] running `Command { std: "docker" "start" "-a" "6d100e46f0dd12fcc6e94da2cae6573a834806c7a08b1089c38ac20184c770a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d100e46f0dd12fcc6e94da2cae6573a834806c7a08b1089c38ac20184c770a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d100e46f0dd12fcc6e94da2cae6573a834806c7a08b1089c38ac20184c770a1", kill_on_drop: false }` [INFO] [stdout] 6d100e46f0dd12fcc6e94da2cae6573a834806c7a08b1089c38ac20184c770a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6faa328ddd6f621c86575d7b6becbb7d1b23cfe6b66c8c94e6d82fad177c1ff6 [INFO] running `Command { std: "docker" "start" "-a" "6faa328ddd6f621c86575d7b6becbb7d1b23cfe6b66c8c94e6d82fad177c1ff6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cranelift-codegen-shared v0.62.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling wasmparser v0.51.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling wasmtime-environ v0.15.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasi_binio_shared_mods v0.1.0 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.1.3 [INFO] [stderr] Compiling gimli v0.20.0 [INFO] [stderr] Compiling object v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Compiling wasmtime-runtime v0.15.0 [INFO] [stderr] Compiling wast v239.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling file-per-thread-logger v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cranelift-entity v0.62.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling string-interner v0.7.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.62.0 [INFO] [stderr] Compiling cranelift-bforest v0.62.0 [INFO] [stderr] Compiling faerie v0.15.0 [INFO] [stderr] Compiling wat v1.239.0 [INFO] [stderr] Compiling cranelift-codegen v0.62.0 [INFO] [stderr] Compiling cranelift-frontend v0.62.0 [INFO] [stderr] Compiling cranelift-native v0.62.0 [INFO] [stderr] Compiling cranelift-wasm v0.62.0 [INFO] [stderr] Compiling zstd v0.5.4+zstd.1.4.7 [INFO] [stderr] Compiling wasmtime-debug v0.15.0 [INFO] [stderr] Compiling wasmtime-profiling v0.15.0 [INFO] [stderr] Compiling wasmtime-jit v0.15.0 [INFO] [stderr] Compiling wasmtime v0.15.0 [INFO] [stderr] Compiling wasi-binio-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.62.0, wasmtime-environ v0.15.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "6faa328ddd6f621c86575d7b6becbb7d1b23cfe6b66c8c94e6d82fad177c1ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6faa328ddd6f621c86575d7b6becbb7d1b23cfe6b66c8c94e6d82fad177c1ff6", kill_on_drop: false }` [INFO] [stdout] 6faa328ddd6f621c86575d7b6becbb7d1b23cfe6b66c8c94e6d82fad177c1ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f7417656843aebed4fb80ae2209bba3d27a4fbb815c658dacb134c1d958be10 [INFO] running `Command { std: "docker" "start" "-a" "2f7417656843aebed4fb80ae2209bba3d27a4fbb815c658dacb134c1d958be10", kill_on_drop: false }` [INFO] [stderr] Compiling wasi-binio-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.62.0, wasmtime-environ v0.15.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "2f7417656843aebed4fb80ae2209bba3d27a4fbb815c658dacb134c1d958be10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7417656843aebed4fb80ae2209bba3d27a4fbb815c658dacb134c1d958be10", kill_on_drop: false }` [INFO] [stdout] 2f7417656843aebed4fb80ae2209bba3d27a4fbb815c658dacb134c1d958be10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 317cdd79b42f0fdebb7ff40ff8061f4903f8082fc2782fdffa646594afbecd38 [INFO] running `Command { std: "docker" "start" "-a" "317cdd79b42f0fdebb7ff40ff8061f4903f8082fc2782fdffa646594afbecd38", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.62.0, wasmtime-environ v0.15.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasi_binio_host-7cd7e8078e5b8983) [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] [stderr] Doc-tests wasi_binio_host [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - call_stub (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 4 | let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] 4 + let rect: Rect = some_how_make_a_rect_from_two_points().. /* Your own logic here */ [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] 4 + let rect: Rect = some_how_make_a_rect_from_two_points()..= /* Your own logic here */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 5 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `wasm` [INFO] [stdout] --> src/lib.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 7 | Since wasm and wasi are under active development. Wasi will soon provide complex arguments support. [INFO] [stdout] | ^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - call_stub (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instance` [INFO] [stdout] --> src/lib.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Instance` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use wasmtime::Instance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `module` in this scope [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `imports` in this scope [INFO] [stdout] --> src/lib.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 3 | let instance = Instance::new(&module, &imports).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 6 | let point1 = Point{x:2, y:3}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Point` in this scope [INFO] [stdout] --> src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 7 | let point2 = Point{x:8, y:9}; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 17 | let result: Rect/* It is very important to have the Type here */ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_stub` in this scope [INFO] [stdout] --> src/lib.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 18 | = call_stub(&instance, //Instance is needed to find export wasm function [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use wasi_binio_host::call_stub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:13:73 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_12_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_stub` in this scope [INFO] [stdout] --> src/lib.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use wasi_binio_host::call_stub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instance` in this scope [INFO] [stdout] --> src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `point1` in this scope [INFO] [stdout] --> src/lib.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `point2` in this scope [INFO] [stdout] --> src/lib.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 3 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - call_stub (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "317cdd79b42f0fdebb7ff40ff8061f4903f8082fc2782fdffa646594afbecd38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "317cdd79b42f0fdebb7ff40ff8061f4903f8082fc2782fdffa646594afbecd38", kill_on_drop: false }` [INFO] [stdout] 317cdd79b42f0fdebb7ff40ff8061f4903f8082fc2782fdffa646594afbecd38