[INFO] cloning repository https://github.com/evdokimovs/mute-unmute-poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evdokimovs/mute-unmute-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdokimovs%2Fmute-unmute-poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdokimovs%2Fmute-unmute-poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 646f61f5b3dc21b8c4809038849fffe70ee27510 [INFO] checking evdokimovs/mute-unmute-poc against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevdokimovs%2Fmute-unmute-poc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/evdokimovs/mute-unmute-poc 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/evdokimovs/mute-unmute-poc [INFO] finished tweaking git repo https://github.com/evdokimovs/mute-unmute-poc [INFO] tweaked toml for git repo https://github.com/evdokimovs/mute-unmute-poc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/evdokimovs/mute-unmute-poc 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 35831139ac97cda6762d21f6c00a8651233e2667966a4cc9fe10bb27c3410e3a [INFO] running `Command { std: "docker" "start" "-a" "35831139ac97cda6762d21f6c00a8651233e2667966a4cc9fe10bb27c3410e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35831139ac97cda6762d21f6c00a8651233e2667966a4cc9fe10bb27c3410e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35831139ac97cda6762d21f6c00a8651233e2667966a4cc9fe10bb27c3410e3a", kill_on_drop: false }` [INFO] [stdout] 35831139ac97cda6762d21f6c00a8651233e2667966a4cc9fe10bb27c3410e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2013898e373cd405a2e20505e691b74a02dce9978c55dd91cc4b99fa34d1daa9 [INFO] running `Command { std: "docker" "start" "-a" "2013898e373cd405a2e20505e691b74a02dce9978c55dd91cc4b99fa34d1daa9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.55 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.55 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.55 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.55 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.55 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.55 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Compiling web-sys v0.3.32 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking js-sys v0.3.32 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.5 [INFO] [stderr] Checking mute-unmute-poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | let on_mute_fut: Vec<_> = self [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 89 | | .0 [INFO] [stdout] 90 | | .borrow_mut() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 94 | .map(|(_, peer)| peer.on_mute(audio, video)) [INFO] [stdout] | -------------------------- returning this value requires that borrow lasts for `'static` [INFO] [stdout] 95 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn mute(&self, audio: bool, video: bool) -> Promise { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 94 | .map(|(_, peer)| peer.on_mute(audio, video)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | let on_unmute_fut: Vec<_> = self [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 109 | | .0 [INFO] [stdout] 110 | | .borrow_mut() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 114 | .map(|(_, peer)| peer.on_unmute(audio, video)) [INFO] [stdout] | ---------------------------- returning this value requires that borrow lasts for `'static` [INFO] [stdout] 115 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn unmute(&self, audio: bool, video: bool) -> Promise { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 114 | .map(|(_, peer)| peer.on_unmute(audio, video)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | let on_mute_fut: Vec<_> = self [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 89 | | .0 [INFO] [stdout] 90 | | .borrow_mut() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 94 | .map(|(_, peer)| peer.on_mute(audio, video)) [INFO] [stdout] | -------------------------- returning this value requires that borrow lasts for `'static` [INFO] [stdout] 95 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn mute(&self, audio: bool, video: bool) -> Promise { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 94 | .map(|(_, peer)| peer.on_mute(audio, video)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | let on_unmute_fut: Vec<_> = self [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 109 | | .0 [INFO] [stdout] 110 | | .borrow_mut() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 114 | .map(|(_, peer)| peer.on_unmute(audio, video)) [INFO] [stdout] | ---------------------------- returning this value requires that borrow lasts for `'static` [INFO] [stdout] 115 | .collect(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn unmute(&self, audio: bool, video: bool) -> Promise { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 114 | .map(|(_, peer)| peer.on_unmute(audio, video)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mute-unmute-poc` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mute-unmute-poc` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "2013898e373cd405a2e20505e691b74a02dce9978c55dd91cc4b99fa34d1daa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2013898e373cd405a2e20505e691b74a02dce9978c55dd91cc4b99fa34d1daa9", kill_on_drop: false }` [INFO] [stdout] 2013898e373cd405a2e20505e691b74a02dce9978c55dd91cc4b99fa34d1daa9