[INFO] cloning repository https://github.com/MagicRB/chat-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MagicRB/chat-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicRB%2Fchat-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicRB%2Fchat-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38a6bb59d91aaf1eeec2fa6b37f72ebb6ef90789 [INFO] checking MagicRB/chat-test against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMagicRB%2Fchat-test" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MagicRB/chat-test on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MagicRB/chat-test [INFO] finished tweaking git repo https://github.com/MagicRB/chat-test [INFO] tweaked toml for git repo https://github.com/MagicRB/chat-test written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate git repo https://github.com/MagicRB/chat-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-big-array v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fde67e0de4c5027ae0e9bca799b967849be3bb65077b681fbecc5897bd5ee16c [INFO] running `Command { std: "docker" "start" "-a" "fde67e0de4c5027ae0e9bca799b967849be3bb65077b681fbecc5897bd5ee16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fde67e0de4c5027ae0e9bca799b967849be3bb65077b681fbecc5897bd5ee16c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde67e0de4c5027ae0e9bca799b967849be3bb65077b681fbecc5897bd5ee16c", kill_on_drop: false }` [INFO] [stdout] fde67e0de4c5027ae0e9bca799b967849be3bb65077b681fbecc5897bd5ee16c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ff5721680ffc98864e3cf654bf34f0520d2aa749a18f34c1b2f7592ebefd139 [INFO] running `Command { std: "docker" "start" "-a" "6ff5721680ffc98864e3cf654bf34f0520d2aa749a18f34c1b2f7592ebefd139", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking chat-test v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/instance/mod.rs (3 fixes) [INFO] [stderr] Fixed src/instance/command.rs (2 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x25519IDHash` should have an upper camel case name [INFO] [stdout] --> src/x25519_id_hash.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct x25519IDHash ([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `X25519idhash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x25519IDHash` should have an upper camel case name [INFO] [stdout] --> src/x25519_id_hash.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct x25519IDHash ([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `X25519idhash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Response::ListConnections { connections } = rx.recv().unwrap() { //@TODO no unwrap maybe? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Response::ListConnections { connections } = rx.recv().unwrap() { //@TODO no unwrap maybe? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_control_address` [INFO] [stdout] --> src/instance/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_control_address(mut self, control_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_protocol_address` [INFO] [stdout] --> src/instance/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_protocol_address(mut self, protocol_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `control_address` [INFO] [stdout] --> src/instance/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | control_address: SocketAddr, // @TODO currently unused, could accept command response through it? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_control_address` [INFO] [stdout] --> src/instance/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_control_address(mut self, control_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_protocol_address` [INFO] [stdout] --> src/instance/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_protocol_address(mut self, protocol_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `control_address` [INFO] [stdout] --> src/instance/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | control_address: SocketAddr, // @TODO currently unused, could accept command response through it? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.65s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking chat-test v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x25519IDHash` should have an upper camel case name [INFO] [stdout] --> src/x25519_id_hash.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct x25519IDHash ([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `X25519idhash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x25519IDHash` should have an upper camel case name [INFO] [stdout] --> src/x25519_id_hash.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct x25519IDHash ([u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `X25519idhash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Response::ListConnections { connections } = rx.recv().unwrap() { //@TODO no unwrap maybe? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/main.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | if let Response::ListConnections { connections } = rx.recv().unwrap() { //@TODO no unwrap maybe? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_control_address` [INFO] [stdout] --> src/instance/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_control_address(mut self, control_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_protocol_address` [INFO] [stdout] --> src/instance/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_protocol_address(mut self, protocol_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `control_address` [INFO] [stdout] --> src/instance/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | control_address: SocketAddr, // @TODO currently unused, could accept command response through it? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_control_address` [INFO] [stdout] --> src/instance/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_control_address(mut self, control_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_protocol_address` [INFO] [stdout] --> src/instance/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_protocol_address(mut self, protocol_address: SocketAddr) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `control_address` [INFO] [stdout] --> src/instance/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | control_address: SocketAddr, // @TODO currently unused, could accept command response through it? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "6ff5721680ffc98864e3cf654bf34f0520d2aa749a18f34c1b2f7592ebefd139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff5721680ffc98864e3cf654bf34f0520d2aa749a18f34c1b2f7592ebefd139", kill_on_drop: false }` [INFO] [stdout] 6ff5721680ffc98864e3cf654bf34f0520d2aa749a18f34c1b2f7592ebefd139