[INFO] updating cached repository https://github.com/foundoulis/market_sim
[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] 5fc832f33e3031d30390ec9b8faadb2054787eef
[INFO] documenting foundoulis/market_sim against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoundoulis%2Fmarket_sim" "/workspace/builds/worker-11/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/foundoulis/market_sim 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/foundoulis/market_sim
[INFO] finished tweaking git repo https://github.com/foundoulis/market_sim
[INFO] tweaked toml for git repo https://github.com/foundoulis/market_sim written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/foundoulis/market_sim 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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 639825bc110a53286fb5b017d7a607b6973201a572875840843421a51f33a3a1
[INFO] running `"docker" "start" "-a" "639825bc110a53286fb5b017d7a607b6973201a572875840843421a51f33a3a1"`
[INFO] [stderr]     Checking libc v0.2.37
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rustyline v1.0.0
[INFO] [stderr]  Documenting market-sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0446]: private type `prediction::markov::WrongSizeKey` in public interface
[INFO] [stderr]   --> src/prediction/markov.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 5  |   struct WrongSizeKey;
[INFO] [stderr]    |   - `prediction::markov::WrongSizeKey` declared as private
[INFO] [stderr] ...
[INFO] [stderr] 20 | /     pub fn add(&mut self, values: &Vec<T>) -> Result<(),WrongSizeKey> {
[INFO] [stderr] 21 | |         if values.len() < (self.step_size+1) as usize {
[INFO] [stderr] 22 | |             return Err(WrongSizeKey);
[INFO] [stderr] 23 | |         } else {
[INFO] [stderr] ...  |
[INFO] [stderr] 44 | |         }
[INFO] [stderr] 45 | |     }
[INFO] [stderr]    | |_____^ can't leak private type
[INFO] [stderr] 
[INFO] [stderr] error[E0446]: private type `prediction::markov::WrongSizeKey` in public interface
[INFO] [stderr]   --> src/prediction/markov.rs:46:5
[INFO] [stderr]    |
[INFO] [stderr] 5  |   struct WrongSizeKey;
[INFO] [stderr]    |   - `prediction::markov::WrongSizeKey` declared as private
[INFO] [stderr] ...
[INFO] [stderr] 46 | /     pub fn get(&self, values: &Vec<T>) -> Result<T, WrongSizeKey> {
[INFO] [stderr] 47 | |         if values.len() < self.step_size {
[INFO] [stderr] 48 | |             return Err(WrongSizeKey);
[INFO] [stderr] 49 | |         } else {
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         }
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^ can't leak private type
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0446`.
[INFO] [stderr] error: Could not document `market-sim`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name market_sim 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 rand=/opt/rustwide/target/debug/deps/librand-e86994fc1c4b4020.rmeta --extern rustyline=/opt/rustwide/target/debug/deps/librustyline-f04b90b2d9dc3731.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "639825bc110a53286fb5b017d7a607b6973201a572875840843421a51f33a3a1"`
[INFO] running `"docker" "rm" "-f" "639825bc110a53286fb5b017d7a607b6973201a572875840843421a51f33a3a1"`
[INFO] [stdout] 639825bc110a53286fb5b017d7a607b6973201a572875840843421a51f33a3a1
