[INFO] updating cached repository https://github.com/jackalligator/tetris [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d36d8686e5c81e969c66ce4f88b3788c03276ae [INFO] documenting jackalligator/tetris against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackalligator%2Ftetris" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackalligator/tetris on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackalligator/tetris [INFO] removed path dependency math from git repo https://github.com/jackalligator/tetris [INFO] finished tweaking git repo https://github.com/jackalligator/tetris [INFO] tweaked toml for git repo https://github.com/jackalligator/tetris written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jackalligator/tetris already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 28f8efb49b650d6d6b93af118fe7376dd2916cfe83de2bf76977314272e67c91 [INFO] running `Command { std: "docker" "start" "-a" "28f8efb49b650d6d6b93af118fe7376dd2916cfe83de2bf76977314272e67c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28f8efb49b650d6d6b93af118fe7376dd2916cfe83de2bf76977314272e67c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f8efb49b650d6d6b93af118fe7376dd2916cfe83de2bf76977314272e67c91", kill_on_drop: false }` [INFO] [stdout] 28f8efb49b650d6d6b93af118fe7376dd2916cfe83de2bf76977314272e67c91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c86453b0dee01545f8d0d89754a800034e3b13a82d49df1e845f524361328086 [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" "c86453b0dee01545f8d0d89754a800034e3b13a82d49df1e845f524361328086", kill_on_drop: false }` [INFO] [stderr] warning: dependency (math) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking math v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Checking sdl2 v0.27.3 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking freetype-rs v0.11.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Documenting tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/core/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | window_size: 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/core/mod.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_window_size(&self) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/quad.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn render(&self, x:f32, y:f32, color:Vec3){ [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/ui/font.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | bearing: 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/ui/font.rs:127:63 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_text_size(&self, font_name:&str, text:&str) -> Vec2 { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/font.rs:147:90 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn render_text(&self, font_name:&str, text:&str, start_x:f32, start_y:f32, color:Vec3){ [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `tetris`. [INFO] [stdout] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stdout] --> src/ui/mod.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | Color(Quad, Vec3), [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `Vec2` in this scope [INFO] [stdout] --> src/ui/mod.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | brick_size: Vec2 [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name tetris 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 freetype=/opt/rustwide/target/debug/deps/libfreetype-d3255db191e3575a.rmeta --extern gl=/opt/rustwide/target/debug/deps/libgl-e76a4181ed5f67bc.rmeta --extern json=/opt/rustwide/target/debug/deps/libjson-7c6c76a4148f67bd.rmeta --extern math=/opt/rustwide/target/debug/deps/libmath-d58707f5a7537c50.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-c0735f09954a1e39.rmeta --extern sdl2=/opt/rustwide/target/debug/deps/libsdl2-77fb1ba39f79f885.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-e7be7863b5f9349e.rmeta --extern unicode_normalization=/opt/rustwide/target/debug/deps/libunicode_normalization-7869273825c3faff.rmeta --cap-lints=forbid` (exit code: 1) [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c86453b0dee01545f8d0d89754a800034e3b13a82d49df1e845f524361328086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86453b0dee01545f8d0d89754a800034e3b13a82d49df1e845f524361328086", kill_on_drop: false }` [INFO] [stdout] c86453b0dee01545f8d0d89754a800034e3b13a82d49df1e845f524361328086