[INFO] updating cached repository huangqian/rust-in-action [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/huangqian/rust-in-action [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/huangqian/rust-in-action" "work/ex/beta-1.37-6/sources/1.36.0/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/huangqian/rust-in-action'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/huangqian/rust-in-action" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/huangqian/rust-in-action'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f0233f0ce6a5479c8760f7df5e88f818c19d400f [INFO] sha for GitHub repo huangqian/rust-in-action: f0233f0ce6a5479c8760f7df5e88f818c19d400f [INFO] validating manifest of huangqian/rust-in-action 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 huangqian/rust-in-action 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 huangqian/rust-in-action [INFO] removed 0 missing examples [INFO] finished frobbing huangqian/rust-in-action [INFO] frobbed toml for huangqian/rust-in-action written to work/ex/beta-1.37-6/sources/1.36.0/gh/huangqian/rust-in-action/Cargo.toml [INFO] started frobbing huangqian/rust-in-action [INFO] removed 0 missing examples [INFO] finished frobbing huangqian/rust-in-action [INFO] frobbed toml for huangqian/rust-in-action written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/huangqian/rust-in-action/Cargo.toml [INFO] crate huangqian/rust-in-action 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] testing huangqian/rust-in-action 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-4/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/huangqian/rust-in-action:/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] 25670418f36da299946ab889c415951dbd49a4c03e650174308ba062aa584666 [INFO] running `"docker" "start" "-a" "25670418f36da299946ab889c415951dbd49a4c03e650174308ba062aa584666"` [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling atoi v0.3.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling combine v3.5.2 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling twox-hash v1.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling mysql_common v0.15.0 [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `user1` [INFO] [stderr] --> src/main.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let user1 = User{ [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_user1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `User` [INFO] [stderr] --> src/main.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | struct User{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `struct_example` [INFO] [stderr] --> src/main.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | fn struct_example(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `"docker" "inspect" "25670418f36da299946ab889c415951dbd49a4c03e650174308ba062aa584666"` [INFO] running `"docker" "rm" "-f" "25670418f36da299946ab889c415951dbd49a4c03e650174308ba062aa584666"` [INFO] [stdout] 25670418f36da299946ab889c415951dbd49a4c03e650174308ba062aa584666 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/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/huangqian/rust-in-action:/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] 31bf9b9cee37f3e6b7204d0a4c189a673a45df41ef92b63be02caf61abc07ce8 [INFO] running `"docker" "start" "-a" "31bf9b9cee37f3e6b7204d0a4c189a673a45df41ef92b63be02caf61abc07ce8"` [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `user1` [INFO] [stderr] --> src/main.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | let user1 = User{ [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_user1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `User` [INFO] [stderr] --> src/main.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | struct User{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `struct_example` [INFO] [stderr] --> src/main.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | fn struct_example(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `while_case` [INFO] [stderr] --> examples/loop.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | fn while_case(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `while_demo_2` [INFO] [stderr] --> examples/loop.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | fn while_demo_2(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f2` [INFO] [stderr] --> examples/copy.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let f2 = f1; [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_f2` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `borrow` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `examples/borrow.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: Could not compile `rust-in-action`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "31bf9b9cee37f3e6b7204d0a4c189a673a45df41ef92b63be02caf61abc07ce8"` [INFO] running `"docker" "rm" "-f" "31bf9b9cee37f3e6b7204d0a4c189a673a45df41ef92b63be02caf61abc07ce8"` [INFO] [stdout] 31bf9b9cee37f3e6b7204d0a4c189a673a45df41ef92b63be02caf61abc07ce8