[INFO] cloning repository https://github.com/torkve/habropengl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torkve/habropengl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3a75863169a25de0968f1538e8b27fc456017d0 [INFO] documenting torkve/habropengl against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorkve%2Fhabropengl" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/torkve/habropengl on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/torkve/habropengl [INFO] finished tweaking git repo https://github.com/torkve/habropengl [INFO] tweaked toml for git repo https://github.com/torkve/habropengl written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/torkve/habropengl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8901e85b171cedb1327985f2d5c613621c84b981ac1f10b1b998dcaa4cd4fb34 [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" "8901e85b171cedb1327985f2d5c613621c84b981ac1f10b1b998dcaa4cd4fb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8901e85b171cedb1327985f2d5c613621c84b981ac1f10b1b998dcaa4cd4fb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8901e85b171cedb1327985f2d5c613621c84b981ac1f10b1b998dcaa4cd4fb34", kill_on_drop: false }` [INFO] [stdout] 8901e85b171cedb1327985f2d5c613621c84b981ac1f10b1b998dcaa4cd4fb34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 652885d9d29af2d26a95ba9f81891705207cbd3208c933ce14e39b608d8b4f18 [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" "652885d9d29af2d26a95ba9f81891705207cbd3208c933ce14e39b608d8b4f18", kill_on_drop: false }` [INFO] [stderr] Documenting opengl v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | let mut currentpixel = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let mut currentbyte = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:209:37 [INFO] [stdout] | [INFO] [stdout] 209 | for __ in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | for j in range(0us, bpp) { [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | let mut curpix = 0us; [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | for i in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | for j in range(0us, self.height) { [INFO] [stdout] | ^^^ invalid suffix `us` [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 `us` for integer literal [INFO] [stdout] --> src/tgaimage.rs:337:24 [INFO] [stdout] | [INFO] [stdout] 337 | for j in range(0us, half) { [INFO] [stdout] | ^^^ invalid suffix `us` [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 `is` for integer literal [INFO] [stdout] --> src/tgaimage.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | let mut nscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [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 `is` for integer literal [INFO] [stdout] --> src/tgaimage.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | let mut oscanline = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [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 `is` for integer literal [INFO] [stdout] --> src/tgaimage.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 377 | let mut erry = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [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 `us` for integer literal [INFO] [stdout] --> src/geom.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | for i in range(0us, total_height as usize) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `zbuffer` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod zbuffer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `zbuffer`, create file "src/zbuffer.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/tgaimage.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/tgaimage.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{File, Reader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::ptr::set_memory`, `std::ptr::copy_memory`, `std::ptr::copy_nonoverlapping_memory` [INFO] [stdout] --> src/tgaimage.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ptr::{set_memory, copy_memory, copy_nonoverlapping_memory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `copy_nonoverlapping_memory` in `ptr` [INFO] [stdout] | | | help: a similar name exists in the module: `copy_nonoverlapping` [INFO] [stdout] | | no `copy_memory` in `ptr` [INFO] [stdout] | no `set_memory` in `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/geom.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/geom.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::SignedInt`, `std::num::NumCast` [INFO] [stdout] --> src/geom.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::{SignedInt, NumCast}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `SignedInt` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::FromPrimitive`, `std::num::ToPrimitive`, `std::num::NumCast` [INFO] [stdout] --> src/vec.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::{Float, FromPrimitive, ToPrimitive, NumCast}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ no `NumCast` in `num` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ToPrimitive` in `num` [INFO] [stdout] | | no `FromPrimitive` in `num` [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_path` in `std` [INFO] [stdout] --> src/model.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::old_path::posix::Path; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::SliceExt` [INFO] [stdout] --> src/model.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::slice::SliceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `SliceExt` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use std::old_io::{File, BufferedReader, IoResult, IoError, IoErrorKind}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/render.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::IoResult; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zbuffer::ZBuffer` [INFO] [stdout] --> src/render.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use zbuffer::ZBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ZBuffer` in `zbuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `packed` in this scope [INFO] [stdout] --> src/tgaimage.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[packed] [INFO] [stdout] | ^^^^^^ help: a built-in attribute with a similar name exists: `naked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Output` is not a member of trait `IndexMut` [INFO] [stdout] --> src/tgaimage.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | type Output = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a member of trait `IndexMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_stream(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Writer` in this scope [INFO] [stdout] --> src/tgaimage.rs:269:39 [INFO] [stdout] | [INFO] [stdout] 269 | fn dump_rle_data(&self, buf: &mut Writer) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0437, E0554, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `opengl`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name opengl 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 --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "652885d9d29af2d26a95ba9f81891705207cbd3208c933ce14e39b608d8b4f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "652885d9d29af2d26a95ba9f81891705207cbd3208c933ce14e39b608d8b4f18", kill_on_drop: false }` [INFO] [stdout] 652885d9d29af2d26a95ba9f81891705207cbd3208c933ce14e39b608d8b4f18