[INFO] fetching crate dynomite-derive 0.10.0... [INFO] checking dynomite-derive-0.10.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate dynomite-derive 0.10.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate dynomite-derive 0.10.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 dynomite-derive 0.10.0 [INFO] finished tweaking crates.io crate dynomite-derive 0.10.0 [INFO] tweaked toml for crates.io crate dynomite-derive 0.10.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] 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-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] 10b916638df899635218076f15977e0b132af07e4f0a4af7f52a5d7bbaae1443 [INFO] running `Command { std: "docker" "start" "-a" "10b916638df899635218076f15977e0b132af07e4f0a4af7f52a5d7bbaae1443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10b916638df899635218076f15977e0b132af07e4f0a4af7f52a5d7bbaae1443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b916638df899635218076f15977e0b132af07e4f0a4af7f52a5d7bbaae1443", kill_on_drop: false }` [INFO] [stdout] 10b916638df899635218076f15977e0b132af07e4f0a4af7f52a5d7bbaae1443 [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] a3d2bec76fc9c430fe3dc05b4b470b03dc261360f6db8c5c2f8c5caa3edbfe80 [INFO] running `Command { std: "docker" "start" "-a" "a3d2bec76fc9c430fe3dc05b4b470b03dc261360f6db8c5c2f8c5caa3edbfe80", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking dynomite-derive v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 159 | fn expand_attribute(ast: DeriveInput) -> impl ToTokens { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 160 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 163 | make_dynomite_attr(name, &variants.variants.into_iter().collect::>()) [INFO] [stdout] | ---------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 159 | fn expand_attribute(ast: DeriveInput) -> impl ToTokens { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 160 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 163 | make_dynomite_attr(name, &variants.variants.into_iter().collect::>()) [INFO] [stdout] | ---------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | make_dynomite_attr(name, &variants.variants.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 164 | } [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] --> src/lib.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | make_dynomite_attr(name, &variants.variants.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 164 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 230 | fn expand_attributes(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 231 | use syn::spanned::Spanned as _; [INFO] [stdout] 232 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 236 | make_dynomite_attributes(name, &named.named.into_iter().collect::>()) [INFO] [stdout] | ---------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 245 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:236:49 [INFO] [stdout] | [INFO] [stdout] 236 | make_dynomite_attributes(name, &named.named.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 237 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 230 | fn expand_attributes(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 231 | use syn::spanned::Spanned as _; [INFO] [stdout] 232 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 236 | make_dynomite_attributes(name, &named.named.into_iter().collect::>()) [INFO] [stdout] | ---------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 245 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:236:49 [INFO] [stdout] | [INFO] [stdout] 236 | make_dynomite_attributes(name, &named.named.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 237 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 247 | fn expand_item(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 248 | use syn::spanned::Spanned as _; [INFO] [stdout] 249 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [INFO] [stdout] | --------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.ident` does not live long enough [INFO] [stdout] --> src/lib.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 247 | fn expand_item(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] 248 | use syn::spanned::Spanned as _; [INFO] [stdout] 249 | let name = &ast.ident; [INFO] [stdout] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [INFO] [stdout] | --------------------------------------------------------------------------- argument requires that `ast.ident` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] | - `ast.ident` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.vis` does not live long enough [INFO] [stdout] --> src/lib.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 247 | fn expand_item(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] ... [INFO] [stdout] 250 | let vis = &ast.vis; [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [INFO] [stdout] | --------------------------------------------------------------------------- argument requires that `ast.vis` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] | - `ast.vis` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 255 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ast.vis` does not live long enough [INFO] [stdout] --> src/lib.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 247 | fn expand_item(ast: DeriveInput) -> syn::Result { [INFO] [stdout] | --- binding `ast` declared here [INFO] [stdout] ... [INFO] [stdout] 250 | let vis = &ast.vis; [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [INFO] [stdout] | --------------------------------------------------------------------------- argument requires that `ast.vis` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 263 | } [INFO] [stdout] | - `ast.vis` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 254 | make_dynomite_item(vis, name, &named.named.into_iter().collect::>()) [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 `'static` [INFO] [stdout] 255 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dynomite-derive` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dynomite-derive` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a3d2bec76fc9c430fe3dc05b4b470b03dc261360f6db8c5c2f8c5caa3edbfe80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d2bec76fc9c430fe3dc05b4b470b03dc261360f6db8c5c2f8c5caa3edbfe80", kill_on_drop: false }` [INFO] [stdout] a3d2bec76fc9c430fe3dc05b4b470b03dc261360f6db8c5c2f8c5caa3edbfe80