[INFO] cloning repository https://github.com/niveau0/ci-dashboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niveau0/ci-dashboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniveau0%2Fci-dashboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniveau0%2Fci-dashboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b39ea859f3bda5bedb5b8792115b98c470c184ea [INFO] checking niveau0/ci-dashboard against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniveau0%2Fci-dashboard" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niveau0/ci-dashboard 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/niveau0/ci-dashboard [INFO] finished tweaking git repo https://github.com/niveau0/ci-dashboard [INFO] tweaked toml for git repo https://github.com/niveau0/ci-dashboard written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/niveau0/ci-dashboard 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e2158b74bc0341b73b0fbf09592f5d52722b350029b1c26a4a8b87080d663818 [INFO] running `Command { std: "docker" "start" "-a" "e2158b74bc0341b73b0fbf09592f5d52722b350029b1c26a4a8b87080d663818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2158b74bc0341b73b0fbf09592f5d52722b350029b1c26a4a8b87080d663818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2158b74bc0341b73b0fbf09592f5d52722b350029b1c26a4a8b87080d663818", kill_on_drop: false }` [INFO] [stdout] e2158b74bc0341b73b0fbf09592f5d52722b350029b1c26a4a8b87080d663818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6e40471c802327b768cade4c4e432495594abad77436fad885889ee1a64836ca [INFO] running `Command { std: "docker" "start" "-a" "6e40471c802327b768cade4c4e432495594abad77436fad885889ee1a64836ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking ci-dashboard v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.62s [INFO] running `Command { std: "docker" "inspect" "6e40471c802327b768cade4c4e432495594abad77436fad885889ee1a64836ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e40471c802327b768cade4c4e432495594abad77436fad885889ee1a64836ca", kill_on_drop: false }` [INFO] [stdout] 6e40471c802327b768cade4c4e432495594abad77436fad885889ee1a64836ca [INFO] checking niveau0/ci-dashboard against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniveau0%2Fci-dashboard" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niveau0/ci-dashboard 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/niveau0/ci-dashboard [INFO] finished tweaking git repo https://github.com/niveau0/ci-dashboard [INFO] tweaked toml for git repo https://github.com/niveau0/ci-dashboard written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/niveau0/ci-dashboard 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8fd11fe79877e096e1ff07f73173a2495b101f085dbff872e41e928c3942a756 [INFO] running `Command { std: "docker" "start" "-a" "8fd11fe79877e096e1ff07f73173a2495b101f085dbff872e41e928c3942a756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fd11fe79877e096e1ff07f73173a2495b101f085dbff872e41e928c3942a756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd11fe79877e096e1ff07f73173a2495b101f085dbff872e41e928c3942a756", kill_on_drop: false }` [INFO] [stdout] 8fd11fe79877e096e1ff07f73173a2495b101f085dbff872e41e928c3942a756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 540b2183aa4c5fab17025d0e0aed98ce501c4d8c956f8a25816ca1c6a2089ab8 [INFO] running `Command { std: "docker" "start" "-a" "540b2183aa4c5fab17025d0e0aed98ce501c4d8c956f8a25816ca1c6a2089ab8", 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] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking ci-dashboard v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating tests/web.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.60s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ci-dashboard v0.2.0 (/tmp/fixit) [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn request_projects(&self) -> impl Future, JsValue>> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 87 | // console::log_1(&JsValue::from("Request projects")); [INFO] [stdout] 88 | let url = format!("{}/api/v4/projects?membership=true", self.config.server); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] 89 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 90 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 88 | let url = format!("{}/api/v4/projects?membership=true", self.config.server); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] 89 | let request_future = self [INFO] [stdout] 90 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 91 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 95 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 90 - .prepare_request(&url) [INFO] [stdout] 90 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 123 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 127 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 128 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 123 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 128 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 129 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 133 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 128 - .prepare_request(&url) [INFO] [stdout] 128 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 153 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 161 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 165 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 166 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 161 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 166 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 167 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 171 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 166 - .prepare_request(&url) [INFO] [stdout] 166 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn request_projects(&self) -> impl Future, JsValue>> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 87 | // console::log_1(&JsValue::from("Request projects")); [INFO] [stdout] 88 | let url = format!("{}/api/v4/projects?membership=true", self.config.server); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] 89 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 90 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 113 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 88 | let url = format!("{}/api/v4/projects?membership=true", self.config.server); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] 89 | let request_future = self [INFO] [stdout] 90 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 91 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 95 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 90 - .prepare_request(&url) [INFO] [stdout] 90 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 123 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 127 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 128 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 123 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 128 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 129 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 133 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 128 - .prepare_request(&url) [INFO] [stdout] 128 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 188 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 196 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 200 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 201 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 223 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 196 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 202 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 206 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 201 - .prepare_request(&url) [INFO] [stdout] 201 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 153 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 161 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 165 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 166 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 161 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 166 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 167 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 171 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 166 - .prepare_request(&url) [INFO] [stdout] 166 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `url` does not live long enough [INFO] [stdout] --> src/gitlab.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 188 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 196 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 200 | let request_future = self [INFO] [stdout] | ______________________________- [INFO] [stdout] 201 | | .prepare_request(&url) [INFO] [stdout] | |______________________________^^^^- argument requires that `url` is borrowed for `'1` [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 223 | } [INFO] [stdout] | - `url` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/gitlab.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 196 | let url = format!( [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 201 | .prepare_request(&url) [INFO] [stdout] | ---- borrow of `url` occurs here [INFO] [stdout] 202 | .and_then(move |jsvalue| { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ move out of `url` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] ... [INFO] [stdout] 206 | &url, [INFO] [stdout] | --- move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 201 - .prepare_request(&url) [INFO] [stdout] 201 + .prepare_request(url.clone()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 137 | ... let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] ... [INFO] [stdout] 146 | ... let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 147 | | ... .request_jobs(project_id, pipeline_id) [INFO] [stdout] | |________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 159 | ... }); [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 138 | let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 139 | | .request_pipeline_detail(project_id, pipeline_id) [INFO] [stdout] | |_________________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 137 | ... let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 138 | ... let future = gitlab [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________borrow of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] 139 | | ... .request_pipeline_detail(project_id, pipeline_id) [INFO] [stdout] | |___________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] 140 | ... .and_then(move |pipeline_detail| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] ... [INFO] [stdout] 146 | ... let future = gitlab [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 112 | let document = document.clone(); [INFO] [stdout] 113 | let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 114 | | .request_pipelines(project.id) [INFO] [stdout] | |______________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 166 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 112 | let document = document.clone(); [INFO] [stdout] 113 | let future = gitlab [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | __________________________borrow of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] 114 | | .request_pipelines(project.id) [INFO] [stdout] | |______________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] 115 | .and_then(move |pipelines| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 102 | let gitlab = Arc::new(gitlab::GitLab::new(config)); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 103 | let future = gitlab.request_projects().and_then(move |projects| { [INFO] [stdout] | ^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 171 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 102 | let gitlab = Arc::new(gitlab::GitLab::new(config)); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 103 | let future = gitlab.request_projects().and_then(move |projects| { [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow of `gitlab` occurs here [INFO] [stdout] | argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 103 | let future = gitlab.clone().request_projects().and_then(move |projects| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ci-dashboard` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 137 | ... let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] ... [INFO] [stdout] 146 | ... let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 147 | | ... .request_jobs(project_id, pipeline_id) [INFO] [stdout] | |________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 159 | ... }); [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 137 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 138 | let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 139 | | .request_pipeline_detail(project_id, pipeline_id) [INFO] [stdout] | |_________________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 161 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 137 | ... let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 138 | ... let future = gitlab [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | ____________________________________borrow of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] 139 | | ... .request_pipeline_detail(project_id, pipeline_id) [INFO] [stdout] | |___________________________________________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] 140 | ... .and_then(move |pipeline_detail| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] ... [INFO] [stdout] 146 | ... let future = gitlab [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 112 | let document = document.clone(); [INFO] [stdout] 113 | let future = gitlab [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | __________________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 114 | | .request_pipelines(project.id) [INFO] [stdout] | |______________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 166 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 112 | let document = document.clone(); [INFO] [stdout] 113 | let future = gitlab [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | __________________________borrow of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] 114 | | .request_pipelines(project.id) [INFO] [stdout] | |______________________________________________- argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] 115 | .and_then(move |pipelines| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `gitlab` does not live long enough [INFO] [stdout] --> src/lib.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 102 | let gitlab = Arc::new(gitlab::GitLab::new(config)); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 103 | let future = gitlab.request_projects().and_then(move |projects| { [INFO] [stdout] | ^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 171 | } [INFO] [stdout] | - `gitlab` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `gitlab` because it is borrowed [INFO] [stdout] --> src/lib.rs:103:53 [INFO] [stdout] | [INFO] [stdout] 102 | let gitlab = Arc::new(gitlab::GitLab::new(config)); [INFO] [stdout] | ------ binding `gitlab` declared here [INFO] [stdout] 103 | let future = gitlab.request_projects().and_then(move |projects| { [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^ move out of `gitlab` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow of `gitlab` occurs here [INFO] [stdout] | argument requires that `gitlab` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 111 | let gitlab = gitlab.clone(); [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 103 | let future = gitlab.clone().request_projects().and_then(move |projects| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ci-dashboard` (lib test) due to 16 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" "540b2183aa4c5fab17025d0e0aed98ce501c4d8c956f8a25816ca1c6a2089ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540b2183aa4c5fab17025d0e0aed98ce501c4d8c956f8a25816ca1c6a2089ab8", kill_on_drop: false }` [INFO] [stdout] 540b2183aa4c5fab17025d0e0aed98ce501c4d8c956f8a25816ca1c6a2089ab8