[INFO] cloning repository https://github.com/bennetthardwick/rust-react [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bennetthardwick/rust-react" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennetthardwick%2Frust-react", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennetthardwick%2Frust-react'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df9b1a03a9a2221155449a458bec42ed6facd346 [INFO] testing bennetthardwick/rust-react against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennetthardwick%2Frust-react" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennetthardwick/rust-react on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bennetthardwick/rust-react [INFO] finished tweaking git repo https://github.com/bennetthardwick/rust-react [INFO] tweaked toml for git repo https://github.com/bennetthardwick/rust-react written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/bennetthardwick/rust-react already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-task v0.3.2 [INFO] [stderr] Downloaded futures-channel v0.3.2 [INFO] [stderr] Downloaded futures-sink v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.8 [INFO] [stderr] Downloaded futures-core v0.3.2 [INFO] [stderr] Downloaded futures v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.8 [INFO] [stderr] Downloaded futures-io v0.3.2 [INFO] [stderr] Downloaded futures-util v0.3.2 [INFO] [stderr] Downloaded futures-executor v0.3.2 [INFO] [stderr] Downloaded futures-macro v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e063bc1413d1b6a70b63b5b3b2a7387d46456c0d769cbd9231d69062f6ed07f [INFO] running `Command { std: "docker" "start" "-a" "6e063bc1413d1b6a70b63b5b3b2a7387d46456c0d769cbd9231d69062f6ed07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e063bc1413d1b6a70b63b5b3b2a7387d46456c0d769cbd9231d69062f6ed07f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e063bc1413d1b6a70b63b5b3b2a7387d46456c0d769cbd9231d69062f6ed07f", kill_on_drop: false }` [INFO] [stdout] 6e063bc1413d1b6a70b63b5b3b2a7387d46456c0d769cbd9231d69062f6ed07f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77a566768da6d7a8eb7a7687036811f189ba4bd2685dd1eee9c7b73d78939e2c [INFO] running `Command { std: "docker" "start" "-a" "77a566768da6d7a8eb7a7687036811f189ba4bd2685dd1eee9c7b73d78939e2c", 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.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling web-sys v0.3.35 [INFO] [stderr] Compiling js-sys v0.3.35 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/react.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `react::*` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use react::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ReactElement` [INFO] [stdout] --> src/react.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ReactElement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: js-sys v0.3.35 [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" "77a566768da6d7a8eb7a7687036811f189ba4bd2685dd1eee9c7b73d78939e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a566768da6d7a8eb7a7687036811f189ba4bd2685dd1eee9c7b73d78939e2c", kill_on_drop: false }` [INFO] [stdout] 77a566768da6d7a8eb7a7687036811f189ba4bd2685dd1eee9c7b73d78939e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa0429ac31fe015b80d2e9cab001084191fc1e78b3a949d2006a35387804856 [INFO] running `Command { std: "docker" "start" "-a" "3aa0429ac31fe015b80d2e9cab001084191fc1e78b3a949d2006a35387804856", 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-core v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.2 [INFO] [stderr] Compiling futures-io v0.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.8 [INFO] [stderr] Compiling futures-channel v0.3.2 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.8 [INFO] [stderr] Compiling futures-macro v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.2 [INFO] [stderr] Compiling futures v0.3.2 [INFO] [stderr] Compiling rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/react.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `react::*` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use react::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ReactElement` [INFO] [stdout] --> src/react.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ReactElement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/app.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected enum `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> tests/app.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | let promise = js_sys::Promise::resolve(&JsValue::from(42)); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `JsValue: From<{integer}>` found in the `wasm_bindgen` crate: [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] - impl From for JsValue; [INFO] [stdout] and 2 more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Output == ()` [INFO] [stdout] --> tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found associated type [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | --------------------------------------- the found opaque type [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/github.com-1ecc6299db9ec823/wasm-bindgen-test-0.3.8/src/rt/mod.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | F: Future + 'static, [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `wasm_bindgen_test::__rt::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] 25 | fn async_test() -> impl Future { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0271, E0283, E0308. [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` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3aa0429ac31fe015b80d2e9cab001084191fc1e78b3a949d2006a35387804856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa0429ac31fe015b80d2e9cab001084191fc1e78b3a949d2006a35387804856", kill_on_drop: false }` [INFO] [stdout] 3aa0429ac31fe015b80d2e9cab001084191fc1e78b3a949d2006a35387804856