[INFO] updating cached repository https://github.com/takatori/rust-coin
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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 /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-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" "+1.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 99c980e71fb5102454b196cf439728f0d8a44c07b192a87925023d747f9b47ab
[INFO] running `"docker" "start" "-a" "99c980e71fb5102454b196cf439728f0d8a44c07b192a87925023d747f9b47ab"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking futures v0.1.16
[INFO] [stderr]     Checking odds v0.2.25
[INFO] [stderr]     Checking lazycell v0.5.1
[INFO] [stderr]     Checking scoped-tls v0.1.0
[INFO] [stderr]     Checking serde v1.0.15
[INFO] [stderr]     Checking iovec v0.1.0
[INFO] [stderr]     Checking num_cpus v1.6.2
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]    Compiling unicase v2.0.0
[INFO] [stderr]    Compiling serde_derive_internals v0.16.0
[INFO] [stderr]     Checking bytes v0.4.5
[INFO] [stderr]     Checking nodrop v0.1.9
[INFO] [stderr]     Checking generic-array v0.8.3
[INFO] [stderr]     Checking mio v0.6.10
[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 mime v0.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.15
[INFO] [stderr]     Checking tokio-io v0.1.3
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking futures-cpupool v0.1.6
[INFO] [stderr]     Checking tokio-core v0.1.9
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hyper v0.11.2
[INFO] [stderr]     Checking serde_json v1.0.3
[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 --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern digest=/opt/rustwide/target/debug/deps/libdigest-264f61a24b7c27a7.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-a2093d49145b4f3f.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-429caedd063569bc.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-315f3bd39a4a93aa.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-1439978782a87c92.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-46d2ca4a4ffc31fc.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-48d2de610b1f4be6.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-daa523dbea7ae3ba.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "99c980e71fb5102454b196cf439728f0d8a44c07b192a87925023d747f9b47ab"`
[INFO] running `"docker" "rm" "-f" "99c980e71fb5102454b196cf439728f0d8a44c07b192a87925023d747f9b47ab"`
[INFO] [stdout] 99c980e71fb5102454b196cf439728f0d8a44c07b192a87925023d747f9b47ab
