[INFO] fetching crate wasi-binio-host 0.1.0...
[INFO] testing wasi-binio-host-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate wasi-binio-host 0.1.0 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wasi-binio-host 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 136 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v2.0.1)
[INFO] [stderr]       Adding wasmtime v0.15.0 (available: v38.0.4)
[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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cranelift-native v0.62.0
[INFO] [stderr]   Downloaded cranelift-frontend v0.62.0
[INFO] [stderr]   Downloaded wasi_binio_shared_mods v0.1.0
[INFO] [stderr]   Downloaded region v2.2.0
[INFO] [stderr]   Downloaded faerie v0.15.0
[INFO] [stderr]   Downloaded goblin v0.1.3
[INFO] [stderr]   Downloaded object v0.18.0
[INFO] [stderr]   Downloaded cranelift-codegen v0.62.0
[INFO] [stderr]   Downloaded cranelift-wasm v0.62.0
[INFO] [stderr]   Downloaded wasmparser v0.51.4
[INFO] [stderr]   Downloaded wasmtime-jit v0.15.0
[INFO] [stderr]   Downloaded cranelift-bforest v0.62.0
[INFO] [stderr]   Downloaded zstd v0.5.4+zstd.1.4.7
[INFO] [stderr]   Downloaded directories v2.0.2
[INFO] [stderr]   Downloaded zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.62.0
[INFO] [stderr]   Downloaded zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]   Downloaded wasmtime-runtime v0.15.0
[INFO] [stderr]   Downloaded gimli v0.20.0
[INFO] [stderr]   Downloaded wasmtime v0.15.0
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.62.0
[INFO] [stderr]   Downloaded wasmtime-debug v0.15.0
[INFO] [stderr]   Downloaded wasmtime-environ v0.15.0
[INFO] [stderr]   Downloaded target-lexicon v0.10.0
[INFO] [stderr]   Downloaded string-interner v0.7.1
[INFO] [stderr]   Downloaded wasmtime-profiling v0.15.0
[INFO] [stderr]   Downloaded cranelift-entity v0.62.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bd786ee3696439de7d5823bc4bdce4b0252811b520d122e42d221ee996e82d0
[INFO] running `Command { std: "docker" "start" "-a" "4bd786ee3696439de7d5823bc4bdce4b0252811b520d122e42d221ee996e82d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bd786ee3696439de7d5823bc4bdce4b0252811b520d122e42d221ee996e82d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bd786ee3696439de7d5823bc4bdce4b0252811b520d122e42d221ee996e82d0", kill_on_drop: false }`
[INFO] [stdout] 4bd786ee3696439de7d5823bc4bdce4b0252811b520d122e42d221ee996e82d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7c13fa3e1c907f2fd30627e5ec4d2302187c197a3f0573a90818aa3fe22411d
[INFO] running `Command { std: "docker" "start" "-a" "a7c13fa3e1c907f2fd30627e5ec4d2302187c197a3f0573a90818aa3fe22411d", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.10.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.62.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling cc v1.2.45
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling cranelift-entity v0.62.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.62.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cranelift-bforest v0.62.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling zstd-safe v2.0.6+zstd.1.4.7
[INFO] [stderr]    Compiling gimli v0.20.0
[INFO] [stderr]    Compiling wasmparser v0.51.4
[INFO] [stderr]    Compiling scroll_derive v0.10.5
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling wasmtime-environ v0.15.0
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling directories v2.0.2
[INFO] [stderr]    Compiling scroll v0.10.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling zstd-sys v1.4.18+zstd.1.4.7
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling more-asserts v0.2.2
[INFO] [stderr]    Compiling raw-cpuid v7.0.4
[INFO] [stderr]    Compiling wasmtime-runtime v0.15.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling wasm-encoder v0.240.0
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling goblin v0.1.3
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling file-per-thread-logger v0.1.6
[INFO] [stderr]    Compiling region v2.2.0
[INFO] [stderr]    Compiling string-interner v0.7.1
[INFO] [stderr]    Compiling leb128fmt v0.1.0
[INFO] [stderr]    Compiling object v0.18.0
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling wasi_binio_shared_mods v0.1.0
[INFO] [stderr]    Compiling faerie v0.15.0
[INFO] [stderr]    Compiling wast v240.0.0
[INFO] [stderr]    Compiling cranelift-codegen v0.62.0
[INFO] [stderr]    Compiling cranelift-frontend v0.62.0
[INFO] [stderr]    Compiling cranelift-wasm v0.62.0
[INFO] [stderr]    Compiling cranelift-native v0.62.0
[INFO] [stderr]    Compiling wat v1.240.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 2m 28s
[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" "a7c13fa3e1c907f2fd30627e5ec4d2302187c197a3f0573a90818aa3fe22411d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7c13fa3e1c907f2fd30627e5ec4d2302187c197a3f0573a90818aa3fe22411d", kill_on_drop: false }`
[INFO] [stdout] a7c13fa3e1c907f2fd30627e5ec4d2302187c197a3f0573a90818aa3fe22411d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24487c2f4a2fab121bc9e7edc2312805feded52c48a37d43059ba3c4eefa69d0
[INFO] running `Command { std: "docker" "start" "-a" "24487c2f4a2fab121bc9e7edc2312805feded52c48a37d43059ba3c4eefa69d0", 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 1.43s
[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" "24487c2f4a2fab121bc9e7edc2312805feded52c48a37d43059ba3c4eefa69d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24487c2f4a2fab121bc9e7edc2312805feded52c48a37d43059ba3c4eefa69d0", kill_on_drop: false }`
[INFO] [stdout] 24487c2f4a2fab121bc9e7edc2312805feded52c48a37d43059ba3c4eefa69d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6435e8e802fad863d6c004ced4c9d1b7527aee4f9039c623db2d4d372ce3877e
[INFO] running `Command { std: "docker" "start" "-a" "6435e8e802fad863d6c004ced4c9d1b7527aee4f9039c623db2d4d372ce3877e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[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-39768c609bad163a)
[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] 21 |    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] 21 -    let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */
[INFO] [stdout] 21 +    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] 21 -    let rect: Rect = some_how_make_a_rect_from_two_points()... /* Your own logic here */
[INFO] [stdout] 21 +    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] 22 |    wasi_binio_wasm::wasm_serialize(&rect).unwrap()
[INFO] [stdout]    |                                                   ^ help: add `;` here
[INFO] [stdout] 23 | }
[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] 24 | 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] 70 | 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] 69 + 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] 70 | 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] 70 | 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] 73 |    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] 74 |    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] 84 |    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] 85 |        = 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] 69 + 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] 13 | let result: Rect = call_stub(&instance, &(point1, point2), "do_compute")
[INFO] [stdout]    |                                                                         ^ help: add `;` here
[INFO] [stdout] 14 | } _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] 13 | 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] 13 | 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] 12 + 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] 13 | 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] 13 | 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] 13 | 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.32s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6435e8e802fad863d6c004ced4c9d1b7527aee4f9039c623db2d4d372ce3877e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6435e8e802fad863d6c004ced4c9d1b7527aee4f9039c623db2d4d372ce3877e", kill_on_drop: false }`
[INFO] [stdout] 6435e8e802fad863d6c004ced4c9d1b7527aee4f9039c623db2d4d372ce3877e
