[INFO] cloning repository https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2FGame-Development-with-Rust-and-WebAssembly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2FGame-Development-with-Rust-and-WebAssembly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11c716fbb91e4229ae0cf66ea26094a1d31b059a [INFO] checking homura10059/Game-Development-with-Rust-and-WebAssembly against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomura10059%2FGame-Development-with-Rust-and-WebAssembly" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly [INFO] finished tweaking git repo https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly [INFO] tweaked toml for git repo https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/homura10059/Game-Development-with-Rust-and-WebAssembly already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/part1/chapter_1/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/part1/chapter_2/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/part2/chapter_4/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/part2/chapter_5/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc1/source/part2/chapter_6/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.37 [INFO] [stderr] Downloaded serde v1.0.181 [INFO] [stderr] Downloaded serde_derive v1.0.181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6420ffc425e9f4d2293bd72dfa82a09a8cfb1f62c10069cb0271afa3ecc38935 [INFO] running `Command { std: "docker" "start" "-a" "6420ffc425e9f4d2293bd72dfa82a09a8cfb1f62c10069cb0271afa3ecc38935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6420ffc425e9f4d2293bd72dfa82a09a8cfb1f62c10069cb0271afa3ecc38935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6420ffc425e9f4d2293bd72dfa82a09a8cfb1f62c10069cb0271afa3ecc38935", kill_on_drop: false }` [INFO] [stdout] 6420ffc425e9f4d2293bd72dfa82a09a8cfb1f62c10069cb0271afa3ecc38935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63d0108bfa3c95c8ec7ae81147c6b944061b24f9854f0524f241b274646c60e6 [INFO] running `Command { std: "docker" "start" "-a" "63d0108bfa3c95c8ec7ae81147c6b944061b24f9854f0524f241b274646c60e6", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/part1/chapter_1/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/part1/chapter_2/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/part2/chapter_4/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/part2/chapter_5/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/part2/chapter_6/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking wasm-bindgen-test v0.3.37 [INFO] [stderr] Checking chapter_6 v0.1.0 (/opt/rustwide/workdir/part2/chapter_6) [INFO] [stderr] Checking chapter_2 v0.1.0 (/opt/rustwide/workdir/part1/chapter_2) [INFO] [stderr] Checking chapter-1 v0.1.0 (/opt/rustwide/workdir/part1/chapter_1) [INFO] [stderr] Checking chapter_5 v0.1.0 (/opt/rustwide/workdir/part2/chapter_5) [INFO] [stderr] Checking chapter_4 v0.1.0 (/opt/rustwide/workdir/part2/chapter_4) [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> part1/chapter_2/tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> part1/chapter_2/tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> part1/chapter_1/tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> part1/chapter_1/tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_6/tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_6/tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> part1/chapter_2/tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> part1/chapter_1/tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> part2/chapter_6/tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_5/tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_5/tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> part1/chapter_2/tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-test-0.3.37/src/rt/mod.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 428 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> part1/chapter_1/tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-test-0.3.37/src/rt/mod.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 428 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> part2/chapter_5/tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_4/tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> part2/chapter_4/tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ help: `futures::Future` has the following associated type: `Output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> part2/chapter_6/tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-test-0.3.37/src/rt/mod.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 428 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter-1` (test "app") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chapter_2` (test "app") due to 5 previous errors [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> part2/chapter_5/tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-test-0.3.37/src/rt/mod.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 428 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> part2/chapter_4/tests/app.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^ expected `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `::Output: wasm_bindgen_test::__rt::Termination` is not satisfied [INFO] [stdout] --> part2/chapter_4/tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `wasm_bindgen_test::__rt::Termination` is not implemented for `::Output` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `wasm_bindgen_test::__rt::Termination`: [INFO] [stdout] () [INFO] [stdout] Result<(), E> [INFO] [stdout] note: required by a bound in `wasm_bindgen_test::__rt::Context::execute_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-test-0.3.37/src/rt/mod.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub fn execute_async( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 428 | F::Output: Termination, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Context::execute_async` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter_6` (test "app") due to 5 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter_5` (test "app") due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter_4` (test "app") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "63d0108bfa3c95c8ec7ae81147c6b944061b24f9854f0524f241b274646c60e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d0108bfa3c95c8ec7ae81147c6b944061b24f9854f0524f241b274646c60e6", kill_on_drop: false }` [INFO] [stdout] 63d0108bfa3c95c8ec7ae81147c6b944061b24f9854f0524f241b274646c60e6