[INFO] cloning repository https://github.com/jml/rust-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jml/rust-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc4ed43122015a4c7fde821eb62b575b53737764
[INFO] documenting jml/rust-scratch against 1.47.0 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjml%2Frust-scratch" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jml/rust-scratch on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jml/rust-scratch
[INFO] finished tweaking git repo https://github.com/jml/rust-scratch
[INFO] tweaked toml for git repo https://github.com/jml/rust-scratch written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/jml/rust-scratch already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f80fcc2bdbfd0510995847876ced7e3150db2ce615bf66822760d4c13532bbe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0f80fcc2bdbfd0510995847876ced7e3150db2ce615bf66822760d4c13532bbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f80fcc2bdbfd0510995847876ced7e3150db2ce615bf66822760d4c13532bbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f80fcc2bdbfd0510995847876ced7e3150db2ce615bf66822760d4c13532bbe", kill_on_drop: false }`
[INFO] [stdout] 0f80fcc2bdbfd0510995847876ced7e3150db2ce615bf66822760d4c13532bbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f70761cf501275218748c95bfa4378c0e5e579fcebd2d0cb94d5b920dfebdf90
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f70761cf501275218748c95bfa4378c0e5e579fcebd2d0cb94d5b920dfebdf90", kill_on_drop: false }`
[INFO] [stderr]  Documenting target v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected type, found `|`
[INFO] [stdout]   --> src/lib.rs:51:91
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                           ^ expected type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected parameter name, found `->`
[INFO] [stdout]   --> src/lib.rs:51:98
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn accumulate<K: Ord + Clone, A: Clone, T: Iterator<K>>(sequence: &mut T, init: A, f: |A, K| -> A) -> TreeMap<K, A> {
[INFO] [stdout]    |                                                                                               -  ^^ expected parameter name
[INFO] [stdout]    |                                                                                               |
[INFO] [stdout]    |                                                                                               while parsing this or-pattern starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for integer literal
[INFO] [stdout]   --> src/lib.rs:87:42
[INFO] [stdout]    |
[INFO] [stdout] 87 |     accumulate(sequence, 1, |x, _| { x + 1i })
[INFO] [stdout]    |                                          ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for integer literal
[INFO] [stdout]    --> src/lib.rs:131:33
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[INFO] [stdout]     |                                 ^^ invalid suffix `i`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for integer literal
[INFO] [stdout]    --> src/lib.rs:131:44
[INFO] [stdout]     |
[INFO] [stdout] 131 |             Some(x) => if *x >= 1i { *x -= 1i } else { return false },
[INFO] [stdout]     |                                            ^^ invalid suffix `i`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::TreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]   |     |                 |
[INFO] [stdout]   |     |                 help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout]   |     no `TreeMap` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap`
[INFO] [stdout]    --> src/lib.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     use std::collections::TreeMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]     |         |                 |
[INFO] [stdout]     |         |                 help: a similar name exists in the module: `BTreeMap`
[INFO] [stdout]     |         no `TreeMap` in `collections`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/lib.rs:86:82
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn frequency<A: Ord + Clone, T: Iterator<A>>(sequence: &mut T) -> TreeMap<A, int> {
[INFO] [stdout]    |                                                -                                 ^^^ not found in this scope
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                help: you might be missing a type parameter: `, int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]    --> src/lib.rs:111:51
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn letter_counts(word: &str) -> TreeMap<char, int> {
[INFO] [stdout]     |                     -                             ^^^ not found in this scope
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: you might be missing a type parameter: `<int>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: Could not document `target`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type lib --crate-name target 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 --cap-lints=warn --crate-version 0.0.1` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "f70761cf501275218748c95bfa4378c0e5e579fcebd2d0cb94d5b920dfebdf90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f70761cf501275218748c95bfa4378c0e5e579fcebd2d0cb94d5b920dfebdf90", kill_on_drop: false }`
[INFO] [stdout] f70761cf501275218748c95bfa4378c0e5e579fcebd2d0cb94d5b920dfebdf90
