[INFO] cloning repository https://github.com/JonnyJiang123/actix-web-Scaffold
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JonnyJiang123/actix-web-Scaffold" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyJiang123%2Factix-web-Scaffold", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyJiang123%2Factix-web-Scaffold'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57e7c8474a359283c18f7eb11489612eb1fc1825
[INFO] testing JonnyJiang123/actix-web-Scaffold against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyJiang123%2Factix-web-Scaffold" "/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/JonnyJiang123/actix-web-Scaffold on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JonnyJiang123/actix-web-Scaffold
[INFO] finished tweaking git repo https://github.com/JonnyJiang123/actix-web-Scaffold
[INFO] tweaked toml for git repo https://github.com/JonnyJiang123/actix-web-Scaffold written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/JonnyJiang123/actix-web-Scaffold 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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid-macro-internal v1.6.1
[INFO] [stderr]   Downloaded zerocopy v0.7.30
[INFO] [stderr]   Downloaded syn v2.0.40
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.30
[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" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e98c10185c5f79d39ccf25c704c34445fd55193802c932307621fbd9d431d033
[INFO] running `Command { std: "docker" "start" "-a" "e98c10185c5f79d39ccf25c704c34445fd55193802c932307621fbd9d431d033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e98c10185c5f79d39ccf25c704c34445fd55193802c932307621fbd9d431d033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e98c10185c5f79d39ccf25c704c34445fd55193802c932307621fbd9d431d033", kill_on_drop: false }`
[INFO] [stdout] e98c10185c5f79d39ccf25c704c34445fd55193802c932307621fbd9d431d033
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6ce22f8753609e079f90e9a3825a71c06bff005d840847021786e359201433a
[INFO] running `Command { std: "docker" "start" "-a" "a6ce22f8753609e079f90e9a3825a71c06bff005d840847021786e359201433a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.17
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling zstd-safe v6.0.6
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]    Compiling deranged v0.3.10
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling crossbeam-channel v0.5.9
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling syn v2.0.40
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling tokio v1.35.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.30
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling time v0.3.30
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr] error: could not compile `regex-syntax` (lib)
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.76.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name regex_syntax --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=0d266e3910baead0 -C extra-filename=-0d266e3910baead0 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "a6ce22f8753609e079f90e9a3825a71c06bff005d840847021786e359201433a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6ce22f8753609e079f90e9a3825a71c06bff005d840847021786e359201433a", kill_on_drop: false }`
[INFO] [stdout] a6ce22f8753609e079f90e9a3825a71c06bff005d840847021786e359201433a
[INFO] testing JonnyJiang123/actix-web-Scaffold against beta-2024-02-10 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJonnyJiang123%2Factix-web-Scaffold" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JonnyJiang123/actix-web-Scaffold on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JonnyJiang123/actix-web-Scaffold
[INFO] finished tweaking git repo https://github.com/JonnyJiang123/actix-web-Scaffold
[INFO] tweaked toml for git repo https://github.com/JonnyJiang123/actix-web-Scaffold written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JonnyJiang123/actix-web-Scaffold 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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a18ca461661a7c3908eb9ff8b336786d3fe8a0a174ee3336743834dbf0773c8
[INFO] running `Command { std: "docker" "start" "-a" "2a18ca461661a7c3908eb9ff8b336786d3fe8a0a174ee3336743834dbf0773c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a18ca461661a7c3908eb9ff8b336786d3fe8a0a174ee3336743834dbf0773c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a18ca461661a7c3908eb9ff8b336786d3fe8a0a174ee3336743834dbf0773c8", kill_on_drop: false }`
[INFO] [stdout] 2a18ca461661a7c3908eb9ff8b336786d3fe8a0a174ee3336743834dbf0773c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d5d43cd6f2e36ef4eeb5941af02ac3fc437af2f8bc6b45f38452b573224b41d
[INFO] running `Command { std: "docker" "start" "-a" "7d5d43cd6f2e36ef4eeb5941af02ac3fc437af2f8bc6b45f38452b573224b41d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.17
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling zstd-safe v6.0.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling deranged v0.3.10
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling time-macros v0.2.15
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling crossbeam-channel v0.5.9
[INFO] [stderr]    Compiling syn v2.0.40
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling tokio v1.35.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling zerocopy v0.7.30
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling time v0.3.30
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling tracing-log v0.1.4
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling thrift v0.15.0
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling env_logger v0.10.1
[INFO] [stderr]    Compiling actix-rt v2.9.0
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.51
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling uuid-macro-internal v1.6.1
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling actix-codec v0.5.1
[INFO] [stderr]    Compiling zstd v0.12.4
[INFO] [stderr]    Compiling futures-executor v0.3.29
[INFO] [stderr]    Compiling h2 v0.3.22
[INFO] [stderr]    Compiling actix-server v2.3.0
[INFO] [stderr]    Compiling opentelemetry v0.17.0
[INFO] [stderr]    Compiling opentelemetry-semantic-conventions v0.9.0
[INFO] [stderr]    Compiling tracing-opentelemetry v0.17.4
[INFO] [stderr]    Compiling opentelemetry-jaeger v0.16.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling actix-http v3.4.0
[INFO] [stderr]    Compiling actix-web v4.4.0
[INFO] [stderr]    Compiling actix-web-Scaffold v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage`, `web`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     web, Error, HttpMessage
[INFO] [stdout]   |     ^^^         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ok`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::future::{LocalBoxFuture, ok};
[INFO] [stdout]   |                                            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::{Future, ready, Ready};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxBody`, `MessageBody`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::body::{BoxBody, MessageBody};
[INFO] [stdout]    |                       ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_CN` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ZH_CN,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhCn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_TW` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ZH_TW,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhTw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_HK` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ZH_HK,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhHk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EN_US` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     EN_US,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `EnUs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/service/user/mod.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let config = config.get_ref();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/app/guard/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn check(&self, ctx: &GuardContext<'_>) -> bool {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[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: associated function `new` is never used
[INFO] [stdout]  --> src/app/guard/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl AuthorityGuard {
[INFO] [stdout]   | ------------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn new() -> AuthorityGuard {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]  --> src/app/state/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RequestContext {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `trace`, and `init_request_context` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl RequestContext {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(map: HashMap<String, Box<dyn Any>>) -> RequestContext {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn trace(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn init_request_context() -> RequestContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `counter` is never read
[INFO] [stdout]   --> src/app/state/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct RequestCounter<'a> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 30 |     counter: RwLock<HashMap<&'a str, u32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequestCounter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `count`, and `display` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<'a> RequestCounter<'a> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new() -> RequestCounter<'a> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn count(&'a mut self, interface: &'a str) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn display(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BussinessError` and `SystemError` are never constructed
[INFO] [stdout]   --> src/common/err/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum CustomerError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 12 |     #[display(fmt = "Business error: {}", msg)]
[INFO] [stdout] 13 |     BussinessError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     #[display(fmt = "Interal error: {}", msg)]
[INFO] [stdout] 15 |     SystemError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn info(msg:String){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn err(msg:String){
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/common/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(HashMap<String, Value>);
[INFO] [stdout]   |            ------------ ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CommonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(());
[INFO] [stdout]   |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(HashMap<String, String>);
[INFO] [stdout]   |            --------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(());
[INFO] [stdout]   |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(HashMap<String, String>);
[INFO] [stdout]   |            ----------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(());
[INFO] [stdout]   |                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/service/user/mod.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct UserQuery {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 31 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.21s
[INFO] running `Command { std: "docker" "inspect" "7d5d43cd6f2e36ef4eeb5941af02ac3fc437af2f8bc6b45f38452b573224b41d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d5d43cd6f2e36ef4eeb5941af02ac3fc437af2f8bc6b45f38452b573224b41d", kill_on_drop: false }`
[INFO] [stdout] 7d5d43cd6f2e36ef4eeb5941af02ac3fc437af2f8bc6b45f38452b573224b41d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd45c34d8452a1a766c3c83dcb8ba4ce003dfe92a23fca64338be1f64cebbeaf
[INFO] running `Command { std: "docker" "start" "-a" "dd45c34d8452a1a766c3c83dcb8ba4ce003dfe92a23fca64338be1f64cebbeaf", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage`, `web`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     web, Error, HttpMessage
[INFO] [stdout]   |     ^^^         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ok`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::future::{LocalBoxFuture, ok};
[INFO] [stdout]   |                                            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::{Future, ready, Ready};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxBody`, `MessageBody`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::body::{BoxBody, MessageBody};
[INFO] [stdout]    |                       ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_CN` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ZH_CN,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhCn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_TW` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ZH_TW,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhTw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_HK` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ZH_HK,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhHk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EN_US` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     EN_US,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `EnUs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/service/user/mod.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let config = config.get_ref();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/app/guard/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn check(&self, ctx: &GuardContext<'_>) -> bool {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[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: associated function `new` is never used
[INFO] [stdout]  --> src/app/guard/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl AuthorityGuard {
[INFO] [stdout]   | ------------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn new() -> AuthorityGuard {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]  --> src/app/state/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RequestContext {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `trace`, and `init_request_context` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl RequestContext {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(map: HashMap<String, Box<dyn Any>>) -> RequestContext {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn trace(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn init_request_context() -> RequestContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `counter` is never read
[INFO] [stdout]   --> src/app/state/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct RequestCounter<'a> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 30 |     counter: RwLock<HashMap<&'a str, u32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequestCounter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `count`, and `display` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<'a> RequestCounter<'a> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new() -> RequestCounter<'a> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn count(&'a mut self, interface: &'a str) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn display(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BussinessError` and `SystemError` are never constructed
[INFO] [stdout]   --> src/common/err/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum CustomerError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 12 |     #[display(fmt = "Business error: {}", msg)]
[INFO] [stdout] 13 |     BussinessError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     #[display(fmt = "Interal error: {}", msg)]
[INFO] [stdout] 15 |     SystemError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn info(msg:String){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn err(msg:String){
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/common/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(HashMap<String, Value>);
[INFO] [stdout]   |            ------------ ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CommonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(());
[INFO] [stdout]   |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(HashMap<String, String>);
[INFO] [stdout]   |            --------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(());
[INFO] [stdout]   |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(HashMap<String, String>);
[INFO] [stdout]   |            ----------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(());
[INFO] [stdout]   |                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/service/user/mod.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct UserQuery {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 31 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling actix-web-Scaffold v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HttpMessage`, `web`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     web, Error, HttpMessage
[INFO] [stdout]   |     ^^^         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ok`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:7:44
[INFO] [stdout]   |
[INFO] [stdout] 7 | use futures_util::future::{LocalBoxFuture, ok};
[INFO] [stdout]   |                                            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Future`
[INFO] [stdout]  --> src/app/middleware/request_handler/mod.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::{Future, ready, Ready};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BoxBody`, `MessageBody`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::body::{BoxBody, MessageBody};
[INFO] [stdout]    |                       ^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_CN` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     ZH_CN,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhCn`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_TW` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ZH_TW,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhTw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ZH_HK` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ZH_HK,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhHk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `EN_US` should have an upper camel case name
[INFO] [stdout]   --> src/common/dto/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     EN_US,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to upper camel case: `EnUs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/service/user/mod.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let config = config.get_ref();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/app/guard/mod.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn check(&self, ctx: &GuardContext<'_>) -> bool {
[INFO] [stdout]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/app/middleware/request_handler/mod.rs:49:20
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[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: associated function `new` is never used
[INFO] [stdout]  --> src/app/guard/mod.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl AuthorityGuard {
[INFO] [stdout]   | ------------------- associated function in this implementation
[INFO] [stdout] 5 |     pub fn new() -> AuthorityGuard {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]  --> src/app/state/mod.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RequestContext {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `trace`, and `init_request_context` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl RequestContext {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(map: HashMap<String, Box<dyn Any>>) -> RequestContext {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn trace(&self) -> &str {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn init_request_context() -> RequestContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `counter` is never read
[INFO] [stdout]   --> src/app/state/mod.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct RequestCounter<'a> {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 30 |     counter: RwLock<HashMap<&'a str, u32>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequestCounter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `count`, and `display` are never used
[INFO] [stdout]   --> src/app/state/mod.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl<'a> RequestCounter<'a> {
[INFO] [stdout]    | --------------------------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new() -> RequestCounter<'a> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn count(&'a mut self, interface: &'a str) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn display(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BussinessError` and `SystemError` are never constructed
[INFO] [stdout]   --> src/common/err/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum CustomerError {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 12 |     #[display(fmt = "Business error: {}", msg)]
[INFO] [stdout] 13 |     BussinessError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     #[display(fmt = "Interal error: {}", msg)]
[INFO] [stdout] 15 |     SystemError { msg: String },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CustomerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `info` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn info(msg:String){
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `err` is never used
[INFO] [stdout]   --> src/common/log/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn err(msg:String){
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/common/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(HashMap<String, Value>);
[INFO] [stdout]   |            ------------ ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CommonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CommonConfig(());
[INFO] [stdout]   |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(HashMap<String, String>);
[INFO] [stdout]   |            --------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MysqlPool(());
[INFO] [stdout]   |                      ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/config/db/mod.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(HashMap<String, String>);
[INFO] [stdout]   |            ----------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |            |
[INFO] [stdout]   |            field in this struct
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct RedisConfig(());
[INFO] [stdout]   |                        ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/service/user/mod.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct UserQuery {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 31 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "dd45c34d8452a1a766c3c83dcb8ba4ce003dfe92a23fca64338be1f64cebbeaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd45c34d8452a1a766c3c83dcb8ba4ce003dfe92a23fca64338be1f64cebbeaf", kill_on_drop: false }`
[INFO] [stdout] dd45c34d8452a1a766c3c83dcb8ba4ce003dfe92a23fca64338be1f64cebbeaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 11c995845439e69fbfa9566845077b8303880c31e0ee5a01ce4dbc7c9ef756e5
[INFO] running `Command { std: "docker" "start" "-a" "11c995845439e69fbfa9566845077b8303880c31e0ee5a01ce4dbc7c9ef756e5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::any::Any`
[INFO] [stderr]  --> src/app/middleware/request_handler/mod.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::any::Any;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HttpMessage`, `web`
[INFO] [stderr]  --> src/app/middleware/request_handler/mod.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     web, Error, HttpMessage
[INFO] [stderr]   |     ^^^         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ok`
[INFO] [stderr]  --> src/app/middleware/request_handler/mod.rs:7:44
[INFO] [stderr]   |
[INFO] [stderr] 7 | use futures_util::future::{LocalBoxFuture, ok};
[INFO] [stderr]   |                                            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Future`
[INFO] [stderr]  --> src/app/middleware/request_handler/mod.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::future::{Future, ready, Ready};
[INFO] [stderr]   |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]   --> src/app/middleware/request_handler/mod.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::str::FromStr;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BoxBody`, `MessageBody`
[INFO] [stderr]   --> src/app/middleware/request_handler/mod.rs:11:23
[INFO] [stderr]    |
[INFO] [stderr] 11 | use actix_web::body::{BoxBody, MessageBody};
[INFO] [stderr]    |                       ^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json`
[INFO] [stderr]   --> src/app/middleware/request_handler/mod.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use serde_json;
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ZH_CN` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     ZH_CN,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhCn`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ZH_TW` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     ZH_TW,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhTw`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ZH_HK` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     ZH_HK,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhHk`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `EN_US` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     EN_US,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `EnUs`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/service/user/mod.rs:83:9
[INFO] [stderr]    |
[INFO] [stderr] 83 |     let config = config.get_ref();
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/app/guard/mod.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 |     fn check(&self, ctx: &GuardContext<'_>) -> bool {
[INFO] [stderr]    |                     ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/app/middleware/request_handler/mod.rs:49:20
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn call(&self, mut req: ServiceRequest) -> Self::Future {
[INFO] [stderr]    |                    ----^^^
[INFO] [stderr]    |                    |
[INFO] [stderr]    |                    help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/app/guard/mod.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | impl AuthorityGuard {
[INFO] [stderr]   | ------------------- associated function in this implementation
[INFO] [stderr] 5 |     pub fn new() -> AuthorityGuard {
[INFO] [stderr]   |            ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RequestContext` is never constructed
[INFO] [stderr]  --> src/app/state/mod.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct RequestContext {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `trace`, and `init_request_context` are never used
[INFO] [stderr]   --> src/app/state/mod.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 9  | impl RequestContext {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn new(map: HashMap<String, Box<dyn Any>>) -> RequestContext {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub fn trace(&self) -> &str {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn init_request_context() -> RequestContext {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `counter` is never read
[INFO] [stderr]   --> src/app/state/mod.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub struct RequestCounter<'a> {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] 30 |     counter: RwLock<HashMap<&'a str, u32>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RequestCounter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `count`, and `display` are never used
[INFO] [stderr]   --> src/app/state/mod.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 32 | impl<'a> RequestCounter<'a> {
[INFO] [stderr]    | --------------------------- associated items in this implementation
[INFO] [stderr] 33 |     pub fn new() -> RequestCounter<'a> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn count(&'a mut self, interface: &'a str) {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45 |     pub fn display(&self) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `BussinessError` and `SystemError` are never constructed
[INFO] [stderr]   --> src/common/err/mod.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum CustomerError {
[INFO] [stderr]    |          ------------- variants in this enum
[INFO] [stderr] 12 |     #[display(fmt = "Business error: {}", msg)]
[INFO] [stderr] 13 |     BussinessError { msg: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     #[display(fmt = "Interal error: {}", msg)]
[INFO] [stderr] 15 |     SystemError { msg: String },
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CustomerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `info` is never used
[INFO] [stderr]   --> src/common/log/mod.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn info(msg:String){
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `err` is never used
[INFO] [stderr]   --> src/common/log/mod.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn err(msg:String){
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/config/common/mod.rs:4:25
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct CommonConfig(HashMap<String, Value>);
[INFO] [stderr]   |            ------------ ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |            |
[INFO] [stderr]   |            field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = note: `CommonConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct CommonConfig(());
[INFO] [stderr]   |                         ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/config/db/mod.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct MysqlPool(HashMap<String, String>);
[INFO] [stderr]   |            --------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |            |
[INFO] [stderr]   |            field in this struct
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct MysqlPool(());
[INFO] [stderr]   |                      ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/config/db/mod.rs:9:24
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct RedisConfig(HashMap<String, String>);
[INFO] [stderr]   |            ----------- ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |            |
[INFO] [stderr]   |            field in this struct
[INFO] [stderr]   |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct RedisConfig(());
[INFO] [stderr]   |                        ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/service/user/mod.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 30 | struct UserQuery {
[INFO] [stderr]    |        --------- field in this struct
[INFO] [stderr] 31 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UserQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: crate `actix_web_Scaffold` should have a snake case name
[INFO] [stderr]   |
[INFO] [stderr]   = help: convert the identifier to snake case: `actix_web_scaffold`
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `actix-web-Scaffold` (lib) generated 27 warnings (run `cargo fix --lib -p actix-web-Scaffold` to apply 10 suggestions)
[INFO] [stderr] warning: `actix-web-Scaffold` (lib test) generated 27 warnings (27 duplicates)
[INFO] [stderr] warning: unused import: `tracing`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tracing;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `actix-web-Scaffold` (bin "actix-web-Scaffold" test) generated 2 warnings (1 duplicate) (run `cargo fix --bin "actix-web-Scaffold" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actix_web_Scaffold-9e2fb6db05f27c1d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/actix_web_Scaffold-973fb970cf65c2fc)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests actix-web-Scaffold
[INFO] [stderr] warning: variant `ZH_CN` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     ZH_CN,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhCn`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ZH_TW` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     ZH_TW,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhTw`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ZH_HK` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     ZH_HK,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `ZhHk`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `EN_US` should have an upper camel case name
[INFO] [stderr]   --> src/common/dto/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     EN_US,
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to upper camel case: `EnUs`
[INFO] [stderr] 
[INFO] [stderr] warning: 4 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "11c995845439e69fbfa9566845077b8303880c31e0ee5a01ce4dbc7c9ef756e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11c995845439e69fbfa9566845077b8303880c31e0ee5a01ce4dbc7c9ef756e5", kill_on_drop: false }`
[INFO] [stdout] 11c995845439e69fbfa9566845077b8303880c31e0ee5a01ce4dbc7c9ef756e5
