[INFO] cloning repository https://github.com/MumAroi/rust-web-template-basic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MumAroi/rust-web-template-basic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMumAroi%2Frust-web-template-basic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMumAroi%2Frust-web-template-basic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02a98f22e1734d728b956dab83ecb787c533c831 [INFO] checking MumAroi/rust-web-template-basic against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMumAroi%2Frust-web-template-basic" "/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/MumAroi/rust-web-template-basic 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/MumAroi/rust-web-template-basic [INFO] finished tweaking git repo https://github.com/MumAroi/rust-web-template-basic [INFO] tweaked toml for git repo https://github.com/MumAroi/rust-web-template-basic written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MumAroi/rust-web-template-basic 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 actix-cors v0.7.0 [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] 409255ca6f9b4d6e726d4d3174597fcb36a08e855f42dda6a56ce0ff28aa5c4f [INFO] running `Command { std: "docker" "start" "-a" "409255ca6f9b4d6e726d4d3174597fcb36a08e855f42dda6a56ce0ff28aa5c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "409255ca6f9b4d6e726d4d3174597fcb36a08e855f42dda6a56ce0ff28aa5c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "409255ca6f9b4d6e726d4d3174597fcb36a08e855f42dda6a56ce0ff28aa5c4f", kill_on_drop: false }` [INFO] [stdout] 409255ca6f9b4d6e726d4d3174597fcb36a08e855f42dda6a56ce0ff28aa5c4f [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] a567af3a67832f17f6a50e3194459895b36eb89fc3a8cce50923491120a54808 [INFO] running `Command { std: "docker" "start" "-a" "a567af3a67832f17f6a50e3194459895b36eb89fc3a8cce50923491120a54808", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.26 [INFO] [stderr] Checking actix-cors v0.7.0 [INFO] [stderr] Checking web_template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client as HttpClient` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Client as HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client as HttpClient` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use reqwest::Client as HttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | let mut db = app_state.db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn update(&mut self, task: Task) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn update(&mut self, task: Task) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.14s [INFO] running `Command { std: "docker" "inspect" "a567af3a67832f17f6a50e3194459895b36eb89fc3a8cce50923491120a54808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a567af3a67832f17f6a50e3194459895b36eb89fc3a8cce50923491120a54808", kill_on_drop: false }` [INFO] [stdout] a567af3a67832f17f6a50e3194459895b36eb89fc3a8cce50923491120a54808