[INFO] cloning repository https://github.com/dzmitrys-dev/actix-todo-list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dzmitrys-dev/actix-todo-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzmitrys-dev%2Factix-todo-list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzmitrys-dev%2Factix-todo-list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb71cffbc92a6c7802109fc9a04a0915e79b999e [INFO] checking dzmitrys-dev/actix-todo-list against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzmitrys-dev%2Factix-todo-list" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzmitrys-dev/actix-todo-list 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/dzmitrys-dev/actix-todo-list [INFO] finished tweaking git repo https://github.com/dzmitrys-dev/actix-todo-list [INFO] tweaked toml for git repo https://github.com/dzmitrys-dev/actix-todo-list written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dzmitrys-dev/actix-todo-list 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-pg-mapper-derive v0.2.0 [INFO] [stderr] Downloaded whoami v1.5.0 [INFO] [stderr] Downloaded deadpool-postgres v0.12.1 [INFO] [stderr] Downloaded tokio-pg-mapper v0.2.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] baf4906f4fb5f2c0e8d315e4e2b41cad4a81cafb3837b8a200000c045dafc486 [INFO] running `Command { std: "docker" "start" "-a" "baf4906f4fb5f2c0e8d315e4e2b41cad4a81cafb3837b8a200000c045dafc486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baf4906f4fb5f2c0e8d315e4e2b41cad4a81cafb3837b8a200000c045dafc486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf4906f4fb5f2c0e8d315e4e2b41cad4a81cafb3837b8a200000c045dafc486", kill_on_drop: false }` [INFO] [stdout] baf4906f4fb5f2c0e8d315e4e2b41cad4a81cafb3837b8a200000c045dafc486 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a87e5cd9022ec60e323485c3c75daaf73d78eea8d6f087ca72140d56cb574d8 [INFO] running `Command { std: "docker" "start" "-a" "6a87e5cd9022ec60e323485c3c75daaf73d78eea8d6f087ca72140d56cb574d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking whoami v1.5.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking tokio-pg-mapper v0.2.0 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.2.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking actixcourse1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `actix_web::test::read_response_json`: Renamed to `call_and_read_body_json`. [INFO] [stdout] --> src/main.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | let todos: Vec = test::read_response_json(&mut app, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 8 | DbError, [INFO] [stdout] 9 | NotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cause` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub message: Option, [INFO] [stdout] 15 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 8 | DbError, [INFO] [stdout] 9 | NotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cause` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub message: Option, [INFO] [stdout] 15 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.05s [INFO] running `Command { std: "docker" "inspect" "6a87e5cd9022ec60e323485c3c75daaf73d78eea8d6f087ca72140d56cb574d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a87e5cd9022ec60e323485c3c75daaf73d78eea8d6f087ca72140d56cb574d8", kill_on_drop: false }` [INFO] [stdout] 6a87e5cd9022ec60e323485c3c75daaf73d78eea8d6f087ca72140d56cb574d8 [INFO] checking dzmitrys-dev/actix-todo-list against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdzmitrys-dev%2Factix-todo-list" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dzmitrys-dev/actix-todo-list on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dzmitrys-dev/actix-todo-list [INFO] finished tweaking git repo https://github.com/dzmitrys-dev/actix-todo-list [INFO] tweaked toml for git repo https://github.com/dzmitrys-dev/actix-todo-list written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dzmitrys-dev/actix-todo-list 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 098c15915f1452aca782c24551fbf7fdea2e203ddc2d28a2c048c87373ccd5be [INFO] running `Command { std: "docker" "start" "-a" "098c15915f1452aca782c24551fbf7fdea2e203ddc2d28a2c048c87373ccd5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "098c15915f1452aca782c24551fbf7fdea2e203ddc2d28a2c048c87373ccd5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "098c15915f1452aca782c24551fbf7fdea2e203ddc2d28a2c048c87373ccd5be", kill_on_drop: false }` [INFO] [stdout] 098c15915f1452aca782c24551fbf7fdea2e203ddc2d28a2c048c87373ccd5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debae3acb39000436f5c31c9c544a750a65c576eda025d387af806ae4963efc8 [INFO] running `Command { std: "docker" "start" "-a" "debae3acb39000436f5c31c9c544a750a65c576eda025d387af806ae4963efc8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Checking whoami v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking deadpool-runtime v0.1.3 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.2.0 [INFO] [stderr] Checking tokio-pg-mapper v0.2.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking actixcourse1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `actix_web::test::read_response_json`: Renamed to `call_and_read_body_json`. [INFO] [stdout] --> src/main.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | let todos: Vec = test::read_response_json(&mut app, req).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 8 | DbError, [INFO] [stdout] 9 | NotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cause` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub message: Option, [INFO] [stdout] 15 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppErrorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 8 | DbError, [INFO] [stdout] 9 | NotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cause` is never read [INFO] [stdout] --> src/errors.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AppError { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 14 | pub message: Option, [INFO] [stdout] 15 | pub cause: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.45s [INFO] running `Command { std: "docker" "inspect" "debae3acb39000436f5c31c9c544a750a65c576eda025d387af806ae4963efc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debae3acb39000436f5c31c9c544a750a65c576eda025d387af806ae4963efc8", kill_on_drop: false }` [INFO] [stdout] debae3acb39000436f5c31c9c544a750a65c576eda025d387af806ae4963efc8