[INFO] fetching crate wasi-binio-wasm 0.1.1... [INFO] testing wasi-binio-wasm-0.1.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate wasi-binio-wasm 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate wasi-binio-wasm 0.1.1 [INFO] finished tweaking crates.io crate wasi-binio-wasm 0.1.1 [INFO] tweaked toml for crates.io crate wasi-binio-wasm 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wasi-binio-wasm 0.1.1 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 9 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6a85f3aa89bb6afdbaee493e21c1fbd477ba599d0613837c412c3617cdc54f16 [INFO] running `Command { std: "docker" "start" "-a" "6a85f3aa89bb6afdbaee493e21c1fbd477ba599d0613837c412c3617cdc54f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a85f3aa89bb6afdbaee493e21c1fbd477ba599d0613837c412c3617cdc54f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a85f3aa89bb6afdbaee493e21c1fbd477ba599d0613837c412c3617cdc54f16", kill_on_drop: false }` [INFO] [stdout] 6a85f3aa89bb6afdbaee493e21c1fbd477ba599d0613837c412c3617cdc54f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ca0e8af6a7cda2df80a6f4d8cd121360c9b6866cb60daaf158c9709b7c2841e2 [INFO] running `Command { std: "docker" "start" "-a" "ca0e8af6a7cda2df80a6f4d8cd121360c9b6866cb60daaf158c9709b7c2841e2", kill_on_drop: false }` [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling wasi_binio_shared_mods v0.1.0 [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe{BUFFERS.push(buffer)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | let _buffer_would_be_dropped = unsafe{BUFFERS.pop()}; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "ca0e8af6a7cda2df80a6f4d8cd121360c9b6866cb60daaf158c9709b7c2841e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0e8af6a7cda2df80a6f4d8cd121360c9b6866cb60daaf158c9709b7c2841e2", kill_on_drop: false }` [INFO] [stdout] ca0e8af6a7cda2df80a6f4d8cd121360c9b6866cb60daaf158c9709b7c2841e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c32ac7675f204f53f3df223c5e61e9af86d2c29f48f06748821fbf1d998aae99 [INFO] running `Command { std: "docker" "start" "-a" "c32ac7675f204f53f3df223c5e61e9af86d2c29f48f06748821fbf1d998aae99", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe{BUFFERS.push(buffer)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | let _buffer_would_be_dropped = unsafe{BUFFERS.pop()}; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasi-binio-wasm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | unsafe{BUFFERS.push(buffer)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | let _buffer_would_be_dropped = unsafe{BUFFERS.pop()}; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "c32ac7675f204f53f3df223c5e61e9af86d2c29f48f06748821fbf1d998aae99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32ac7675f204f53f3df223c5e61e9af86d2c29f48f06748821fbf1d998aae99", kill_on_drop: false }` [INFO] [stdout] c32ac7675f204f53f3df223c5e61e9af86d2c29f48f06748821fbf1d998aae99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e9574672c3f49fdb0d26bf51496298568f7bd15218f9c10db1eb84553f3b6482 [INFO] running `Command { std: "docker" "start" "-a" "e9574672c3f49fdb0d26bf51496298568f7bd15218f9c10db1eb84553f3b6482", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe{BUFFERS.push(buffer)}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:98:43 [INFO] [stderr] | [INFO] [stderr] 98 | let _buffer_would_be_dropped = unsafe{BUFFERS.pop()}; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `wasi-binio-wasm` (lib) generated 2 warnings [INFO] [stderr] warning: `wasi-binio-wasm` (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/wasi_binio_wasm-f12f6e0e96fe15f2) [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_wasm [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_deserialize (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_serialize (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - wasm_prepare_buffer (line 41) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 22 - let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] 22 + 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] 22 - let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */ [INFO] [stdout] 22 + 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:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | wasi_binio_wasm::wasm_serialize(&rect).unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 24 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `wasm` [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | 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 - wasm_deserialize (line 58) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let rect = Rect{left, right, top , bottom}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wasm_serialize (line 107) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Point` in this scope [INFO] [stdout] --> src/lib.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | let rect = Rect{left, right, top , bottom}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422. [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 13) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | } _doctest_main_src_lib_rs_13_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | 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 `instance` in this scope [INFO] [stdout] --> src/lib.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | 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:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | 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 13) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - wasm_deserialize (line 58) [INFO] [stdout] src/lib.rs - wasm_serialize (line 107) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9574672c3f49fdb0d26bf51496298568f7bd15218f9c10db1eb84553f3b6482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9574672c3f49fdb0d26bf51496298568f7bd15218f9c10db1eb84553f3b6482", kill_on_drop: false }` [INFO] [stdout] e9574672c3f49fdb0d26bf51496298568f7bd15218f9c10db1eb84553f3b6482