[INFO] fetching crate wasi-binio-host 0.1.0...
[INFO] testing wasi-binio-host-0.1.0 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate wasi-binio-host 0.1.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate wasi-binio-host 0.1.0 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] cab233aa61a5e430a62aaa2358894e8ca4adc59201a52faab6f589cea72d0c19
[INFO] running `Command { std: "docker" "start" "-a" "cab233aa61a5e430a62aaa2358894e8ca4adc59201a52faab6f589cea72d0c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cab233aa61a5e430a62aaa2358894e8ca4adc59201a52faab6f589cea72d0c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cab233aa61a5e430a62aaa2358894e8ca4adc59201a52faab6f589cea72d0c19", kill_on_drop: false }`
[INFO] [stdout] cab233aa61a5e430a62aaa2358894e8ca4adc59201a52faab6f589cea72d0c19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e511ff82370f1e05c3d6fadbcae9af3fc9455f77343a47aed6bbecae38ae25c0
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e511ff82370f1e05c3d6fadbcae9af3fc9455f77343a47aed6bbecae38ae25c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.62.0
[INFO] [stderr]    Compiling glob v0.3.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 byte-tools v0.3.1
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling wasmparser v0.51.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling wasmtime-environ v0.15.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling more-asserts v0.2.2
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling wasi_binio_shared_mods v0.1.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling wasm-encoder v0.14.0
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling gimli v0.20.0
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling wast v43.0.0
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling wasmtime-runtime v0.15.0
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling object v0.18.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.5
[INFO] [stderr]    Compiling goblin v0.1.3
[INFO] [stderr]    Compiling cranelift-entity v0.62.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling toml v0.5.9
[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.0.45
[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 [unoptimized + debuginfo] target(s) in 3m 52s
[INFO] running `Command { std: "docker" "inspect" "e511ff82370f1e05c3d6fadbcae9af3fc9455f77343a47aed6bbecae38ae25c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e511ff82370f1e05c3d6fadbcae9af3fc9455f77343a47aed6bbecae38ae25c0", kill_on_drop: false }`
[INFO] [stdout] e511ff82370f1e05c3d6fadbcae9af3fc9455f77343a47aed6bbecae38ae25c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] c62d31b2bde813d9d4919e9d3291a2f62f49452d55d16d2d000df71eab7b807f
[INFO] running `Command { std: "docker" "start" "-a" "c62d31b2bde813d9d4919e9d3291a2f62f49452d55d16d2d000df71eab7b807f", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasi-binio-host v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 6.32s
[INFO] running `Command { std: "docker" "inspect" "c62d31b2bde813d9d4919e9d3291a2f62f49452d55d16d2d000df71eab7b807f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c62d31b2bde813d9d4919e9d3291a2f62f49452d55d16d2d000df71eab7b807f", kill_on_drop: false }`
[INFO] [stdout] c62d31b2bde813d9d4919e9d3291a2f62f49452d55d16d2d000df71eab7b807f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e05fcb06c826eacead9272d0dbd1f03d96a060c8c63f365ede8d94fe9b42b83a
[INFO] running `Command { std: "docker" "start" "-a" "e05fcb06c826eacead9272d0dbd1f03d96a060c8c63f365ede8d94fe9b42b83a", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasi_binio_host-f12a07f078e9ae31)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests wasi-binio-host
[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] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - call_stub (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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]   |                ^^^^^^^^ not found in this scope
[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 17) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:21:59
[INFO] [stdout]   |
[INFO] [stdout] 6 |    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] 6 |    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] 6 |    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] 7 |    wasi_binio_wasm::wasm_serialize(&rect).unwrap()
[INFO] [stdout]   |                                                   ^ help: add `;` here
[INFO] [stdout] 8 | }
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `wasm`
[INFO] [stdout]  --> src/lib.rs:24:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | Since wasm and wasi are under active development. Wasi will soon provide complex arguments support.
[INFO] [stdout]   |       ^^^^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_binio_wasm`
[INFO] [stdout]  --> src/lib.rs:20:39
[INFO] [stdout]   |
[INFO] [stdout] 5 |    let point_tuple : (Point, Point) = wasi_binio_wasm::wasm_deserialize(ptr, buffer_size).unwrap();
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasi_binio_wasm`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 |    let point_tuple : (Point, Point) = wasi_binio_host::wasm_deserialize(ptr, buffer_size).unwrap();
[INFO] [stdout]   |                                       ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasi_binio_wasm`
[INFO] [stdout]  --> src/lib.rs:22:4
[INFO] [stdout]   |
[INFO] [stdout] 7 |    wasi_binio_wasm::wasm_serialize(&rect).unwrap()
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasi_binio_wasm`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 7 |    wasi_binio_host::wasm_serialize(&rect).unwrap()
[INFO] [stdout]   |    ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Point` in this scope
[INFO] [stdout]  --> src/lib.rs:20:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |    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:20:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |    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 `Rect` in this scope
[INFO] [stdout]  --> src/lib.rs:21:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |    let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */
[INFO] [stdout]   |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `some_how_make_a_rect_from_two_points` in this scope
[INFO] [stdout]  --> src/lib.rs:21:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |    let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `rect` in this scope
[INFO] [stdout]  --> src/lib.rs:22:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |    wasi_binio_wasm::wasm_serialize(&rect).unwrap()
[INFO] [stdout]   |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:19:43
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn do_compute(ptr:i32, buffer_size: i32)->i64{
[INFO] [stdout]   |    ----------                             ^^^ expected `i64`, found `()`
[INFO] [stdout]   |    |
[INFO] [stdout]   |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[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.45s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "e05fcb06c826eacead9272d0dbd1f03d96a060c8c63f365ede8d94fe9b42b83a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e05fcb06c826eacead9272d0dbd1f03d96a060c8c63f365ede8d94fe9b42b83a", kill_on_drop: false }`
[INFO] [stdout] e05fcb06c826eacead9272d0dbd1f03d96a060c8c63f365ede8d94fe9b42b83a
