[INFO] cloning repository https://github.com/slowli/elasticpoll.app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/slowli/elasticpoll.app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslowli%2Felasticpoll.app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslowli%2Felasticpoll.app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7333ce3d5c4de4e9baa93413c179a6156802fb0 [INFO] checking slowli/elasticpoll.app against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fslowli%2Felasticpoll.app" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/slowli/elasticpoll.app on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/slowli/elasticpoll.app [INFO] finished tweaking git repo https://github.com/slowli/elasticpoll.app [INFO] tweaked toml for git repo https://github.com/slowli/elasticpoll.app written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/slowli/elasticpoll.app already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd22e40bb8d86fad75d09dc57ef544dbf8be2115c4a8e2a5b6cfcbc3e767a87b [INFO] running `Command { std: "docker" "start" "-a" "bd22e40bb8d86fad75d09dc57ef544dbf8be2115c4a8e2a5b6cfcbc3e767a87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd22e40bb8d86fad75d09dc57ef544dbf8be2115c4a8e2a5b6cfcbc3e767a87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd22e40bb8d86fad75d09dc57ef544dbf8be2115c4a8e2a5b6cfcbc3e767a87b", kill_on_drop: false }` [INFO] [stdout] bd22e40bb8d86fad75d09dc57ef544dbf8be2115c4a8e2a5b6cfcbc3e767a87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51c8b16ee853c21a5d6f05f39cee4acaeadabf35c7134daf22b4a26e19686d65 [INFO] running `Command { std: "docker" "start" "-a" "51c8b16ee853c21a5d6f05f39cee4acaeadabf35c7134daf22b4a26e19686d65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.36 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking const-oid v0.9.5 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling platforms v3.1.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking implicit-clone v0.3.6 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.37 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Checking zeroize v1.6.0 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Checking crypto-bigint v0.5.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling yew-macro v0.20.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking elliptic-curve v0.13.5 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling yew-router-macro v0.17.0 [INFO] [stderr] Checking secret-tree v0.5.0 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking wasm-bindgen-test v0.3.37 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.0 [INFO] [stderr] Checking elastic-elgamal v0.3.0-beta.1 (https://github.com/slowli/elastic-elgamal.git?rev=1df41e2f05e15d7bccdd3bafd2704999bee4b285#1df41e2f) [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling toml_edit v0.20.0 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.5 [INFO] [stderr] Checking gloo-net v0.3.1 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-worker v0.2.1 [INFO] [stderr] Compiling toml v0.8.0 [INFO] [stderr] Checking gloo v0.8.1 [INFO] [stderr] Checking yew v0.20.0 [INFO] [stderr] Compiling elasticpoll-wasm v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking yew-router v0.17.0 [INFO] [stdout] error[E0597]: `global_props.secrets` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 147 | let global_props = AppProperties::from_ctx(ctx); [INFO] [stdout] | ------------ binding `global_props` declared here [INFO] [stdout] ... [INFO] [stdout] 152 | let secrets = &global_props.secrets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 155 | / spawn_local(async move { [INFO] [stdout] 156 | | match task.await { [INFO] [stdout] 157 | | Ok(()) => link.send_message(SecretsMessage::Created), [INFO] [stdout] 158 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______________________- argument requires that `global_props.secrets` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `global_props.secrets` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `password` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 150 | let password = self.password(); [INFO] [stdout] | -------- binding `password` declared here [INFO] [stdout] ... [INFO] [stdout] 154 | let task = secrets.encrypt_new_secret(&password); [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 155 | / spawn_local(async move { [INFO] [stdout] 156 | | match task.await { [INFO] [stdout] 157 | | Ok(()) => link.send_message(SecretsMessage::Created), [INFO] [stdout] 158 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______________________- argument requires that `password` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] | - `password` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `password` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 150 | let password = self.password(); [INFO] [stdout] | -------- binding `password` declared here [INFO] [stdout] ... [INFO] [stdout] 162 | let task = secrets.unlock(&password); [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 163 | / spawn_local(async move { [INFO] [stdout] 164 | | match task.await { [INFO] [stdout] 165 | | Ok(()) => link.send_message(SecretsMessage::Unlocked), [INFO] [stdout] 166 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | }); [INFO] [stdout] | |______________________- argument requires that `password` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `password` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `global_props.secrets` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 147 | let global_props = AppProperties::from_ctx(ctx); [INFO] [stdout] | ------------ binding `global_props` declared here [INFO] [stdout] ... [INFO] [stdout] 152 | let secrets = &global_props.secrets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 155 | / spawn_local(async move { [INFO] [stdout] 156 | | match task.await { [INFO] [stdout] 157 | | Ok(()) => link.send_message(SecretsMessage::Created), [INFO] [stdout] 158 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______________________- argument requires that `global_props.secrets` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `global_props.secrets` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `password` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:154:59 [INFO] [stdout] | [INFO] [stdout] 150 | let password = self.password(); [INFO] [stdout] | -------- binding `password` declared here [INFO] [stdout] ... [INFO] [stdout] 154 | let task = secrets.encrypt_new_secret(&password); [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 155 | / spawn_local(async move { [INFO] [stdout] 156 | | match task.await { [INFO] [stdout] 157 | | Ok(()) => link.send_message(SecretsMessage::Created), [INFO] [stdout] 158 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______________________- argument requires that `password` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 172 | } [INFO] [stdout] | - `password` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `password` does not live long enough [INFO] [stdout] --> src/components/secrets.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 150 | let password = self.password(); [INFO] [stdout] | -------- binding `password` declared here [INFO] [stdout] ... [INFO] [stdout] 162 | let task = secrets.unlock(&password); [INFO] [stdout] | ^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 163 | / spawn_local(async move { [INFO] [stdout] 164 | | match task.await { [INFO] [stdout] 165 | | Ok(()) => link.send_message(SecretsMessage::Unlocked), [INFO] [stdout] 166 | | Err(err) => link.send_message(SecretsMessage::ErrorUnlocking(err)), [INFO] [stdout] 167 | | } [INFO] [stdout] 168 | | }); [INFO] [stdout] | |______________________- argument requires that `password` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | } [INFO] [stdout] | - `password` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elasticpoll-wasm` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `elasticpoll-wasm` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "51c8b16ee853c21a5d6f05f39cee4acaeadabf35c7134daf22b4a26e19686d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c8b16ee853c21a5d6f05f39cee4acaeadabf35c7134daf22b4a26e19686d65", kill_on_drop: false }` [INFO] [stdout] 51c8b16ee853c21a5d6f05f39cee4acaeadabf35c7134daf22b4a26e19686d65