[INFO] updating cached repository udel-cbcb/iptmnet_data_importer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/udel-cbcb/iptmnet_data_importer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/udel-cbcb/iptmnet_data_importer" "work/ex/clippy-test-run/sources/stable/gh/udel-cbcb/iptmnet_data_importer"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/udel-cbcb/iptmnet_data_importer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/udel-cbcb/iptmnet_data_importer" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/udel-cbcb/iptmnet_data_importer"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/udel-cbcb/iptmnet_data_importer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d6342b78ae99785478285a0d60c32c7f46d50011 [INFO] sha for GitHub repo udel-cbcb/iptmnet_data_importer: d6342b78ae99785478285a0d60c32c7f46d50011 [INFO] validating manifest of udel-cbcb/iptmnet_data_importer 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 udel-cbcb/iptmnet_data_importer 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 udel-cbcb/iptmnet_data_importer [INFO] finished frobbing udel-cbcb/iptmnet_data_importer [INFO] frobbed toml for udel-cbcb/iptmnet_data_importer written to work/ex/clippy-test-run/sources/stable/gh/udel-cbcb/iptmnet_data_importer/Cargo.toml [INFO] started frobbing udel-cbcb/iptmnet_data_importer [INFO] finished frobbing udel-cbcb/iptmnet_data_importer [INFO] frobbed toml for udel-cbcb/iptmnet_data_importer written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/udel-cbcb/iptmnet_data_importer/Cargo.toml [INFO] crate udel-cbcb/iptmnet_data_importer 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 udel-cbcb/iptmnet_data_importer against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/udel-cbcb/iptmnet_data_importer:/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] fc938b24c82d7cb24cf4ff3c9c521b7ea8f5121d9d6a9a8549c6373b827f3047 [INFO] running `"docker" "start" "-a" "fc938b24c82d7cb24cf4ff3c9c521b7ea8f5121d9d6a9a8549c6373b827f3047"` [INFO] [stderr] Checking fallible-iterator v0.1.4 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking socket2 v0.3.4 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking clap v2.31.1 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking sha2 v0.7.0 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking regex v1.0.1 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking simplelog v0.5.0 [INFO] [stderr] Checking postgres-shared v0.4.1 [INFO] [stderr] Checking env_logger v0.5.10 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking iptmnet_data_importer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> src/main.rs:640:1 [INFO] [stderr] | [INFO] [stderr] 640 | / fn drop_index(conn: &Connection) { [INFO] [stderr] 641 | | //uniprot_id index [INFO] [stderr] 642 | | log("DROPPING uniprot_id index..."); [INFO] [stderr] 643 | | let uniprot_id_index_result = conn.execute("DROP INDEX if exists uniprot_id_idx",&[]); [INFO] [stderr] ... | [INFO] [stderr] 822 | | } [INFO] [stderr] 823 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> src/main.rs:825:1 [INFO] [stderr] | [INFO] [stderr] 825 | / fn create_index(conn: &Connection) { [INFO] [stderr] 826 | | //uniprot_id index [INFO] [stderr] 827 | | log("CREATING uniprot_id index..."); [INFO] [stderr] 828 | | let uniprot_id_index_result = conn.execute("CREATE INDEX uniprot_id_idx on MV_ENTRY (uniprot_id)",&[]); [INFO] [stderr] ... | [INFO] [stderr] 1006 | | } [INFO] [stderr] 1007 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> src/main.rs:640:1 [INFO] [stderr] | [INFO] [stderr] 640 | / fn drop_index(conn: &Connection) { [INFO] [stderr] 641 | | //uniprot_id index [INFO] [stderr] 642 | | log("DROPPING uniprot_id index..."); [INFO] [stderr] 643 | | let uniprot_id_index_result = conn.execute("DROP INDEX if exists uniprot_id_idx",&[]); [INFO] [stderr] ... | [INFO] [stderr] 822 | | } [INFO] [stderr] 823 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> src/main.rs:825:1 [INFO] [stderr] | [INFO] [stderr] 825 | / fn create_index(conn: &Connection) { [INFO] [stderr] 826 | | //uniprot_id index [INFO] [stderr] 827 | | log("CREATING uniprot_id index..."); [INFO] [stderr] 828 | | let uniprot_id_index_result = conn.execute("CREATE INDEX uniprot_id_idx on MV_ENTRY (uniprot_id)",&[]); [INFO] [stderr] ... | [INFO] [stderr] 1006 | | } [INFO] [stderr] 1007 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.00s [INFO] running `"docker" "inspect" "fc938b24c82d7cb24cf4ff3c9c521b7ea8f5121d9d6a9a8549c6373b827f3047"` [INFO] running `"docker" "rm" "-f" "fc938b24c82d7cb24cf4ff3c9c521b7ea8f5121d9d6a9a8549c6373b827f3047"` [INFO] [stdout] fc938b24c82d7cb24cf4ff3c9c521b7ea8f5121d9d6a9a8549c6373b827f3047