[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.38-1/sources/1.37.0/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.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 huangqian/rust-in-action 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 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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing huangqian/rust-in-action against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] a643f2fe399af0dbe77e80518c892b0605114c327f1d9dc0a83be11e04db0750 [INFO] running `"docker" "start" "-a" "a643f2fe399af0dbe77e80518c892b0605114c327f1d9dc0a83be11e04db0750"` [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling nix v0.12.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 aho-corasick v0.6.9 [INFO] [stderr] Compiling combine v3.5.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling sha2 v0.8.0 [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 mysql_common v0.15.0 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [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 13s [INFO] running `"docker" "inspect" "a643f2fe399af0dbe77e80518c892b0605114c327f1d9dc0a83be11e04db0750"` [INFO] running `"docker" "rm" "-f" "a643f2fe399af0dbe77e80518c892b0605114c327f1d9dc0a83be11e04db0750"` [INFO] [stdout] a643f2fe399af0dbe77e80518c892b0605114c327f1d9dc0a83be11e04db0750 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 040b43c8109171dc53afedd985ef38bfc10f16e253a4d2409a74107ce66352c8 [INFO] running `"docker" "start" "-a" "040b43c8109171dc53afedd985ef38bfc10f16e253a4d2409a74107ce66352c8"` [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `s2` [INFO] [stderr] --> examples/ownership.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | let s2 = s1; [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_s2` [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] warning: unused variable: `black` [INFO] [stderr] --> examples/structs.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | let black = Color(0, 0, 0); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_black` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin` [INFO] [stderr] --> examples/structs.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | let origin = Point(0, 0, 0); [INFO] [stderr] | ^^^^^^ help: consider prefixing with an underscore: `_origin` [INFO] [stderr] [INFO] [stderr] warning: method is never used: `can_hold` [INFO] [stderr] --> examples/structs.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | fn can_hold(&self, other: &Rectangle) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "040b43c8109171dc53afedd985ef38bfc10f16e253a4d2409a74107ce66352c8"` [INFO] running `"docker" "rm" "-f" "040b43c8109171dc53afedd985ef38bfc10f16e253a4d2409a74107ce66352c8"` [INFO] [stdout] 040b43c8109171dc53afedd985ef38bfc10f16e253a4d2409a74107ce66352c8