[INFO] updating cached repository https://github.com/csunny/learning_rust
[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] 4426de60c7dec21a0f3918fb2037e06aca62945f
[INFO] documenting csunny/learning_rust against beta-2019-12-18 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsunny%2Flearning_rust" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/csunny/learning_rust on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/csunny/learning_rust
[INFO] finished tweaking git repo https://github.com/csunny/learning_rust
[INFO] tweaked toml for git repo https://github.com/csunny/learning_rust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/csunny/learning_rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2019-12-18" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] 10ff3a3736cb0253ab9934c7dff12947c7a035118b596825079675a301387994
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "10ff3a3736cb0253ab9934c7dff12947c7a035118b596825079675a301387994"`
[INFO] [stderr]    Compiling backtrace-sys v0.1.30
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking backtrace v0.3.32
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking ferris-says v0.1.1
[INFO] [stderr]  Documenting learning_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: expected item after attributes
[INFO] [stderr]  --> src/lib.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[cfg(test)]
[INFO] [stderr]   |            ^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] error: Could not document `learning_rust`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name learning_rust src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern ferris_says=/opt/rustwide/target/debug/deps/libferris_says-618c17ea47e2d065.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-66fd089272a5caf1.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "10ff3a3736cb0253ab9934c7dff12947c7a035118b596825079675a301387994"`
[INFO] running `"docker" "rm" "-f" "10ff3a3736cb0253ab9934c7dff12947c7a035118b596825079675a301387994"`
[INFO] [stdout] 10ff3a3736cb0253ab9934c7dff12947c7a035118b596825079675a301387994
