[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] building phinnl/axum-with-async-graphql against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphinnl%2Faxum-with-async-graphql" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phinnl/axum-with-async-graphql on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.201 [INFO] [stderr] Downloaded darling_macro v0.20.8 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded darling_core v0.20.8 [INFO] [stderr] Downloaded handlebars v5.1.2 [INFO] [stderr] Downloaded darling v0.20.8 [INFO] [stderr] Downloaded async-graphql-derive v7.0.5 [INFO] [stderr] Downloaded async-graphql-parser v7.0.5 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded async-graphql-value v7.0.5 [INFO] [stderr] Downloaded static_assertions_next v1.1.2 [INFO] [stderr] Downloaded async-graphql-axum v7.0.5 [INFO] [stderr] Downloaded serde v1.0.201 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded syn v2.0.63 [INFO] [stderr] Downloaded async-graphql v7.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 637f40185f80e92d274686f6aca47f149df81f360e02a49e49ecf16cfd53db01 [INFO] running `Command { std: "docker" "start" "-a" "637f40185f80e92d274686f6aca47f149df81f360e02a49e49ecf16cfd53db01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "637f40185f80e92d274686f6aca47f149df81f360e02a49e49ecf16cfd53db01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637f40185f80e92d274686f6aca47f149df81f360e02a49e49ecf16cfd53db01", kill_on_drop: false }` [INFO] [stdout] 637f40185f80e92d274686f6aca47f149df81f360e02a49e49ecf16cfd53db01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab399128f5f7a7415b8bc33d963ef2f6b257599d2aff215444af0095e0e85a74 [INFO] running `Command { std: "docker" "start" "-a" "ab399128f5f7a7415b8bc33d963ef2f6b257599d2aff215444af0095e0e85a74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex v1.10.4 [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 pin-project-internal v1.1.5 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [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] Compiling bytes v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling async-graphql-value v7.0.5 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling async-graphql-parser v7.0.5 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling 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] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling async-graphql v7.0.5 [INFO] [stderr] Compiling async-graphql-axum v7.0.5 [INFO] [stderr] Compiling 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: 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 1m 23s [INFO] running `Command { std: "docker" "inspect" "ab399128f5f7a7415b8bc33d963ef2f6b257599d2aff215444af0095e0e85a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab399128f5f7a7415b8bc33d963ef2f6b257599d2aff215444af0095e0e85a74", kill_on_drop: false }` [INFO] [stdout] ab399128f5f7a7415b8bc33d963ef2f6b257599d2aff215444af0095e0e85a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06bbdd97e8e9890ee6fd6cb547204dc65664d77c709abf8b900c061723035e36 [INFO] running `Command { std: "docker" "start" "-a" "06bbdd97e8e9890ee6fd6cb547204dc65664d77c709abf8b900c061723035e36", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "06bbdd97e8e9890ee6fd6cb547204dc65664d77c709abf8b900c061723035e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bbdd97e8e9890ee6fd6cb547204dc65664d77c709abf8b900c061723035e36", kill_on_drop: false }` [INFO] [stdout] 06bbdd97e8e9890ee6fd6cb547204dc65664d77c709abf8b900c061723035e36