[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphinnl%2Faxum-with-async-graphql" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phinnl/axum-with-async-graphql on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_assertions_next v1.1.2 [INFO] [stderr] Downloaded async-graphql-axum v7.0.5 [INFO] [stderr] Downloaded async-graphql-derive v7.0.5 [INFO] [stderr] Downloaded async-graphql-value v7.0.5 [INFO] [stderr] Downloaded async-graphql-parser v7.0.5 [INFO] [stderr] Downloaded handlebars v5.1.2 [INFO] [stderr] Downloaded async-graphql v7.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f14024811c3a18fb219eeb371e048c1a5c437da0d80539a9dfec3d134e7a24 [INFO] running `Command { std: "docker" "start" "-a" "58f14024811c3a18fb219eeb371e048c1a5c437da0d80539a9dfec3d134e7a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f14024811c3a18fb219eeb371e048c1a5c437da0d80539a9dfec3d134e7a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f14024811c3a18fb219eeb371e048c1a5c437da0d80539a9dfec3d134e7a24", kill_on_drop: false }` [INFO] [stdout] 58f14024811c3a18fb219eeb371e048c1a5c437da0d80539a9dfec3d134e7a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d640731ed4e5ecb1448d2d2c185cf99fe251357eafd0cd1636a88cde29ab842 [INFO] running `Command { std: "docker" "start" "-a" "7d640731ed4e5ecb1448d2d2c185cf99fe251357eafd0cd1636a88cde29ab842", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling regex-syntax v0.8.3 [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 linux-raw-sys v0.4.13 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling Inflector v0.11.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 strum_macros v0.26.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling strum v0.26.2 [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 handlebars v5.1.2 [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 async-graphql-parser v7.0.5 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [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-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling async-graphql-derive v7.0.5 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: enum `Error` is never used [INFO] [stdout] --> src/web/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: enum `Error` is never used [INFO] [stdout] --> src/web/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [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 56.22s [INFO] running `Command { std: "docker" "inspect" "7d640731ed4e5ecb1448d2d2c185cf99fe251357eafd0cd1636a88cde29ab842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d640731ed4e5ecb1448d2d2c185cf99fe251357eafd0cd1636a88cde29ab842", kill_on_drop: false }` [INFO] [stdout] 7d640731ed4e5ecb1448d2d2c185cf99fe251357eafd0cd1636a88cde29ab842