[INFO] cloning repository https://github.com/takatori/rust-coin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takatori/rust-coin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93076f35aca5a0a5c849c8bfcbce0fa0c8c2386e [INFO] documenting takatori/rust-coin against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakatori%2Frust-coin" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takatori/rust-coin on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/takatori/rust-coin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9917606e6b2f4d75bd0c8762ff746bde584499cec7225014ae9e056e3de03265 [INFO] running `Command { std: "docker" "start" "-a" "9917606e6b2f4d75bd0c8762ff746bde584499cec7225014ae9e056e3de03265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9917606e6b2f4d75bd0c8762ff746bde584499cec7225014ae9e056e3de03265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9917606e6b2f4d75bd0c8762ff746bde584499cec7225014ae9e056e3de03265", kill_on_drop: false }` [INFO] [stdout] 9917606e6b2f4d75bd0c8762ff746bde584499cec7225014ae9e056e3de03265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48e556ec96435ccfa7f645fe6663beb9adde29df0a65302fdb0d5bfbac9d5e6b [INFO] running `Command { std: "docker" "start" "-a" "48e556ec96435ccfa7f645fe6663beb9adde29df0a65302fdb0d5bfbac9d5e6b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.30 [INFO] [stderr] Checking futures v0.1.16 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking odds v0.2.25 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking httparse v1.2.3 [INFO] [stderr] Checking percent-encoding v1.0.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking serde v1.0.15 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking nodrop v0.1.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.10 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Checking mime v0.3.3 [INFO] [stderr] Checking generic-array v0.8.3 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking block-buffer v0.2.0 [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 sha2 v0.6.0 [INFO] [stderr] Checking tokio-core v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.15 [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] [stdout] error[E0658]: `match` is not allowed in a `const` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | const HTTP_PORT: i32 = match env::var("HTTP_PORT") { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | Ok(val) => val.parse::().unwrap(), [INFO] [stdout] 24 | | Err(e) => 3001, [INFO] [stdout] 25 | | }; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `match` is not allowed in a `const` [INFO] [stdout] --> src/main.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | const P2P_PORT: i32 = match env::var("P2P_PORT") { [INFO] [stdout] | _______________________^ [INFO] [stdout] 28 | | Ok(val) => val.parse::().unwrap(), [INFO] [stdout] 29 | | Err(e) => 6001, [INFO] [stdout] 30 | | }; [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49146 for more information [INFO] [stdout] = help: add `#![feature(const_if_match)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [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-1e87c97111135d0b.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-fa6d5d97096bfa7c.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-bf22f3a99d59f4ca.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-391743f9ca2caf80.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-fe49869f36656d56.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-ef4aff8d97b2668d.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-d60109ade5af190d.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-024ccca7ae5cd287.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "48e556ec96435ccfa7f645fe6663beb9adde29df0a65302fdb0d5bfbac9d5e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e556ec96435ccfa7f645fe6663beb9adde29df0a65302fdb0d5bfbac9d5e6b", kill_on_drop: false }` [INFO] [stdout] 48e556ec96435ccfa7f645fe6663beb9adde29df0a65302fdb0d5bfbac9d5e6b