[INFO] fetching crate gll 0.0.2... [INFO] checking gll-0.0.2 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate gll 0.0.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate gll 0.0.2 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 gll 0.0.2 [INFO] finished tweaking crates.io crate gll 0.0.2 [INFO] tweaked toml for crates.io crate gll 0.0.2 written to /workspace/builds/worker-1-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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 375a63299f5256ab3b25f3108275954cd2a4f652c3daf574a614264eea38ce71 [INFO] running `Command { std: "docker" "start" "-a" "375a63299f5256ab3b25f3108275954cd2a4f652c3daf574a614264eea38ce71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375a63299f5256ab3b25f3108275954cd2a4f652c3daf574a614264eea38ce71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375a63299f5256ab3b25f3108275954cd2a4f652c3daf574a614264eea38ce71", kill_on_drop: false }` [INFO] [stdout] 375a63299f5256ab3b25f3108275954cd2a4f652c3daf574a614264eea38ce71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b1f48a8e4fe78a10c89c25c30081423088369e892cd8082e34892c1f1fbe9da4 [INFO] running `Command { std: "docker" "start" "-a" "b1f48a8e4fe78a10c89c25c30081423088369e892cd8082e34892c1f1fbe9da4", kill_on_drop: false }` [INFO] [stderr] Compiling indexing v0.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling gll v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1436:25 [INFO] [stdout] | [INFO] [stdout] 1435 | pop_state(|state| { [INFO] [stdout] | ------ return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | | [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] 1436 | / sppf_add(&Rc::new(Rule::Concat([ [INFO] [stdout] 1437 | | sep.clone(), [INFO] [stdout] 1438 | | self.clone(), [INFO] [stdout] 1439 | | ])).parse_node_kind(parse_nodes), state) [INFO] [stdout] | |________________________________________________________________^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1436:25 [INFO] [stdout] | [INFO] [stdout] 1436 | sppf_add(&Rc::new(Rule::Concat([ [INFO] [stdout] | _________________________^_________- [INFO] [stdout] | |_________________________| [INFO] [stdout] | || [INFO] [stdout] 1437 | || sep.clone(), [INFO] [stdout] 1438 | || self.clone(), [INFO] [stdout] 1439 | || ])).parse_node_kind(parse_nodes), state) [INFO] [stdout] | ||________________________________________________________-_______^ returns a value referencing data owned by the current function [INFO] [stdout] | |________________________________________________________| [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1442:35 [INFO] [stdout] | [INFO] [stdout] 1442 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1442:35 [INFO] [stdout] | [INFO] [stdout] 1442 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ^^^^^^^^^^---------------------------------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1373:35 [INFO] [stdout] | [INFO] [stdout] 1373 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1373:35 [INFO] [stdout] | [INFO] [stdout] 1373 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ^^^^^^^^^^---------------------------------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1384:21 [INFO] [stdout] | [INFO] [stdout] 1384 | push_state(&format!("{}.to_usize()", rule.parse_node_kind(parse_nodes))) + [INFO] [stdout] | ^ ----------------------------------------------------------- temporary value created here [INFO] [stdout] | _____________________| [INFO] [stdout] | | [INFO] [stdout] 1385 | | rule.generate_parse(Some(parse_nodes)) [INFO] [stdout] | |__________________________________________________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1387:35 [INFO] [stdout] | [INFO] [stdout] 1387 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1387:35 [INFO] [stdout] | [INFO] [stdout] 1387 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ^^^^^^^^^^---------------------------------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1401:44 [INFO] [stdout] | [INFO] [stdout] 1401 | pop_state(move |state| sppf_add(&more.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1401:44 [INFO] [stdout] | [INFO] [stdout] 1401 | pop_state(move |state| sppf_add(&more.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ^^^^^^^^^^---------------------------------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/generate/rust.rs:1422:35 [INFO] [stdout] | [INFO] [stdout] 1422 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Thunk` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/generate/rust.rs:1422:35 [INFO] [stdout] | [INFO] [stdout] 1422 | pop_state(|state| sppf_add(&self.parse_node_kind(parse_nodes), state)) [INFO] [stdout] | ^^^^^^^^^^---------------------------------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gll` (build script) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "b1f48a8e4fe78a10c89c25c30081423088369e892cd8082e34892c1f1fbe9da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f48a8e4fe78a10c89c25c30081423088369e892cd8082e34892c1f1fbe9da4", kill_on_drop: false }` [INFO] [stdout] b1f48a8e4fe78a10c89c25c30081423088369e892cd8082e34892c1f1fbe9da4