[INFO] fetching crate partial-enum 0.0.4... [INFO] checking partial-enum-0.0.4 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate partial-enum 0.0.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate partial-enum 0.0.4 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 partial-enum 0.0.4 [INFO] finished tweaking crates.io crate partial-enum 0.0.4 [INFO] tweaked toml for crates.io crate partial-enum 0.0.4 written to /workspace/builds/worker-3-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] 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] 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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c625a4e9887119789a217a970f185003854bd4d9b5408978cc46a41be9fab960 [INFO] running `Command { std: "docker" "start" "-a" "c625a4e9887119789a217a970f185003854bd4d9b5408978cc46a41be9fab960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c625a4e9887119789a217a970f185003854bd4d9b5408978cc46a41be9fab960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c625a4e9887119789a217a970f185003854bd4d9b5408978cc46a41be9fab960", kill_on_drop: false }` [INFO] [stdout] c625a4e9887119789a217a970f185003854bd4d9b5408978cc46a41be9fab960 [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=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] f237a13f7de2eccfa588e19e0facf05a4532ec34c24a9c7db163865d5ecbb705 [INFO] running `Command { std: "docker" "start" "-a" "f237a13f7de2eccfa588e19e0facf05a4532ec34c24a9c7db163865d5ecbb705", kill_on_drop: false }` [INFO] [stderr] Checking proc-macro2 v1.0.67 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking partial-enum v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `e` does not live long enough [INFO] [stdout] --> src/lib.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 253 | let e: Enum = syn::parse_macro_input!(item as Enum); [INFO] [stdout] | - binding `e` declared here [INFO] [stdout] 254 | e.to_tokens().to_token_stream().into() [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] 255 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 254 | let x = e.to_tokens().to_token_stream().into(); x [INFO] [stdout] | +++++++ +++ [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `partial-enum` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `e` does not live long enough [INFO] [stdout] --> src/lib.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 253 | let e: Enum = syn::parse_macro_input!(item as Enum); [INFO] [stdout] | - binding `e` declared here [INFO] [stdout] 254 | e.to_tokens().to_token_stream().into() [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] 255 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 254 | let x = e.to_tokens().to_token_stream().into(); x [INFO] [stdout] | +++++++ +++ [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 E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `partial-enum` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f237a13f7de2eccfa588e19e0facf05a4532ec34c24a9c7db163865d5ecbb705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f237a13f7de2eccfa588e19e0facf05a4532ec34c24a9c7db163865d5ecbb705", kill_on_drop: false }` [INFO] [stdout] f237a13f7de2eccfa588e19e0facf05a4532ec34c24a9c7db163865d5ecbb705