[INFO] cloning repository https://github.com/r-bar/seed-wasm-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-bar/seed-wasm-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fseed-wasm-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fseed-wasm-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5baf8215344a86b61e3cf1f41c094c1c85fe9c8e [INFO] checking r-bar/seed-wasm-experiment against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-bar%2Fseed-wasm-experiment" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-bar/seed-wasm-experiment on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-bar/seed-wasm-experiment [INFO] finished tweaking git repo https://github.com/r-bar/seed-wasm-experiment [INFO] tweaked toml for git repo https://github.com/r-bar/seed-wasm-experiment written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/r-bar/seed-wasm-experiment 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef8d0abab24189d59d0517630ad460421c399aa56319ad7d94ffe469623c01c8 [INFO] running `Command { std: "docker" "start" "-a" "ef8d0abab24189d59d0517630ad460421c399aa56319ad7d94ffe469623c01c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef8d0abab24189d59d0517630ad460421c399aa56319ad7d94ffe469623c01c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef8d0abab24189d59d0517630ad460421c399aa56319ad7d94ffe469623c01c8", kill_on_drop: false }` [INFO] [stdout] ef8d0abab24189d59d0517630ad460421c399aa56319ad7d94ffe469623c01c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24a211068cd81c61d53cad3674429bd95b6d52050fc62e86bfa5e24d009e876b [INFO] running `Command { std: "docker" "start" "-a" "24a211068cd81c61d53cad3674429bd95b6d52050fc62e86bfa5e24d009e876b", 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 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.48 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bumpalo v2.5.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.48 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling pulldown-cmark v0.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking getopts v0.2.19 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking enclose v1.1.6 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling backtrace-sys v0.1.30 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.2.48 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling backtrace v0.3.32 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.48 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.48 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.48 [INFO] [stderr] Compiling web-sys v0.3.25 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking js-sys v0.3.25 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.3.25 [INFO] [stderr] Checking wasm-bindgen-test v0.2.48 [INFO] [stderr] Checking seed v0.3.7 [INFO] [stderr] Checking rust-webpack-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | 0 ... 5 => "Not very many 🙁", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | 6 ... 9 => "I got my first real six-string 😐", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | 10 ... 11 => "Spinal Tap 🙂", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | 0 ... 5 => "Not very many 🙁", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | 6 ... 9 => "I got my first real six-string 😐", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | 10 ... 11 => "Spinal Tap 🙂", [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn fetch_data(model: &mut Model) -> impl Future { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model` [INFO] [stdout] --> src/lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn fetch_data(model: &mut Model) -> impl Future { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/lib.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn update(msg: Msg, model: &mut Model, orders: &mut Orders) { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `model` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 93 | orders.skip().perform_cmd(fetch_data(model)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `model` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `model` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 93 | orders.skip().perform_cmd(fetch_data(model)); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*model` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 108 | log!(&msg_copy, &model); [INFO] [stdout] | ^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of function [INFO] [stdout] --> src/lib.rs:93:39 [INFO] [stdout] | [INFO] [stdout] 78 | fn update(msg: Msg, model: &mut Model, orders: &mut Orders) { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `model` is a reference that is only valid in the function body [INFO] [stdout] ... [INFO] [stdout] 93 | orders.skip().perform_cmd(fetch_data(model)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `model` escapes the function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `model` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lib.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 93 | orders.skip().perform_cmd(fetch_data(model)); [INFO] [stdout] | ----------------- [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | argument requires that `*model` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 108 | log!(&msg_copy, &model); [INFO] [stdout] | ^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0502, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-webpack-template` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-webpack-template` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24a211068cd81c61d53cad3674429bd95b6d52050fc62e86bfa5e24d009e876b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24a211068cd81c61d53cad3674429bd95b6d52050fc62e86bfa5e24d009e876b", kill_on_drop: false }` [INFO] [stdout] 24a211068cd81c61d53cad3674429bd95b6d52050fc62e86bfa5e24d009e876b