[INFO] fetching crate minilibx 0.2.1... [INFO] documenting minilibx-0.2.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate minilibx 0.2.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate minilibx 0.2.1 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate minilibx 0.2.1 [INFO] finished tweaking crates.io crate minilibx 0.2.1 [INFO] tweaked toml for crates.io crate minilibx 0.2.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate minilibx 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44280cac46a277383de4d900b959c1f7ec0c7076fd7953af10eb277de3c4881b [INFO] running `Command { std: "docker" "start" "-a" "44280cac46a277383de4d900b959c1f7ec0c7076fd7953af10eb277de3c4881b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44280cac46a277383de4d900b959c1f7ec0c7076fd7953af10eb277de3c4881b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44280cac46a277383de4d900b959c1f7ec0c7076fd7953af10eb277de3c4881b", kill_on_drop: false }` [INFO] [stdout] 44280cac46a277383de4d900b959c1f7ec0c7076fd7953af10eb277de3c4881b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2e571df5c611c5ce7ce39179bfc1a8d3ca69b101c0069e1f4343ba961c7e6ed [INFO] running `Command { std: "docker" "start" "-a" "b2e571df5c611c5ce7ce39179bfc1a8d3ca69b101c0069e1f4343ba961c7e6ed", kill_on_drop: false }` [INFO] [stderr] Compiling minilibx v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting minilibx v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "b2e571df5c611c5ce7ce39179bfc1a8d3ca69b101c0069e1f4343ba961c7e6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e571df5c611c5ce7ce39179bfc1a8d3ca69b101c0069e1f4343ba961c7e6ed", kill_on_drop: false }` [INFO] [stdout] b2e571df5c611c5ce7ce39179bfc1a8d3ca69b101c0069e1f4343ba961c7e6ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] fc55841b5e64aea62b73162ee2eb90eee17cb09aeb757f8ec3f6e0a6bc20845d [INFO] running `Command { std: "docker" "start" "-a" "fc55841b5e64aea62b73162ee2eb90eee17cb09aeb757f8ec3f6e0a6bc20845d", kill_on_drop: false }` [INFO] [stderr] Compiling minilibx v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting minilibx v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | /// Api method holder. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / impl Mlx { [INFO] [stdout] 76 | | /// Creates a new Mlx instance. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// Calls the `mlx_init` C method under the hood. [INFO] [stdout] ... | [INFO] [stdout] 239 | | } [INFO] [stdout] 240 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | /// Clears the window with black. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | /// Destroys the window. This function also drops the window object. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | /// Get the actual screen size. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | /// Creates a new [image](struct.MlxImage.html). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / /// Creates a new [image](struct.MlxImage.html) from [xpm](https://en.wikipedia.org/wiki/X_PixMap) data. [INFO] [stdout] 164 | | /// [INFO] [stdout] 165 | | /// Note that the minilibx does not use the standard Xpm library. You may not be able to read all types of xpm images. [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// It however handles transparency. [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | /// Creates a new [image](struct.MlxImage.html) from an [xpm](https://en.wikipedia.org/wiki/X_PixMap) file. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | /// Destroy the image. Also drops the image instance. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / /// Transforms an RGB color parameter into a u32 value. [INFO] [stdout] 201 | | /// [INFO] [stdout] 202 | | /// This returns a bits_per_pixel value of the rgb value. [INFO] [stdout] 203 | | /// [INFO] [stdout] 204 | | /// You can use this to write into an [image](struct.MlxImage.html) [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | /// Enables key autorepeat when pressing a key [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | /// Disables key autorepeat when pressing a key [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | /// Moves the mouse cursor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | /// Shows the mouse cursor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | /// Hides the mouse cursor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / /// Run the event loop. [INFO] [stdout] 235 | | /// [INFO] [stdout] 236 | | /// This is running an infinite loop which launches [hooks](struct.MlxWindow.html) when receiving events. [INFO] [stdout] | |_____________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / /// Hook api holder. Needed in most [Mlx](struct.Mlx.html) methods. [INFO] [stdout] 243 | | /// [INFO] [stdout] 244 | | /// With hooks, you can provide closures that will run when an event occurs. [INFO] [stdout] 245 | | /// [INFO] [stdout] 246 | | /// The [mlx.event_loop](struct.Mlx.html#method.event_loop) method should run for these hooks to be executed. [INFO] [stdout] | |_____________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / impl MlxWindow { [INFO] [stdout] 253 | | /// Hook running whenever a mouse event is received. [INFO] [stdout] 254 | | /// [INFO] [stdout] 255 | | /// F should be a closure taking 4 arguments: the buttons, x, y and the data you provide as last argument of the mouse_hook call. [INFO] [stdout] ... | [INFO] [stdout] 357 | | } [INFO] [stdout] 358 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | /// Enum describing the [endianness](https://en.wikipedia.org/wiki/Endianness) of some data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | /// Image data placeholder. Can be used to draw image onto the screen. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | / impl MlxImage { [INFO] [stdout] 389 | | fn new(img_ptr: *mut c_void, width: i32, height: i32) -> Result { [INFO] [stdout] 390 | | let data = ffi::get_data_addr(img_ptr)?; [INFO] [stdout] 391 | | Ok(Self { [INFO] [stdout] ... | [INFO] [stdout] 417 | | } [INFO] [stdout] 418 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | / /// Writes to the image from offset of the beginning of the area where the image is stored. [INFO] [stdout] 407 | | /// [INFO] [stdout] 408 | | /// The first bits_per_pixel bits represent the color of the first pixel in the first line of the image. [INFO] [stdout] 409 | | /// [INFO] [stdout] 410 | | /// The second bits_per_pixel bits represent the second pixel of the first line, and so on. [INFO] [stdout] 411 | | /// [INFO] [stdout] 412 | | /// This function could cause a segmentation fault if your offset is wrong, be careful ! [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "fc55841b5e64aea62b73162ee2eb90eee17cb09aeb757f8ec3f6e0a6bc20845d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc55841b5e64aea62b73162ee2eb90eee17cb09aeb757f8ec3f6e0a6bc20845d", kill_on_drop: false }` [INFO] [stdout] fc55841b5e64aea62b73162ee2eb90eee17cb09aeb757f8ec3f6e0a6bc20845d