[INFO] cloning repository https://github.com/tawashichan/toy-tcp-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tawashichan/toy-tcp-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftoy-tcp-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftoy-tcp-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1366fd77118d865e6bf5d8849f7320edf3198f8 [INFO] testing tawashichan/toy-tcp-sample against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftawashichan%2Ftoy-tcp-sample" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tawashichan/toy-tcp-sample on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tawashichan/toy-tcp-sample [INFO] finished tweaking git repo https://github.com/tawashichan/toy-tcp-sample [INFO] tweaked toml for git repo https://github.com/tawashichan/toy-tcp-sample written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tawashichan/toy-tcp-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_packet v0.27.2 [INFO] [stderr] Downloaded pnet_macros v0.27.2 [INFO] [stderr] Downloaded ctrlc v3.1.9 [INFO] [stderr] Downloaded pnet v0.27.2 [INFO] [stderr] Downloaded pnet_macros_support v0.27.2 [INFO] [stderr] Downloaded pnet_transport v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cf81adab3ac537c5dfab1ec30adb43e4efa706153018adb2acbe7f28e9de091 [INFO] running `Command { std: "docker" "start" "-a" "4cf81adab3ac537c5dfab1ec30adb43e4efa706153018adb2acbe7f28e9de091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cf81adab3ac537c5dfab1ec30adb43e4efa706153018adb2acbe7f28e9de091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf81adab3ac537c5dfab1ec30adb43e4efa706153018adb2acbe7f28e9de091", kill_on_drop: false }` [INFO] [stdout] 4cf81adab3ac537c5dfab1ec30adb43e4efa706153018adb2acbe7f28e9de091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5073f6205143fa39c72c69e7f68e2acb425611367f4303a974f22ceb0c3b08fd [INFO] running `Command { std: "docker" "start" "-a" "5073f6205143fa39c72c69e7f68e2acb425611367f4303a974f22ceb0c3b08fd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling pnet_base v0.27.2 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling pnet_macros_support v0.27.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling pnet_sys v0.27.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ipnetwork v0.17.0 [INFO] [stderr] Compiling pnet_datalink v0.27.2 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [INFO] [stderr] Compiling pnet_packet v0.27.2 [INFO] [stderr] Compiling pnet_transport v0.27.2 [INFO] [stderr] Compiling tcp-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tcf` [INFO] [stdout] --> src/packet.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | use pnet::packet::{Packet, ip::IpNextHeaderProtocols::{self, Tcf}, tcp::TcpPacket, util}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> src/tcp.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{packet::TCPPacket, socket::{SockID, Socket, TcpStatus}, tcp, tcpflags}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> src/socket.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{packet::TCPPacket, tcp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock_id` [INFO] [stdout] --> src/tcp.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let sock_id = socket.get_sock_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Acked` [INFO] [stdout] --> src/tcp.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Acked, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `DataArrived` [INFO] [stdout] --> src/tcp.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | DataArrived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `ConnectionClosed` [INFO] [stdout] --> src/tcp.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | ConnectionClosed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `Listen` [INFO] [stdout] --> src/socket.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait1` [INFO] [stdout] --> src/socket.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait2` [INFO] [stdout] --> src/socket.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `TimeWait` [INFO] [stdout] --> src/socket.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `CloseWait` [INFO] [stdout] --> src/socket.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `LastAck` [INFO] [stdout] --> src/socket.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.17s [INFO] running `Command { std: "docker" "inspect" "5073f6205143fa39c72c69e7f68e2acb425611367f4303a974f22ceb0c3b08fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5073f6205143fa39c72c69e7f68e2acb425611367f4303a974f22ceb0c3b08fd", kill_on_drop: false }` [INFO] [stdout] 5073f6205143fa39c72c69e7f68e2acb425611367f4303a974f22ceb0c3b08fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8aba877f326bb40f4cbcced02a64bbeabbf936b02ab5c7bfd948f18d6188bc [INFO] running `Command { std: "docker" "start" "-a" "8b8aba877f326bb40f4cbcced02a64bbeabbf936b02ab5c7bfd948f18d6188bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling tcp-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tcf` [INFO] [stdout] --> src/packet.rs:4:62 [INFO] [stdout] | [INFO] [stdout] 4 | use pnet::packet::{Packet, ip::IpNextHeaderProtocols::{self, Tcf}, tcp::TcpPacket, util}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> src/tcp.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{packet::TCPPacket, socket::{SockID, Socket, TcpStatus}, tcp, tcpflags}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp` [INFO] [stdout] --> src/socket.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{packet::TCPPacket, tcp}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock_id` [INFO] [stdout] --> src/tcp.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let sock_id = socket.get_sock_id(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Acked` [INFO] [stdout] --> src/tcp.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | Acked, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `DataArrived` [INFO] [stdout] --> src/tcp.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | DataArrived, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `ConnectionClosed` [INFO] [stdout] --> src/tcp.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | ConnectionClosed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tcp.rs:213:10 [INFO] [stdout] | [INFO] [stdout] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `Listen` [INFO] [stdout] --> src/socket.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | Listen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait1` [INFO] [stdout] --> src/socket.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | FinWait1, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait2` [INFO] [stdout] --> src/socket.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | FinWait2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `TimeWait` [INFO] [stdout] --> src/socket.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | TimeWait, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `CloseWait` [INFO] [stdout] --> src/socket.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | CloseWait, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `LastAck` [INFO] [stdout] --> src/socket.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LastAck, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/socket.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(PartialEq,Eq,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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.19s [INFO] running `Command { std: "docker" "inspect" "8b8aba877f326bb40f4cbcced02a64bbeabbf936b02ab5c7bfd948f18d6188bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8aba877f326bb40f4cbcced02a64bbeabbf936b02ab5c7bfd948f18d6188bc", kill_on_drop: false }` [INFO] [stdout] 8b8aba877f326bb40f4cbcced02a64bbeabbf936b02ab5c7bfd948f18d6188bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6209c23baff3680fcbf608a8653269a8d33ba8cad0d31fcdf8b6eac616219310 [INFO] running `Command { std: "docker" "start" "-a" "6209c23baff3680fcbf608a8653269a8d33ba8cad0d31fcdf8b6eac616219310", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Tcf` [INFO] [stderr] --> src/packet.rs:4:62 [INFO] [stderr] | [INFO] [stderr] 4 | use pnet::packet::{Packet, ip::IpNextHeaderProtocols::{self, Tcf}, tcp::TcpPacket, util}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tcp` [INFO] [stderr] --> src/tcp.rs:7:69 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{packet::TCPPacket, socket::{SockID, Socket, TcpStatus}, tcp, tcpflags}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tcp` [INFO] [stderr] --> src/socket.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{packet::TCPPacket, tcp}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sock_id` [INFO] [stderr] --> src/tcp.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | let sock_id = socket.get_sock_id(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Acked` [INFO] [stderr] --> src/tcp.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | Acked, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `DataArrived` [INFO] [stderr] --> src/tcp.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | DataArrived, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `ConnectionClosed` [INFO] [stderr] --> src/tcp.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 218 | ConnectionClosed, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TCPEventKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tcp.rs:213:10 [INFO] [stderr] | [INFO] [stderr] 213 | #[derive(Debug,Clone,PartialEq)] [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: variant is never constructed: `Listen` [INFO] [stderr] --> src/socket.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | Listen, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait1` [INFO] [stderr] --> src/socket.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | FinWait1, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `FinWait2` [INFO] [stderr] --> src/socket.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | FinWait2, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `TimeWait` [INFO] [stderr] --> src/socket.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | TimeWait, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `CloseWait` [INFO] [stderr] --> src/socket.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | CloseWait, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: variant is never constructed: `LastAck` [INFO] [stderr] --> src/socket.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | LastAck, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TcpStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/socket.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(PartialEq,Eq,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: `tcp-practice` (bin "tcp-practice" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tcp_practice-db006bc285f79d60) [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" "6209c23baff3680fcbf608a8653269a8d33ba8cad0d31fcdf8b6eac616219310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6209c23baff3680fcbf608a8653269a8d33ba8cad0d31fcdf8b6eac616219310", kill_on_drop: false }` [INFO] [stdout] 6209c23baff3680fcbf608a8653269a8d33ba8cad0d31fcdf8b6eac616219310