[INFO] cloning repository https://github.com/maple-leaf/rust-wasm-playgroud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maple-leaf/rust-wasm-playgroud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaple-leaf%2Frust-wasm-playgroud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaple-leaf%2Frust-wasm-playgroud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d3e52f7931e571691000b85d2f12f19eca62efa [INFO] testing maple-leaf/rust-wasm-playgroud against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaple-leaf%2Frust-wasm-playgroud" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maple-leaf/rust-wasm-playgroud on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maple-leaf/rust-wasm-playgroud [INFO] finished tweaking git repo https://github.com/maple-leaf/rust-wasm-playgroud [INFO] tweaked toml for git repo https://github.com/maple-leaf/rust-wasm-playgroud written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/maple-leaf/rust-wasm-playgroud already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e9eb17946415c6071c759bc670e470ad4ce4501da4b9e347ed123a4fa11b6c [INFO] running `Command { std: "docker" "start" "-a" "20e9eb17946415c6071c759bc670e470ad4ce4501da4b9e347ed123a4fa11b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e9eb17946415c6071c759bc670e470ad4ce4501da4b9e347ed123a4fa11b6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e9eb17946415c6071c759bc670e470ad4ce4501da4b9e347ed123a4fa11b6c", kill_on_drop: false }` [INFO] [stdout] 20e9eb17946415c6071c759bc670e470ad4ce4501da4b9e347ed123a4fa11b6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff7059345b0a07b81092b64da70c2cdd37bde3a2ee55c11d2c9d0c429cf3def7 [INFO] running `Command { std: "docker" "start" "-a" "ff7059345b0a07b81092b64da70c2cdd37bde3a2ee55c11d2c9d0c429cf3def7", 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 syn v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Compiling js-sys v0.3.50 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.50 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.23 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.26s [INFO] running `Command { std: "docker" "inspect" "ff7059345b0a07b81092b64da70c2cdd37bde3a2ee55c11d2c9d0c429cf3def7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7059345b0a07b81092b64da70c2cdd37bde3a2ee55c11d2c9d0c429cf3def7", kill_on_drop: false }` [INFO] [stdout] ff7059345b0a07b81092b64da70c2cdd37bde3a2ee55c11d2c9d0c429cf3def7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cf72f82d1fe3a24aeef65841ef3dc38c4eba75545e1ab2966752114d963e8a2 [INFO] running `Command { std: "docker" "start" "-a" "1cf72f82d1fe3a24aeef65841ef3dc38c4eba75545e1ab2966752114d963e8a2", 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 futures v0.1.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-futures v0.3.27 [INFO] [stderr] Compiling wasm-bindgen-test v0.2.50 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0465]: multiple rlib candidates for `wasm_bindgen_futures` found [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: candidate #1: /opt/rustwide/target/debug/deps/libwasm_bindgen_futures-030c3b05a74a3394.rlib [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2: /opt/rustwide/target/debug/deps/libwasm_bindgen_futures-efd08949c2692624.rlib [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture` [INFO] [stdout] --> src/lib.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let resp_value = JsFuture::from(window.fetch_with_request(&request)).await?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JsFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture` [INFO] [stdout] --> src/lib.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let json = JsFuture::from(resp.json()?).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture` [INFO] [stdout] --> src/lib.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let resp_value = JsFuture::from(window.fetch_with_request(&request)).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsFuture` [INFO] [stdout] --> src/lib.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | let text = JsFuture::from(resp.text()?).await?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Future: futures::future::Future` is not satisfied [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `futures::future::Future` is not implemented for `impl Future` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `future_to_promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-futures-0.3.27/src/legacy.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `future_to_promise` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Future: futures::future::Future` is not satisfied [INFO] [stdout] --> src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `futures::future::Future` is not implemented for `impl Future` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `future_to_promise` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-futures-0.3.27/src/legacy.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `future_to_promise` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webpack-template` due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1cf72f82d1fe3a24aeef65841ef3dc38c4eba75545e1ab2966752114d963e8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cf72f82d1fe3a24aeef65841ef3dc38c4eba75545e1ab2966752114d963e8a2", kill_on_drop: false }` [INFO] [stdout] 1cf72f82d1fe3a24aeef65841ef3dc38c4eba75545e1ab2966752114d963e8a2