[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/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/huangqian/rust-in-action'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/huangqian/rust-in-action" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/huangqian/rust-in-action"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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 master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of huangqian/rust-in-action on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "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/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking huangqian/rust-in-action against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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=forbid" "-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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0fb720c91700ed0abfeca4898744dd58ebfcef2ea9c54daa26395ec72bbd759a [INFO] running `"docker" "start" "-a" "0fb720c91700ed0abfeca4898744dd58ebfcef2ea9c54daa26395ec72bbd759a"` [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Checking uuid v0.7.2 [INFO] [stderr] Compiling mysql v15.1.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking nix v0.12.0 [INFO] [stderr] Checking memchr v2.1.0 [INFO] [stderr] Checking miniz-sys v0.1.11 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking combine v3.5.2 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking regex v1.0.6 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking parking_lot_core v0.3.1 [INFO] [stderr] Checking twox-hash v1.1.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.6 [INFO] [stderr] Checking mysql_common v0.15.0 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking redis v0.10.0 [INFO] [stderr] Checking rust-in-action v0.1.0 (/opt/crater/workdir) [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: 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: `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] 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 `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] 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 `#[macro_use]` import [INFO] [stderr] --> examples/mysql.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OptsBuilder`, `Opts`, `Pool`, `Value`, `from_value` [INFO] [stderr] --> examples/mysql.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use mysql::{from_value, Opts, OptsBuilder, Pool, Value}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `mysql` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `examples/mysql.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: `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: `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: unused `#[macro_use]` import [INFO] [stderr] --> examples/redis.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Commands`, `PipelineCommands` [INFO] [stderr] --> examples/redis.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use redis::{Commands, PipelineCommands}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `redis` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `examples/redis.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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0fb720c91700ed0abfeca4898744dd58ebfcef2ea9c54daa26395ec72bbd759a"` [INFO] running `"docker" "rm" "-f" "0fb720c91700ed0abfeca4898744dd58ebfcef2ea9c54daa26395ec72bbd759a"` [INFO] [stdout] 0fb720c91700ed0abfeca4898744dd58ebfcef2ea9c54daa26395ec72bbd759a