[INFO] fetching crate wasi-binio-host 0.1.0...
[INFO] testing wasi-binio-host-0.1.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate wasi-binio-host 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate wasi-binio-host 0.1.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 137 packages to latest compatible versions
[INFO] [stderr]       Adding wasmtime v0.15.0 (available: v26.0.0)
[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" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2a0f7ced317050aee3342e0cc0cb3fe74be56d5e567dfafea7a640fc1a916e3
[INFO] running `Command { std: "docker" "start" "-a" "a2a0f7ced317050aee3342e0cc0cb3fe74be56d5e567dfafea7a640fc1a916e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2a0f7ced317050aee3342e0cc0cb3fe74be56d5e567dfafea7a640fc1a916e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2a0f7ced317050aee3342e0cc0cb3fe74be56d5e567dfafea7a640fc1a916e3", kill_on_drop: false }`
[INFO] [stdout] a2a0f7ced317050aee3342e0cc0cb3fe74be56d5e567dfafea7a640fc1a916e3
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6924bc00d7a50088100899ad69b908bbc94ef5eba4aff676b80ba2385af4012d
[INFO] running `Command { std: "docker" "start" "-a" "6924bc00d7a50088100899ad69b908bbc94ef5eba4aff676b80ba2385af4012d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.62.0
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling wasmparser v0.51.4
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling gimli v0.20.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling wasmtime-environ v0.15.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling more-asserts v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling wasm-encoder v0.219.1
[INFO] [stderr]    Compiling object v0.18.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasi_binio_shared_mods v0.1.0
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling wasmtime-runtime v0.15.0
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling wast v219.0.1
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling goblin v0.1.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling cranelift-entity v0.62.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling string-interner v0.7.1
[INFO] [stderr]    Compiling faerie v0.15.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.62.0
[INFO] [stderr]    Compiling cranelift-bforest v0.62.0
[INFO] [stderr]    Compiling wat v1.219.1
[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 30.14s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "6924bc00d7a50088100899ad69b908bbc94ef5eba4aff676b80ba2385af4012d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6924bc00d7a50088100899ad69b908bbc94ef5eba4aff676b80ba2385af4012d", kill_on_drop: false }`
[INFO] [stdout] 6924bc00d7a50088100899ad69b908bbc94ef5eba4aff676b80ba2385af4012d
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03c49c2b2a8361dd98a81bbc85907f1ef5bace8ce30041eb3b60aee4944dff32
[INFO] running `Command { std: "docker" "start" "-a" "03c49c2b2a8361dd98a81bbc85907f1ef5bace8ce30041eb3b60aee4944dff32", 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.48s
[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 1`
[INFO] running `Command { std: "docker" "inspect" "03c49c2b2a8361dd98a81bbc85907f1ef5bace8ce30041eb3b60aee4944dff32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03c49c2b2a8361dd98a81bbc85907f1ef5bace8ce30041eb3b60aee4944dff32", kill_on_drop: false }`
[INFO] [stdout] 03c49c2b2a8361dd98a81bbc85907f1ef5bace8ce30041eb3b60aee4944dff32
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 77b1450376274528b9a8e9c82e8d73b3a9e664ff3c0aee68eb30475d12c45d21
[INFO] running `Command { std: "docker" "start" "-a" "77b1450376274528b9a8e9c82e8d73b3a9e664ff3c0aee68eb30475d12c45d21", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[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 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasi_binio_host-6be853cbda6073f1)
[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 - call_stub (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 17) ... 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]   |                ^^^^^^^^ 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] ---- 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[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 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[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[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[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[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] 
[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.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "77b1450376274528b9a8e9c82e8d73b3a9e664ff3c0aee68eb30475d12c45d21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77b1450376274528b9a8e9c82e8d73b3a9e664ff3c0aee68eb30475d12c45d21", kill_on_drop: false }`
[INFO] [stdout] 77b1450376274528b9a8e9c82e8d73b3a9e664ff3c0aee68eb30475d12c45d21
