Oct 21 18:27:49.138 INFO checking denysvitali/barcode-reader against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 18:27:49.138 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-6/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 21 18:27:49.468 INFO blam! 9799c88250e1f900821d07b0864b72df3868d84acf1dbe71e567a8d11de1371e Oct 21 18:27:49.476 INFO running `"docker" "start" "-a" "9799c88250e1f900821d07b0864b72df3868d84acf1dbe71e567a8d11de1371e"` Oct 21 18:27:51.393 INFO kablam! usermod: no changes Oct 21 18:27:51.605 INFO kablam! Compiling openssl-sys v0.9.20 Oct 21 18:27:51.605 INFO kablam! Checking ioctl-rs v0.1.5 Oct 21 18:27:51.605 INFO kablam! Checking serial-core v0.4.0 Oct 21 18:27:51.605 INFO kablam! Checking termios v0.2.2 Oct 21 18:27:51.605 INFO kablam! Checking net2 v0.2.31 Oct 21 18:27:51.605 INFO kablam! Checking futures-cpupool v0.1.7 Oct 21 18:27:51.605 INFO kablam! Checking tokio-io v0.1.3 Oct 21 18:27:54.408 INFO kablam! Checking serial-unix v0.4.0 Oct 21 18:27:55.172 INFO kablam! Checking mio v0.6.11 Oct 21 18:27:56.037 INFO kablam! Checking serial v0.4.0 Oct 21 18:27:56.760 INFO kablam! Compiling openssl v0.9.20 Oct 21 18:27:59.029 INFO kablam! Checking tokio-core v0.1.10 Oct 21 18:28:02.289 INFO kablam! Checking tokio-proto v0.1.1 Oct 21 18:28:03.377 INFO kablam! Checking native-tls v0.1.4 Oct 21 18:28:04.668 INFO kablam! Checking tokio-tls v0.1.3 Oct 21 18:28:06.460 INFO kablam! Checking hyper v0.11.6 Oct 21 18:28:11.364 INFO kablam! Checking hyper-tls v0.1.2 Oct 21 18:28:13.288 INFO kablam! Checking barcode-scanner v0.1.0 (/source) Oct 21 18:28:15.831 INFO kablam! warning: unused import: `Write` Oct 21 18:28:15.831 INFO kablam! --> src/main.rs:16:21 Oct 21 18:28:15.831 INFO kablam! | Oct 21 18:28:15.831 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 21 18:28:15.831 INFO kablam! | ^^^^^ Oct 21 18:28:15.831 INFO kablam! | Oct 21 18:28:15.831 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 18:28:15.831 INFO kablam! Oct 21 18:28:15.856 INFO kablam! warning: unused import: `Write` Oct 21 18:28:15.856 INFO kablam! --> src/main.rs:16:21 Oct 21 18:28:15.856 INFO kablam! | Oct 21 18:28:15.856 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 21 18:28:15.856 INFO kablam! | ^^^^^ Oct 21 18:28:15.856 INFO kablam! | Oct 21 18:28:15.856 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 18:28:15.856 INFO kablam! Oct 21 18:28:15.992 INFO kablam! warning: value assigned to `s` is never read Oct 21 18:28:15.992 INFO kablam! --> src/main.rs:179:13 Oct 21 18:28:15.992 INFO kablam! | Oct 21 18:28:15.992 INFO kablam! 179 | let mut s = String::new(); Oct 21 18:28:15.993 INFO kablam! | ^ Oct 21 18:28:15.993 INFO kablam! | Oct 21 18:28:15.993 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 18:28:15.993 INFO kablam! Oct 21 18:28:15.996 INFO kablam! warning: variable does not need to be mutable Oct 21 18:28:15.996 INFO kablam! --> src/main.rs:52:9 Oct 21 18:28:15.996 INFO kablam! | Oct 21 18:28:15.996 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 21 18:28:15.996 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 21 18:28:15.996 INFO kablam! | | Oct 21 18:28:15.997 INFO kablam! | help: remove this `mut` Oct 21 18:28:15.997 INFO kablam! | Oct 21 18:28:15.997 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 21 18:28:15.997 INFO kablam! Oct 21 18:28:16.016 INFO kablam! warning: variable does not need to be mutable Oct 21 18:28:16.016 INFO kablam! --> src/main.rs:106:9 Oct 21 18:28:16.016 INFO kablam! | Oct 21 18:28:16.017 INFO kablam! 106 | let mut json = r#"{ Oct 21 18:28:16.017 INFO kablam! | ----^^^^ Oct 21 18:28:16.017 INFO kablam! | | Oct 21 18:28:16.017 INFO kablam! | help: remove this `mut` Oct 21 18:28:16.017 INFO kablam! Oct 21 18:28:16.022 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 21 18:28:16.022 INFO kablam! --> src/barcodes.rs:6:9 Oct 21 18:28:16.022 INFO kablam! | Oct 21 18:28:16.022 INFO kablam! 6 | Pharmacode39, Oct 21 18:28:16.022 INFO kablam! | ^^^^^^^^^^^^ Oct 21 18:28:16.022 INFO kablam! | Oct 21 18:28:16.022 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 18:28:16.022 INFO kablam! Oct 21 18:28:16.022 INFO kablam! warning: function is never used: `testRequest` Oct 21 18:28:16.022 INFO kablam! --> src/main.rs:99:1 Oct 21 18:28:16.023 INFO kablam! | Oct 21 18:28:16.023 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 21 18:28:16.023 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:28:16.023 INFO kablam! Oct 21 18:28:16.023 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 21 18:28:16.023 INFO kablam! --> src/main.rs:99:1 Oct 21 18:28:16.023 INFO kablam! | Oct 21 18:28:16.023 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 21 18:28:16.023 INFO kablam! 100 | | let mut core = Core::new()?; Oct 21 18:28:16.023 INFO kablam! 101 | | let handle = core.handle(); Oct 21 18:28:16.023 INFO kablam! 102 | | let client = Client::configure() Oct 21 18:28:16.023 INFO kablam! ... | Oct 21 18:28:16.023 INFO kablam! 146 | | Ok(()) Oct 21 18:28:16.023 INFO kablam! 147 | | } Oct 21 18:28:16.023 INFO kablam! | |_^ Oct 21 18:28:16.023 INFO kablam! | Oct 21 18:28:16.023 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 21 18:28:16.023 INFO kablam! Oct 21 18:28:16.040 INFO kablam! warning: value assigned to `s` is never read Oct 21 18:28:16.040 INFO kablam! --> src/main.rs:179:13 Oct 21 18:28:16.041 INFO kablam! | Oct 21 18:28:16.041 INFO kablam! 179 | let mut s = String::new(); Oct 21 18:28:16.041 INFO kablam! | ^ Oct 21 18:28:16.041 INFO kablam! | Oct 21 18:28:16.041 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 18:28:16.041 INFO kablam! Oct 21 18:28:16.048 INFO kablam! warning: variable does not need to be mutable Oct 21 18:28:16.048 INFO kablam! --> src/main.rs:52:9 Oct 21 18:28:16.048 INFO kablam! | Oct 21 18:28:16.049 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 21 18:28:16.049 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 21 18:28:16.049 INFO kablam! | | Oct 21 18:28:16.049 INFO kablam! | help: remove this `mut` Oct 21 18:28:16.049 INFO kablam! | Oct 21 18:28:16.049 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 21 18:28:16.049 INFO kablam! Oct 21 18:28:16.064 INFO kablam! warning: variable does not need to be mutable Oct 21 18:28:16.065 INFO kablam! --> src/main.rs:106:9 Oct 21 18:28:16.065 INFO kablam! | Oct 21 18:28:16.065 INFO kablam! 106 | let mut json = r#"{ Oct 21 18:28:16.065 INFO kablam! | ----^^^^ Oct 21 18:28:16.065 INFO kablam! | | Oct 21 18:28:16.065 INFO kablam! | help: remove this `mut` Oct 21 18:28:16.065 INFO kablam! Oct 21 18:28:16.078 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 21 18:28:16.078 INFO kablam! --> src/barcodes.rs:6:9 Oct 21 18:28:16.079 INFO kablam! | Oct 21 18:28:16.079 INFO kablam! 6 | Pharmacode39, Oct 21 18:28:16.079 INFO kablam! | ^^^^^^^^^^^^ Oct 21 18:28:16.079 INFO kablam! | Oct 21 18:28:16.079 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 18:28:16.079 INFO kablam! Oct 21 18:28:16.079 INFO kablam! warning: function is never used: `testRequest` Oct 21 18:28:16.079 INFO kablam! --> src/main.rs:99:1 Oct 21 18:28:16.079 INFO kablam! | Oct 21 18:28:16.079 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 21 18:28:16.079 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:28:16.079 INFO kablam! Oct 21 18:28:16.081 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 21 18:28:16.081 INFO kablam! --> src/main.rs:99:1 Oct 21 18:28:16.081 INFO kablam! | Oct 21 18:28:16.081 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 21 18:28:16.081 INFO kablam! 100 | | let mut core = Core::new()?; Oct 21 18:28:16.081 INFO kablam! 101 | | let handle = core.handle(); Oct 21 18:28:16.081 INFO kablam! 102 | | let client = Client::configure() Oct 21 18:28:16.081 INFO kablam! ... | Oct 21 18:28:16.081 INFO kablam! 146 | | Ok(()) Oct 21 18:28:16.081 INFO kablam! 147 | | } Oct 21 18:28:16.081 INFO kablam! | |_^ Oct 21 18:28:16.081 INFO kablam! | Oct 21 18:28:16.082 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 21 18:28:16.082 INFO kablam! Oct 21 18:28:16.120 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 24.70s Oct 21 18:28:16.139 INFO kablam! su: No module specific data is present Oct 21 18:28:16.656 INFO running `"docker" "rm" "-f" "9799c88250e1f900821d07b0864b72df3868d84acf1dbe71e567a8d11de1371e"` Oct 21 18:28:16.802 INFO blam! 9799c88250e1f900821d07b0864b72df3868d84acf1dbe71e567a8d11de1371e