Oct 14 23:00:41.680 INFO testing denysvitali/barcode-reader against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 14 23:00:41.680 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-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 14 23:00:42.025 INFO blam! 564f89dc36ccab873032d97217b2569ec5eceac76801002d9181b1b1316131df Oct 14 23:00:42.035 INFO running `"docker" "start" "-a" "564f89dc36ccab873032d97217b2569ec5eceac76801002d9181b1b1316131df"` Oct 14 23:00:43.930 INFO kablam! usermod: no changes Oct 14 23:00:44.211 INFO kablam! Compiling cc v1.0.2 Oct 14 23:00:44.213 INFO kablam! Compiling serde v1.0.16 Oct 14 23:00:44.213 INFO kablam! Compiling serial-core v0.4.0 Oct 14 23:00:44.213 INFO kablam! Compiling ioctl-rs v0.1.5 Oct 14 23:00:44.213 INFO kablam! Compiling termios v0.2.2 Oct 14 23:00:44.213 INFO kablam! Compiling mio v0.6.11 Oct 14 23:00:47.035 INFO kablam! Compiling serial-unix v0.4.0 Oct 14 23:00:49.433 INFO kablam! Compiling serial v0.4.0 Oct 14 23:00:53.057 INFO kablam! Compiling openssl-sys v0.9.20 Oct 14 23:00:55.807 INFO kablam! Compiling tokio-core v0.1.10 Oct 14 23:00:58.956 INFO kablam! Compiling openssl v0.9.20 Oct 14 23:01:04.545 INFO kablam! Compiling tokio-proto v0.1.1 Oct 14 23:01:11.537 INFO kablam! Compiling hyper v0.11.6 Oct 14 23:01:17.953 INFO kablam! Compiling native-tls v0.1.4 Oct 14 23:01:20.211 INFO kablam! Compiling tokio-tls v0.1.3 Oct 14 23:01:23.139 INFO kablam! Compiling serde_json v1.0.4 Oct 14 23:01:23.141 INFO kablam! Compiling serde_yaml v0.7.1 Oct 14 23:01:36.431 INFO kablam! Compiling hyper-tls v0.1.2 Oct 14 23:01:37.783 INFO kablam! Compiling barcode-scanner v0.1.0 (/source) Oct 14 23:01:39.088 INFO kablam! warning: unused import: `Write` Oct 14 23:01:39.088 INFO kablam! --> src/main.rs:16:21 Oct 14 23:01:39.089 INFO kablam! | Oct 14 23:01:39.089 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 14 23:01:39.089 INFO kablam! | ^^^^^ Oct 14 23:01:39.089 INFO kablam! | Oct 14 23:01:39.089 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 23:01:39.089 INFO kablam! Oct 14 23:01:39.219 INFO kablam! warning: value assigned to `s` is never read Oct 14 23:01:39.219 INFO kablam! --> src/main.rs:179:13 Oct 14 23:01:39.219 INFO kablam! | Oct 14 23:01:39.219 INFO kablam! 179 | let mut s = String::new(); Oct 14 23:01:39.219 INFO kablam! | ^ Oct 14 23:01:39.219 INFO kablam! | Oct 14 23:01:39.219 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:01:39.219 INFO kablam! Oct 14 23:01:39.227 INFO kablam! warning: variable does not need to be mutable Oct 14 23:01:39.227 INFO kablam! --> src/main.rs:52:9 Oct 14 23:01:39.227 INFO kablam! | Oct 14 23:01:39.227 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 14 23:01:39.227 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 14 23:01:39.227 INFO kablam! | | Oct 14 23:01:39.227 INFO kablam! | help: remove this `mut` Oct 14 23:01:39.227 INFO kablam! | Oct 14 23:01:39.227 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 23:01:39.227 INFO kablam! Oct 14 23:01:39.239 INFO kablam! warning: variable does not need to be mutable Oct 14 23:01:39.239 INFO kablam! --> src/main.rs:106:9 Oct 14 23:01:39.239 INFO kablam! | Oct 14 23:01:39.239 INFO kablam! 106 | let mut json = r#"{ Oct 14 23:01:39.239 INFO kablam! | ----^^^^ Oct 14 23:01:39.239 INFO kablam! | | Oct 14 23:01:39.239 INFO kablam! | help: remove this `mut` Oct 14 23:01:39.239 INFO kablam! Oct 14 23:01:39.251 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 14 23:01:39.251 INFO kablam! --> src/barcodes.rs:6:9 Oct 14 23:01:39.251 INFO kablam! | Oct 14 23:01:39.251 INFO kablam! 6 | Pharmacode39, Oct 14 23:01:39.251 INFO kablam! | ^^^^^^^^^^^^ Oct 14 23:01:39.251 INFO kablam! | Oct 14 23:01:39.251 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 23:01:39.251 INFO kablam! Oct 14 23:01:39.251 INFO kablam! warning: function is never used: `testRequest` Oct 14 23:01:39.251 INFO kablam! --> src/main.rs:99:1 Oct 14 23:01:39.251 INFO kablam! | Oct 14 23:01:39.251 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 14 23:01:39.251 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:01:39.251 INFO kablam! Oct 14 23:01:39.251 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 14 23:01:39.251 INFO kablam! --> src/main.rs:99:1 Oct 14 23:01:39.251 INFO kablam! | Oct 14 23:01:39.251 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 14 23:01:39.251 INFO kablam! 100 | | let mut core = Core::new()?; Oct 14 23:01:39.251 INFO kablam! 101 | | let handle = core.handle(); Oct 14 23:01:39.251 INFO kablam! 102 | | let client = Client::configure() Oct 14 23:01:39.251 INFO kablam! ... | Oct 14 23:01:39.251 INFO kablam! 146 | | Ok(()) Oct 14 23:01:39.251 INFO kablam! 147 | | } Oct 14 23:01:39.251 INFO kablam! | |_^ Oct 14 23:01:39.251 INFO kablam! | Oct 14 23:01:39.251 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 23:01:39.251 INFO kablam! Oct 14 23:01:41.740 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 57.78s Oct 14 23:01:41.749 INFO kablam! su: No module specific data is present Oct 14 23:01:42.859 INFO running `"docker" "rm" "-f" "564f89dc36ccab873032d97217b2569ec5eceac76801002d9181b1b1316131df"` Oct 14 23:01:43.199 INFO blam! 564f89dc36ccab873032d97217b2569ec5eceac76801002d9181b1b1316131df Oct 14 23:01:43.216 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-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 14 23:01:43.646 INFO blam! ca85a507e1af69982046e9994b36ce00197ee40cd8d193ed1908c8ca6ffe9246 Oct 14 23:01:43.651 INFO running `"docker" "start" "-a" "ca85a507e1af69982046e9994b36ce00197ee40cd8d193ed1908c8ca6ffe9246"` Oct 14 23:01:44.249 INFO kablam! usermod: no changes Oct 14 23:01:44.330 INFO kablam! Compiling barcode-scanner v0.1.0 (/source) Oct 14 23:01:45.611 INFO kablam! warning: unused import: `Write` Oct 14 23:01:45.611 INFO kablam! --> src/main.rs:16:21 Oct 14 23:01:45.612 INFO kablam! | Oct 14 23:01:45.612 INFO kablam! 16 | use std::io::{self, Write, Read, ErrorKind}; Oct 14 23:01:45.612 INFO kablam! | ^^^^^ Oct 14 23:01:45.613 INFO kablam! | Oct 14 23:01:45.613 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 23:01:45.613 INFO kablam! Oct 14 23:01:45.747 INFO kablam! warning: value assigned to `s` is never read Oct 14 23:01:45.747 INFO kablam! --> src/main.rs:179:13 Oct 14 23:01:45.748 INFO kablam! | Oct 14 23:01:45.748 INFO kablam! 179 | let mut s = String::new(); Oct 14 23:01:45.748 INFO kablam! | ^ Oct 14 23:01:45.749 INFO kablam! | Oct 14 23:01:45.749 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:01:45.749 INFO kablam! Oct 14 23:01:45.750 INFO kablam! warning: variable does not need to be mutable Oct 14 23:01:45.750 INFO kablam! --> src/main.rs:52:9 Oct 14 23:01:45.750 INFO kablam! | Oct 14 23:01:45.751 INFO kablam! 52 | let mut openfood_apikey : &str; Oct 14 23:01:45.751 INFO kablam! | ----^^^^^^^^^^^^^^^ Oct 14 23:01:45.751 INFO kablam! | | Oct 14 23:01:45.751 INFO kablam! | help: remove this `mut` Oct 14 23:01:45.752 INFO kablam! | Oct 14 23:01:45.752 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 23:01:45.752 INFO kablam! Oct 14 23:01:45.767 INFO kablam! warning: variable does not need to be mutable Oct 14 23:01:45.768 INFO kablam! --> src/main.rs:106:9 Oct 14 23:01:45.768 INFO kablam! | Oct 14 23:01:45.768 INFO kablam! 106 | let mut json = r#"{ Oct 14 23:01:45.769 INFO kablam! | ----^^^^ Oct 14 23:01:45.769 INFO kablam! | | Oct 14 23:01:45.769 INFO kablam! | help: remove this `mut` Oct 14 23:01:45.769 INFO kablam! Oct 14 23:01:45.783 INFO kablam! warning: variant is never constructed: `Pharmacode39` Oct 14 23:01:45.783 INFO kablam! --> src/barcodes.rs:6:9 Oct 14 23:01:45.784 INFO kablam! | Oct 14 23:01:45.784 INFO kablam! 6 | Pharmacode39, Oct 14 23:01:45.784 INFO kablam! | ^^^^^^^^^^^^ Oct 14 23:01:45.785 INFO kablam! | Oct 14 23:01:45.785 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 23:01:45.785 INFO kablam! Oct 14 23:01:45.785 INFO kablam! warning: function is never used: `testRequest` Oct 14 23:01:45.786 INFO kablam! --> src/main.rs:99:1 Oct 14 23:01:45.786 INFO kablam! | Oct 14 23:01:45.786 INFO kablam! 99 | fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 14 23:01:45.787 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:01:45.787 INFO kablam! Oct 14 23:01:45.787 INFO kablam! warning: function `testRequest` should have a snake case name such as `test_request` Oct 14 23:01:45.787 INFO kablam! --> src/main.rs:99:1 Oct 14 23:01:45.788 INFO kablam! | Oct 14 23:01:45.788 INFO kablam! 99 | / fn testRequest(barcode: &str, key: &str) -> Result<(), Box>{ Oct 14 23:01:45.788 INFO kablam! 100 | | let mut core = Core::new()?; Oct 14 23:01:45.789 INFO kablam! 101 | | let handle = core.handle(); Oct 14 23:01:45.789 INFO kablam! 102 | | let client = Client::configure() Oct 14 23:01:45.789 INFO kablam! ... | Oct 14 23:01:45.790 INFO kablam! 146 | | Ok(()) Oct 14 23:01:45.790 INFO kablam! 147 | | } Oct 14 23:01:45.790 INFO kablam! | |_^ Oct 14 23:01:45.790 INFO kablam! | Oct 14 23:01:45.791 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 14 23:01:45.791 INFO kablam! Oct 14 23:01:46.363 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.09s Oct 14 23:01:46.371 INFO kablam! su: No module specific data is present Oct 14 23:01:47.356 INFO running `"docker" "rm" "-f" "ca85a507e1af69982046e9994b36ce00197ee40cd8d193ed1908c8ca6ffe9246"` Oct 14 23:01:47.775 INFO blam! ca85a507e1af69982046e9994b36ce00197ee40cd8d193ed1908c8ca6ffe9246 Oct 14 23:01:47.788 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-7/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-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 14 23:01:48.252 INFO blam! 9f4188b076b154e293fe657254523c4625ecd5a4e21616c74173b69e98f03a3b Oct 14 23:01:48.254 INFO running `"docker" "start" "-a" "9f4188b076b154e293fe657254523c4625ecd5a4e21616c74173b69e98f03a3b"` Oct 14 23:01:49.771 INFO kablam! usermod: no changes Oct 14 23:01:50.035 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.22s Oct 14 23:01:50.035 INFO kablam! Running /target/debug/deps/barcode_scanner-9df3286818d38041 Oct 14 23:01:50.036 INFO blam! Oct 14 23:01:50.036 INFO blam! running 0 tests Oct 14 23:01:50.036 INFO blam! Oct 14 23:01:50.036 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 14 23:01:50.036 INFO blam! Oct 14 23:01:50.039 INFO kablam! su: No module specific data is present Oct 14 23:01:51.514 INFO running `"docker" "rm" "-f" "9f4188b076b154e293fe657254523c4625ecd5a4e21616c74173b69e98f03a3b"` Oct 14 23:01:51.843 INFO blam! 9f4188b076b154e293fe657254523c4625ecd5a4e21616c74173b69e98f03a3b