[INFO] cloning repository https://github.com/isaac-parks/rustwebserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isaac-parks/rustwebserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaac-parks%2Frustwebserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaac-parks%2Frustwebserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d8648154b29c71f6e94397d4407f6905825a9a8 [INFO] building isaac-parks/rustwebserver against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisaac-parks%2Frustwebserver" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isaac-parks/rustwebserver on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/isaac-parks/rustwebserver [INFO] finished tweaking git repo https://github.com/isaac-parks/rustwebserver [INFO] tweaked toml for git repo https://github.com/isaac-parks/rustwebserver written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/isaac-parks/rustwebserver 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bc60ebad24f6b444155543c825687692ee185012fd56bca28e6853314c26bf0 [INFO] running `Command { std: "docker" "start" "-a" "8bc60ebad24f6b444155543c825687692ee185012fd56bca28e6853314c26bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bc60ebad24f6b444155543c825687692ee185012fd56bca28e6853314c26bf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bc60ebad24f6b444155543c825687692ee185012fd56bca28e6853314c26bf0", kill_on_drop: false }` [INFO] [stdout] 8bc60ebad24f6b444155543c825687692ee185012fd56bca28e6853314c26bf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c463ed2c5a21b8f74f3859f26f98550c6c71b09dc54eb5714dbb40c5fbcd0d [INFO] running `Command { std: "docker" "start" "-a" "85c463ed2c5a21b8f74f3859f26f98550c6c71b09dc54eb5714dbb40c5fbcd0d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rustwebserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> websocket.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::controller::{Frame, WebSocketController}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_valid` and `body` are never read [INFO] [stdout] --> request.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub headers: HashMap, [INFO] [stdout] 6 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `close_connections` and `alert_all` are never used [INFO] [stdout] --> websocket.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> WebSocket<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn close_connections(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn alert_all(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> websocket.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | c.send(message.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = c.send(message.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "85c463ed2c5a21b8f74f3859f26f98550c6c71b09dc54eb5714dbb40c5fbcd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c463ed2c5a21b8f74f3859f26f98550c6c71b09dc54eb5714dbb40c5fbcd0d", kill_on_drop: false }` [INFO] [stdout] 85c463ed2c5a21b8f74f3859f26f98550c6c71b09dc54eb5714dbb40c5fbcd0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db4be9a49c2bcb9eec3ce5aac1debe8377c4790611c29c4bb486e5e650f5337 [INFO] running `Command { std: "docker" "start" "-a" "5db4be9a49c2bcb9eec3ce5aac1debe8377c4790611c29c4bb486e5e650f5337", kill_on_drop: false }` [INFO] [stderr] Compiling rustwebserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> websocket.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::controller::{Frame, WebSocketController}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_valid` and `body` are never read [INFO] [stdout] --> request.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub is_valid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> response.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | pub headers: HashMap, [INFO] [stdout] 6 | pub body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> response.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `close_connections` and `alert_all` are never used [INFO] [stdout] --> websocket.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> WebSocket<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | fn close_connections(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn alert_all(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> websocket.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | c.send(message.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = c.send(message.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "5db4be9a49c2bcb9eec3ce5aac1debe8377c4790611c29c4bb486e5e650f5337", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db4be9a49c2bcb9eec3ce5aac1debe8377c4790611c29c4bb486e5e650f5337", kill_on_drop: false }` [INFO] [stdout] 5db4be9a49c2bcb9eec3ce5aac1debe8377c4790611c29c4bb486e5e650f5337