[INFO] fetching crate graphql-query 1.0.0... [INFO] checking graphql-query-1.0.0 against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] extracting crate graphql-query 1.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate graphql-query 1.0.0 on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate graphql-query 1.0.0 [INFO] finished tweaking crates.io crate graphql-query 1.0.0 [INFO] tweaked toml for crates.io crate graphql-query 1.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 53 packages to latest compatible versions [INFO] [stderr] Adding apollo-parser v0.7.7 (available: v0.8.4) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.15.4) [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.6) [INFO] [stderr] Adding lexical-core v0.8.5 (available: v1.0.5) [INFO] [stderr] Adding logos v0.12.1 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa2817e68c053460241792dd6a1e08596e9a6162472a06e456cd97a78905fffb [INFO] running `Command { std: "docker" "start" "-a" "aa2817e68c053460241792dd6a1e08596e9a6162472a06e456cd97a78905fffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa2817e68c053460241792dd6a1e08596e9a6162472a06e456cd97a78905fffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2817e68c053460241792dd6a1e08596e9a6162472a06e456cd97a78905fffb", kill_on_drop: false }` [INFO] [stdout] aa2817e68c053460241792dd6a1e08596e9a6162472a06e456cd97a78905fffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36017557bedc310af0e4811f4d2c23ae0fd4abbe949f3f54f61e33907661ccc9 [INFO] running `Command { std: "docker" "start" "-a" "36017557bedc310af0e4811f4d2c23ae0fd4abbe949f3f54f61e33907661ccc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking ucd-trie v0.1.7 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rowan v0.15.16 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking pest v2.8.0 [INFO] [stderr] Checking apollo-parser v0.7.7 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking async-graphql-value v7.0.17 [INFO] [stderr] Checking graphql-query v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking async-graphql-parser v7.0.17 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-graphql-parser-7.0.17/src/types/executable.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / self.default_value.as_ref().map(|value| &value.node).or({ [INFO] [stdout] 127 | | if self.var_type.node.nullable { [INFO] [stdout] 128 | | Some(&ConstValue::Null) [INFO] [stdout] | | ---------------- temporary value created here [INFO] [stdout] 129 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 132 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-parser` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/schema/schema.rs:797:7 [INFO] [stdout] | [INFO] [stdout] 797 | trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 237 | ctx: &'a ASTContext, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 238 | ) -> HashMap<&str, &Value<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ---- ---------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 238 | ) -> HashMap<&'a str, &'a Value<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 293 | ctx: &'a ASTContext, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 294 | ) -> HashMap<&str, &Value<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ---- ---------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 294 | ) -> HashMap<&'a str, &'a Value<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:594:10 [INFO] [stdout] | [INFO] [stdout] 594 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 595 | ctx: &'a ASTContext, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 596 | ) -> HashMap<&str, &'a VariableDefinition<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ---- -- -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 596 | ) -> HashMap<&'a str, &'a VariableDefinition<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:707:10 [INFO] [stdout] | [INFO] [stdout] 707 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 708 | ctx: &'a ASTContext, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 709 | ) -> hashbrown::HashMap<&str, FragmentDefinitionWithIndex<'a>, DefaultHashBuilder, &bumpalo::Bump> [INFO] [stdout] | ---- -- -------------- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 709 | ) -> hashbrown::HashMap<&'a str, FragmentDefinitionWithIndex<'a>, DefaultHashBuilder, &'a bumpalo::Bump> [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/ast.rs:727:10 [INFO] [stdout] | [INFO] [stdout] 727 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 728 | ctx: &'a ASTContext, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 729 | ) -> HashMap<&str, &'a FragmentDefinition<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ---- -- -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 729 | ) -> HashMap<&'a str, &'a FragmentDefinition<'a>, DefaultHashBuilder, &'a bumpalo::Bump> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/visit/folder.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn new_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn new_vec(&self) -> Vec<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36017557bedc310af0e4811f4d2c23ae0fd4abbe949f3f54f61e33907661ccc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36017557bedc310af0e4811f4d2c23ae0fd4abbe949f3f54f61e33907661ccc9", kill_on_drop: false }` [INFO] [stdout] 36017557bedc310af0e4811f4d2c23ae0fd4abbe949f3f54f61e33907661ccc9