[INFO] cloning repository https://github.com/Jugacu/rebeka [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jugacu/rebeka" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJugacu%2Frebeka", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJugacu%2Frebeka'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0964044dbd5ad77246570a3a0a4c7bef6efa0eb3 [INFO] checking Jugacu/rebeka 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%2FJugacu%2Frebeka" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jugacu/rebeka [INFO] finished tweaking git repo https://github.com/Jugacu/rebeka [INFO] tweaked toml for git repo https://github.com/Jugacu/rebeka written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jugacu/rebeka 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/Jugacu/rebeka 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a3f9f5590daabc7ee331ea4df29bb8d1346b3a3bacec126781218cc226fefd7c [INFO] running `Command { std: "docker" "start" "-a" "a3f9f5590daabc7ee331ea4df29bb8d1346b3a3bacec126781218cc226fefd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3f9f5590daabc7ee331ea4df29bb8d1346b3a3bacec126781218cc226fefd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f9f5590daabc7ee331ea4df29bb8d1346b3a3bacec126781218cc226fefd7c", kill_on_drop: false }` [INFO] [stdout] a3f9f5590daabc7ee331ea4df29bb8d1346b3a3bacec126781218cc226fefd7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f2572446a49ddb5f91931e9c2b36b727f0c07a3f3d184378e2963e3b20cd22ad [INFO] running `Command { std: "docker" "start" "-a" "f2572446a49ddb5f91931e9c2b36b727f0c07a3f3d184378e2963e3b20cd22ad", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | create_server("0.0.0.0", 80, |mut request| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remote_addr`, `method`, and `headers` are never read [INFO] [stdout] --> src/io/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub remote_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub path: String, [INFO] [stdout] 11 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let response = closure(con.read().unwrap()); [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/connection.rs:23:64 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read(&mut self) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 24 | | let mut buf = [0u8; 4096]; [INFO] [stdout] 25 | | let _ = &self.stream.read(&mut buf).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/connection.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / Ok( [INFO] [stdout] 52 | | Request::new( [INFO] [stdout] 53 | | *self.stream.peer_addr().as_ref().unwrap(), [INFO] [stdout] 54 | | req_method.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (bin "http-server" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | create_server("0.0.0.0", 80, |mut request| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `remote_addr`, `method`, and `headers` are never read [INFO] [stdout] --> src/io/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub remote_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub path: String, [INFO] [stdout] 11 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/server.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let response = closure(con.read().unwrap()); [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/connection.rs:23:64 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn read(&mut self) -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 24 | | let mut buf = [0u8; 4096]; [INFO] [stdout] 25 | | let _ = &self.stream.read(&mut buf).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/connection.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / Ok( [INFO] [stdout] 52 | | Request::new( [INFO] [stdout] 53 | | *self.stream.peer_addr().as_ref().unwrap(), [INFO] [stdout] 54 | | req_method.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 58 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (bin "http-server") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2572446a49ddb5f91931e9c2b36b727f0c07a3f3d184378e2963e3b20cd22ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2572446a49ddb5f91931e9c2b36b727f0c07a3f3d184378e2963e3b20cd22ad", kill_on_drop: false }` [INFO] [stdout] f2572446a49ddb5f91931e9c2b36b727f0c07a3f3d184378e2963e3b20cd22ad