[INFO] fetching crate rcstruct 0.2.0... [INFO] checking rcstruct-0.2.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rcstruct 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rcstruct 0.2.0 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 crates.io crate rcstruct 0.2.0 [INFO] finished tweaking crates.io crate rcstruct 0.2.0 [INFO] tweaked toml for crates.io crate rcstruct 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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] [stderr] Blocking waiting for file lock on package cache [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] 1c664ba35cd3a8237863c93909089221453bb515c547dc304d78d94d9c42ab7a [INFO] running `Command { std: "docker" "start" "-a" "1c664ba35cd3a8237863c93909089221453bb515c547dc304d78d94d9c42ab7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c664ba35cd3a8237863c93909089221453bb515c547dc304d78d94d9c42ab7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c664ba35cd3a8237863c93909089221453bb515c547dc304d78d94d9c42ab7a", kill_on_drop: false }` [INFO] [stdout] 1c664ba35cd3a8237863c93909089221453bb515c547dc304d78d94d9c42ab7a [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] ca20a81b684db3faec22568e6f586fa940b8043995692097fb537dd84f3cb670 [INFO] running `Command { std: "docker" "start" "-a" "ca20a81b684db3faec22568e6f586fa940b8043995692097fb537dd84f3cb670", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rcstruct v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/01a.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn events(&self) -> Rt> { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 79 | self.0.borrow().events() [INFO] [stdout] | ^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] 80 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/01b.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct GUI { [INFO] [stdout] | -^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] | argument requires that borrow lasts for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcstruct` (example "01a") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcstruct` (example "01b") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ca20a81b684db3faec22568e6f586fa940b8043995692097fb537dd84f3cb670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca20a81b684db3faec22568e6f586fa940b8043995692097fb537dd84f3cb670", kill_on_drop: false }` [INFO] [stdout] ca20a81b684db3faec22568e6f586fa940b8043995692097fb537dd84f3cb670