[INFO] cloning repository https://github.com/alyjak/distributed-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alyjak/distributed-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falyjak%2Fdistributed-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falyjak%2Fdistributed-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 100050eb8b2a9e91ccdc97cb89ac857cafdad61b [INFO] testing alyjak/distributed-chat against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falyjak%2Fdistributed-chat" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alyjak/distributed-chat on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alyjak/distributed-chat [INFO] finished tweaking git repo https://github.com/alyjak/distributed-chat [INFO] tweaked toml for git repo https://github.com/alyjak/distributed-chat written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/alyjak/distributed-chat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88baf1788cf7fcdc369d40bb509304f8514033e86bb7630743643b43c104dc99 [INFO] running `Command { std: "docker" "start" "-a" "88baf1788cf7fcdc369d40bb509304f8514033e86bb7630743643b43c104dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88baf1788cf7fcdc369d40bb509304f8514033e86bb7630743643b43c104dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88baf1788cf7fcdc369d40bb509304f8514033e86bb7630743643b43c104dc99", kill_on_drop: false }` [INFO] [stdout] 88baf1788cf7fcdc369d40bb509304f8514033e86bb7630743643b43c104dc99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42df1bb7aad807d529783b6aa60de0043143293b1dd5580694bbcfa16e638d62 [INFO] running `Command { std: "docker" "start" "-a" "42df1bb7aad807d529783b6aa60de0043143293b1dd5580694bbcfa16e638d62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling smallvec v0.6.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling assignment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/message.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MsgCodec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytebuf` [INFO] [stdout] --> src/terminal.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | bytebuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerminalCodec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/terminal.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / write!( [INFO] [stdout] 227 | | f, [INFO] [stdout] 228 | | "[{} {}]", [INFO] [stdout] 229 | | unsafe { from_utf8_unchecked(&self.from[..]) }, [INFO] [stdout] 230 | | self.typ [INFO] [stdout] 231 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | write!(f, ": {}", unsafe { from_utf8_unchecked(&self.content[..]) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn main() -> Result<(), Box> { [INFO] [stdout] 26 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.30s [INFO] running `Command { std: "docker" "inspect" "42df1bb7aad807d529783b6aa60de0043143293b1dd5580694bbcfa16e638d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42df1bb7aad807d529783b6aa60de0043143293b1dd5580694bbcfa16e638d62", kill_on_drop: false }` [INFO] [stdout] 42df1bb7aad807d529783b6aa60de0043143293b1dd5580694bbcfa16e638d62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ceb4f4a7a04afd3703c3730e4e483336cd0f304927ef60b26e24001b42e38ed [INFO] running `Command { std: "docker" "start" "-a" "9ceb4f4a7a04afd3703c3730e4e483336cd0f304927ef60b26e24001b42e38ed", kill_on_drop: false }` [INFO] [stderr] Compiling assignment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/message.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MsgCodec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytebuf` [INFO] [stdout] --> src/terminal.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | bytebuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerminalCodec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/terminal.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / write!( [INFO] [stdout] 227 | | f, [INFO] [stdout] 228 | | "[{} {}]", [INFO] [stdout] 229 | | unsafe { from_utf8_unchecked(&self.from[..]) }, [INFO] [stdout] 230 | | self.typ [INFO] [stdout] 231 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | write!(f, ": {}", unsafe { from_utf8_unchecked(&self.content[..]) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn main() -> Result<(), Box> { [INFO] [stdout] 26 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `addr` [INFO] [stdout] --> src/message.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MsgCodec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bytebuf` [INFO] [stdout] --> src/terminal.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | bytebuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerminalCodec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/terminal.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / write!( [INFO] [stdout] 227 | | f, [INFO] [stdout] 228 | | "[{} {}]", [INFO] [stdout] 229 | | unsafe { from_utf8_unchecked(&self.from[..]) }, [INFO] [stdout] 230 | | self.typ [INFO] [stdout] 231 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/message.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | write!(f, ": {}", unsafe { from_utf8_unchecked(&self.content[..]) }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "9ceb4f4a7a04afd3703c3730e4e483336cd0f304927ef60b26e24001b42e38ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ceb4f4a7a04afd3703c3730e4e483336cd0f304927ef60b26e24001b42e38ed", kill_on_drop: false }` [INFO] [stdout] 9ceb4f4a7a04afd3703c3730e4e483336cd0f304927ef60b26e24001b42e38ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aca158473ce7ea310ebd09b181f15481083012a90d278ef2693544054f7e867e [INFO] running `Command { std: "docker" "start" "-a" "aca158473ce7ea310ebd09b181f15481083012a90d278ef2693544054f7e867e", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `addr` [INFO] [stderr] --> src/message.rs:274:5 [INFO] [stderr] | [INFO] [stderr] 274 | addr: SocketAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `MsgCodec` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/message.rs:271:10 [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bytebuf` [INFO] [stderr] --> src/terminal.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | bytebuf: BytesMut, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TerminalCodec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/terminal.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/message.rs:226:9 [INFO] [stderr] | [INFO] [stderr] 226 | / write!( [INFO] [stderr] 227 | | f, [INFO] [stderr] 228 | | "[{} {}]", [INFO] [stderr] 229 | | unsafe { from_utf8_unchecked(&self.from[..]) }, [INFO] [stderr] 230 | | self.typ [INFO] [stderr] 231 | | ); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/message.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | write!(f, ": {}", unsafe { from_utf8_unchecked(&self.content[..]) }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `assignment` (lib) generated 4 warnings [INFO] [stderr] warning: `assignment` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:26:29 [INFO] [stderr] | [INFO] [stderr] 26 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - fn main() -> Result<(), Box> { [INFO] [stderr] 26 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `assignment` (bin "assignment" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assignment-c86812d2a55c1666) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assignment-82d2ffe450a22842) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests assignment [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aca158473ce7ea310ebd09b181f15481083012a90d278ef2693544054f7e867e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca158473ce7ea310ebd09b181f15481083012a90d278ef2693544054f7e867e", kill_on_drop: false }` [INFO] [stdout] aca158473ce7ea310ebd09b181f15481083012a90d278ef2693544054f7e867e