[INFO] updating cached repository https://github.com/jomag/rustboy
[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] b47dce9de6c8cf4d6145b5df7d27eebcc27f6536
[INFO] documenting jomag/rustboy against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjomag%2Frustboy" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jomag/rustboy 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/jomag/rustboy
[INFO] finished tweaking git repo https://github.com/jomag/rustboy
[INFO] tweaked toml for git repo https://github.com/jomag/rustboy written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/jomag/rustboy 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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] cfa6b556f15f59536b73dbc98df3ca2039ece2bf911749c6a87565bd46da0344
[INFO] running `"docker" "start" "-a" "cfa6b556f15f59536b73dbc98df3ca2039ece2bf911749c6a87565bd46da0344"`
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking nix v0.11.0
[INFO] [stderr]     Checking clap v2.32.0
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking sdl2 v0.32.1
[INFO] [stderr]     Checking ctrlc v3.1.1
[INFO] [stderr]  Documenting rustboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: macro_escape is a deprecated synonym for macro_use
[INFO] [stderr]   --> src/main.rs:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[macro_escape]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0428]: the name `buttons` is defined multiple times
[INFO] [stderr]   --> src/main.rs:39:1
[INFO] [stderr]    |
[INFO] [stderr] 27 | mod buttons;
[INFO] [stderr]    | ------------ previous definition of the module `buttons` here
[INFO] [stderr] ...
[INFO] [stderr] 39 | mod buttons;
[INFO] [stderr]    | ^^^^^^^^^^^^ `buttons` redefined here
[INFO] [stderr]    |
[INFO] [stderr]    = note: `buttons` must be defined only once in the type namespace of this module
[INFO] [stderr] 
[INFO] [stderr] error[E0252]: the name `Buttons` is defined multiple times
[INFO] [stderr]   --> src/mmu.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use buttons::Buttons;
[INFO] [stderr]    |     ---------------- previous import of the type `Buttons` here
[INFO] [stderr] ...
[INFO] [stderr] 17 | use buttons::Buttons;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ `Buttons` reimported here
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Buttons` must be defined only once in the type namespace of this module
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0252, E0428.
[INFO] [stderr] For more information about an error, try `rustc --explain E0252`.
[INFO] [stderr] error: Could not document `rustboy`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name rustboy 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 ansi_term=/opt/rustwide/target/debug/deps/libansi_term-429e09a4311858f1.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-ba8135bb761d5ece.rmeta --extern ctrlc=/opt/rustwide/target/debug/deps/libctrlc-0c3e5b84add0ee06.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-e029045f11b9d5c7.rmeta --extern png=/opt/rustwide/target/debug/deps/libpng-cb0de1b1d829aecf.rmeta --extern sdl2=/opt/rustwide/target/debug/deps/libsdl2-3d50963b1683b873.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-a590697275a32564.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "cfa6b556f15f59536b73dbc98df3ca2039ece2bf911749c6a87565bd46da0344"`
[INFO] running `"docker" "rm" "-f" "cfa6b556f15f59536b73dbc98df3ca2039ece2bf911749c6a87565bd46da0344"`
[INFO] [stdout] cfa6b556f15f59536b73dbc98df3ca2039ece2bf911749c6a87565bd46da0344
