Oct 12 22:44:28.531 INFO checking denysvitali/barcode-reader against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 22:44:28.533 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-7/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/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 +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-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 12 22:44:28.954 INFO blam! 40fd84f192f5fdf897edab6a8ec510e72bff4ba8b6187ba547a53a75f29d07bd Oct 12 22:44:28.955 INFO running `"docker" "start" "-a" "40fd84f192f5fdf897edab6a8ec510e72bff4ba8b6187ba547a53a75f29d07bd"` Oct 12 22:44:31.236 INFO kablam! usermod: no changes Oct 12 22:44:31.458 INFO kablam! Checking termios v0.2.2 Oct 12 22:44:31.458 INFO kablam! Checking serial-core v0.4.0 Oct 12 22:44:31.459 INFO kablam! Checking ioctl-rs v0.1.5 Oct 12 22:44:31.461 INFO kablam! Compiling openssl-sys v0.9.20 Oct 12 22:44:31.477 INFO kablam! Checking mio v0.6.11 Oct 12 22:44:33.876 INFO kablam! Checking serial-unix v0.4.0 Oct 12 22:44:35.577 INFO kablam! Checking serial v0.4.0 Oct 12 22:44:36.604 INFO kablam! Checking tokio-core v0.1.10 Oct 12 22:44:37.140 INFO kablam! Compiling openssl v0.9.20 Oct 12 22:44:39.954 INFO kablam! Checking tokio-proto v0.1.1 Oct 12 22:44:44.388 INFO kablam! Checking hyper v0.11.6 Oct 12 22:44:44.737 INFO kablam! Checking native-tls v0.1.4 Oct 12 22:44:46.209 INFO kablam! Checking tokio-tls v0.1.3 Oct 12 22:44:50.958 INFO kablam! Checking hyper-tls v0.1.2 Oct 12 22:44:52.695 INFO kablam! Checking barcode-scanner v0.1.0 (/source) Oct 12 22:44:55.713 INFO kablam! warning: unused import: `Write` Oct 12 22:44:55.713 INFO kablam! --> src/main.rs:16:21 Oct 12 22:44:55.713 INFO kablam! | Oct 12 22:44:55.714 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 12 22:44:55.714 INFO kablam! | ^^^^^ Oct 12 22:44:55.714 INFO kablam! | Oct 12 22:44:55.714 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 22:44:55.715 INFO kablam! Oct 12 22:44:55.761 INFO kablam! warning: unused import: `Write` Oct 12 22:44:55.762 INFO kablam! --> src/main.rs:16:21 Oct 12 22:44:55.762 INFO kablam! | Oct 12 22:44:55.763 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 12 22:44:55.763 INFO kablam! | ^^^^^ Oct 12 22:44:55.764 INFO kablam! | Oct 12 22:44:55.764 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 22:44:55.768 INFO kablam! Oct 12 22:44:55.905 INFO kablam! warning: value assigned to `s` is never read Oct 12 22:44:55.905 INFO kablam! --> src/main.rs:179:13 Oct 12 22:44:55.905 INFO kablam! | Oct 12 22:44:55.905 INFO kablam! 179 | let mut s = String::new(); Oct 12 22:44:55.905 INFO kablam! | ^ Oct 12 22:44:55.905 INFO kablam! | Oct 12 22:44:55.905 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 22:44:55.905 INFO kablam! Oct 12 22:44:55.911 INFO kablam! warning: variable does not need to be mutable Oct 12 22:44:55.911 INFO kablam! --> src/main.rs:52:9 Oct 12 22:44:55.911 INFO kablam! | Oct 12 22:44:55.911 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 12 22:44:55.911 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 12 22:44:55.911 INFO kablam! | | Oct 12 22:44:55.911 INFO kablam! | help: remove this `mut` Oct 12 22:44:55.911 INFO kablam! | Oct 12 22:44:55.911 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 22:44:55.911 INFO kablam! Oct 12 22:44:55.946 INFO kablam! warning: variable does not need to be mutable Oct 12 22:44:55.952 INFO kablam! --> src/main.rs:106:9 Oct 12 22:44:55.952 INFO kablam! | Oct 12 22:44:55.952 INFO kablam! 106 | let mut json = r#"{ Oct 12 22:44:55.952 INFO kablam! | ----^^^^ Oct 12 22:44:55.952 INFO kablam! | | Oct 12 22:44:55.952 INFO kablam! | help: remove this `mut` Oct 12 22:44:55.952 INFO kablam! Oct 12 22:44:55.973 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 12 22:44:55.973 INFO kablam! --> src/barcodes.rs:6:9 Oct 12 22:44:55.973 INFO kablam! | Oct 12 22:44:55.973 INFO kablam! 6 | Pharmacode39, Oct 12 22:44:55.973 INFO kablam! | ^^^^^^^^^^^^ Oct 12 22:44:55.980 INFO kablam! | Oct 12 22:44:55.980 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 22:44:55.980 INFO kablam! Oct 12 22:44:55.982 INFO kablam! warning: function is never used: `testRequest` Oct 12 22:44:55.982 INFO kablam! --> src/main.rs:99:1 Oct 12 22:44:55.982 INFO kablam! | Oct 12 22:44:55.982 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 12 22:44:55.982 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 22:44:55.982 INFO kablam! Oct 12 22:44:55.984 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 12 22:44:55.984 INFO kablam! --> src/main.rs:99:1 Oct 12 22:44:55.984 INFO kablam! | Oct 12 22:44:55.984 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 12 22:44:55.984 INFO kablam! 100 | | let mut core = Core::new()?; Oct 12 22:44:55.984 INFO kablam! 101 | | let handle = core.handle(); Oct 12 22:44:55.984 INFO kablam! 102 | | let client = Client::configure() Oct 12 22:44:55.984 INFO kablam! ... | Oct 12 22:44:55.984 INFO kablam! 146 | | Ok(()) Oct 12 22:44:55.984 INFO kablam! 147 | | } Oct 12 22:44:55.984 INFO kablam! | |_^ Oct 12 22:44:55.988 INFO kablam! | Oct 12 22:44:55.988 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 22:44:55.988 INFO kablam! Oct 12 22:44:56.048 INFO kablam! warning: value assigned to `s` is never read Oct 12 22:44:56.048 INFO kablam! --> src/main.rs:179:13 Oct 12 22:44:56.048 INFO kablam! | Oct 12 22:44:56.048 INFO kablam! 179 | let mut s = String::new(); Oct 12 22:44:56.048 INFO kablam! | ^ Oct 12 22:44:56.048 INFO kablam! | Oct 12 22:44:56.048 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 22:44:56.048 INFO kablam! Oct 12 22:44:56.050 INFO kablam! warning: variable does not need to be mutable Oct 12 22:44:56.050 INFO kablam! --> src/main.rs:52:9 Oct 12 22:44:56.050 INFO kablam! | Oct 12 22:44:56.050 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 12 22:44:56.050 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 12 22:44:56.050 INFO kablam! | | Oct 12 22:44:56.050 INFO kablam! | help: remove this `mut` Oct 12 22:44:56.050 INFO kablam! | Oct 12 22:44:56.050 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 12 22:44:56.050 INFO kablam! Oct 12 22:44:56.072 INFO kablam! warning: variable does not need to be mutable Oct 12 22:44:56.072 INFO kablam! --> src/main.rs:106:9 Oct 12 22:44:56.072 INFO kablam! | Oct 12 22:44:56.072 INFO kablam! 106 | let mut json = r#"{ Oct 12 22:44:56.072 INFO kablam! | ----^^^^ Oct 12 22:44:56.072 INFO kablam! | | Oct 12 22:44:56.072 INFO kablam! | help: remove this `mut` Oct 12 22:44:56.072 INFO kablam! Oct 12 22:44:56.081 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 12 22:44:56.081 INFO kablam! --> src/barcodes.rs:6:9 Oct 12 22:44:56.081 INFO kablam! | Oct 12 22:44:56.081 INFO kablam! 6 | Pharmacode39, Oct 12 22:44:56.081 INFO kablam! | ^^^^^^^^^^^^ Oct 12 22:44:56.081 INFO kablam! | Oct 12 22:44:56.081 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 22:44:56.081 INFO kablam! Oct 12 22:44:56.081 INFO kablam! warning: function is never used: `testRequest` Oct 12 22:44:56.081 INFO kablam! --> src/main.rs:99:1 Oct 12 22:44:56.081 INFO kablam! | Oct 12 22:44:56.081 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 12 22:44:56.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 22:44:56.081 INFO kablam! Oct 12 22:44:56.086 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 12 22:44:56.086 INFO kablam! --> src/main.rs:99:1 Oct 12 22:44:56.086 INFO kablam! | Oct 12 22:44:56.086 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 12 22:44:56.086 INFO kablam! 100 | | let mut core = Core::new()?; Oct 12 22:44:56.086 INFO kablam! 101 | | let handle = core.handle(); Oct 12 22:44:56.086 INFO kablam! 102 | | let client = Client::configure() Oct 12 22:44:56.086 INFO kablam! ... | Oct 12 22:44:56.086 INFO kablam! 146 | | Ok(()) Oct 12 22:44:56.086 INFO kablam! 147 | | } Oct 12 22:44:56.086 INFO kablam! | |_^ Oct 12 22:44:56.100 INFO kablam! | Oct 12 22:44:56.100 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 22:44:56.100 INFO kablam! Oct 12 22:44:56.157 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 24.90s Oct 12 22:44:56.169 INFO kablam! su: No module specific data is present Oct 12 22:44:56.677 INFO running `"docker" "rm" "-f" "40fd84f192f5fdf897edab6a8ec510e72bff4ba8b6187ba547a53a75f29d07bd"` Oct 12 22:44:56.956 INFO blam! 40fd84f192f5fdf897edab6a8ec510e72bff4ba8b6187ba547a53a75f29d07bd