[INFO] cloning repository https://github.com/rulonder/swath [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rulonder/swath" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frulonder%2Fswath", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frulonder%2Fswath'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f5d44e8fcc531a5147f4eca3f773c7eb9229dce [INFO] checking rulonder/swath against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frulonder%2Fswath" "/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/rulonder/swath 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/rulonder/swath [INFO] finished tweaking git repo https://github.com/rulonder/swath [INFO] tweaked toml for git repo https://github.com/rulonder/swath written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rulonder/swath 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: 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 num-complex v0.3.1 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.19 [INFO] [stderr] Downloaded simba v0.3.1 [INFO] [stderr] Downloaded rand_distr v0.3.0 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.19 [INFO] [stderr] Downloaded nalgebra v0.23.1 [INFO] [stderr] Downloaded syn v1.0.54 [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] 25d67e706fbeba9ce2ab2caba5d12f611c772919083c9fef82d883f67e8e1370 [INFO] running `Command { std: "docker" "start" "-a" "25d67e706fbeba9ce2ab2caba5d12f611c772919083c9fef82d883f67e8e1370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25d67e706fbeba9ce2ab2caba5d12f611c772919083c9fef82d883f67e8e1370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d67e706fbeba9ce2ab2caba5d12f611c772919083c9fef82d883f67e8e1370", kill_on_drop: false }` [INFO] [stdout] 25d67e706fbeba9ce2ab2caba5d12f611c772919083c9fef82d883f67e8e1370 [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] 3c383b3e37ab4dd39d10caa00b33ceadb6e8f7dad027d86302a6f520bd85db19 [INFO] running `Command { std: "docker" "start" "-a" "3c383b3e37ab4dd39d10caa00b33ceadb6e8f7dad027d86302a6f520bd85db19", 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 syn v1.0.54 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.19 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking nalgebra v0.23.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.19 [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking wasm-bindgen-test v0.3.19 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking swath-tools v0.1.1 (/opt/rustwide/workdir) [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] | ^^^^ 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: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] --> 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[E0271]: expected `impl Future` to be a future that resolves to `()`, but it resolves to `::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 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.19/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] 25 | fn async_test() -> impl Future { [INFO] [stdout] | +++++++++++++ [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, E0271, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swath-tools` (test "app") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3c383b3e37ab4dd39d10caa00b33ceadb6e8f7dad027d86302a6f520bd85db19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c383b3e37ab4dd39d10caa00b33ceadb6e8f7dad027d86302a6f520bd85db19", kill_on_drop: false }` [INFO] [stdout] 3c383b3e37ab4dd39d10caa00b33ceadb6e8f7dad027d86302a6f520bd85db19