[INFO] cloning repository https://github.com/akx/rust-glitch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akx/rust-glitch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakx%2Frust-glitch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakx%2Frust-glitch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 483d1c837bc2afd3d61005b186f0b9785783ccad
[INFO] documenting akx/rust-glitch against beta-2020-10-09 for beta-1.48-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakx%2Frust-glitch" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/akx/rust-glitch on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/akx/rust-glitch
[INFO] finished tweaking git repo https://github.com/akx/rust-glitch
[INFO] tweaked toml for git repo https://github.com/akx/rust-glitch written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/akx/rust-glitch already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/image`
[INFO] [stderr]     Updating git repository `https://github.com/rust-lang/num`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/PistonDevelopers/image`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "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" "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" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94e7690cafd03b4a64e36f90a0df08590e78aa6839fb19195ff514c34df87543
[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" "94e7690cafd03b4a64e36f90a0df08590e78aa6839fb19195ff514c34df87543", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94e7690cafd03b4a64e36f90a0df08590e78aa6839fb19195ff514c34df87543", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94e7690cafd03b4a64e36f90a0df08590e78aa6839fb19195ff514c34df87543", kill_on_drop: false }`
[INFO] [stdout] 94e7690cafd03b4a64e36f90a0df08590e78aa6839fb19195ff514c34df87543
[INFO] running `Command { std: "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" "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" "+beta-2020-10-09" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd0574287c38109ca588707492f0db8ce637afd3225adade9b192cadbcdd32e0
[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" "dd0574287c38109ca588707492f0db8ce637afd3225adade9b192cadbcdd32e0", kill_on_drop: false }`
[INFO] [stderr]     Checking image v0.23.10 (https://github.com/PistonDevelopers/image#55114935)
[INFO] [stderr]  Documenting rg v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `i` for integer literal
[INFO] [stdout]   --> src/main.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut xoff = 0i;
[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/main.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut yoff = 0i;
[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/main.rs:32:40
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 xoff += rng.gen_range(-1i, 2);
[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/main.rs:35:40
[INFO] [stdout]    |
[INFO] [stdout] 35 |                 yoff += rng.gen_range(-1i, 2);
[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::io::File`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rand::Rng;
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stdout]   |               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:8:25
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stdout]   |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stdout]   |                                   ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]  --> src/main.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn clamp(val: int, min: int, max: int) -> int {
[INFO] [stdout]   |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 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 `rg`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name rg 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 image=/opt/rustwide/target/debug/deps/libimage-5c54c78799e66d6b.rmeta --cap-lints=warn --crate-version 0.0.1` (exit code: 1)
[INFO] running `Command { std: "docker" "inspect" "dd0574287c38109ca588707492f0db8ce637afd3225adade9b192cadbcdd32e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd0574287c38109ca588707492f0db8ce637afd3225adade9b192cadbcdd32e0", kill_on_drop: false }`
[INFO] [stdout] dd0574287c38109ca588707492f0db8ce637afd3225adade9b192cadbcdd32e0
