[INFO] cloning repository https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diasdavid/sherlock-and-pairs-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f768263621d1ea7ed2262369ea051774d4a8953
[INFO] documenting diasdavid/sherlock-and-pairs-rust against beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiasdavid%2Fsherlock-and-pairs-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/diasdavid/sherlock-and-pairs-rust on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] finished tweaking git repo https://github.com/diasdavid/sherlock-and-pairs-rust
[INFO] tweaked toml for git repo https://github.com/diasdavid/sherlock-and-pairs-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/diasdavid/sherlock-and-pairs-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "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] 7cc4397cf80f95164ba670bae07fd89377f6ecccd8af3b7951f71bfbee8855e1
[INFO] running `Command { std: "docker" "start" "-a" "7cc4397cf80f95164ba670bae07fd89377f6ecccd8af3b7951f71bfbee8855e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cc4397cf80f95164ba670bae07fd89377f6ecccd8af3b7951f71bfbee8855e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cc4397cf80f95164ba670bae07fd89377f6ecccd8af3b7951f71bfbee8855e1", kill_on_drop: false }`
[INFO] [stdout] 7cc4397cf80f95164ba670bae07fd89377f6ecccd8af3b7951f71bfbee8855e1
[INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 132ec82a0295bcf0f79eccca069ee0f471727b2fac17e815af4aaff7893de3ae
[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" "132ec82a0295bcf0f79eccca069ee0f471727b2fac17e815af4aaff7893de3ae", kill_on_drop: false }`
[INFO] [stderr]  Documenting arrays-and-sorting v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut total: int = 0i;
[INFO] [stdout]    |                              ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |             if *count > 1i {
[INFO] [stdout]    |                         ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          not found in this scope
[INFO] [stdout]    |                          help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn smart_permutations(n: int) -> int { n * (n-1) }
[INFO] [stdout]    |                                  ^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  not found in this scope
[INFO] [stdout]    |                                  help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:28
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                            ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<i32>) -> Vec<int> {
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/main.rs:41:41
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                                         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: perhaps you intended to use this type
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem(vec: Vec<int>) -> Vec<i32> {
[INFO] [stdout]    |                                         ^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn vec_count_elem<int>(vec: Vec<int>) -> Vec<int> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `arrays-and-sorting`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name arrays_and_sorting 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 --cap-lints=warn --crate-version 0.0.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "132ec82a0295bcf0f79eccca069ee0f471727b2fac17e815af4aaff7893de3ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "132ec82a0295bcf0f79eccca069ee0f471727b2fac17e815af4aaff7893de3ae", kill_on_drop: false }`
[INFO] [stdout] 132ec82a0295bcf0f79eccca069ee0f471727b2fac17e815af4aaff7893de3ae
