[INFO] cloning repository https://github.com/shaurya-nwse/axum-rest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaurya-nwse/axum-rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya-nwse%2Faxum-rest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya-nwse%2Faxum-rest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2487fa228b528f6041a31ba1739cdc6f6e56d0d3 [INFO] checking shaurya-nwse/axum-rest against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaurya-nwse%2Faxum-rest" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaurya-nwse/axum-rest on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaurya-nwse/axum-rest [INFO] finished tweaking git repo https://github.com/shaurya-nwse/axum-rest [INFO] tweaked toml for git repo https://github.com/shaurya-nwse/axum-rest written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shaurya-nwse/axum-rest 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-cookies v0.9.0 [INFO] [stderr] Downloaded reqwest_cookie_store v0.6.0 [INFO] [stderr] Downloaded lazy-regex v3.0.2 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.0.1 [INFO] [stderr] Downloaded serde_with v3.4.0 [INFO] [stderr] Downloaded axum-macros v0.3.8 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded cookie_store v0.16.2 [INFO] [stderr] Downloaded httpc-test v0.1.7 [INFO] [stderr] Downloaded serde_with_macros v3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10946637eace9517acc7035327287a5af2abf8efe3ddae0f6ff3c9feef34a40b [INFO] running `Command { std: "docker" "start" "-a" "10946637eace9517acc7035327287a5af2abf8efe3ddae0f6ff3c9feef34a40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10946637eace9517acc7035327287a5af2abf8efe3ddae0f6ff3c9feef34a40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10946637eace9517acc7035327287a5af2abf8efe3ddae0f6ff3c9feef34a40b", kill_on_drop: false }` [INFO] [stdout] 10946637eace9517acc7035327287a5af2abf8efe3ddae0f6ff3c9feef34a40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c94b16c9979493593801a450f052657960d7007233db3f1acbf04e4741342c86 [INFO] running `Command { std: "docker" "start" "-a" "c94b16c9979493593801a450f052657960d7007233db3f1acbf04e4741342c86", kill_on_drop: false }` [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking uuid v1.5.0 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.0.1 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking lazy-regex v3.0.2 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [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.21 [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.14 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking reqwest_cookie_store v0.6.0 [INFO] [stderr] Checking httpc-test v0.1.7 [INFO] [stderr] Checking axum-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Router` is imported redundantly [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 17 | use axum::{middleware, routing::*, Json}; [INFO] [stdout] | ---------- the item `Router` is already imported here [INFO] [stdout] 18 | use axum::{response::Html, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `service` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use tower_cookies::{service, CookieManagerLayer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Router` is imported redundantly [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 17 | use axum::{middleware, routing::*, Json}; [INFO] [stdout] | ---------- the item `Router` is already imported here [INFO] [stdout] 18 | use axum::{response::Html, Router}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `service` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use tower_cookies::{service, CookieManagerLayer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/web/mw_auth.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let (user_id, exp, sign) = auth_token [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/web/mw_auth.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let (user_id, exp, sign) = auth_token [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/web/mw_auth.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let (user_id, exp, sign) = auth_token [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/web/mw_auth.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let (user_id, exp, sign) = auth_token [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | log_request(uuid, req_method, uri, ctx, service_error, client_error).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = log_request(uuid, req_method, uri, ctx, service_error, client_error).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | log_request(uuid, req_method, uri, ctx, service_error, client_error).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = log_request(uuid, req_method, uri, ctx, service_error, client_error).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.64s [INFO] running `Command { std: "docker" "inspect" "c94b16c9979493593801a450f052657960d7007233db3f1acbf04e4741342c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94b16c9979493593801a450f052657960d7007233db3f1acbf04e4741342c86", kill_on_drop: false }` [INFO] [stdout] c94b16c9979493593801a450f052657960d7007233db3f1acbf04e4741342c86