[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 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-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] e4899ecacf905198f73ad118208c0e002af4501de677615bd53a911fde89f7b2 [INFO] running `"docker" "start" "-a" "e4899ecacf905198f73ad118208c0e002af4501de677615bd53a911fde89f7b2"` [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling base64 v0.10.1 [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 nix v0.12.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling atoi v0.3.1 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling combine v3.5.2 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling regex v1.0.6 [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 13s [INFO] running `"docker" "inspect" "e4899ecacf905198f73ad118208c0e002af4501de677615bd53a911fde89f7b2"` [INFO] running `"docker" "rm" "-f" "e4899ecacf905198f73ad118208c0e002af4501de677615bd53a911fde89f7b2"` [INFO] [stdout] e4899ecacf905198f73ad118208c0e002af4501de677615bd53a911fde89f7b2 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] ec3c7ef1a145181bc722ad0d2d93a179ffcea563dd1e8197916aad24b6788627 [INFO] running `"docker" "start" "-a" "ec3c7ef1a145181bc722ad0d2d93a179ffcea563dd1e8197916aad24b6788627"` [INFO] [stderr] Compiling rust-in-action v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `box` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `examples/box.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: enum is never used: `IpAddrKind` [INFO] [stderr] --> examples/enums.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | enum IpAddrKind{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [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] warning: unused variable: `one` [INFO] [stderr] --> examples/match.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let one = increment(None); [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_one` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Alabama` [INFO] [stderr] --> examples/match.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Alabama, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Nickel` [INFO] [stderr] --> examples/match.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | Nickel, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dime` [INFO] [stderr] --> examples/match.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | Dime, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "ec3c7ef1a145181bc722ad0d2d93a179ffcea563dd1e8197916aad24b6788627"` [INFO] running `"docker" "rm" "-f" "ec3c7ef1a145181bc722ad0d2d93a179ffcea563dd1e8197916aad24b6788627"` [INFO] [stdout] ec3c7ef1a145181bc722ad0d2d93a179ffcea563dd1e8197916aad24b6788627