[INFO] updating cached repository akx/rust-glitch
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/akx/rust-glitch
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/akx/rust-glitch" "work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/akx/rust-glitch"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/akx/rust-glitch'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/akx/rust-glitch" "work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/akx/rust-glitch"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/akx/rust-glitch'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 483d1c837bc2afd3d61005b186f0b9785783ccad
[INFO] sha for GitHub repo akx/rust-glitch: 483d1c837bc2afd3d61005b186f0b9785783ccad
[INFO] validating manifest of akx/rust-glitch on toolchain 1.37.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of akx/rust-glitch on toolchain beta-2019-08-13
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing akx/rust-glitch
[INFO] finished frobbing akx/rust-glitch
[INFO] frobbed toml for akx/rust-glitch written to work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/akx/rust-glitch/Cargo.toml
[INFO] started frobbing akx/rust-glitch
[INFO] finished frobbing akx/rust-glitch
[INFO] frobbed toml for akx/rust-glitch written to work/ex/beta-1.38-rustdoc-1/sources/beta-2019-08-13/gh/akx/rust-glitch/Cargo.toml
[INFO] crate akx/rust-glitch already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/akx/rust-glitch/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/image`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/image`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] documenting akx/rust-glitch against 1.37.0 for beta-1.38-rustdoc-1
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-rustdoc-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-rustdoc-1/sources/1.37.0/gh/akx/rust-glitch:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] ece407801c99ef0066e076e0fc0accd9a93b85c619c82ba54fc5dcb32d1091bd
[INFO] running `"docker" "start" "-a" "ece407801c99ef0066e076e0fc0accd9a93b85c619c82ba54fc5dcb32d1091bd"`
[INFO] [stderr]     Checking image v0.22.1 (https://github.com/PistonDevelopers/image#bf90ec4b)
[INFO] [stderr]  Documenting rg v0.0.1 (/opt/crater/workdir)
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:25:20
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut xoff = 0i;
[INFO] [stderr]    |                    ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:26:20
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let mut yoff = 0i;
[INFO] [stderr]    |                    ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:32:40
[INFO] [stderr]    |
[INFO] [stderr] 32 |                 xoff += rng.gen_range(-1i, 2);
[INFO] [stderr]    |                                        ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:35:40
[INFO] [stderr]    |
[INFO] [stderr] 35 |                 yoff += rng.gen_range(-1i, 2);
[INFO] [stderr]    |                                        ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::io::File`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::rand::Rng;
[INFO] [stderr]   |          ^^^^ could not find `rand` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:8:15
[INFO] [stderr]   |
[INFO] [stderr] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stderr]   |               ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:8:25
[INFO] [stderr]   |
[INFO] [stderr] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stderr]   |                         ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:8:35
[INFO] [stderr]   |
[INFO] [stderr] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stderr]   |                                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `int` in this scope
[INFO] [stderr]  --> src/main.rs:8:43
[INFO] [stderr]   |
[INFO] [stderr] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stderr]   |                                           ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 12 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rg`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-name rg src/main.rs --color never -o /opt/crater/target/doc --document-private-items -L dependency=/opt/crater/target/debug/deps --extern image=/opt/crater/target/debug/deps/libimage-513edc6c310b9b5e.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "ece407801c99ef0066e076e0fc0accd9a93b85c619c82ba54fc5dcb32d1091bd"`
[INFO] running `"docker" "rm" "-f" "ece407801c99ef0066e076e0fc0accd9a93b85c619c82ba54fc5dcb32d1091bd"`
[INFO] [stdout] ece407801c99ef0066e076e0fc0accd9a93b85c619c82ba54fc5dcb32d1091bd
