[INFO] cloning repository https://github.com/ironwill01/Actix-practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ironwill01/Actix-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironwill01%2FActix-practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironwill01%2FActix-practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] beefc5330d969cc13ec5f2176c547dd61c14e3b8
[INFO] checking ironwill01/Actix-practice against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fironwill01%2FActix-practice" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ironwill01/Actix-practice
[INFO] finished tweaking git repo https://github.com/ironwill01/Actix-practice
[INFO] tweaked toml for git repo https://github.com/ironwill01/Actix-practice written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ironwill01/Actix-practice on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ironwill01/Actix-practice 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c
[INFO] running `Command { std: "docker" "start" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking hybrid-array v0.4.12
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling tokio-openssl v0.6.5
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling bytestring v1.5.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]    Compiling actix-router v0.5.4
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking regex-lite v0.1.9
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]    Compiling askama_parser v0.14.0
[INFO] [stderr]    Compiling basic-toml v0.1.10
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking sha1 v0.11.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling askama_derive v0.14.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking actix-tls v3.5.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking askama v0.14.0
[INFO] [stderr]     Checking actix-http v3.12.1
[INFO] [stderr]     Checking actix-web v4.13.0
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking actix-files v0.6.10
[INFO] [stderr]     Checking actix-session v0.11.0
[INFO] [stderr]     Checking part8 v0.1.0 (/opt/rustwide/workdir/actix_practices/part8)
[INFO] [stderr]     Checking part4 v0.1.0 (/opt/rustwide/workdir/actix_practices/part4)
[INFO] [stderr]     Checking part9 v0.1.0 (/opt/rustwide/workdir/actix_practices/part9)
[INFO] [stderr]     Checking backend-begin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking part3 v0.1.0 (/opt/rustwide/workdir/actix_practices/part3)
[INFO] [stderr]     Checking part5 v0.1.0 (/opt/rustwide/workdir/actix_practices/part5)
[INFO] [stderr]     Checking part2 v0.1.0 (/opt/rustwide/workdir/actix_practices/part2)
[INFO] [stderr]     Checking part6 v0.1.0 (/opt/rustwide/workdir/actix_practices/part6)
[INFO] [stderr]     Checking part7 v0.1.0 (/opt/rustwide/workdir/actix_practices/part7)
[INFO] [stderr]     Checking part1 v0.1.0 (/opt/rustwide/workdir/actix_practices/part1)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> actix_practices/part9/src/configs/webscopes.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |         body::{self, MessageBody},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `ContentEncoding`, `ContentType`, `Error`, `HttpRequest`, `HttpResponse`, `MessageBody`, `Result`, `StatusCode`, `future`, `get`, `rt::pin`, `self`, `self`, `stream`, `sync::Mutex`, `task::Poll`, `test`, and `web`
[INFO] [stdout]   --> actix_practices/part9/src/configs/webscopes.rs:3:9
[INFO] [stdout]    |
[INFO] [stdout]  3 |         App, Error, HttpRequest, HttpResponse, Result,
[INFO] [stdout]    |         ^^^  ^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]  4 |         body::{self, MessageBody},
[INFO] [stdout]    |                ^^^^  ^^^^^^^^^^^
[INFO] [stdout]  5 |         get,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]  6 |         http::{
[INFO] [stdout]  7 |             self, StatusCode,
[INFO] [stdout]    |             ^^^^  ^^^^^^^^^^
[INFO] [stdout]  8 |             header::{ContentEncoding, ContentType},
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]  9 |         },
[INFO] [stdout] 10 |         rt::pin,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 11 |         test, web,
[INFO] [stdout]    |         ^^^^  ^^^
[INFO] [stdout] 12 |     },
[INFO] [stdout] 13 |     futures::{future, stream},
[INFO] [stdout]    |               ^^^^^^  ^^^^^^
[INFO] [stdout] 14 |     std::{sync::Mutex, task::Poll},
[INFO] [stdout]    |           ^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError` and `Timeout` are never constructed
[INFO] [stdout]    --> actix_practices/part5/src/configs/webscopes.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 313 |     enum MyError {
[INFO] [stdout]     |          ------- variants in this enum
[INFO] [stdout] 314 |         #[display("internal error")]
[INFO] [stdout] 315 |         InternalError,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 321 |         Timeout,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserErr` is never used
[INFO] [stdout]    --> actix_practices/part5/src/configs/webscopes.rs:399:10
[INFO] [stdout]     |
[INFO] [stdout] 399 |     enum UserErr {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking websockets v0.1.0 (/opt/rustwide/workdir/actix_practices/protocols/websockets)
[INFO] [stderr]     Checking part11 v0.1.0 (/opt/rustwide/workdir/actix_practices/part11)
[INFO] [stdout] warning: unused variable: `logger`
[INFO] [stdout]   --> actix_practices/protocols/websockets/src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let logger = Logger::new("%s %a %{User-Agent}i");
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logger`
[INFO] [stdout]   --> actix_practices/protocols/websockets/src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let logger = Logger::new("%s %a %{User-Agent}i");
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Serialize`, `guard`, and `post`
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  4 |         Error, 
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  9 |         guard,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |         post, web,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |         Serialize
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cors_conf_fail`
[INFO] [stdout]  --> actix_practices/part11/src/configs/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     cors_conf_fail
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `Serialize`, `guard`, and `post`
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:4:9
[INFO] [stdout]    |
[INFO] [stdout]  4 |         Error, 
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  9 |         guard,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |         post, web,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |         Serialize
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cors_conf_fail`
[INFO] [stdout]  --> actix_practices/part11/src/configs/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     cors_conf_fail
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError` and `Timeout` are never constructed
[INFO] [stdout]    --> actix_practices/part5/src/configs/webscopes.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 313 |     enum MyError {
[INFO] [stdout]     |          ------- variants in this enum
[INFO] [stdout] 314 |         #[display("internal error")]
[INFO] [stdout] 315 |         InternalError,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 321 |         Timeout,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `UserErr` is never used
[INFO] [stdout]    --> actix_practices/part5/src/configs/webscopes.rs:399:10
[INFO] [stdout]     |
[INFO] [stdout] 399 |     enum UserErr {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_single` is never used
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn cors_conf_single() -> Cors {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_serval` is never used
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn cors_conf_serval() -> Cors {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_any` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn cors_conf_any() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_cred` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn cors_conf_cred() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_scope` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn cors_conf_scope() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OneOrMany` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     enum OneOrMany {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CorsSettings` is never constructed
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     struct CorsSettings {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_from_settings` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn cors_from_settings(settings: &CorsSettings) -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_fail` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn cors_conf_fail() -> Cors {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_dynamic` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:264:8
[INFO] [stdout]     |
[INFO] [stdout] 264 |     fn cors_conf_dynamic() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_single` is never used
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn cors_conf_single() -> Cors {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_serval` is never used
[INFO] [stdout]   --> actix_practices/part11/src/configs/webscopes.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn cors_conf_serval() -> Cors {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_any` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 |     fn cors_conf_any() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_cred` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn cors_conf_cred() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_scope` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn cors_conf_scope() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OneOrMany` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 |     enum OneOrMany {
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CorsSettings` is never constructed
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     struct CorsSettings {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_from_settings` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn cors_from_settings(settings: &CorsSettings) -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_fail` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 |     pub fn cors_conf_fail() -> Cors {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cors_conf_dynamic` is never used
[INFO] [stdout]    --> actix_practices/part11/src/configs/webscopes.rs:264:8
[INFO] [stdout]     |
[INFO] [stdout] 264 |     fn cors_conf_dynamic() -> Cors {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking part10 v0.1.0 (/opt/rustwide/workdir/actix_practices/part10)
[INFO] [stdout] warning: unused imports: `configure_middleware_addone_wrapped_fn`, `configure_middleware_addone_wrapped`, and `configure_middleware_wrapped`
[INFO] [stdout]   --> actix_practices/part10/src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         configure_middleware_addone_wrapped, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |         configure_middleware_addone_wrapped_fn, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |         configure_middleware_wrapped, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking part12 v0.1.0 (/opt/rustwide/workdir/actix_practices/part12)
[INFO] [stderr]     Checking review_1 v0.1.0 (/opt/rustwide/workdir/actix_practices/review_1)
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn main_page_template(req : HttpRequest) -> Result<HttpResponse> {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `string_body` is never read
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let mut string_body = String::new();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 352 |                 string_body = String::from_utf8_lossy(&bytes).to_string();
[INFO] [stdout]     |                 ----------- `string_body` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HomePage` is never constructed
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     struct HomePage {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_page_template` is never used
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn main_page_template(req : HttpRequest) -> Result<HttpResponse> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_wrapped` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn configure_middleware_wrapped(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_addone_wrapped` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 |     pub fn configure_middleware_addone_wrapped(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_addone_wrapped_fn` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 |     pub fn configure_middleware_addone_wrapped_fn(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `middle_ware_fn` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:335:14
[INFO] [stdout]     |
[INFO] [stdout] 335 |     async fn middle_ware_fn(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `configure_middleware_addone_wrapped_fn`, `configure_middleware_addone_wrapped`, and `configure_middleware_wrapped`
[INFO] [stdout]   --> actix_practices/part10/src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         configure_middleware_addone_wrapped, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |         configure_middleware_addone_wrapped_fn, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |         configure_middleware_wrapped, 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn main_page_template(req : HttpRequest) -> Result<HttpResponse> {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HomePage` is never constructed
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     struct HomePage {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_page_template` is never used
[INFO] [stdout]   --> actix_practices/part12/src/configs/webscopes.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |     async fn main_page_template(req : HttpRequest) -> Result<HttpResponse> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `string_body` is never read
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let mut string_body = String::new();
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 352 |                 string_body = String::from_utf8_lossy(&bytes).to_string();
[INFO] [stdout]     |                 ----------- `string_body` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_wrapped` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:243:12
[INFO] [stdout]     |
[INFO] [stdout] 243 |     pub fn configure_middleware_wrapped(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_addone_wrapped` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 |     pub fn configure_middleware_addone_wrapped(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `configure_middleware_addone_wrapped_fn` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:327:12
[INFO] [stdout]     |
[INFO] [stdout] 327 |     pub fn configure_middleware_addone_wrapped_fn(cfg: &mut ServiceConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `middle_ware_fn` is never used
[INFO] [stdout]    --> actix_practices/part10/src/configs/webscopes.rs:335:14
[INFO] [stdout]     |
[INFO] [stdout] 335 |     async fn middle_ware_fn(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.97s
[INFO] running `Command { std: "docker" "inspect" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c", kill_on_drop: false }`
[INFO] [stdout] e06f85ffa774cfa2f1cba7610d13828cd155789879a796fec16c2449aab91d3c
