[INFO] cloning repository https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fprogramming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fprogramming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 752b99cfa0d24ca8bdd197bf52e8887a4338c414 [INFO] building mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fprogramming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-7-tc2/source': No space left on device [INFO] building mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fprogramming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-7-tc2/source': No space left on device [INFO] building mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fprogramming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications [INFO] finished tweaking git repo https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications [INFO] tweaked toml for git repo https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mimuw-jnp2-rust/programming-in-rust-2024z-small-task-2-communications-e82e30ba-small-task-2-communications 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2b78091a211d74a541514d9bbbadafcac1216e6e337d6eece78f3f4120a8fd1 [INFO] running `Command { std: "docker" "start" "-a" "b2b78091a211d74a541514d9bbbadafcac1216e6e337d6eece78f3f4120a8fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2b78091a211d74a541514d9bbbadafcac1216e6e337d6eece78f3f4120a8fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b78091a211d74a541514d9bbbadafcac1216e6e337d6eece78f3f4120a8fd1", kill_on_drop: false }` [INFO] [stdout] b2b78091a211d74a541514d9bbbadafcac1216e6e337d6eece78f3f4120a8fd1 [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 -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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c666f266ac5f939ff2f05b17260acb85476996c84d78617b853eeb7cb1ee935c [INFO] running `Command { std: "docker" "start" "-a" "c666f266ac5f939ff2f05b17260acb85476996c84d78617b853eeb7cb1ee935c", kill_on_drop: false }` [INFO] [stderr] Compiling small-task-2-communications v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/main.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | fn send(&mut self, addr: &str, msg: Message) -> CommsResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | fn send(&mut self, addr: &str, msg: Message) -> CommsResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | fn is_open(&self, addr: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(name: String, limit: u32) -> Server { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/main.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(name: String, limit: u32) -> Server { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ServerLimitReached`, `UnexpectedHandshake`, `ConnectionExists`, `ConnectionClosed`, and `ConnectionNotFound` are never constructed [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum CommsError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 7 | ServerLimitReached(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | UnexpectedHandshake(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | ConnectionExists(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ConnectionClosed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ConnectionNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommsError` 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: variants `Closed` and `Open` are never constructed [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Connection { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 51 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | Open(Server), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip` and `connections` are never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 56 | ip: String, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | connections: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HandshakeReceived`, `PostReceived`, and `GetCount` are never constructed [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | enum Response { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 100 | HandshakeReceived, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | PostReceived, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 102 | GetCount(u32), [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: fields `name`, `post_count`, `limit`, and `connected_client` are never read [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct Server { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 107 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | post_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 109 | limit: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | connected_client: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive` is never used [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 113 | impl Server { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | fn receive(&mut self, msg: Message) -> CommsResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "c666f266ac5f939ff2f05b17260acb85476996c84d78617b853eeb7cb1ee935c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c666f266ac5f939ff2f05b17260acb85476996c84d78617b853eeb7cb1ee935c", kill_on_drop: false }` [INFO] [stdout] c666f266ac5f939ff2f05b17260acb85476996c84d78617b853eeb7cb1ee935c [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 -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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba87a9875da6db5ba5ed25e685737ac2e8693db6e0a02c94b70ffc24860647d1 [INFO] running `Command { std: "docker" "start" "-a" "ba87a9875da6db5ba5ed25e685737ac2e8693db6e0a02c94b70ffc24860647d1", kill_on_drop: false }` [INFO] [stderr] Compiling small-task-2-communications v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/main.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | fn send(&mut self, addr: &str, msg: Message) -> CommsResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/main.rs:79:36 [INFO] [stdout] | [INFO] [stdout] 79 | fn send(&mut self, addr: &str, msg: Message) -> CommsResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | fn is_open(&self, addr: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(name: String, limit: u32) -> Server { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/main.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(name: String, limit: u32) -> Server { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Closed` and `Open` are never constructed [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | enum Connection { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 51 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | Open(Server), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ip` is never read [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 56 | ip: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit` is never read [INFO] [stdout] --> src/main.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | limit: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "ba87a9875da6db5ba5ed25e685737ac2e8693db6e0a02c94b70ffc24860647d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba87a9875da6db5ba5ed25e685737ac2e8693db6e0a02c94b70ffc24860647d1", kill_on_drop: false }` [INFO] [stdout] ba87a9875da6db5ba5ed25e685737ac2e8693db6e0a02c94b70ffc24860647d1