[INFO] cloning repository https://github.com/weshardee/peg-game-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weshardee/peg-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac57978765938db9a153b72c58ce61e266929c50 [INFO] documenting weshardee/peg-game-rust against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweshardee%2Fpeg-game-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weshardee/peg-game-rust on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/weshardee/peg-game-rust [INFO] removed path dependency kit from git repo https://github.com/weshardee/peg-game-rust [INFO] finished tweaking git repo https://github.com/weshardee/peg-game-rust [INFO] tweaked toml for git repo https://github.com/weshardee/peg-game-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/weshardee/peg-game-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kit v0.0.2 [INFO] [stderr] Downloaded shortid v1.0.6 [INFO] [stderr] Downloaded sokol v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6f96fdd9d7217abbfb4d3f677018cedd40b72360c67c2e41f3551cd3196debc [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" "d6f96fdd9d7217abbfb4d3f677018cedd40b72360c67c2e41f3551cd3196debc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6f96fdd9d7217abbfb4d3f677018cedd40b72360c67c2e41f3551cd3196debc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f96fdd9d7217abbfb4d3f677018cedd40b72360c67c2e41f3551cd3196debc", kill_on_drop: false }` [INFO] [stdout] d6f96fdd9d7217abbfb4d3f677018cedd40b72360c67c2e41f3551cd3196debc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b35e2627308deec74ba3b480db3c6440c17b258472d590fc2180aff9d3f9f3d6 [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" "b35e2627308deec74ba3b480db3c6440c17b258472d590fc2180aff9d3f9f3d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sokol v0.3.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking shortid v1.0.6 [INFO] [stderr] Checking kit v0.0.2 [INFO] [stderr] Documenting peg-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:53:78 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn draw_peg_bounds(ctx: &mut Ctx, pos: Coords, peg_type: PegType, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec4` in this scope [INFO] [stdout] --> src/draw/debug.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn draw_tile_bounds(ctx: &mut Ctx, pos: Coords, color: Vec4) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn draw_shadow(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/draw/pegs.rs:43:61 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw_sprite(ctx: &mut Ctx, state: &State, i: usize, pos: Vec2) { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | impl Into for Coords { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn into(self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/types.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub mouse_pos: Vec2, // mouse position in world space [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn board_to_screen_position(pos: Coords) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn screen_to_board_position(screen_pos: Vec2) -> Coords { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:90:69 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn test_peg(ctx: &Ctx, board_pos: Coords, peg_type: PegType, p: Vec2) -> bool { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rect` in this scope [INFO] [stdout] --> src/utils.rs:95:74 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Rect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:95:80 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn peg_bounds(ctx: &Ctx, pos: Coords, peg_type: PegType) -> (Circle, Rect, Circle) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Circle` in this scope [INFO] [stdout] --> src/utils.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn tile_bounds(ctx: &Ctx, pos: Coords) -> Circle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] 1 | use kit::geometry::Circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:129:39 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn window_center_px(ctx: &Ctx) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/utils.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn window_to_world(ctx: &Ctx, p: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 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 `peg-game`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name peg_game 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 kit=/opt/rustwide/target/debug/deps/libkit-10d30f099214940b.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-866e3476209d279b.rmeta --extern shortid=/opt/rustwide/target/debug/deps/libshortid-643434ca9c00315a.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "b35e2627308deec74ba3b480db3c6440c17b258472d590fc2180aff9d3f9f3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35e2627308deec74ba3b480db3c6440c17b258472d590fc2180aff9d3f9f3d6", kill_on_drop: false }` [INFO] [stdout] b35e2627308deec74ba3b480db3c6440c17b258472d590fc2180aff9d3f9f3d6