[INFO] cloning repository https://github.com/phinnl/axum-with-async-graphql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phinnl/axum-with-async-graphql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphinnl%2Faxum-with-async-graphql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphinnl%2Faxum-with-async-graphql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac69ac09611db33758bbb34fbf0e0fb36d831fa7 [INFO] checking phinnl/axum-with-async-graphql against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphinnl%2Faxum-with-async-graphql" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phinnl/axum-with-async-graphql on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phinnl/axum-with-async-graphql [INFO] finished tweaking git repo https://github.com/phinnl/axum-with-async-graphql [INFO] tweaked toml for git repo https://github.com/phinnl/axum-with-async-graphql written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/phinnl/axum-with-async-graphql already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-graphql-derive v7.0.5 [INFO] [stderr] Downloaded async-graphql-axum v7.0.5 [INFO] [stderr] Downloaded async-graphql-value v7.0.5 [INFO] [stderr] Downloaded async-graphql v7.0.5 [INFO] [stderr] Downloaded async-graphql-parser v7.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b86174db6a0fc826d036aad818381bfa08adf99d6b7d453e02ca1092fdf2226 [INFO] running `Command { std: "docker" "start" "-a" "2b86174db6a0fc826d036aad818381bfa08adf99d6b7d453e02ca1092fdf2226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b86174db6a0fc826d036aad818381bfa08adf99d6b7d453e02ca1092fdf2226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b86174db6a0fc826d036aad818381bfa08adf99d6b7d453e02ca1092fdf2226", kill_on_drop: false }` [INFO] [stdout] 2b86174db6a0fc826d036aad818381bfa08adf99d6b7d453e02ca1092fdf2226 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5704513370126049e29014fa9f76c8a10c0a01f6167e06f7c37c912342bfcf4 [INFO] running `Command { std: "docker" "start" "-a" "e5704513370126049e29014fa9f76c8a10c0a01f6167e06f7c37c912342bfcf4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking async-graphql-value v7.0.5 [INFO] [stderr] Checking handlebars v5.1.2 [INFO] [stderr] Checking async-graphql-parser v7.0.5 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.5 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking async-graphql v7.0.5 [INFO] [stderr] Checking async-graphql-axum v7.0.5 [INFO] [stderr] Checking axum-graphql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/web/graphql_routes.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | async fn check(&self, ctx: &Context<'_>) -> Result<(), async_graphql::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/web/graphql_routes.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | async fn check(&self, ctx: &Context<'_>) -> Result<(), async_graphql::Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ctx` is never constructed [INFO] [stdout] --> src/ctx/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ctx { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `root_ctx` and `new` are never used [INFO] [stdout] --> src/ctx/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl Ctx { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 13 | pub fn root_ctx() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(user_id: i64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> src/ctx/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 24 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/web/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guest` is never constructed [INFO] [stdout] --> src/web/graphql_routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Role { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 15 | Admin, [INFO] [stdout] 16 | Guest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roles` is never read [INFO] [stdout] --> src/web/graphql_routes.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct RoleGuard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ctx` is never constructed [INFO] [stdout] --> src/ctx/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ctx { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `root_ctx` and `new` are never used [INFO] [stdout] --> src/ctx/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl Ctx { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 13 | pub fn root_ctx() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(user_id: i64) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `user_id` is never used [INFO] [stdout] --> src/ctx/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ctx { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 24 | pub fn user_id(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/web/error.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Result = core::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guest` is never constructed [INFO] [stdout] --> src/web/graphql_routes.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Role { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 15 | Admin, [INFO] [stdout] 16 | Guest, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `roles` is never read [INFO] [stdout] --> src/web/graphql_routes.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct RoleGuard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 20 | roles: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "e5704513370126049e29014fa9f76c8a10c0a01f6167e06f7c37c912342bfcf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5704513370126049e29014fa9f76c8a10c0a01f6167e06f7c37c912342bfcf4", kill_on_drop: false }` [INFO] [stdout] e5704513370126049e29014fa9f76c8a10c0a01f6167e06f7c37c912342bfcf4