[INFO] cloning repository https://github.com/ali-eljerrari/rust-simple-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ali-eljerrari/rust-simple-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali-eljerrari%2Frust-simple-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali-eljerrari%2Frust-simple-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef8b3e9687adeebc3cb315dee6d1b86551205037 [INFO] checking ali-eljerrari/rust-simple-server 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%2Fali-eljerrari%2Frust-simple-server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ali-eljerrari/rust-simple-server [INFO] finished tweaking git repo https://github.com/ali-eljerrari/rust-simple-server [INFO] tweaked toml for git repo https://github.com/ali-eljerrari/rust-simple-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ali-eljerrari/rust-simple-server 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/ali-eljerrari/rust-simple-server 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ec98e01fda925c765c5e428427b11ab9d836c249219fdb7e445fdd9d4a7b4c01 [INFO] running `Command { std: "docker" "start" "-a" "ec98e01fda925c765c5e428427b11ab9d836c249219fdb7e445fdd9d4a7b4c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec98e01fda925c765c5e428427b11ab9d836c249219fdb7e445fdd9d4a7b4c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec98e01fda925c765c5e428427b11ab9d836c249219fdb7e445fdd9d4a7b4c01", kill_on_drop: false }` [INFO] [stdout] ec98e01fda925c765c5e428427b11ab9d836c249219fdb7e445fdd9d4a7b4c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 577bd7dc096b95e6111f7ee47faedc4146968d1f98b2eaf8d996ff9db17a0506 [INFO] running `Command { std: "docker" "start" "-a" "577bd7dc096b95e6111f7ee47faedc4146968d1f98b2eaf8d996ff9db17a0506", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking log v0.4.24 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking session_4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn hello(_: Request) -> Result>, Infallible> { // Defining an async function hello that... [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 25 | | let mut request_count = REQUEST_COUNT.lock().unwrap(); // Locking the REQUEST_COUNT Mutex and unwrapping the result [INFO] [stdout] 26 | | *request_count += 1; // Incrementing the request_count [INFO] [stdout] 27 | | info!("New request received from client. Total requests: {}", *request_count); // Logging the total requests [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] 35 | | } [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: Result>, Infallible> [INFO] [stdout] --> src/main.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn hello(_: Request) -> Result>, Infallible> { // Defining an async function hello that... [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 25 | | let mut request_count = REQUEST_COUNT.lock().unwrap(); // Locking the REQUEST_COUNT Mutex and unwrapping the result [INFO] [stdout] 26 | | *request_count += 1; // Incrementing the request_count [INFO] [stdout] 27 | | info!("New request received from client. Total requests: {}", *request_count); // Logging the total requests [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `session_4` (bin "session_4" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn hello(_: Request) -> Result>, Infallible> { // Defining an async function hello that... [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 25 | | let mut request_count = REQUEST_COUNT.lock().unwrap(); // Locking the REQUEST_COUNT Mutex and unwrapping the result [INFO] [stdout] 26 | | *request_count += 1; // Incrementing the request_count [INFO] [stdout] 27 | | info!("New request received from client. Total requests: {}", *request_count); // Logging the total requests [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] 35 | | } [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: Result>, Infallible> [INFO] [stdout] --> src/main.rs:24:96 [INFO] [stdout] | [INFO] [stdout] 24 | async fn hello(_: Request) -> Result>, Infallible> { // Defining an async function hello that... [INFO] [stdout] | ________________________________________________________________________________________________^ [INFO] [stdout] 25 | | let mut request_count = REQUEST_COUNT.lock().unwrap(); // Locking the REQUEST_COUNT Mutex and unwrapping the result [INFO] [stdout] 26 | | *request_count += 1; // Incrementing the request_count [INFO] [stdout] 27 | | info!("New request received from client. Total requests: {}", *request_count); // Logging the total requests [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Response::new(Full::new(Bytes::from(json_message)))) // Returning a new Response containing the JSON message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `session_4` (bin "session_4") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "577bd7dc096b95e6111f7ee47faedc4146968d1f98b2eaf8d996ff9db17a0506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "577bd7dc096b95e6111f7ee47faedc4146968d1f98b2eaf8d996ff9db17a0506", kill_on_drop: false }` [INFO] [stdout] 577bd7dc096b95e6111f7ee47faedc4146968d1f98b2eaf8d996ff9db17a0506