[INFO] updating cached repository https://github.com/Januson/rusty-snake
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/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] f52d8fee76fb690c54eea0a2eba42d1063b03b35
[INFO] documenting Januson/rusty-snake against beta-2019-09-28 for beta-1.39-rustdoc-1
[INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FJanuson%2Frusty-snake" "work/builds/worker-1/source"`
[INFO] [stderr] Cloning into 'work/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Januson/rusty-snake on toolchain beta-2019-09-28
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Januson/rusty-snake
[INFO] finished tweaking git repo https://github.com/Januson/rusty-snake
[INFO] tweaked toml for git repo https://github.com/Januson/rusty-snake written to work/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Januson/rusty-snake already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /mnt/big/crater/work/builds/worker-1/source/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: path `/mnt/big/crater/work/builds/worker-1/source/src/snake.rs` was erroneously implicitly accepted for binary `snake`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+beta-2019-09-28" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] e7f102a25571e618d32e706a8fb84aecf41b1e20f0a604fc7c5c9d4d3d6e117a
[INFO] running `"docker" "start" "-a" "e7f102a25571e618d32e706a8fb84aecf41b1e20f0a604fc7c5c9d4d3d6e117a"`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr] warning: path `/opt/rustwide/workdir/src/snake.rs` was erroneously implicitly accepted for binary `snake`,
[INFO] [stderr] please set bin.path in Cargo.toml
[INFO] [stderr]     Checking arrayvec v0.3.20
[INFO] [stderr]     Checking pistoncore-event_loop v0.31.4
[INFO] [stderr]     Checking piston-gfx_texture v0.22.1
[INFO] [stderr]     Checking pistoncore-glutin_window v0.35.1
[INFO] [stderr]     Checking piston v0.31.4
[INFO] [stderr]     Checking rusttype v0.2.1
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.38.0
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.42.1
[INFO] [stderr]     Checking piston_window v0.64.0
[INFO] [stderr]  Documenting rusty-snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `piston`?
[INFO] [stderr]  --> src/snake.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use piston::input::Button;
[INFO] [stderr]   |     ^^^^^^ maybe a missing crate `piston`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `piston`?
[INFO] [stderr]  --> src/snake.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use piston::input::keyboard::Key;
[INFO] [stderr]   |     ^^^^^^ maybe a missing crate `piston`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `piston_window`
[INFO] [stderr]  --> src/snake.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use piston_window::Context;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ maybe a missing crate `piston_window`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `piston_window`
[INFO] [stderr]  --> src/snake.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use piston_window::G2d;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ maybe a missing crate `piston_window`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `piston_window`
[INFO] [stderr]  --> src/snake.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use piston_window::rectangle;
[INFO] [stderr]   |     ^^^^^^^^^^^^^ maybe a missing crate `piston_window`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `piston`?
[INFO] [stderr]   --> src/snake.rs:47:13
[INFO] [stderr]    |
[INFO] [stderr] 47 |         use piston::input::keyboard::Key::*;
[INFO] [stderr]    |             ^^^^^^ maybe a missing crate `piston`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `piston_window`?
[INFO] [stderr]   --> src/snake.rs:86:13
[INFO] [stderr]    |
[INFO] [stderr] 86 |         use piston_window::Button::Keyboard;
[INFO] [stderr]    |             ^^^^^^^^^^^^^ maybe a missing crate `piston_window`?
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `piston`?
[INFO] [stderr]   --> src/snake.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |         use piston::input::keyboard::Key::*;
[INFO] [stderr]    |             ^^^^^^ maybe a missing crate `piston`?
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `settings`
[INFO] [stderr]  --> src/snake.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use settings::Settings;
[INFO] [stderr]   |     ^^^^^^^^ maybe a missing crate `settings`?
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Key` in this scope
[INFO] [stderr]   --> src/snake.rs:18:20
[INFO] [stderr]    |
[INFO] [stderr] 18 |     keys: VecDeque<Key>,
[INFO] [stderr]    |                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Key` in this scope
[INFO] [stderr]   --> src/snake.rs:19:19
[INFO] [stderr]    |
[INFO] [stderr] 19 |     last_pressed: Key,
[INFO] [stderr]    |                   ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Key` in this scope
[INFO] [stderr]   --> src/snake.rs:24:45
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn new (tail: VecDeque<Point>, key: Key, settings: &'a Settings) -> Snake {
[INFO] [stderr]    |                                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Button` in this scope
[INFO] [stderr]   --> src/snake.rs:85:42
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub fn key_press(&mut self, button: &Button) {
[INFO] [stderr]    |                                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Key` in this scope
[INFO] [stderr]    --> src/snake.rs:102:28
[INFO] [stderr]     |
[INFO] [stderr] 102 |     fn opposite_arrow(key: Key) -> Key {
[INFO] [stderr]     |                            ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Key` in this scope
[INFO] [stderr]    --> src/snake.rs:102:36
[INFO] [stderr]     |
[INFO] [stderr] 102 |     fn opposite_arrow(key: Key) -> Key {
[INFO] [stderr]     |                                    ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 16 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rusty-snake`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name snake src/snake.rs -o /opt/rustwide/target/doc --color never --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern find_folder=/opt/rustwide/target/debug/deps/libfind_folder-4ad3cc1bac54b12b.rmeta --extern piston=/opt/rustwide/target/debug/deps/libpiston-f34e29cf3258dd5d.rmeta --extern graphics=/opt/rustwide/target/debug/deps/libgraphics-711136545d92ab34.rmeta --extern opengl_graphics=/opt/rustwide/target/debug/deps/libopengl_graphics-7798a428a38a2ef1.rmeta --extern piston_window=/opt/rustwide/target/debug/deps/libpiston_window-4c6bdbb573a621e9.rmeta --extern glutin_window=/opt/rustwide/target/debug/deps/libglutin_window-0b9f26fcce3eda2e.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-d942c141fe7f6717.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "e7f102a25571e618d32e706a8fb84aecf41b1e20f0a604fc7c5c9d4d3d6e117a"`
[INFO] running `"docker" "rm" "-f" "e7f102a25571e618d32e706a8fb84aecf41b1e20f0a604fc7c5c9d4d3d6e117a"`
[INFO] [stdout] e7f102a25571e618d32e706a8fb84aecf41b1e20f0a604fc7c5c9d4d3d6e117a
