[INFO] cloning repository https://github.com/stephanhorvath/rust_book_web_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanhorvath/rust_book_web_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanhorvath%2Frust_book_web_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanhorvath%2Frust_book_web_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f4ccf55411426243eccff6cbd07ade925f452e5 [INFO] checking stephanhorvath/rust_book_web_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%2Fstephanhorvath%2Frust_book_web_server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stephanhorvath/rust_book_web_server [INFO] finished tweaking git repo https://github.com/stephanhorvath/rust_book_web_server [INFO] tweaked toml for git repo https://github.com/stephanhorvath/rust_book_web_server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stephanhorvath/rust_book_web_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/stephanhorvath/rust_book_web_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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5483df7883bf8a489315c3f76ec85705b017be05b301efb16c748b879eea0f91 [INFO] running `Command { std: "docker" "start" "-a" "5483df7883bf8a489315c3f76ec85705b017be05b301efb16c748b879eea0f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5483df7883bf8a489315c3f76ec85705b017be05b301efb16c748b879eea0f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5483df7883bf8a489315c3f76ec85705b017be05b301efb16c748b879eea0f91", kill_on_drop: false }` [INFO] [stdout] 5483df7883bf8a489315c3f76ec85705b017be05b301efb16c748b879eea0f91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d010bff1325cc2ea06ce55d926194467eef1b5ffda4e541e4f9e221271d04f28 [INFO] running `Command { std: "docker" "start" "-a" "d010bff1325cc2ea06ce55d926194467eef1b5ffda4e541e4f9e221271d04f28", kill_on_drop: false }` [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:70:72 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build(size: usize) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 71 | | let thread_pool = match size { [INFO] [stdout] 72 | | s if size > 0 => { [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | thread_pool [INFO] [stdout] 90 | | } [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 [INFO] [stdout] --> src/lib.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let thread_pool = match size { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 72 | | s if size > 0 => { [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] 74 | | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] ... | [INFO] [stdout] 86 | | _ => panic!("Error building ThreadPool"), [INFO] [stdout] 87 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | s if size > 0 => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] 74 | | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] 75 | | let mut workers = Vec::with_capacity(s); [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(ThreadPool { [INFO] [stdout] 82 | | workers, [INFO] [stdout] 83 | | sender: Some(sender), [INFO] [stdout] 84 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread_pool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` (lib test) due to 5 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 [INFO] [stdout] --> src/lib.rs:70:72 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build(size: usize) -> Result { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 71 | | let thread_pool = match size { [INFO] [stdout] 72 | | s if size > 0 => { [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | thread_pool [INFO] [stdout] 90 | | } [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 [INFO] [stdout] --> src/lib.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let thread_pool = match size { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 72 | | s if size > 0 => { [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] 74 | | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] ... | [INFO] [stdout] 86 | | _ => panic!("Error building ThreadPool"), [INFO] [stdout] 87 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | s if size > 0 => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 73 | | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] 74 | | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] 75 | | let mut workers = Vec::with_capacity(s); [INFO] [stdout] ... | [INFO] [stdout] 84 | | }) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | / Ok(ThreadPool { [INFO] [stdout] 82 | | workers, [INFO] [stdout] 83 | | sender: Some(sender), [INFO] [stdout] 84 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread_pool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d010bff1325cc2ea06ce55d926194467eef1b5ffda4e541e4f9e221271d04f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d010bff1325cc2ea06ce55d926194467eef1b5ffda4e541e4f9e221271d04f28", kill_on_drop: false }` [INFO] [stdout] d010bff1325cc2ea06ce55d926194467eef1b5ffda4e541e4f9e221271d04f28