[INFO] updating cached repository rickyhan/tectonicdb [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rickyhan/tectonicdb [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rickyhan/tectonicdb" "work/ex/clippy-test-run/sources/stable/gh/rickyhan/tectonicdb"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/rickyhan/tectonicdb'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rickyhan/tectonicdb" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/rickyhan/tectonicdb"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/rickyhan/tectonicdb'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 23274c0e2f15c88e384829215f934738ea55a943 [INFO] sha for GitHub repo rickyhan/tectonicdb: 23274c0e2f15c88e384829215f934738ea55a943 [INFO] validating manifest of rickyhan/tectonicdb on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rickyhan/tectonicdb on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rickyhan/tectonicdb [INFO] finished frobbing rickyhan/tectonicdb [INFO] frobbed toml for rickyhan/tectonicdb written to work/ex/clippy-test-run/sources/stable/gh/rickyhan/tectonicdb/Cargo.toml [INFO] started frobbing rickyhan/tectonicdb [INFO] finished frobbing rickyhan/tectonicdb [INFO] frobbed toml for rickyhan/tectonicdb written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/rickyhan/tectonicdb/Cargo.toml [INFO] crate rickyhan/tectonicdb has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting rickyhan/tectonicdb against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/rickyhan/tectonicdb:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ea5fe15779c9d67137d70c408cdbc178950c17372f0c445bc397516e7af0d6f4 [INFO] running `"docker" "start" "-a" "ea5fe15779c9d67137d70c408cdbc178950c17372f0c445bc397516e7af0d6f4"` [INFO] [stderr] warning: unused manifest key: bin.2.publish [INFO] [stderr] warning: unused manifest key: bin.3.publish [INFO] [stderr] warning: unused manifest key: bin.4.publish [INFO] [stderr] warning: unused manifest key: lib.repository [INFO] [stderr] warning: unused manifest key: lib.version [INFO] [stderr] warning: unused manifest key: package.category [INFO] [stderr] Checking circular-queue v0.2.0 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.31 [INFO] [stderr] Checking fern v0.5.5 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.4.1 [INFO] [stderr] Checking mio-uds v0.6.6 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.5.2 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking tokio-signal v0.2.1 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Checking csv v1.0.0 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking config v0.6.0 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Checking tokio v0.1.6 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking reqwest v0.8.6 [INFO] [stderr] Checking tectonicdb v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let _ = write!(f, "bids: \n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:45:21 [INFO] [stderr] | [INFO] [stderr] 45 | let _ = write!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 46 | | f, [INFO] [stderr] 47 | | "- price: {} \t - size: {} \n", [INFO] [stderr] 48 | | f64::from_bits(price), [INFO] [stderr] 49 | | size [INFO] [stderr] 50 | | ); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | let _ = write!(f, "\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | let _ = write!(f, "asks: \n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:56:21 [INFO] [stderr] | [INFO] [stderr] 56 | let _ = write!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 57 | | f, [INFO] [stderr] 58 | | "- price: {} \t - size: {} \n", [INFO] [stderr] 59 | | f64::from_bits(price), [INFO] [stderr] 60 | | size [INFO] [stderr] 61 | | ); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | write!(f, "\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | price_hist: price_hist, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `price_hist` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | let _ = write!(f, "ts: {}\n", f64::from_bits(ts)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:186:21 [INFO] [stderr] | [INFO] [stderr] 186 | let _ = write!(f, "{:?}\n", ob); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/postprocessing/histogram.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | cached_bigram: cached_bigram, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `cached_bigram` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:194:21 [INFO] [stderr] | [INFO] [stderr] 194 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/client/pool.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | queue: queue, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `queue` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let _ = write!(f, "bids: \n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:45:21 [INFO] [stderr] | [INFO] [stderr] 45 | let _ = write!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 46 | | f, [INFO] [stderr] 47 | | "- price: {} \t - size: {} \n", [INFO] [stderr] 48 | | f64::from_bits(price), [INFO] [stderr] 49 | | size [INFO] [stderr] 50 | | ); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | let _ = write!(f, "\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | let _ = write!(f, "asks: \n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:56:21 [INFO] [stderr] | [INFO] [stderr] 56 | let _ = write!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 57 | | f, [INFO] [stderr] 58 | | "- price: {} \t - size: {} \n", [INFO] [stderr] 59 | | f64::from_bits(price), [INFO] [stderr] 60 | | size [INFO] [stderr] 61 | | ); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | write!(f, "\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | price_hist: price_hist, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `price_hist` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:185:21 [INFO] [stderr] | [INFO] [stderr] 185 | let _ = write!(f, "ts: {}\n", f64::from_bits(ts)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/lib/postprocessing/orderbook.rs:186:21 [INFO] [stderr] | [INFO] [stderr] 186 | let _ = write!(f, "{:?}\n", ob); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/postprocessing/histogram.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | cached_bigram: cached_bigram, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `cached_bigram` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:71:21 [INFO] [stderr] | [INFO] [stderr] 71 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/dtf/ffi.rs:194:21 [INFO] [stderr] | [INFO] [stderr] 194 | Slice { ptr: p, len: len } [INFO] [stderr] | ^^^^^^^^ help: replace it with: `len` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib/client/pool.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | queue: queue, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `queue` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(libc)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `tectonicdb`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(libc)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `tectonicdb`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ea5fe15779c9d67137d70c408cdbc178950c17372f0c445bc397516e7af0d6f4"` [INFO] running `"docker" "rm" "-f" "ea5fe15779c9d67137d70c408cdbc178950c17372f0c445bc397516e7af0d6f4"` [INFO] [stdout] ea5fe15779c9d67137d70c408cdbc178950c17372f0c445bc397516e7af0d6f4