[INFO] cloning repository https://github.com/APRust/tomoru_test_task [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/APRust/tomoru_test_task" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPRust%2Ftomoru_test_task", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPRust%2Ftomoru_test_task'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fce4568b652116ca1b6d2c5a327f561e5255e66a [INFO] checking APRust/tomoru_test_task against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAPRust%2Ftomoru_test_task" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/APRust/tomoru_test_task [INFO] finished tweaking git repo https://github.com/APRust/tomoru_test_task [INFO] tweaked toml for git repo https://github.com/APRust/tomoru_test_task written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/APRust/tomoru_test_task on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/APRust/tomoru_test_task 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b87d6709317bdc3ea26adcee4d5a4bea499ee36296c7a1c355db8ff19146ea7 [INFO] running `Command { std: "docker" "start" "-a" "4b87d6709317bdc3ea26adcee4d5a4bea499ee36296c7a1c355db8ff19146ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b87d6709317bdc3ea26adcee4d5a4bea499ee36296c7a1c355db8ff19146ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b87d6709317bdc3ea26adcee4d5a4bea499ee36296c7a1c355db8ff19146ea7", kill_on_drop: false }` [INFO] [stdout] 4b87d6709317bdc3ea26adcee4d5a4bea499ee36296c7a1c355db8ff19146ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9518c9d01d0e44b31e2d1108de49331511117d65e87db49e41a19de533d6480 [INFO] running `Command { std: "docker" "start" "-a" "a9518c9d01d0e44b31e2d1108de49331511117d65e87db49e41a19de533d6480", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking nonempty v0.7.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking forwarded-header-value v0.1.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking axum-client-ip v0.7.0 [INFO] [stderr] Checking tomoru_test_task v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: ControlFlow, model::ModelManager> [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:53:99 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn ping(State(state): State, secure_ip: SecureClientIp) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 54 | | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:53:99 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn ping(State(state): State, secure_ip: SecureClientIp) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 54 | | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 19 | | Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 19 | | Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn add_request(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 25 | | let mut store = self.pings_count.write().await; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let current = store.entry(ip).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 34 | | )) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn add_request(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 25 | | let mut store = self.pings_count.write().await; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let current = store.entry(ip).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 34 | | )) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / Ok(format!( [INFO] [stdout] 31 | | "You ip: {}, count request: {}", [INFO] [stdout] 32 | | ip, [INFO] [stdout] 33 | | store.get(&ip).unwrap() [INFO] [stdout] 34 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, model::ModelManager> [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tomoru_test_task` (bin "tomoru_test_task" test) due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let mm = ModelManager::new().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:53:99 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn ping(State(state): State, secure_ip: SecureClientIp) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 54 | | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:53:99 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn ping(State(state): State, secure_ip: SecureClientIp) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 54 | | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(state.add_request(secure_ip.0).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 19 | | Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn new() -> Result { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 19 | | Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / Ok(ModelManager { [INFO] [stdout] 20 | | pings_count: Arc::default(), [INFO] [stdout] 21 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn add_request(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 25 | | let mut store = self.pings_count.write().await; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let current = store.entry(ip).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 34 | | )) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn add_request(&self, ip: IpAddr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 25 | | let mut store = self.pings_count.write().await; [INFO] [stdout] 26 | | [INFO] [stdout] 27 | | let current = store.entry(ip).or_insert(0); [INFO] [stdout] ... | [INFO] [stdout] 34 | | )) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/model/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / Ok(format!( [INFO] [stdout] 31 | | "You ip: {}, count request: {}", [INFO] [stdout] 32 | | ip, [INFO] [stdout] 33 | | store.get(&ip).unwrap() [INFO] [stdout] 34 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tomoru_test_task` (bin "tomoru_test_task") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "a9518c9d01d0e44b31e2d1108de49331511117d65e87db49e41a19de533d6480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9518c9d01d0e44b31e2d1108de49331511117d65e87db49e41a19de533d6480", kill_on_drop: false }` [INFO] [stdout] a9518c9d01d0e44b31e2d1108de49331511117d65e87db49e41a19de533d6480