[INFO] updating cached repository rupsis/rust-db [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/rupsis/rust-db [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/rupsis/rust-db" "work/ex/beta-1.37-6/sources/1.36.0/gh/rupsis/rust-db"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/rupsis/rust-db'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/rupsis/rust-db" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 241ef0b10658f1337b056e27c5dfc6cedb971e1d [INFO] sha for GitHub repo rupsis/rust-db: 241ef0b10658f1337b056e27c5dfc6cedb971e1d [INFO] validating manifest of rupsis/rust-db on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rupsis/rust-db on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rupsis/rust-db [INFO] finished frobbing rupsis/rust-db [INFO] frobbed toml for rupsis/rust-db written to work/ex/beta-1.37-6/sources/1.36.0/gh/rupsis/rust-db/Cargo.toml [INFO] started frobbing rupsis/rust-db [INFO] finished frobbing rupsis/rust-db [INFO] frobbed toml for rupsis/rust-db written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db/Cargo.toml [INFO] crate rupsis/rust-db already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing rupsis/rust-db against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db:/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 3ff7b84b85532e6c243411113f4e911a411de3fa401d0ad7966b3ce3d00bad46 [INFO] running `"docker" "start" "-a" "3ff7b84b85532e6c243411113f4e911a411de3fa401d0ad7966b3ce3d00bad46"` [INFO] [stderr] Compiling rust_DB v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | if (command == ".exit"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | if(command == "insert"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:45:7 [INFO] [stderr] | [INFO] [stderr] 45 | if(command == "select"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | while(true){ [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | if(&user_input[0..1] == "."){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MetaCommandSuccess` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | MetaCommandSuccess, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: crate `rust_DB` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] = help: convert the identifier to snake case: `rust_db` [INFO] [stderr] [INFO] [stderr] warning: structure field `statementType` should have a snake case name [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | statementType: StatementTypes, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_type` [INFO] [stderr] [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | while(true){ [INFO] [stderr] | ^^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(while_true)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `"docker" "inspect" "3ff7b84b85532e6c243411113f4e911a411de3fa401d0ad7966b3ce3d00bad46"` [INFO] running `"docker" "rm" "-f" "3ff7b84b85532e6c243411113f4e911a411de3fa401d0ad7966b3ce3d00bad46"` [INFO] [stdout] 3ff7b84b85532e6c243411113f4e911a411de3fa401d0ad7966b3ce3d00bad46 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db:/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] bd474dbf0ba1c83b52ae646f1da87565225e7504b63f1c790cd3ebd3b61dadbb [INFO] running `"docker" "start" "-a" "bd474dbf0ba1c83b52ae646f1da87565225e7504b63f1c790cd3ebd3b61dadbb"` [INFO] [stderr] Compiling rust_DB v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | if (command == ".exit"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:40:7 [INFO] [stderr] | [INFO] [stderr] 40 | if(command == "insert"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:45:7 [INFO] [stderr] | [INFO] [stderr] 45 | if(command == "select"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | while(true){ [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | if(&user_input[0..1] == "."){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MetaCommandSuccess` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | MetaCommandSuccess, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: crate `rust_DB` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] = help: convert the identifier to snake case: `rust_db` [INFO] [stderr] [INFO] [stderr] warning: structure field `statementType` should have a snake case name [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | statementType: StatementTypes, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `statement_type` [INFO] [stderr] [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/main.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | while(true){ [INFO] [stderr] | ^^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(while_true)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `"docker" "inspect" "bd474dbf0ba1c83b52ae646f1da87565225e7504b63f1c790cd3ebd3b61dadbb"` [INFO] running `"docker" "rm" "-f" "bd474dbf0ba1c83b52ae646f1da87565225e7504b63f1c790cd3ebd3b61dadbb"` [INFO] [stdout] bd474dbf0ba1c83b52ae646f1da87565225e7504b63f1c790cd3ebd3b61dadbb [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/rupsis/rust-db:/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] 9e5ea71b2cfa8205be3d8d51b490ef73a680c4e44324dd8c1d2fd164e5adccfc [INFO] running `"docker" "start" "-a" "9e5ea71b2cfa8205be3d8d51b490ef73a680c4e44324dd8c1d2fd164e5adccfc"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/rust_DB-01a39255ab388240 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "9e5ea71b2cfa8205be3d8d51b490ef73a680c4e44324dd8c1d2fd164e5adccfc"` [INFO] running `"docker" "rm" "-f" "9e5ea71b2cfa8205be3d8d51b490ef73a680c4e44324dd8c1d2fd164e5adccfc"` [INFO] [stdout] 9e5ea71b2cfa8205be3d8d51b490ef73a680c4e44324dd8c1d2fd164e5adccfc