Aug 29 15:09:43.579 INFO checking someguynamedmatt/snif against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 29 15:09:43.579 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 29 15:09:43.579 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 15:09:43.745 INFO blam! 42d31d6dc54ab753ffa0fda107d3709e49bea1b8511fbc476536508ba3912e1a Aug 29 15:09:43.748 INFO running `"docker" "start" "-a" "42d31d6dc54ab753ffa0fda107d3709e49bea1b8511fbc476536508ba3912e1a"` Aug 29 15:09:44.495 INFO kablam! Compiling rustc-serialize v0.3.24 Aug 29 15:09:44.495 INFO kablam! Compiling term v0.4.6 Aug 29 15:09:44.495 INFO kablam! Compiling unicode-xid v0.0.3 Aug 29 15:09:44.495 INFO kablam! Compiling void v1.0.2 Aug 29 15:09:44.495 INFO kablam! Compiling lazy_static v0.2.10 Aug 29 15:09:44.496 INFO kablam! Compiling bitflags v0.5.0 Aug 29 15:09:44.496 INFO kablam! Compiling regex-syntax v0.4.1 Aug 29 15:09:44.497 INFO kablam! Compiling quick-error v1.2.1 Aug 29 15:09:44.962 INFO kablam! Checking pnet_base v0.20.0 Aug 29 15:09:45.275 INFO kablam! Compiling pest v0.3.3 Aug 29 15:09:45.475 INFO kablam! Compiling pnet v0.20.0 Aug 29 15:09:45.487 INFO kablam! Checking ipnetwork v0.12.7 Aug 29 15:09:45.520 INFO kablam! Compiling memchr v1.0.2 Aug 29 15:09:46.220 INFO kablam! Checking pnet_sys v0.20.0 Aug 29 15:09:46.838 INFO kablam! Compiling unreachable v1.0.0 Aug 29 15:09:46.896 INFO kablam! Checking nix v0.8.1 Aug 29 15:09:46.946 INFO kablam! Checking pnet_macros_support v0.20.0 Aug 29 15:09:47.328 INFO kablam! Checking clap v2.29.0 Aug 29 15:09:47.391 INFO kablam! Compiling aho-corasick v0.6.3 Aug 29 15:09:47.438 INFO kablam! Checking pnet_datalink v0.20.0 Aug 29 15:09:48.939 INFO kablam! Compiling thread_local v0.3.4 Aug 29 15:10:05.017 INFO kablam! Compiling regex v0.2.2 Aug 29 15:10:16.025 INFO kablam! Compiling syntex_pos v0.42.0 Aug 29 15:10:19.121 INFO kablam! Compiling syntex_errors v0.42.0 Aug 29 15:10:30.962 INFO kablam! Compiling handlebars v0.25.3 Aug 29 15:10:31.094 INFO kablam! Compiling syntex_syntax v0.42.0 Aug 29 15:10:44.747 INFO kablam! Compiling interfaces v0.0.3 Aug 29 15:11:44.725 INFO kablam! Compiling syntex v0.42.2 Aug 29 15:11:46.167 INFO kablam! Compiling pnet_macros v0.20.0 Aug 29 15:11:50.763 INFO kablam! Compiling pnet_packet v0.20.0 Aug 29 15:12:13.503 INFO kablam! Checking pnet_transport v0.20.0 Aug 29 15:12:14.246 INFO kablam! Checking sniff v0.1.0 (file:///source) Aug 29 15:12:14.505 INFO kablam! warning: unused import: `Result` Aug 29 15:12:14.505 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:14.505 INFO kablam! | Aug 29 15:12:14.505 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:14.505 INFO kablam! | ^^^^^^ Aug 29 15:12:14.505 INFO kablam! | Aug 29 15:12:14.505 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:14.505 INFO kablam! Aug 29 15:12:14.555 INFO kablam! warning: unused import: `Result` Aug 29 15:12:14.555 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:14.555 INFO kablam! | Aug 29 15:12:14.555 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:14.555 INFO kablam! | ^^^^^^ Aug 29 15:12:14.555 INFO kablam! | Aug 29 15:12:14.555 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:14.555 INFO kablam! Aug 29 15:12:14.663 INFO kablam! warning: unused variable: `e` Aug 29 15:12:14.663 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:14.663 INFO kablam! | Aug 29 15:12:14.663 INFO kablam! 94 | Err(e) => { Aug 29 15:12:14.664 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:14.664 INFO kablam! | Aug 29 15:12:14.665 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:14.665 INFO kablam! Aug 29 15:12:14.699 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:14.699 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:14.699 INFO kablam! | Aug 29 15:12:14.699 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:14.699 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:14.700 INFO kablam! | Aug 29 15:12:14.700 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:14.700 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:14.701 INFO kablam! Aug 29 15:12:14.701 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:14.701 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:14.702 INFO kablam! | Aug 29 15:12:14.702 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:14.702 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:14.702 INFO kablam! | Aug 29 15:12:14.703 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:14.703 INFO kablam! Aug 29 15:12:14.815 INFO kablam! warning: unused variable: `e` Aug 29 15:12:14.815 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:14.815 INFO kablam! | Aug 29 15:12:14.815 INFO kablam! 94 | Err(e) => { Aug 29 15:12:14.815 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:14.815 INFO kablam! | Aug 29 15:12:14.816 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:14.816 INFO kablam! Aug 29 15:12:14.904 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:14.904 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:14.904 INFO kablam! | Aug 29 15:12:14.904 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:14.904 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:14.904 INFO kablam! | Aug 29 15:12:14.904 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:14.904 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:14.904 INFO kablam! Aug 29 15:12:14.905 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:14.905 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:14.905 INFO kablam! | Aug 29 15:12:14.905 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:14.905 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:14.905 INFO kablam! | Aug 29 15:12:14.905 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:14.905 INFO kablam! Aug 29 15:12:15.180 INFO kablam! warning: unused import: `SubCommand` Aug 29 15:12:15.180 INFO kablam! --> src/main.rs:13:22 Aug 29 15:12:15.180 INFO kablam! | Aug 29 15:12:15.180 INFO kablam! 13 | use clap::{Arg, App, SubCommand}; Aug 29 15:12:15.181 INFO kablam! | ^^^^^^^^^^ Aug 29 15:12:15.181 INFO kablam! | Aug 29 15:12:15.181 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:15.181 INFO kablam! Aug 29 15:12:15.182 INFO kablam! warning: unused import: `pnet_datalink::Channel::Ethernet` Aug 29 15:12:15.182 INFO kablam! --> src/main.rs:15:5 Aug 29 15:12:15.182 INFO kablam! | Aug 29 15:12:15.182 INFO kablam! 15 | use pnet_datalink::Channel::Ethernet; Aug 29 15:12:15.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.182 INFO kablam! Aug 29 15:12:15.182 INFO kablam! warning: unused import: `pnet::packet::ethernet::EthernetPacket` Aug 29 15:12:15.182 INFO kablam! --> src/main.rs:16:5 Aug 29 15:12:15.182 INFO kablam! | Aug 29 15:12:15.182 INFO kablam! 16 | use pnet::packet::ethernet::EthernetPacket; Aug 29 15:12:15.182 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.182 INFO kablam! Aug 29 15:12:15.182 INFO kablam! warning: unused import: `Result` Aug 29 15:12:15.182 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:15.182 INFO kablam! | Aug 29 15:12:15.182 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:15.182 INFO kablam! | ^^^^^^ Aug 29 15:12:15.182 INFO kablam! Aug 29 15:12:15.209 INFO kablam! warning: unused import: `std::env` Aug 29 15:12:15.209 INFO kablam! --> src/main.rs:10:5 Aug 29 15:12:15.209 INFO kablam! | Aug 29 15:12:15.209 INFO kablam! 10 | use std::env; Aug 29 15:12:15.209 INFO kablam! | ^^^^^^^^ Aug 29 15:12:15.209 INFO kablam! | Aug 29 15:12:15.209 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:15.209 INFO kablam! Aug 29 15:12:15.210 INFO kablam! warning: unused import: `std::io` Aug 29 15:12:15.210 INFO kablam! --> src/main.rs:11:5 Aug 29 15:12:15.210 INFO kablam! | Aug 29 15:12:15.210 INFO kablam! 11 | use std::io; Aug 29 15:12:15.210 INFO kablam! | ^^^^^^^ Aug 29 15:12:15.210 INFO kablam! Aug 29 15:12:15.210 INFO kablam! warning: unused import: `std::io::prelude::*` Aug 29 15:12:15.210 INFO kablam! --> src/main.rs:12:5 Aug 29 15:12:15.210 INFO kablam! | Aug 29 15:12:15.211 INFO kablam! 12 | use std::io::prelude::*; Aug 29 15:12:15.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.211 INFO kablam! Aug 29 15:12:15.211 INFO kablam! warning: unused imports: `App`, `Arg`, `SubCommand` Aug 29 15:12:15.211 INFO kablam! --> src/main.rs:13:12 Aug 29 15:12:15.211 INFO kablam! | Aug 29 15:12:15.211 INFO kablam! 13 | use clap::{Arg, App, SubCommand}; Aug 29 15:12:15.211 INFO kablam! | ^^^ ^^^ ^^^^^^^^^^ Aug 29 15:12:15.211 INFO kablam! Aug 29 15:12:15.211 INFO kablam! warning: unused import: `ipnetwork::IpNetwork` Aug 29 15:12:15.211 INFO kablam! --> src/main.rs:14:5 Aug 29 15:12:15.211 INFO kablam! | Aug 29 15:12:15.211 INFO kablam! 14 | use ipnetwork::IpNetwork; Aug 29 15:12:15.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.211 INFO kablam! Aug 29 15:12:15.211 INFO kablam! warning: unused import: `pnet_datalink::Channel::Ethernet` Aug 29 15:12:15.211 INFO kablam! --> src/main.rs:15:5 Aug 29 15:12:15.211 INFO kablam! | Aug 29 15:12:15.211 INFO kablam! 15 | use pnet_datalink::Channel::Ethernet; Aug 29 15:12:15.211 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.211 INFO kablam! Aug 29 15:12:15.211 INFO kablam! warning: unused import: `pnet::packet::ethernet::EthernetPacket` Aug 29 15:12:15.211 INFO kablam! --> src/main.rs:16:5 Aug 29 15:12:15.211 INFO kablam! | Aug 29 15:12:15.212 INFO kablam! 16 | use pnet::packet::ethernet::EthernetPacket; Aug 29 15:12:15.212 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.212 INFO kablam! Aug 29 15:12:15.212 INFO kablam! warning: unused import: `Result` Aug 29 15:12:15.212 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:15.212 INFO kablam! | Aug 29 15:12:15.212 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:15.212 INFO kablam! | ^^^^^^ Aug 29 15:12:15.212 INFO kablam! Aug 29 15:12:15.212 INFO kablam! warning: unused import: `lib::*` Aug 29 15:12:15.212 INFO kablam! --> src/main.rs:19:5 Aug 29 15:12:15.212 INFO kablam! | Aug 29 15:12:15.212 INFO kablam! 19 | use lib::*; Aug 29 15:12:15.212 INFO kablam! | ^^^^^^ Aug 29 15:12:15.212 INFO kablam! Aug 29 15:12:15.388 INFO kablam! warning: unused variable: `e` Aug 29 15:12:15.388 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:15.388 INFO kablam! | Aug 29 15:12:15.388 INFO kablam! 94 | Err(e) => { Aug 29 15:12:15.388 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:15.388 INFO kablam! | Aug 29 15:12:15.388 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:15.388 INFO kablam! Aug 29 15:12:15.422 INFO kablam! warning: unused variable: `e` Aug 29 15:12:15.422 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:15.423 INFO kablam! | Aug 29 15:12:15.423 INFO kablam! 94 | Err(e) => { Aug 29 15:12:15.423 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:15.423 INFO kablam! | Aug 29 15:12:15.423 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:15.423 INFO kablam! Aug 29 15:12:15.425 INFO kablam! warning: function is never used: `handle_packet` Aug 29 15:12:15.425 INFO kablam! --> src/lib.rs:17:1 Aug 29 15:12:15.425 INFO kablam! | Aug 29 15:12:15.425 INFO kablam! 17 | pub fn handle_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.425 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.425 INFO kablam! | Aug 29 15:12:15.425 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 15:12:15.425 INFO kablam! Aug 29 15:12:15.426 INFO kablam! warning: function is never used: `handle_arp_packet` Aug 29 15:12:15.426 INFO kablam! --> src/lib.rs:25:1 Aug 29 15:12:15.426 INFO kablam! | Aug 29 15:12:15.426 INFO kablam! 25 | fn handle_arp_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.426 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.426 INFO kablam! Aug 29 15:12:15.427 INFO kablam! warning: function is never used: `handle_ipv4_packet` Aug 29 15:12:15.427 INFO kablam! --> src/lib.rs:40:1 Aug 29 15:12:15.427 INFO kablam! | Aug 29 15:12:15.427 INFO kablam! 40 | fn handle_ipv4_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.427 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.427 INFO kablam! Aug 29 15:12:15.427 INFO kablam! warning: function is never used: `handle_tcp_packet` Aug 29 15:12:15.427 INFO kablam! --> src/lib.rs:53:1 Aug 29 15:12:15.427 INFO kablam! | Aug 29 15:12:15.427 INFO kablam! 53 | fn handle_tcp_packet(interface_name: &str, source: IpAddr, destination: IpAddr, packet: &[u8]) { Aug 29 15:12:15.427 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.427 INFO kablam! Aug 29 15:12:15.427 INFO kablam! warning: function is never used: `handle_transport_protocol` Aug 29 15:12:15.427 INFO kablam! --> src/lib.rs:67:1 Aug 29 15:12:15.427 INFO kablam! | Aug 29 15:12:15.427 INFO kablam! 67 | / fn handle_transport_protocol(interface_name: &str, source: IpAddr, destination: IpAddr, Aug 29 15:12:15.427 INFO kablam! 68 | | protocol: IpNextHeaderProtocol, packet: &[u8]) { Aug 29 15:12:15.427 INFO kablam! 69 | | match protocol { Aug 29 15:12:15.427 INFO kablam! 70 | | IpNextHeaderProtocols::Tcp => { Aug 29 15:12:15.427 INFO kablam! ... | Aug 29 15:12:15.427 INFO kablam! 77 | | } Aug 29 15:12:15.427 INFO kablam! 78 | | } Aug 29 15:12:15.427 INFO kablam! | |_^ Aug 29 15:12:15.427 INFO kablam! Aug 29 15:12:15.427 INFO kablam! warning: function is never used: `change_interface_state` Aug 29 15:12:15.427 INFO kablam! --> src/lib.rs:80:1 Aug 29 15:12:15.427 INFO kablam! | Aug 29 15:12:15.427 INFO kablam! 80 | pub fn change_interface_state(interface_name: &str, state_to: &str) { Aug 29 15:12:15.428 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.428 INFO kablam! Aug 29 15:12:15.428 INFO kablam! warning: function is never used: `test_fn` Aug 29 15:12:15.428 INFO kablam! --> src/lib.rs:115:1 Aug 29 15:12:15.428 INFO kablam! | Aug 29 15:12:15.428 INFO kablam! 115 | pub fn test_fn() { Aug 29 15:12:15.428 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 15:12:15.428 INFO kablam! Aug 29 15:12:15.429 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.429 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:15.430 INFO kablam! | Aug 29 15:12:15.430 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:15.430 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.434 INFO kablam! | Aug 29 15:12:15.434 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:15.435 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.435 INFO kablam! Aug 29 15:12:15.435 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.435 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:15.435 INFO kablam! | Aug 29 15:12:15.435 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:15.435 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.435 INFO kablam! | Aug 29 15:12:15.435 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.435 INFO kablam! Aug 29 15:12:15.475 INFO kablam! warning: function is never used: `handle_packet` Aug 29 15:12:15.475 INFO kablam! --> src/lib.rs:17:1 Aug 29 15:12:15.475 INFO kablam! | Aug 29 15:12:15.475 INFO kablam! 17 | pub fn handle_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.475 INFO kablam! | Aug 29 15:12:15.475 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 15:12:15.475 INFO kablam! Aug 29 15:12:15.475 INFO kablam! warning: function is never used: `handle_arp_packet` Aug 29 15:12:15.475 INFO kablam! --> src/lib.rs:25:1 Aug 29 15:12:15.475 INFO kablam! | Aug 29 15:12:15.475 INFO kablam! 25 | fn handle_arp_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.475 INFO kablam! Aug 29 15:12:15.475 INFO kablam! warning: function is never used: `handle_ipv4_packet` Aug 29 15:12:15.475 INFO kablam! --> src/lib.rs:40:1 Aug 29 15:12:15.475 INFO kablam! | Aug 29 15:12:15.475 INFO kablam! 40 | fn handle_ipv4_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:15.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.475 INFO kablam! Aug 29 15:12:15.475 INFO kablam! warning: function is never used: `handle_tcp_packet` Aug 29 15:12:15.475 INFO kablam! --> src/lib.rs:53:1 Aug 29 15:12:15.476 INFO kablam! | Aug 29 15:12:15.476 INFO kablam! 53 | fn handle_tcp_packet(interface_name: &str, source: IpAddr, destination: IpAddr, packet: &[u8]) { Aug 29 15:12:15.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.476 INFO kablam! Aug 29 15:12:15.476 INFO kablam! warning: function is never used: `handle_transport_protocol` Aug 29 15:12:15.476 INFO kablam! --> src/lib.rs:67:1 Aug 29 15:12:15.476 INFO kablam! | Aug 29 15:12:15.476 INFO kablam! 67 | / fn handle_transport_protocol(interface_name: &str, source: IpAddr, destination: IpAddr, Aug 29 15:12:15.476 INFO kablam! 68 | | protocol: IpNextHeaderProtocol, packet: &[u8]) { Aug 29 15:12:15.476 INFO kablam! 69 | | match protocol { Aug 29 15:12:15.476 INFO kablam! 70 | | IpNextHeaderProtocols::Tcp => { Aug 29 15:12:15.476 INFO kablam! ... | Aug 29 15:12:15.476 INFO kablam! 77 | | } Aug 29 15:12:15.476 INFO kablam! 78 | | } Aug 29 15:12:15.476 INFO kablam! | |_^ Aug 29 15:12:15.476 INFO kablam! Aug 29 15:12:15.476 INFO kablam! warning: function is never used: `test_fn` Aug 29 15:12:15.476 INFO kablam! --> src/lib.rs:115:1 Aug 29 15:12:15.476 INFO kablam! | Aug 29 15:12:15.476 INFO kablam! 115 | pub fn test_fn() { Aug 29 15:12:15.476 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 15:12:15.476 INFO kablam! Aug 29 15:12:15.479 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.479 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:15.479 INFO kablam! | Aug 29 15:12:15.479 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:15.479 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.479 INFO kablam! | Aug 29 15:12:15.479 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:15.480 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.480 INFO kablam! Aug 29 15:12:15.480 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.480 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:15.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.480 INFO kablam! Aug 29 15:12:15.480 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.480 INFO kablam! --> src/main.rs:40:9 Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! 40 | io::stdout().write("\n======== Devices ========\n".as_bytes()); Aug 29 15:12:15.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.480 INFO kablam! Aug 29 15:12:15.480 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.480 INFO kablam! --> src/main.rs:44:9 Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! 44 | io::stdout().write("=========================\n".as_bytes()); Aug 29 15:12:15.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.480 INFO kablam! | Aug 29 15:12:15.480 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.480 INFO kablam! Aug 29 15:12:15.480 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.481 INFO kablam! --> src/main.rs:45:9 Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! 45 | io::stdout().write("For more detailed output try: `sniff -d `\n\n".as_bytes()); Aug 29 15:12:15.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.481 INFO kablam! Aug 29 15:12:15.481 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.481 INFO kablam! --> src/main.rs:53:9 Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! 53 | io::stdout().write("\n=========================\n".as_bytes()); Aug 29 15:12:15.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.481 INFO kablam! Aug 29 15:12:15.481 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.481 INFO kablam! --> src/main.rs:54:9 Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! 54 | io::stdout().write("IP:\n".as_bytes()); Aug 29 15:12:15.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.481 INFO kablam! | Aug 29 15:12:15.481 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.481 INFO kablam! Aug 29 15:12:15.482 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.482 INFO kablam! --> src/main.rs:62:9 Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! 62 | io::stdout().write("-------------------------\n".as_bytes()); Aug 29 15:12:15.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.482 INFO kablam! Aug 29 15:12:15.482 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.482 INFO kablam! --> src/main.rs:63:9 Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! 63 | io::stdout().write("Mac Addr:\n".as_bytes()); Aug 29 15:12:15.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.482 INFO kablam! Aug 29 15:12:15.482 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.482 INFO kablam! --> src/main.rs:65:9 Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! 65 | io::stdout().write(mac_address.to_string().as_bytes()); Aug 29 15:12:15.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.482 INFO kablam! | Aug 29 15:12:15.482 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.483 INFO kablam! Aug 29 15:12:15.483 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.483 INFO kablam! --> src/main.rs:66:9 Aug 29 15:12:15.483 INFO kablam! | Aug 29 15:12:15.483 INFO kablam! 66 | io::stdout().write("\n".as_bytes()); Aug 29 15:12:15.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.483 INFO kablam! | Aug 29 15:12:15.483 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.483 INFO kablam! Aug 29 15:12:15.483 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.483 INFO kablam! --> src/main.rs:67:9 Aug 29 15:12:15.483 INFO kablam! | Aug 29 15:12:15.483 INFO kablam! 67 | io::stdout().write("=========================\n\n".as_bytes()); Aug 29 15:12:15.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.483 INFO kablam! | Aug 29 15:12:15.483 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.483 INFO kablam! Aug 29 15:12:15.522 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2m 31s Aug 29 15:12:15.534 INFO kablam! su: No module specific data is present Aug 29 15:12:16.088 INFO running `"docker" "rm" "-f" "42d31d6dc54ab753ffa0fda107d3709e49bea1b8511fbc476536508ba3912e1a"` Aug 29 15:12:16.253 INFO blam! 42d31d6dc54ab753ffa0fda107d3709e49bea1b8511fbc476536508ba3912e1a