[INFO] cloning repository https://github.com/rohankumardubey/flat-manager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/flat-manager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fflat-manager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fflat-manager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bfca06f69b89b8b1a608bcf8a6056c9930eb765 [INFO] checking rohankumardubey/flat-manager against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fflat-manager" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/flat-manager on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohankumardubey/flat-manager [INFO] finished tweaking git repo https://github.com/rohankumardubey/flat-manager [INFO] tweaked toml for git repo https://github.com/rohankumardubey/flat-manager written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/flat-manager 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" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-process v0.2.5 [INFO] [stderr] Downloaded tokio-signal v0.2.9 [INFO] [stderr] Downloaded mpart-async v0.2.1 [INFO] [stderr] Downloaded tokio-uds v0.2.7 [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded enum-as-inner v0.2.1 [INFO] [stderr] Downloaded v_escape v0.7.4 [INFO] [stderr] Downloaded v_escape_derive v0.5.6 [INFO] [stderr] Downloaded actix-files v0.1.7 [INFO] [stderr] Downloaded trust-dns-proto v0.5.0 [INFO] [stderr] Downloaded trust-dns-proto v0.6.3 [INFO] [stderr] Downloaded actix-http v0.2.11 [INFO] [stderr] Downloaded twoway v0.2.2 [INFO] [stderr] Downloaded parking_lot_core v0.4.0 [INFO] [stderr] Downloaded parking_lot v0.7.1 [INFO] [stderr] Downloaded actix v0.7.9 [INFO] [stderr] Downloaded ipconfig v0.1.9 [INFO] [stderr] Downloaded actix-net v0.2.6 [INFO] [stderr] Downloaded parking_lot_core v0.5.0 [INFO] [stderr] Downloaded parking_lot v0.8.0 [INFO] [stderr] Downloaded actix v0.8.3 [INFO] [stderr] Downloaded actix-server v0.6.1 [INFO] [stderr] Downloaded actix-web-codegen v0.1.3 [INFO] [stderr] Downloaded actix-web v1.0.9 [INFO] [stderr] Downloaded miniz-sys v0.1.12 [INFO] [stderr] Downloaded trust-dns-proto v0.7.4 [INFO] [stderr] Downloaded trust-dns-resolver v0.11.1 [INFO] [stderr] Downloaded actix-service v0.4.2 [INFO] [stderr] Downloaded v_htmlescape v0.4.5 [INFO] [stderr] Downloaded unchecked-index v0.2.2 [INFO] [stderr] Downloaded actix_derive v0.3.2 [INFO] [stderr] Downloaded tower-service v0.1.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.10.3 [INFO] [stderr] Downloaded actix_derive v0.4.0 [INFO] [stderr] Downloaded derive_more v0.14.1 [INFO] [stderr] Downloaded actix-multipart v0.1.5 [INFO] [stderr] Downloaded hashbrown v0.3.1 [INFO] [stderr] Downloaded lock_api v0.2.0 [INFO] [stderr] Downloaded actix-router v0.1.5 [INFO] [stderr] Downloaded actix-testing v0.1.0 [INFO] [stderr] Downloaded actix-web-actors v1.0.4 [INFO] [stderr] Downloaded askama_derive v0.7.2 [INFO] [stderr] Downloaded askama_shared v0.7.2 [INFO] [stderr] Downloaded askama v0.7.2 [INFO] [stderr] Downloaded actix-rt v0.2.6 [INFO] [stderr] Downloaded actix-connect v0.2.5 [INFO] [stderr] Downloaded actix-server-config v0.1.2 [INFO] [stderr] Downloaded actix-threadpool v0.1.2 [INFO] [stderr] Downloaded actix-codec v0.1.2 [INFO] [stderr] Downloaded actix-utils v0.4.7 [INFO] [stderr] Downloaded const-random-macro v0.1.13 [INFO] [stderr] Downloaded const-random v0.1.13 [INFO] [stderr] Downloaded ahash v0.2.19 [INFO] [stderr] Downloaded derive_more v0.15.0 [INFO] [stderr] Downloaded awc v0.2.8 [INFO] [stderr] Downloaded migrations_internals v1.4.1 [INFO] [stderr] Downloaded diesel_migrations v1.4.0 [INFO] [stderr] Downloaded futures-locks v0.3.3 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded pq-sys v0.4.6 [INFO] [stderr] Downloaded migrations_macros v1.4.2 [INFO] [stderr] Downloaded futures-fs v0.0.5 [INFO] [stderr] Downloaded object v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a35eef51e23c25a2a33b7cb361fae331a5d253232b17a4f731dc4baea188e37 [INFO] running `Command { std: "docker" "start" "-a" "3a35eef51e23c25a2a33b7cb361fae331a5d253232b17a4f731dc4baea188e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a35eef51e23c25a2a33b7cb361fae331a5d253232b17a4f731dc4baea188e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a35eef51e23c25a2a33b7cb361fae331a5d253232b17a4f731dc4baea188e37", kill_on_drop: false }` [INFO] [stdout] 3a35eef51e23c25a2a33b7cb361fae331a5d253232b17a4f731dc4baea188e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4beaba01a18364a7b958c453af81f0fcd5099c259901a859ef5b890a81b77cfb [INFO] running `Command { std: "docker" "start" "-a" "4beaba01a18364a7b958c453af81f0fcd5099c259901a859ef5b890a81b77cfb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking actix-service v0.4.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking futures-fs v0.0.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking tokio-process v0.2.5 [INFO] [stderr] Checking futures-locks v0.3.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking v_escape v0.7.4 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking mpart-async v0.2.1 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking actix-rt v0.2.6 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Compiling askama_shared v0.7.2 [INFO] [stderr] Compiling askama_derive v0.7.2 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking actix-http v0.2.11 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking askama v0.7.2 [INFO] [stderr] Checking awc v0.2.8 [INFO] [stderr] Checking actix v0.8.3 [INFO] [stderr] Checking actix-web v1.0.9 [INFO] [stderr] Checking actix-multipart v0.1.5 [INFO] [stderr] Checking actix-web-actors v1.0.4 [INFO] [stderr] Checking actix-files v0.1.7 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking flat-manager v0.3.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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" "4beaba01a18364a7b958c453af81f0fcd5099c259901a859ef5b890a81b77cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4beaba01a18364a7b958c453af81f0fcd5099c259901a859ef5b890a81b77cfb", kill_on_drop: false }` [INFO] [stdout] 4beaba01a18364a7b958c453af81f0fcd5099c259901a859ef5b890a81b77cfb [INFO] checking rohankumardubey/flat-manager against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fflat-manager" "/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/rohankumardubey/flat-manager on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohankumardubey/flat-manager [INFO] finished tweaking git repo https://github.com/rohankumardubey/flat-manager [INFO] tweaked toml for git repo https://github.com/rohankumardubey/flat-manager written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/flat-manager 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" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 548a8059091958e9a7e699371be1e23a439f7849aea68c8e2f085469c3e77e06 [INFO] running `Command { std: "docker" "start" "-a" "548a8059091958e9a7e699371be1e23a439f7849aea68c8e2f085469c3e77e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "548a8059091958e9a7e699371be1e23a439f7849aea68c8e2f085469c3e77e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548a8059091958e9a7e699371be1e23a439f7849aea68c8e2f085469c3e77e06", kill_on_drop: false }` [INFO] [stdout] 548a8059091958e9a7e699371be1e23a439f7849aea68c8e2f085469c3e77e06 [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 444347a589a3cd7655bbbb9fc22ee6ac10f5b28390abf203a39bb6c04216bb25 [INFO] running `Command { std: "docker" "start" "-a" "444347a589a3cd7655bbbb9fc22ee6ac10f5b28390abf203a39bb6c04216bb25", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking actix-service v0.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking actix-server-config v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking actix-utils v0.4.7 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking futures-fs v0.0.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking tokio-process v0.2.5 [INFO] [stderr] Checking futures-locks v0.3.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking actix-threadpool v0.1.2 [INFO] [stderr] Checking actix-rt v0.2.6 [INFO] [stderr] Checking trust-dns-proto v0.7.4 [INFO] [stderr] Checking trust-dns-proto v0.6.3 [INFO] [stderr] Checking trust-dns-proto v0.5.0 [INFO] [stderr] Checking mpart-async v0.2.1 [INFO] [stderr] Checking v_escape v0.7.4 [INFO] [stderr] Checking actix-server v0.6.1 [INFO] [stderr] Checking actix-testing v0.1.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking trust-dns-resolver v0.10.3 [INFO] [stderr] Checking trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking actix v0.7.9 [INFO] [stderr] Checking actix-connect v0.2.5 [INFO] [stderr] Checking actix-net v0.2.6 [INFO] [stderr] Compiling askama_shared v0.7.2 [INFO] [stderr] Compiling askama_derive v0.7.2 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.1.5 [INFO] [stderr] Checking actix-http v0.2.11 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking askama v0.7.2 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking awc v0.2.8 [INFO] [stderr] Checking actix v0.8.3 [INFO] [stderr] Checking actix-web v1.0.9 [INFO] [stderr] Checking actix-multipart v0.1.5 [INFO] [stderr] Checking actix-files v0.1.7 [INFO] [stderr] Checking actix-web-actors v1.0.4 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking flat-manager v0.3.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/delta-generator-client.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/delta-generator-client.rs (1 fix) [INFO] [stderr] Migrating src/bin/gentoken.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/flat-manager.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/flat-manager.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking flat-manager v0.3.7 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | .and_then(move |_| db.lookup_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:202:28 [INFO] [stdout] | [INFO] [stdout] 202 | .and_then(move |_| db.lookup_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | db.new_build(NewBuild { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 224 | | repo: args.repo.clone(), [INFO] [stdout] 225 | | }) [INFO] [stdout] 226 | | .and_then(move |build| { [INFO] [stdout] ... | [INFO] [stdout] 238 | | respond_with_url(&build, &req, "show_build", &[build.id.to_string()]) [INFO] [stdout] 239 | | }) [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | db.new_build(NewBuild { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 224 | | repo: args.repo.clone(), [INFO] [stdout] 225 | | }) [INFO] [stdout] 226 | | .and_then(move |build| { [INFO] [stdout] ... | [INFO] [stdout] 238 | | respond_with_url(&build, &req, "show_build", &[build.id.to_string()]) [INFO] [stdout] 239 | | }) [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | .and_then(move |_| db.list_builds()) [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | .and_then(move |_| db.list_builds()) [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | .and_then(move |_| db.lookup_build(params.id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | .and_then(move |_| db.lookup_build(params.id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | .and_then(move |_| db.lookup_build_ref(params.id, params.ref_id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | .and_then(move |_| db.lookup_build_ref(params.id, params.ref_id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | db.new_build_ref(NewBuildRef { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 390 | | build_id, [INFO] [stdout] 391 | | ref_name: args.ref_name.clone(), [INFO] [stdout] 392 | | commit: args.commit.clone(), [INFO] [stdout] 393 | | }) [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:389:21 [INFO] [stdout] | [INFO] [stdout] 389 | db.new_build_ref(NewBuildRef { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 390 | | build_id, [INFO] [stdout] 391 | | ref_name: args.ref_name.clone(), [INFO] [stdout] 392 | | commit: args.commit.clone(), [INFO] [stdout] 393 | | }) [INFO] [stdout] | |______________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | db.lookup_build(params.id).and_then(move |build| { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 387 | | futures::done(req.has_token_repo(&build.repo)) [INFO] [stdout] 388 | | .and_then(move |_ok| { [INFO] [stdout] 389 | | db.new_build_ref(NewBuildRef { [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:386:45 [INFO] [stdout] | [INFO] [stdout] 377 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 384 | .and_then(move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, futures::AndThen, impl futures::Future, {closure@src/api.rs:388:27: 388:37}>, std::result::Result, {closure@src/api.rs:395:27: 395:42}>, {closure@src/api.rs:386:45: 386:57}>` contains a lifetime `'1` [INFO] [stdout] 385 | let build_id = params.id; [INFO] [stdout] 386 | db.lookup_build(params.id).and_then(move |build| { [INFO] [stdout] | -- ^^^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] | _________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 387 | | futures::done(req.has_token_repo(&build.repo)) [INFO] [stdout] 388 | | .and_then(move |_ok| { [INFO] [stdout] 389 | | db.new_build_ref(NewBuildRef { [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | }) [INFO] [stdout] | |__________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | db.lookup_build(params.id).and_then(move |build| { [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 387 | | futures::done(req.has_token_repo(&build.repo)) [INFO] [stdout] 388 | | .and_then(move |_ok| { [INFO] [stdout] 389 | | db.new_build_ref(NewBuildRef { [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:386:45 [INFO] [stdout] | [INFO] [stdout] 377 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 384 | .and_then(move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, futures::AndThen, impl futures::Future, {closure@src/api.rs:388:27: 388:37}>, std::result::Result, {closure@src/api.rs:395:27: 395:42}>, {closure@src/api.rs:386:45: 386:57}>` contains a lifetime `'1` [INFO] [stdout] 385 | let build_id = params.id; [INFO] [stdout] 386 | db.lookup_build(params.id).and_then(move |build| { [INFO] [stdout] | -- ^^^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] | _________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 387 | | futures::done(req.has_token_repo(&build.repo)) [INFO] [stdout] 388 | | .and_then(move |_ok| { [INFO] [stdout] 389 | | db.new_build_ref(NewBuildRef { [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | }) [INFO] [stdout] | |__________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | .and_then(move |_ok| db.add_extra_ids(build_id, args.ids.clone())) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | db.lookup_build(params.id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 436 | | .and_then(move |build| { [INFO] [stdout] 437 | | /* Validate token */ [INFO] [stdout] 438 | | req2.has_token_repo(&build.repo) [INFO] [stdout] ... | [INFO] [stdout] 442 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 443 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 426 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 432 | .and_then(move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:436:27: 436:39}>, impl futures::Future, {closure@src/api.rs:440:27: 440:37}>, std::result::Result, {closure@src/api.rs:441:27: 441:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 435 | db.lookup_build(params.id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 436 | | .and_then(move |build| { [INFO] [stdout] 437 | | /* Validate token */ [INFO] [stdout] 438 | | req2.has_token_repo(&build.repo) [INFO] [stdout] 439 | | }) [INFO] [stdout] 440 | | .and_then(move |_ok| db.add_extra_ids(build_id, args.ids.clone())) [INFO] [stdout] | | ^^^^^^^^^^ -- move occurs due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | move out of `db` occurs here [INFO] [stdout] 441 | | .and_then(move |build| { [INFO] [stdout] 442 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 443 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:440:38 [INFO] [stdout] | [INFO] [stdout] 440 | .and_then(move |_ok| db.add_extra_ids(build_id, args.ids.clone())) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | db.lookup_build(params.id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 436 | | .and_then(move |build| { [INFO] [stdout] 437 | | /* Validate token */ [INFO] [stdout] 438 | | req2.has_token_repo(&build.repo) [INFO] [stdout] ... | [INFO] [stdout] 442 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 443 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 426 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 432 | .and_then(move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:436:27: 436:39}>, impl futures::Future, {closure@src/api.rs:440:27: 440:37}>, std::result::Result, {closure@src/api.rs:441:27: 441:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 435 | db.lookup_build(params.id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 436 | | .and_then(move |build| { [INFO] [stdout] 437 | | /* Validate token */ [INFO] [stdout] 438 | | req2.has_token_repo(&build.repo) [INFO] [stdout] 439 | | }) [INFO] [stdout] 440 | | .and_then(move |_ok| db.add_extra_ids(build_id, args.ids.clone())) [INFO] [stdout] | | ^^^^^^^^^^ -- move occurs due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | move out of `db` occurs here [INFO] [stdout] 441 | | .and_then(move |build| { [INFO] [stdout] 442 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 443 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | db.lookup_build(params.id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 632 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 633 | | .and_then(move |_ok| { [INFO] [stdout] 634 | | multipart [INFO] [stdout] ... | [INFO] [stdout] 640 | | .from_err() [INFO] [stdout] 641 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:653:28 [INFO] [stdout] | [INFO] [stdout] 653 | .and_then(move |_| db.lookup_commit_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:631:13 [INFO] [stdout] | [INFO] [stdout] 631 | db.lookup_build(params.id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 632 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 633 | | .and_then(move |_ok| { [INFO] [stdout] 634 | | multipart [INFO] [stdout] ... | [INFO] [stdout] 640 | | .from_err() [INFO] [stdout] 641 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:653:28 [INFO] [stdout] | [INFO] [stdout] 653 | .and_then(move |_| db.lookup_commit_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | db.start_commit_job( [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 679 | | build_id, [INFO] [stdout] 680 | | args.endoflife.clone(), [INFO] [stdout] 681 | | args.endoflife_rebase.clone(), [INFO] [stdout] 682 | | args.token_type, [INFO] [stdout] 683 | | ) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 676 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 677 | | .and_then(move |_ok| { [INFO] [stdout] 678 | | db.start_commit_job( [INFO] [stdout] ... | [INFO] [stdout] 687 | | respond_with_url(&job, &req, "show_commit_job", &[params.id.to_string()]) [INFO] [stdout] 688 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:677:27 [INFO] [stdout] | [INFO] [stdout] 668 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 672 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:676:27: 676:39}>, impl futures::Future, {closure@src/api.rs:677:27: 677:37}>, std::result::Result, {closure@src/api.rs:685:27: 685:37}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 675 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 676 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 677 | | .and_then(move |_ok| { [INFO] [stdout] | | ^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] 678 | | db.start_commit_job( [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 687 | | respond_with_url(&job, &req, "show_commit_job", &[params.id.to_string()]) [INFO] [stdout] 688 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:700:28 [INFO] [stdout] | [INFO] [stdout] 700 | .and_then(move |_| db.lookup_publish_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | db.start_commit_job( [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 679 | | build_id, [INFO] [stdout] 680 | | args.endoflife.clone(), [INFO] [stdout] 681 | | args.endoflife_rebase.clone(), [INFO] [stdout] 682 | | args.token_type, [INFO] [stdout] 683 | | ) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 676 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 677 | | .and_then(move |_ok| { [INFO] [stdout] 678 | | db.start_commit_job( [INFO] [stdout] ... | [INFO] [stdout] 687 | | respond_with_url(&job, &req, "show_commit_job", &[params.id.to_string()]) [INFO] [stdout] 688 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:677:27 [INFO] [stdout] | [INFO] [stdout] 668 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 672 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:676:27: 676:39}>, impl futures::Future, {closure@src/api.rs:677:27: 677:37}>, std::result::Result, {closure@src/api.rs:685:27: 685:37}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 675 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 676 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 677 | | .and_then(move |_ok| { [INFO] [stdout] | | ^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] 678 | | db.start_commit_job( [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 687 | | respond_with_url(&job, &req, "show_commit_job", &[params.id.to_string()]) [INFO] [stdout] 688 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:700:28 [INFO] [stdout] | [INFO] [stdout] 700 | .and_then(move |_| db.lookup_publish_job(params.id, args.log_offset)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:725:21 [INFO] [stdout] | [INFO] [stdout] 725 | db.start_publish_job(build_id, build.repo.clone()) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 726 | | .and_then(move |job| { [INFO] [stdout] 727 | | job_queue.do_send(ProcessJobs(Some(build.repo))); [INFO] [stdout] 728 | | respond_with_url( [INFO] [stdout] ... | [INFO] [stdout] 733 | | ) [INFO] [stdout] 734 | | }) [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 720 | | .and_then(move |build| { [INFO] [stdout] 721 | | req2.has_token_repo(&build.repo)?; [INFO] [stdout] 722 | | Ok(build) [INFO] [stdout] ... | [INFO] [stdout] 734 | | }) [INFO] [stdout] 735 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:724:27 [INFO] [stdout] | [INFO] [stdout] 711 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 715 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result, {closure@src/api.rs:720:27: 720:39}>, futures::AndThen, std::result::Result, {closure@src/api.rs:726:35: 726:45}>, {closure@src/api.rs:724:27: 724:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 719 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 720 | | .and_then(move |build| { [INFO] [stdout] 721 | | req2.has_token_repo(&build.repo)?; [INFO] [stdout] 722 | | Ok(build) [INFO] [stdout] 723 | | }) [INFO] [stdout] 724 | | .and_then(move |build| { [INFO] [stdout] | | ^^^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] 725 | | db.start_publish_job(build_id, build.repo.clone()) [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 734 | | }) [INFO] [stdout] 735 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:725:21 [INFO] [stdout] | [INFO] [stdout] 725 | db.start_publish_job(build_id, build.repo.clone()) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 726 | | .and_then(move |job| { [INFO] [stdout] 727 | | job_queue.do_send(ProcessJobs(Some(build.repo))); [INFO] [stdout] 728 | | respond_with_url( [INFO] [stdout] ... | [INFO] [stdout] 733 | | ) [INFO] [stdout] 734 | | }) [INFO] [stdout] | |__________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 720 | | .and_then(move |build| { [INFO] [stdout] 721 | | req2.has_token_repo(&build.repo)?; [INFO] [stdout] 722 | | Ok(build) [INFO] [stdout] ... | [INFO] [stdout] 734 | | }) [INFO] [stdout] 735 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:724:27 [INFO] [stdout] | [INFO] [stdout] 711 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 715 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result, {closure@src/api.rs:720:27: 720:39}>, futures::AndThen, std::result::Result, {closure@src/api.rs:726:35: 726:45}>, {closure@src/api.rs:724:27: 724:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 719 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 720 | | .and_then(move |build| { [INFO] [stdout] 721 | | req2.has_token_repo(&build.repo)?; [INFO] [stdout] 722 | | Ok(build) [INFO] [stdout] 723 | | }) [INFO] [stdout] 724 | | .and_then(move |build| { [INFO] [stdout] | | ^^^^^^^^^^^^ move out of `db` occurs here [INFO] [stdout] 725 | | db.start_publish_job(build_id, build.repo.clone()) [INFO] [stdout] | | -- move occurs due to use in closure [INFO] [stdout] ... | [INFO] [stdout] 734 | | }) [INFO] [stdout] 735 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:754:38 [INFO] [stdout] | [INFO] [stdout] 754 | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db2` [INFO] [stdout] --> src/api.rs:757:21 [INFO] [stdout] | [INFO] [stdout] 757 | db2.finish_purge( [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db2` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 758 | | build_id, [INFO] [stdout] 759 | | match res { [INFO] [stdout] 760 | | Ok(()) => None, [INFO] [stdout] 761 | | Err(e) => Some(e.to_string()), [INFO] [stdout] 762 | | }, [INFO] [stdout] 763 | | ) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 753 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 754 | | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] 755 | | .and_then(move |_ok| { [INFO] [stdout] ... | [INFO] [stdout] 766 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 767 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:754:27 [INFO] [stdout] | [INFO] [stdout] 742 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 747 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:753:27: 753:39}>, impl futures::Future, {closure@src/api.rs:754:27: 754:37}>, impl futures::Future, {closure@src/api.rs:755:27: 755:37}>, std::result::Result, {closure@src/api.rs:765:27: 765:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 752 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 753 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 754 | | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] | | ^^^^^^^^^^ -- move occurs due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | move out of `db` occurs here [INFO] [stdout] 755 | | .and_then(move |_ok| { [INFO] [stdout] ... | [INFO] [stdout] 766 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 767 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:754:38 [INFO] [stdout] | [INFO] [stdout] 754 | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] | --^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `db` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `db` does not live long enough [INFO] [stdout] --> src/api.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 799 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] 800 | ) -> impl Future { [INFO] [stdout] 801 | db.lookup_job(params.id, None).and_then(move |job| { [INFO] [stdout] | ^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `db` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 805 | } [INFO] [stdout] | - `db` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db2` [INFO] [stdout] --> src/api.rs:757:21 [INFO] [stdout] | [INFO] [stdout] 757 | db2.finish_purge( [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | _____________________`db2` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 758 | | build_id, [INFO] [stdout] 759 | | match res { [INFO] [stdout] 760 | | Ok(()) => None, [INFO] [stdout] 761 | | Err(e) => Some(e.to_string()), [INFO] [stdout] 762 | | }, [INFO] [stdout] 763 | | ) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `db` [INFO] [stdout] --> src/api.rs:752:13 [INFO] [stdout] | [INFO] [stdout] 752 | db.lookup_build(build_id) [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | _____________`db` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 753 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 754 | | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] 755 | | .and_then(move |_ok| { [INFO] [stdout] ... | [INFO] [stdout] 766 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 767 | | }) [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `db` because it is borrowed [INFO] [stdout] --> src/api.rs:754:27 [INFO] [stdout] | [INFO] [stdout] 742 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] ... [INFO] [stdout] 747 | move |_| { [INFO] [stdout] | - return type of closure `futures::AndThen, std::result::Result<(), ApiError>, {closure@src/api.rs:753:27: 753:39}>, impl futures::Future, {closure@src/api.rs:754:27: 754:37}>, impl futures::Future, {closure@src/api.rs:755:27: 755:37}>, std::result::Result, {closure@src/api.rs:765:27: 765:39}>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 752 | db.lookup_build(build_id) [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | _____________borrow of `db` occurs here [INFO] [stdout] | | [INFO] [stdout] 753 | | .and_then(move |build| req2.has_token_repo(&build.repo)) [INFO] [stdout] 754 | | .and_then(move |_ok| db.init_purge(build_id)) [INFO] [stdout] | | ^^^^^^^^^^ -- move occurs due to use in closure [INFO] [stdout] | | | [INFO] [stdout] | | move out of `db` occurs here [INFO] [stdout] 755 | | .and_then(move |_ok| { [INFO] [stdout] ... | [INFO] [stdout] 766 | | respond_with_url(&build, &req, "show_build", &[build_id.to_string()]) [INFO] [stdout] 767 | | }) [INFO] [stdout] | |__________________- returning this value requires that `db` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `db` does not live long enough [INFO] [stdout] --> src/api.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 799 | db: Data, [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] 800 | ) -> impl Future { [INFO] [stdout] 801 | db.lookup_job(params.id, None).and_then(move |job| { [INFO] [stdout] | ^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `db` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 805 | } [INFO] [stdout] | - `db` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `db` does not live long enough [INFO] [stdout] --> src/api.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn status(db: Data) -> impl Future { [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] 815 | db.list_active_jobs().and_then(move |jobs| { [INFO] [stdout] | ^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `db` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 824 | } [INFO] [stdout] | - `db` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `db` does not live long enough [INFO] [stdout] --> src/api.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn status(db: Data) -> impl Future { [INFO] [stdout] | -- binding `db` declared here [INFO] [stdout] 815 | db.list_active_jobs().and_then(move |jobs| { [INFO] [stdout] | ^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `db` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 824 | } [INFO] [stdout] | - `db` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 117 | server: Server, [INFO] [stdout] | ------ variable defined here [INFO] [stdout] ... [INFO] [stdout] 127 | .for_each(move |sig| { [INFO] [stdout] | - inferred to be a `FnMut` closure [INFO] [stdout] 128 | handle_signal(sig, &server, job_queue.clone(), delta_generator.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | variable captured here [INFO] [stdout] | returns a closure 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 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flat-manager` (lib) due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: captured variable cannot escape `FnMut` closure body [INFO] [stdout] --> src/lib.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 117 | server: Server, [INFO] [stdout] | ------ variable defined here [INFO] [stdout] ... [INFO] [stdout] 127 | .for_each(move |sig| { [INFO] [stdout] | - inferred to be a `FnMut` closure [INFO] [stdout] 128 | handle_signal(sig, &server, job_queue.clone(), delta_generator.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | variable captured here [INFO] [stdout] | returns a closure 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 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flat-manager` (lib test) due to 28 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [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" "444347a589a3cd7655bbbb9fc22ee6ac10f5b28390abf203a39bb6c04216bb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444347a589a3cd7655bbbb9fc22ee6ac10f5b28390abf203a39bb6c04216bb25", kill_on_drop: false }` [INFO] [stdout] 444347a589a3cd7655bbbb9fc22ee6ac10f5b28390abf203a39bb6c04216bb25