[INFO] cloning repository https://github.com/KodrAus/rust-web-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KodrAus/rust-web-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Frust-web-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Frust-web-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8742663aa099d3aed1cfdaf7c3654246ccf1e0af [INFO] checking KodrAus/rust-web-app against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKodrAus%2Frust-web-app" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KodrAus/rust-web-app on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/source/rust-toolchain [INFO] started tweaking git repo https://github.com/KodrAus/rust-web-app [INFO] finished tweaking git repo https://github.com/KodrAus/rust-web-app [INFO] tweaked toml for git repo https://github.com/KodrAus/rust-web-app written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/KodrAus/rust-web-app already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04808cd78272674f82d1662345cb1bee7ad8ef2b5605799c926a661f7c265853 [INFO] running `Command { std: "docker" "start" "-a" "04808cd78272674f82d1662345cb1bee7ad8ef2b5605799c926a661f7c265853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04808cd78272674f82d1662345cb1bee7ad8ef2b5605799c926a661f7c265853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04808cd78272674f82d1662345cb1bee7ad8ef2b5605799c926a661f7c265853", kill_on_drop: false }` [INFO] [stdout] 04808cd78272674f82d1662345cb1bee7ad8ef2b5605799c926a661f7c265853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 175f78a84d94d4e384f9c6ecaed0f36a66ef28dcc476a9b18ee8a22740760fbc [INFO] running `Command { std: "docker" "start" "-a" "175f78a84d94d4e384f9c6ecaed0f36a66ef28dcc476a9b18ee8a22740760fbc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] futures-channel v0.3.15 (as host dependency): futures-sink, sink [INFO] [stderr] futures-task v0.3.15 (as host dependency): alloc, std [INFO] [stderr] futures-util v0.3.15 (as host dependency): alloc, async-await, async-await-macro, channel, futures-channel, futures-io, futures-macro, futures-sink, io, memchr, proc-macro-hack, proc-macro-nested, sink, slab, std [INFO] [stderr] indexmap v1.7.0 (as host dependency): serde, serde-1 [INFO] [stderr] log v0.4.14 (as host dependency): serde, std [INFO] [stderr] memchr v2.4.0 (as host dependency): use_std [INFO] [stderr] rocket_http v0.5.0-rc.1 (as host dependency): serde, serde_ [INFO] [stderr] tokio v1.8.1: winapi [INFO] [stderr] tokio v1.8.1 (as host dependency): fs, io-std, macros, num_cpus, once_cell, rt-multi-thread, signal, signal-hook-registry, tokio-macros, winapi [INFO] [stderr] tokio-util v0.6.7 (as host dependency): io [INFO] [stderr] uncased v0.9.6 (as host dependency): serde, with-serde-alloc [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.14 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking spin v0.9.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling multer v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking libc v0.2.98 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling devise_core v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Compiling devise v0.3.0 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking ubyte v0.10.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking shop v0.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/customers.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/products.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/orders.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking multer v2.0.0 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Checking rocket v0.5.0-rc.1 [INFO] [stderr] Checking shop v0.0.0 (/tmp/fixit) [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/domain/infra/func.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn add_value(data: &mut Vec) -> impl Command + '_ { [INFO] [stdout] | ---- variable defined here [INFO] [stdout] 104 | move |command: AddValue| async move { [INFO] [stdout] | ____________________________________-_^ [INFO] [stdout] | | | [INFO] [stdout] | | inferred to be a `FnMut` closure [INFO] [stdout] 105 | | data.push(command.value); [INFO] [stdout] | | ---- variable captured here [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____________^ returns an `async` block that contains a reference to a captured variable, which then escapes the closure body [INFO] [stdout] | [INFO] [stdout] = note: `FnMut` closures only have access to their captured variables while they are executing... [INFO] [stdout] = note: ...therefore, they cannot allow references to captured variables to escape [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shop` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "175f78a84d94d4e384f9c6ecaed0f36a66ef28dcc476a9b18ee8a22740760fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175f78a84d94d4e384f9c6ecaed0f36a66ef28dcc476a9b18ee8a22740760fbc", kill_on_drop: false }` [INFO] [stdout] 175f78a84d94d4e384f9c6ecaed0f36a66ef28dcc476a9b18ee8a22740760fbc