[INFO] updating cached repository chengli1986/571b [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/chengli1986/571b [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/chengli1986/571b" "work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/chengli1986/571b" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/chengli1986/571b"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/chengli1986/571b'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5a313ccc0f20adc2291b9cc5f5361cc9b58ff892 [INFO] sha for GitHub repo chengli1986/571b: 5a313ccc0f20adc2291b9cc5f5361cc9b58ff892 [INFO] validating manifest of chengli1986/571b on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of chengli1986/571b on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing chengli1986/571b [INFO] finished frobbing chengli1986/571b [INFO] frobbed toml for chengli1986/571b written to work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b/Cargo.toml [INFO] started frobbing chengli1986/571b [INFO] finished frobbing chengli1986/571b [INFO] frobbed toml for chengli1986/571b written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/chengli1986/571b/Cargo.toml [INFO] crate chengli1986/571b already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing chengli1986/571b against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] d0924313b927a5c3b3d83543baa2e799c3d257a762a9b354bae7a843645e12ed [INFO] running `"docker" "start" "-a" "d0924313b927a5c3b3d83543baa2e799c3d257a762a9b354bae7a843645e12ed"` [INFO] [stderr] Compiling mmap v0.1.1 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling COST v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | for _ in (0..count) { [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 `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | for x in (0u32..256) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:249:22 [INFO] [stderr] | [INFO] [stderr] 249 | for y in (0u32..256) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:271:18 [INFO] [stderr] | [INFO] [stderr] 271 | for i in (0 .. 4) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:287:22 [INFO] [stderr] | [INFO] [stderr] 287 | for log_s in (0u32 .. 4) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:310:22 [INFO] [stderr] | [INFO] [stderr] 310 | for log_s_rev in (0 .. 32) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:323:18 [INFO] [stderr] | [INFO] [stderr] 323 | for log_s in (0 .. 32) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:166:23 [INFO] [stderr] | [INFO] [stderr] 166 | for _iteration in (0 .. 20) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:168:21 [INFO] [stderr] | [INFO] [stderr] 168 | for node in (0 .. nodes) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | for i in (0 .. roots.len()) { if i as u32 != roots[i] { non_roots += 1; }} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:237:14 [INFO] [stderr] | [INFO] [stderr] 237 | for i in (0 .. label.len()) { if i as u32 != label[i] { non_roots += 1; }} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: crate `COST` 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: `cost` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.39s [INFO] running `"docker" "inspect" "d0924313b927a5c3b3d83543baa2e799c3d257a762a9b354bae7a843645e12ed"` [INFO] running `"docker" "rm" "-f" "d0924313b927a5c3b3d83543baa2e799c3d257a762a9b354bae7a843645e12ed"` [INFO] [stdout] d0924313b927a5c3b3d83543baa2e799c3d257a762a9b354bae7a843645e12ed [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b:/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] bfc4a4c9fd53b9b5381cf163a85e42a6c6c2cfa2bd5f2114997a28554c2cdb0a [INFO] running `"docker" "start" "-a" "bfc4a4c9fd53b9b5381cf163a85e42a6c6c2cfa2bd5f2114997a28554c2cdb0a"` [INFO] [stderr] Compiling COST v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `std::cmp::max` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::cmp::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | for _ in (0..count) { [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 `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | for x in (0u32..256) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:249:22 [INFO] [stderr] | [INFO] [stderr] 249 | for y in (0u32..256) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:271:18 [INFO] [stderr] | [INFO] [stderr] 271 | for i in (0 .. 4) { [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:287:22 [INFO] [stderr] | [INFO] [stderr] 287 | for log_s in (0u32 .. 4) { [INFO] [stderr] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:310:22 [INFO] [stderr] | [INFO] [stderr] 310 | for log_s_rev in (0 .. 32) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/hilbert_curve.rs:323:18 [INFO] [stderr] | [INFO] [stderr] 323 | for log_s in (0 .. 32) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:166:23 [INFO] [stderr] | [INFO] [stderr] 166 | for _iteration in (0 .. 20) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:168:21 [INFO] [stderr] | [INFO] [stderr] 168 | for node in (0 .. nodes) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | for i in (0 .. roots.len()) { if i as u32 != roots[i] { non_roots += 1; }} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:237:14 [INFO] [stderr] | [INFO] [stderr] 237 | for i in (0 .. label.len()) { if i as u32 != label[i] { non_roots += 1; }} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: crate `COST` 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: `cost` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `"docker" "inspect" "bfc4a4c9fd53b9b5381cf163a85e42a6c6c2cfa2bd5f2114997a28554c2cdb0a"` [INFO] running `"docker" "rm" "-f" "bfc4a4c9fd53b9b5381cf163a85e42a6c6c2cfa2bd5f2114997a28554c2cdb0a"` [INFO] [stdout] bfc4a4c9fd53b9b5381cf163a85e42a6c6c2cfa2bd5f2114997a28554c2cdb0a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/chengli1986/571b:/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 87d71654713bfedbdb353592e0912345ec910059a7acf032e761210df689b880 [INFO] running `"docker" "start" "-a" "87d71654713bfedbdb353592e0912345ec910059a7acf032e761210df689b880"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/crater/target/debug/deps/COST-368a00cd6e4910d5 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test hilbert_curve::test_encode_decode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "87d71654713bfedbdb353592e0912345ec910059a7acf032e761210df689b880"` [INFO] running `"docker" "rm" "-f" "87d71654713bfedbdb353592e0912345ec910059a7acf032e761210df689b880"` [INFO] [stdout] 87d71654713bfedbdb353592e0912345ec910059a7acf032e761210df689b880