[INFO] cloning repository https://github.com/Paul-J-Barrett/rustwasm1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Paul-J-Barrett/rustwasm1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-J-Barrett%2Frustwasm1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-J-Barrett%2Frustwasm1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d94d126f5863dbc7863430cb5359c1958f28a1b0 [INFO] checking Paul-J-Barrett/rustwasm1/d94d126f5863dbc7863430cb5359c1958f28a1b0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaul-J-Barrett%2Frustwasm1" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Paul-J-Barrett/rustwasm1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Paul-J-Barrett/rustwasm1 [INFO] finished tweaking git repo https://github.com/Paul-J-Barrett/rustwasm1 [INFO] tweaked toml for git repo https://github.com/Paul-J-Barrett/rustwasm1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Paul-J-Barrett/rustwasm1 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5afeefa9f8c0c1011410f62903f3aafed4224b90c5734d84fce272a6fa7a9708 [INFO] running `Command { std: "docker" "start" "-a" "5afeefa9f8c0c1011410f62903f3aafed4224b90c5734d84fce272a6fa7a9708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5afeefa9f8c0c1011410f62903f3aafed4224b90c5734d84fce272a6fa7a9708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5afeefa9f8c0c1011410f62903f3aafed4224b90c5734d84fce272a6fa7a9708", kill_on_drop: false }` [INFO] [stdout] 5afeefa9f8c0c1011410f62903f3aafed4224b90c5734d84fce272a6fa7a9708 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 197dc56e0b4b8c1583dfbb44d0e42589e6cb68d2cc1bdfe245aae303f6c412ac [INFO] running `Command { std: "docker" "start" "-a" "197dc56e0b4b8c1583dfbb44d0e42589e6cb68d2cc1bdfe245aae303f6c412ac", kill_on_drop: false }` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking wasm-bindgen-test v0.3.28 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `wasm` in this scope [INFO] [stdout] --> tests/app.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(wasm.add2(1, 1), 2); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:22:32 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> tests/app.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | 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] --> tests/app.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | 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[E0271]: expected `impl Future` to be a future that resolves to `()`, but it resolves to `::Output` [INFO] [stdout] --> tests/app.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found associated type [INFO] [stdout] 22 | fn async_test() -> impl Future { [INFO] [stdout] | --------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found associated type `::Output` [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.28/src/rt/mod.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn execute_async(&self, name: &str, f: impl FnOnce() -> F + 'static) [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] 369 | where [INFO] [stdout] 370 | F: Future + 'static, [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] help: consider constraining the associated type `::Output` to `()` [INFO] [stdout] | [INFO] [stdout] 22 | fn async_test() -> impl Future { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0271, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webpack-template` (test "app") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "197dc56e0b4b8c1583dfbb44d0e42589e6cb68d2cc1bdfe245aae303f6c412ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197dc56e0b4b8c1583dfbb44d0e42589e6cb68d2cc1bdfe245aae303f6c412ac", kill_on_drop: false }` [INFO] [stdout] 197dc56e0b4b8c1583dfbb44d0e42589e6cb68d2cc1bdfe245aae303f6c412ac