Aug 29 15:09:46.057 INFO checking someguynamedmatt/snif against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 29 15:09:46.057 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 29 15:09:46.057 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-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:46.294 INFO blam! cd7abce01ff69762941d40a18cfd680e6e7edc38bd21a062f0cd0dddef7086d7 Aug 29 15:09:46.296 INFO running `"docker" "start" "-a" "cd7abce01ff69762941d40a18cfd680e6e7edc38bd21a062f0cd0dddef7086d7"` Aug 29 15:09:47.300 INFO kablam! Compiling rustc-serialize v0.3.24 Aug 29 15:09:47.300 INFO kablam! Compiling term v0.4.6 Aug 29 15:09:47.300 INFO kablam! Compiling libc v0.2.33 Aug 29 15:09:47.314 INFO kablam! Compiling void v1.0.2 Aug 29 15:09:47.326 INFO kablam! Compiling bitflags v0.5.0 Aug 29 15:09:47.342 INFO kablam! Compiling lazy_static v0.2.10 Aug 29 15:09:47.366 INFO kablam! Compiling pest v0.3.3 Aug 29 15:09:47.382 INFO kablam! Checking pnet_base v0.20.0 Aug 29 15:09:48.210 INFO kablam! Compiling quick-error v1.2.1 Aug 29 15:09:48.489 INFO kablam! Compiling pnet v0.20.0 Aug 29 15:09:48.794 INFO kablam! Checking ipnetwork v0.12.7 Aug 29 15:09:49.339 INFO kablam! Checking pnet_sys v0.20.0 Aug 29 15:09:49.388 INFO kablam! Checking atty v0.2.3 Aug 29 15:09:50.394 INFO kablam! Compiling unreachable v1.0.0 Aug 29 15:09:50.471 INFO kablam! Checking nix v0.8.1 Aug 29 15:09:50.750 INFO kablam! Checking pnet_macros_support v0.20.0 Aug 29 15:09:50.888 INFO kablam! Checking clap v2.29.0 Aug 29 15:09:51.253 INFO kablam! Compiling thread_local v0.3.4 Aug 29 15:09:52.109 INFO kablam! Checking pnet_datalink v0.20.0 Aug 29 15:09:57.563 INFO kablam! Compiling memchr v1.0.2 Aug 29 15:10:00.238 INFO kablam! Compiling aho-corasick v0.6.3 Aug 29 15:10:03.764 INFO kablam! Compiling regex v0.2.2 Aug 29 15:10:22.719 INFO kablam! Compiling syntex_pos v0.42.0 Aug 29 15:10:26.227 INFO kablam! Compiling handlebars v0.25.3 Aug 29 15:10:27.403 INFO kablam! Compiling syntex_errors v0.42.0 Aug 29 15:10:32.596 INFO kablam! Compiling syntex_syntax v0.42.0 Aug 29 15:10:42.394 INFO kablam! Compiling interfaces v0.0.3 Aug 29 15:11:45.540 INFO kablam! Compiling syntex v0.42.2 Aug 29 15:11:47.092 INFO kablam! Compiling pnet_macros v0.20.0 Aug 29 15:11:51.691 INFO kablam! Compiling pnet_packet v0.20.0 Aug 29 15:12:14.439 INFO kablam! Checking pnet_transport v0.20.0 Aug 29 15:12:15.219 INFO kablam! Checking sniff v0.1.0 (file:///source) Aug 29 15:12:15.570 INFO kablam! warning: unused import: `Result` Aug 29 15:12:15.570 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:15.570 INFO kablam! | Aug 29 15:12:15.570 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:15.571 INFO kablam! | ^^^^^^ Aug 29 15:12:15.571 INFO kablam! | Aug 29 15:12:15.571 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:15.571 INFO kablam! Aug 29 15:12:15.574 INFO kablam! warning: unused import: `Result` Aug 29 15:12:15.574 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:15.574 INFO kablam! | Aug 29 15:12:15.574 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:15.574 INFO kablam! | ^^^^^^ Aug 29 15:12:15.574 INFO kablam! | Aug 29 15:12:15.574 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:15.574 INFO kablam! Aug 29 15:12:15.745 INFO kablam! warning: unused variable: `e` Aug 29 15:12:15.745 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:15.745 INFO kablam! | Aug 29 15:12:15.745 INFO kablam! 94 | Err(e) => { Aug 29 15:12:15.745 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:15.745 INFO kablam! | Aug 29 15:12:15.745 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:15.745 INFO kablam! Aug 29 15:12:15.763 INFO kablam! warning: unused variable: `e` Aug 29 15:12:15.763 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:15.763 INFO kablam! | Aug 29 15:12:15.763 INFO kablam! 94 | Err(e) => { Aug 29 15:12:15.763 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:15.763 INFO kablam! | Aug 29 15:12:15.764 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:15.764 INFO kablam! Aug 29 15:12:15.779 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.780 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:15.780 INFO kablam! | Aug 29 15:12:15.780 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:15.780 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.780 INFO kablam! | Aug 29 15:12:15.780 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:15.780 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.780 INFO kablam! Aug 29 15:12:15.780 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.780 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:15.781 INFO kablam! | Aug 29 15:12:15.781 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:15.781 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.781 INFO kablam! | Aug 29 15:12:15.781 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.781 INFO kablam! Aug 29 15:12:15.805 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.805 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:15.805 INFO kablam! | Aug 29 15:12:15.805 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:15.805 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.805 INFO kablam! | Aug 29 15:12:15.805 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:15.805 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.805 INFO kablam! Aug 29 15:12:15.806 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:15.806 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:15.806 INFO kablam! | Aug 29 15:12:15.806 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:15.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:15.806 INFO kablam! | Aug 29 15:12:15.806 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:15.806 INFO kablam! Aug 29 15:12:16.172 INFO kablam! warning: unused import: `SubCommand` Aug 29 15:12:16.172 INFO kablam! --> src/main.rs:13:22 Aug 29 15:12:16.172 INFO kablam! | Aug 29 15:12:16.172 INFO kablam! 13 | use clap::{Arg, App, SubCommand}; Aug 29 15:12:16.172 INFO kablam! | ^^^^^^^^^^ Aug 29 15:12:16.172 INFO kablam! | Aug 29 15:12:16.172 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:16.172 INFO kablam! Aug 29 15:12:16.173 INFO kablam! warning: unused import: `pnet_datalink::Channel::Ethernet` Aug 29 15:12:16.173 INFO kablam! --> src/main.rs:15:5 Aug 29 15:12:16.173 INFO kablam! | Aug 29 15:12:16.173 INFO kablam! 15 | use pnet_datalink::Channel::Ethernet; Aug 29 15:12:16.173 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.173 INFO kablam! Aug 29 15:12:16.173 INFO kablam! warning: unused import: `pnet::packet::ethernet::EthernetPacket` Aug 29 15:12:16.173 INFO kablam! --> src/main.rs:16:5 Aug 29 15:12:16.173 INFO kablam! | Aug 29 15:12:16.173 INFO kablam! 16 | use pnet::packet::ethernet::EthernetPacket; Aug 29 15:12:16.173 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.173 INFO kablam! Aug 29 15:12:16.174 INFO kablam! warning: unused import: `Result` Aug 29 15:12:16.174 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:16.174 INFO kablam! | Aug 29 15:12:16.174 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:16.174 INFO kablam! | ^^^^^^ Aug 29 15:12:16.174 INFO kablam! Aug 29 15:12:16.263 INFO kablam! warning: unused import: `std::env` Aug 29 15:12:16.263 INFO kablam! --> src/main.rs:10:5 Aug 29 15:12:16.263 INFO kablam! | Aug 29 15:12:16.263 INFO kablam! 10 | use std::env; Aug 29 15:12:16.263 INFO kablam! | ^^^^^^^^ Aug 29 15:12:16.263 INFO kablam! | Aug 29 15:12:16.263 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 15:12:16.263 INFO kablam! Aug 29 15:12:16.263 INFO kablam! warning: unused import: `std::io` Aug 29 15:12:16.263 INFO kablam! --> src/main.rs:11:5 Aug 29 15:12:16.264 INFO kablam! | Aug 29 15:12:16.264 INFO kablam! 11 | use std::io; Aug 29 15:12:16.264 INFO kablam! | ^^^^^^^ Aug 29 15:12:16.264 INFO kablam! Aug 29 15:12:16.264 INFO kablam! warning: unused import: `std::io::prelude::*` Aug 29 15:12:16.264 INFO kablam! --> src/main.rs:12:5 Aug 29 15:12:16.264 INFO kablam! | Aug 29 15:12:16.264 INFO kablam! 12 | use std::io::prelude::*; Aug 29 15:12:16.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.264 INFO kablam! Aug 29 15:12:16.264 INFO kablam! warning: unused imports: `App`, `Arg`, `SubCommand` Aug 29 15:12:16.264 INFO kablam! --> src/main.rs:13:12 Aug 29 15:12:16.264 INFO kablam! | Aug 29 15:12:16.264 INFO kablam! 13 | use clap::{Arg, App, SubCommand}; Aug 29 15:12:16.264 INFO kablam! | ^^^ ^^^ ^^^^^^^^^^ Aug 29 15:12:16.264 INFO kablam! Aug 29 15:12:16.264 INFO kablam! warning: unused import: `ipnetwork::IpNetwork` Aug 29 15:12:16.264 INFO kablam! --> src/main.rs:14:5 Aug 29 15:12:16.264 INFO kablam! | Aug 29 15:12:16.264 INFO kablam! 14 | use ipnetwork::IpNetwork; Aug 29 15:12:16.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.264 INFO kablam! Aug 29 15:12:16.264 INFO kablam! warning: unused import: `pnet_datalink::Channel::Ethernet` Aug 29 15:12:16.265 INFO kablam! --> src/main.rs:15:5 Aug 29 15:12:16.265 INFO kablam! | Aug 29 15:12:16.265 INFO kablam! 15 | use pnet_datalink::Channel::Ethernet; Aug 29 15:12:16.265 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.265 INFO kablam! Aug 29 15:12:16.265 INFO kablam! warning: unused import: `pnet::packet::ethernet::EthernetPacket` Aug 29 15:12:16.265 INFO kablam! --> src/main.rs:16:5 Aug 29 15:12:16.265 INFO kablam! | Aug 29 15:12:16.265 INFO kablam! 16 | use pnet::packet::ethernet::EthernetPacket; Aug 29 15:12:16.265 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.265 INFO kablam! Aug 29 15:12:16.265 INFO kablam! warning: unused import: `Result` Aug 29 15:12:16.265 INFO kablam! --> src/lib.rs:5:35 Aug 29 15:12:16.265 INFO kablam! | Aug 29 15:12:16.265 INFO kablam! 5 | use self::interfaces::{Interface, Result}; Aug 29 15:12:16.265 INFO kablam! | ^^^^^^ Aug 29 15:12:16.265 INFO kablam! Aug 29 15:12:16.266 INFO kablam! warning: unused import: `lib::*` Aug 29 15:12:16.266 INFO kablam! --> src/main.rs:19:5 Aug 29 15:12:16.266 INFO kablam! | Aug 29 15:12:16.266 INFO kablam! 19 | use lib::*; Aug 29 15:12:16.266 INFO kablam! | ^^^^^^ Aug 29 15:12:16.266 INFO kablam! Aug 29 15:12:16.419 INFO kablam! warning: unused variable: `e` Aug 29 15:12:16.419 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:16.419 INFO kablam! | Aug 29 15:12:16.419 INFO kablam! 94 | Err(e) => { Aug 29 15:12:16.419 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:16.419 INFO kablam! | Aug 29 15:12:16.419 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:16.419 INFO kablam! Aug 29 15:12:16.453 INFO kablam! warning: unused variable: `e` Aug 29 15:12:16.453 INFO kablam! --> src/lib.rs:94:13 Aug 29 15:12:16.453 INFO kablam! | Aug 29 15:12:16.453 INFO kablam! 94 | Err(e) => { Aug 29 15:12:16.453 INFO kablam! | ^ help: consider using `_e` instead Aug 29 15:12:16.453 INFO kablam! | Aug 29 15:12:16.453 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 15:12:16.453 INFO kablam! Aug 29 15:12:16.486 INFO kablam! warning: function is never used: `handle_packet` Aug 29 15:12:16.486 INFO kablam! --> src/lib.rs:17:1 Aug 29 15:12:16.486 INFO kablam! | Aug 29 15:12:16.486 INFO kablam! 17 | pub fn handle_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.486 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.487 INFO kablam! | Aug 29 15:12:16.487 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 15:12:16.487 INFO kablam! Aug 29 15:12:16.488 INFO kablam! warning: function is never used: `handle_arp_packet` Aug 29 15:12:16.488 INFO kablam! --> src/lib.rs:25:1 Aug 29 15:12:16.488 INFO kablam! | Aug 29 15:12:16.488 INFO kablam! 25 | fn handle_arp_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.488 INFO kablam! Aug 29 15:12:16.489 INFO kablam! warning: function is never used: `handle_ipv4_packet` Aug 29 15:12:16.489 INFO kablam! --> src/lib.rs:40:1 Aug 29 15:12:16.489 INFO kablam! | Aug 29 15:12:16.489 INFO kablam! 40 | fn handle_ipv4_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.489 INFO kablam! Aug 29 15:12:16.490 INFO kablam! warning: function is never used: `handle_tcp_packet` Aug 29 15:12:16.490 INFO kablam! --> src/lib.rs:53:1 Aug 29 15:12:16.490 INFO kablam! | Aug 29 15:12:16.490 INFO kablam! 53 | fn handle_tcp_packet(interface_name: &str, source: IpAddr, destination: IpAddr, packet: &[u8]) { Aug 29 15:12:16.490 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.490 INFO kablam! Aug 29 15:12:16.491 INFO kablam! warning: function is never used: `handle_transport_protocol` Aug 29 15:12:16.491 INFO kablam! --> src/lib.rs:67:1 Aug 29 15:12:16.491 INFO kablam! | Aug 29 15:12:16.491 INFO kablam! 67 | / fn handle_transport_protocol(interface_name: &str, source: IpAddr, destination: IpAddr, Aug 29 15:12:16.491 INFO kablam! 68 | | protocol: IpNextHeaderProtocol, packet: &[u8]) { Aug 29 15:12:16.491 INFO kablam! 69 | | match protocol { Aug 29 15:12:16.491 INFO kablam! 70 | | IpNextHeaderProtocols::Tcp => { Aug 29 15:12:16.491 INFO kablam! ... | Aug 29 15:12:16.491 INFO kablam! 77 | | } Aug 29 15:12:16.491 INFO kablam! 78 | | } Aug 29 15:12:16.491 INFO kablam! | |_^ Aug 29 15:12:16.492 INFO kablam! Aug 29 15:12:16.492 INFO kablam! warning: function is never used: `change_interface_state` Aug 29 15:12:16.492 INFO kablam! --> src/lib.rs:80:1 Aug 29 15:12:16.492 INFO kablam! | Aug 29 15:12:16.492 INFO kablam! 80 | pub fn change_interface_state(interface_name: &str, state_to: &str) { Aug 29 15:12:16.492 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.493 INFO kablam! Aug 29 15:12:16.493 INFO kablam! warning: function is never used: `test_fn` Aug 29 15:12:16.493 INFO kablam! --> src/lib.rs:115:1 Aug 29 15:12:16.493 INFO kablam! | Aug 29 15:12:16.493 INFO kablam! 115 | pub fn test_fn() { Aug 29 15:12:16.493 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 15:12:16.494 INFO kablam! Aug 29 15:12:16.497 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.497 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:16.497 INFO kablam! | Aug 29 15:12:16.497 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:16.497 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.498 INFO kablam! | Aug 29 15:12:16.498 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:16.498 INFO kablam! warning: function is never used: `handle_packet` Aug 29 15:12:16.498 INFO kablam! --> src/lib.rs:17:1 Aug 29 15:12:16.499 INFO kablam! | Aug 29 15:12:16.499 INFO kablam! 17 | pub fn handle_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.499 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.499 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.499 INFO kablam! | Aug 29 15:12:16.499 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 15:12:16.499 INFO kablam! Aug 29 15:12:16.499 INFO kablam! warning: function is never used: `handle_arp_packet` Aug 29 15:12:16.499 INFO kablam! --> src/lib.rs:25:1 Aug 29 15:12:16.499 INFO kablam! | Aug 29 15:12:16.499 INFO kablam! 25 | fn handle_arp_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.499 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.499 INFO kablam! Aug 29 15:12:16.499 INFO kablam! warning: function is never used: `handle_ipv4_packet` Aug 29 15:12:16.499 INFO kablam! --> src/lib.rs:40:1 Aug 29 15:12:16.500 INFO kablam! | Aug 29 15:12:16.500 INFO kablam! 40 | fn handle_ipv4_packet(interface_name: &str, ethernet: &EthernetPacket) { Aug 29 15:12:16.500 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.500 INFO kablam! Aug 29 15:12:16.500 INFO kablam! warning: function is never used: `handle_tcp_packet` Aug 29 15:12:16.500 INFO kablam! --> src/lib.rs:53:1 Aug 29 15:12:16.500 INFO kablam! | Aug 29 15:12:16.500 INFO kablam! 53 | fn handle_tcp_packet(interface_name: &str, source: IpAddr, destination: IpAddr, packet: &[u8]) { Aug 29 15:12:16.500 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.500 INFO kablam! Aug 29 15:12:16.500 INFO kablam! warning: function is never used: `handle_transport_protocol` Aug 29 15:12:16.500 INFO kablam! --> src/lib.rs:67:1 Aug 29 15:12:16.500 INFO kablam! | Aug 29 15:12:16.501 INFO kablam! 67 | / fn handle_transport_protocol(interface_name: &str, source: IpAddr, destination: IpAddr, Aug 29 15:12:16.501 INFO kablam! 68 | | protocol: IpNextHeaderProtocol, packet: &[u8]) { Aug 29 15:12:16.501 INFO kablam! 69 | | match protocol { Aug 29 15:12:16.501 INFO kablam! 70 | | IpNextHeaderProtocols::Tcp => { Aug 29 15:12:16.501 INFO kablam! ... | Aug 29 15:12:16.501 INFO kablam! 77 | | } Aug 29 15:12:16.501 INFO kablam! 78 | | } Aug 29 15:12:16.501 INFO kablam! | |_^ Aug 29 15:12:16.501 INFO kablam! Aug 29 15:12:16.501 INFO kablam! Aug 29 15:12:16.501 INFO kablam! warning: function is never used: `test_fn` Aug 29 15:12:16.501 INFO kablam! --> src/lib.rs:115:1 Aug 29 15:12:16.501 INFO kablam! | Aug 29 15:12:16.501 INFO kablam! 115 | pub fn test_fn() { Aug 29 15:12:16.501 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 29 15:12:16.501 INFO kablam! Aug 29 15:12:16.501 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.502 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:16.502 INFO kablam! | Aug 29 15:12:16.502 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:16.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.502 INFO kablam! | Aug 29 15:12:16.502 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.502 INFO kablam! Aug 29 15:12:16.504 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.505 INFO kablam! --> src/lib.rs:103:17 Aug 29 15:12:16.505 INFO kablam! | Aug 29 15:12:16.505 INFO kablam! 103 | io::stdout().write("[OK]: Device is now on\n".as_bytes()); Aug 29 15:12:16.505 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.505 INFO kablam! | Aug 29 15:12:16.505 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 29 15:12:16.505 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.514 INFO kablam! Aug 29 15:12:16.515 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.515 INFO kablam! --> src/lib.rs:106:17 Aug 29 15:12:16.515 INFO kablam! | Aug 29 15:12:16.515 INFO kablam! 106 | io::stdout().write("[OK]: Device is now off\n".as_bytes()); Aug 29 15:12:16.515 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.515 INFO kablam! | Aug 29 15:12:16.515 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.515 INFO kablam! Aug 29 15:12:16.515 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.515 INFO kablam! --> src/main.rs:40:9 Aug 29 15:12:16.515 INFO kablam! | Aug 29 15:12:16.516 INFO kablam! 40 | io::stdout().write("\n======== Devices ========\n".as_bytes()); Aug 29 15:12:16.516 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.516 INFO kablam! | Aug 29 15:12:16.516 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.516 INFO kablam! Aug 29 15:12:16.516 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.516 INFO kablam! --> src/main.rs:44:9 Aug 29 15:12:16.516 INFO kablam! | Aug 29 15:12:16.516 INFO kablam! 44 | io::stdout().write("=========================\n".as_bytes()); Aug 29 15:12:16.516 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.516 INFO kablam! | Aug 29 15:12:16.517 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.517 INFO kablam! Aug 29 15:12:16.517 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.517 INFO kablam! --> src/main.rs:45:9 Aug 29 15:12:16.517 INFO kablam! | Aug 29 15:12:16.517 INFO kablam! 45 | io::stdout().write("For more detailed output try: `sniff -d `\n\n".as_bytes()); Aug 29 15:12:16.517 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.517 INFO kablam! | Aug 29 15:12:16.517 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.517 INFO kablam! Aug 29 15:12:16.518 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.518 INFO kablam! --> src/main.rs:53:9 Aug 29 15:12:16.518 INFO kablam! | Aug 29 15:12:16.518 INFO kablam! 53 | io::stdout().write("\n=========================\n".as_bytes()); Aug 29 15:12:16.518 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.518 INFO kablam! | Aug 29 15:12:16.518 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.518 INFO kablam! Aug 29 15:12:16.518 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.519 INFO kablam! --> src/main.rs:54:9 Aug 29 15:12:16.519 INFO kablam! | Aug 29 15:12:16.519 INFO kablam! 54 | io::stdout().write("IP:\n".as_bytes()); Aug 29 15:12:16.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.519 INFO kablam! | Aug 29 15:12:16.519 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.519 INFO kablam! Aug 29 15:12:16.519 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.519 INFO kablam! --> src/main.rs:62:9 Aug 29 15:12:16.519 INFO kablam! | Aug 29 15:12:16.519 INFO kablam! 62 | io::stdout().write("-------------------------\n".as_bytes()); Aug 29 15:12:16.519 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.519 INFO kablam! | Aug 29 15:12:16.520 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.520 INFO kablam! Aug 29 15:12:16.520 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.520 INFO kablam! --> src/main.rs:63:9 Aug 29 15:12:16.520 INFO kablam! | Aug 29 15:12:16.520 INFO kablam! 63 | io::stdout().write("Mac Addr:\n".as_bytes()); Aug 29 15:12:16.520 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.520 INFO kablam! | Aug 29 15:12:16.520 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.521 INFO kablam! Aug 29 15:12:16.521 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.521 INFO kablam! --> src/main.rs:65:9 Aug 29 15:12:16.521 INFO kablam! | Aug 29 15:12:16.521 INFO kablam! 65 | io::stdout().write(mac_address.to_string().as_bytes()); Aug 29 15:12:16.521 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.521 INFO kablam! | Aug 29 15:12:16.521 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.521 INFO kablam! Aug 29 15:12:16.521 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.522 INFO kablam! --> src/main.rs:66:9 Aug 29 15:12:16.522 INFO kablam! | Aug 29 15:12:16.522 INFO kablam! 66 | io::stdout().write("\n".as_bytes()); Aug 29 15:12:16.522 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.522 INFO kablam! | Aug 29 15:12:16.522 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.522 INFO kablam! Aug 29 15:12:16.522 INFO kablam! warning: unused `std::result::Result` which must be used Aug 29 15:12:16.522 INFO kablam! --> src/main.rs:67:9 Aug 29 15:12:16.522 INFO kablam! | Aug 29 15:12:16.522 INFO kablam! 67 | io::stdout().write("=========================\n\n".as_bytes()); Aug 29 15:12:16.523 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 15:12:16.523 INFO kablam! | Aug 29 15:12:16.523 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 29 15:12:16.523 INFO kablam! Aug 29 15:12:16.565 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2m 29s Aug 29 15:12:16.616 INFO kablam! su: No module specific data is present Aug 29 15:12:17.317 INFO running `"docker" "rm" "-f" "cd7abce01ff69762941d40a18cfd680e6e7edc38bd21a062f0cd0dddef7086d7"` Aug 29 15:12:17.491 INFO blam! cd7abce01ff69762941d40a18cfd680e6e7edc38bd21a062f0cd0dddef7086d7