[INFO] cloning repository https://github.com/NoahShin/rust-axum-intro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NoahShin/rust-axum-intro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahShin%2Frust-axum-intro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahShin%2Frust-axum-intro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e9f0aa1e489e5c93bca7e24b7efd773f236d26e [INFO] checking NoahShin/rust-axum-intro against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoahShin%2Frust-axum-intro" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NoahShin/rust-axum-intro on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NoahShin/rust-axum-intro [INFO] finished tweaking git repo https://github.com/NoahShin/rust-axum-intro [INFO] tweaked toml for git repo https://github.com/NoahShin/rust-axum-intro written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/NoahShin/rust-axum-intro 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httpc-test v0.1.8 [INFO] [stderr] Downloaded reqwest_cookie_store v0.6.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded serde_json v1.0.110 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575d664ba7cf33159d3ee8290812c928a4dec84c15172f8a3aba7b98bbcda0ac [INFO] running `Command { std: "docker" "start" "-a" "575d664ba7cf33159d3ee8290812c928a4dec84c15172f8a3aba7b98bbcda0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575d664ba7cf33159d3ee8290812c928a4dec84c15172f8a3aba7b98bbcda0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575d664ba7cf33159d3ee8290812c928a4dec84c15172f8a3aba7b98bbcda0ac", kill_on_drop: false }` [INFO] [stdout] 575d664ba7cf33159d3ee8290812c928a4dec84c15172f8a3aba7b98bbcda0ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff8a93631029fd5d78146336398ce5bd0e615ccc2713b834a3107fee4af5676 [INFO] running `Command { std: "docker" "start" "-a" "5ff8a93631029fd5d78146336398ce5bd0e615ccc2713b834a3107fee4af5676", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tower-cookies v0.9.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking reqwest_cookie_store v0.6.0 [INFO] [stderr] Checking httpc-test v0.1.8 [INFO] [stderr] Checking rust-axum-intro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/web/mw_auth.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/web/mw_auth.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> src/web/mw_auth.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let auth_token = cookies.get(AUTH_TOKEN).map(|c| c.value().to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth_token` [INFO] [stdout] --> src/web/mw_auth.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let auth_token = cookies.get(AUTH_TOKEN).map(|c| c.value().to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mw_require_auth` is never used [INFO] [stdout] --> src/web/mw_auth.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn mw_require_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mw_require_auth` is never used [INFO] [stdout] --> src/web/mw_auth.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn mw_require_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.17s [INFO] running `Command { std: "docker" "inspect" "5ff8a93631029fd5d78146336398ce5bd0e615ccc2713b834a3107fee4af5676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff8a93631029fd5d78146336398ce5bd0e615ccc2713b834a3107fee4af5676", kill_on_drop: false }` [INFO] [stdout] 5ff8a93631029fd5d78146336398ce5bd0e615ccc2713b834a3107fee4af5676