[INFO] updating cached repository https://github.com/takatori/rust-coin
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e
[INFO] documenting takatori/rust-coin against beta-2019-09-28 for beta-1.39-rustdoc-1
[INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "work/builds/worker-6/source"`
[INFO] [stderr] Cloning into 'work/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain beta-2019-09-28
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/takatori/rust-coin
[INFO] finished tweaking git repo https://github.com/takatori/rust-coin
[INFO] tweaked toml for git repo https://github.com/takatori/rust-coin written to work/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] a3f4a63b28954fe6b282e0afd123909346e00de7dec78b746ac635b27a2dedfa
[INFO] running `"docker" "start" "-a" "a3f4a63b28954fe6b282e0afd123909346e00de7dec78b746ac635b27a2dedfa"`
[INFO] [stderr]     Checking odds v0.2.25
[INFO] [stderr]    Compiling typenum v1.9.0
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking futures-cpupool v0.1.6
[INFO] [stderr]     Checking serde_json v1.0.3
[INFO] [stderr]     Checking tokio-io v0.1.3
[INFO] [stderr]     Checking mime v0.3.3
[INFO] [stderr]     Checking nodrop v0.1.9
[INFO] [stderr]     Checking tokio-core v0.1.9
[INFO] [stderr]     Checking generic-array v0.8.3
[INFO] [stderr]     Checking block-buffer v0.2.0
[INFO] [stderr]     Checking digest v0.6.2
[INFO] [stderr]     Checking sha2 v0.6.0
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hyper v0.11.2
[INFO] [stderr]  Documenting rust-coin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]   --> src/main.rs:22:30
[INFO] [stderr]    |
[INFO] [stderr] 22 | const HTTP_PORT: i32 = match env::var("HTTP_PORT") {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0019]: constant contains unimplemented expression type
[INFO] [stderr]   --> src/main.rs:22:30
[INFO] [stderr]    |
[INFO] [stderr] 22 | const HTTP_PORT: i32 = match env::var("HTTP_PORT") {
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0019]: constant contains unimplemented expression type
[INFO] [stderr]   --> src/main.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 23 |     Ok(val) => val.parse::<i32>().unwrap(),
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]   --> src/main.rs:27:29
[INFO] [stderr]    |
[INFO] [stderr] 27 | const P2P_PORT: i32 = match env::var("P2P_PORT") {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0019]: constant contains unimplemented expression type
[INFO] [stderr]   --> src/main.rs:27:29
[INFO] [stderr]    |
[INFO] [stderr] 27 | const P2P_PORT: i32 = match env::var("P2P_PORT") {
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0019]: constant contains unimplemented expression type
[INFO] [stderr]   --> src/main.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 28 |     Ok(val) => val.parse::<i32>().unwrap(),
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0010]: allocations are not allowed in statics
[INFO] [stderr]   --> src/main.rs:40:38
[INFO] [stderr]    |
[INFO] [stderr] 40 | static mut block_chain: Vec<Block> = vec![get_genesis_block()];
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^ allocation not allowed in statics
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]   --> src/main.rs:40:43
[INFO] [stderr]    |
[INFO] [stderr] 40 | static mut block_chain: Vec<Block> = vec![get_genesis_block()];
[INFO] [stderr]    |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0019]: static contains unimplemented expression type
[INFO] [stderr]   --> src/main.rs:40:38
[INFO] [stderr]    |
[INFO] [stderr] 40 | static mut block_chain: Vec<Block> = vec![get_genesis_block()];
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants
[INFO] [stderr]   --> src/main.rs:40:38
[INFO] [stderr]    |
[INFO] [stderr] 40 | static mut block_chain: Vec<Block> = vec![get_genesis_block()];
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 10 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0010, E0015, E0019.
[INFO] [stderr] For more information about an error, try `rustc --explain E0010`.
[INFO] [stderr] error: Could not document `rust-coin`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name rust_coin src/main.rs -o /opt/rustwide/target/doc --color never --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern digest=/opt/rustwide/target/debug/deps/libdigest-11bc975ac0c8a69b.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-be144fba4a5c6626.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-cf5788f220a51766.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-e7f222336c130cf5.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-22bab0c94824011c.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e418d6ffee1cb3b3.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-9d5a101639c26548.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-fb2384991d462a3f.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "a3f4a63b28954fe6b282e0afd123909346e00de7dec78b746ac635b27a2dedfa"`
[INFO] running `"docker" "rm" "-f" "a3f4a63b28954fe6b282e0afd123909346e00de7dec78b746ac635b27a2dedfa"`
[INFO] [stdout] a3f4a63b28954fe6b282e0afd123909346e00de7dec78b746ac635b27a2dedfa
