[INFO] cloning repository https://github.com/LovesAsuna/axum-sso [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LovesAsuna/axum-sso" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLovesAsuna%2Faxum-sso", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLovesAsuna%2Faxum-sso'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 829f69b8296be1d5367701a46ab61ce24a1cb26c [INFO] checking LovesAsuna/axum-sso against master#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLovesAsuna%2Faxum-sso" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LovesAsuna/axum-sso on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] finished tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] tweaked toml for git repo https://github.com/LovesAsuna/axum-sso written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LovesAsuna/axum-sso 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" "+30840c53f414b753cb08f14620906572f88dda4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking LovesAsuna/axum-sso against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLovesAsuna%2Faxum-sso" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LovesAsuna/axum-sso on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] finished tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] tweaked toml for git repo https://github.com/LovesAsuna/axum-sso written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LovesAsuna/axum-sso 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking LovesAsuna/axum-sso against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLovesAsuna%2Faxum-sso" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LovesAsuna/axum-sso on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] finished tweaking git repo https://github.com/LovesAsuna/axum-sso [INFO] tweaked toml for git repo https://github.com/LovesAsuna/axum-sso written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LovesAsuna/axum-sso 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.12.0 [INFO] [stderr] Downloaded h2 v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a90821d75502c3bf88cafabf900890a83e7e3b020fc5d888d93eded3c579159a [INFO] running `Command { std: "docker" "start" "-a" "a90821d75502c3bf88cafabf900890a83e7e3b020fc5d888d93eded3c579159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90821d75502c3bf88cafabf900890a83e7e3b020fc5d888d93eded3c579159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90821d75502c3bf88cafabf900890a83e7e3b020fc5d888d93eded3c579159a", kill_on_drop: false }` [INFO] [stdout] a90821d75502c3bf88cafabf900890a83e7e3b020fc5d888d93eded3c579159a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77d9b51168768ffe041b39100fa21536a0a7ae34e681cb9a0a7ec33a1986785b [INFO] running `Command { std: "docker" "start" "-a" "77d9b51168768ffe041b39100fa21536a0a7ae34e681cb9a0a7ec33a1986785b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking headers-core v0.3.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking headers v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.1 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking axum-extra v0.9.2 [INFO] [stderr] Checking axum-sso v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0255]: the name `middleware` is defined multiple times [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ---------- previous import of the module `middleware` here [INFO] [stdout] ... [INFO] [stdout] 5 | mod middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `middleware` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `middleware` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware as other_middleware, Router}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `middleware` is defined multiple times [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ---------- previous import of the module `middleware` here [INFO] [stdout] ... [INFO] [stdout] 5 | mod middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `middleware` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `middleware` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware as other_middleware, Router}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_fn` in module `middleware` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | .layer(middleware::from_fn(|| {})) [INFO] [stdout] | ^^^^^^^ not found in `middleware` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use core::array::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use std::array::from_fn; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] help: if you import `from_fn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - .layer(middleware::from_fn(|| {})) [INFO] [stdout] 21 + .layer(from_fn(|| {})) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_fn` in module `middleware` [INFO] [stdout] --> src/main.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | .layer(middleware::from_fn(|| {})) [INFO] [stdout] | ^^^^^^^ not found in `middleware` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use core::array::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use core::iter::from_fn; [INFO] [stdout] | [INFO] [stdout] 1 + use std::array::from_fn; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] help: if you import `from_fn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - .layer(middleware::from_fn(|| {})) [INFO] [stdout] 21 + .layer(from_fn(|| {})) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{middleware, Router}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/middleware/login_checker.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | async fn check_session(parts: &mut Parts, next: &mut Next) -> Result<(), AuthRedirect> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/middleware/login_checker.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let cookie = parts [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> src/middleware/login_checker.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | async fn check_session(parts: &mut Parts, next: &mut Next) -> Result<(), AuthRedirect> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/middleware/login_checker.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let cookie = parts [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-sso` (bin "axum-sso" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-sso` (bin "axum-sso") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "77d9b51168768ffe041b39100fa21536a0a7ae34e681cb9a0a7ec33a1986785b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77d9b51168768ffe041b39100fa21536a0a7ae34e681cb9a0a7ec33a1986785b", kill_on_drop: false }` [INFO] [stdout] 77d9b51168768ffe041b39100fa21536a0a7ae34e681cb9a0a7ec33a1986785b