[INFO] crate photon-rs 0.2.0 is already in cache [INFO] documenting photon-rs-0.2.0 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate photon-rs 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate photon-rs 0.2.0 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate photon-rs 0.2.0 [INFO] finished tweaking crates.io crate photon-rs 0.2.0 [INFO] tweaked toml for crates.io crate photon-rs 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate photon-rs 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "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] 1025c0d627b8d586a22d73063409e467c02777b429e456c7bff6140f1c9bb66e [INFO] running `Command { std: "docker" "start" "-a" "1025c0d627b8d586a22d73063409e467c02777b429e456c7bff6140f1c9bb66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1025c0d627b8d586a22d73063409e467c02777b429e456c7bff6140f1c9bb66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1025c0d627b8d586a22d73063409e467c02777b429e456c7bff6140f1c9bb66e", kill_on_drop: false }` [INFO] [stdout] 1025c0d627b8d586a22d73063409e467c02777b429e456c7bff6140f1c9bb66e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a37a10a7c4f4e850ec78cc43e340fe2d3d46b786cd0c966f08c9419551e9042 [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" "6a37a10a7c4f4e850ec78cc43e340fe2d3d46b786cd0c966f08c9419551e9042", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking imageproc v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling web-sys v0.3.35 [INFO] [stderr] Checking js-sys v0.3.35 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking photon-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting photon-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/transform.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HtmlCanvasElement`, `ImageData` [INFO] [stdout] --> src/transform.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use web_sys::{ImageData, HtmlCanvasElement}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::Clamped` [INFO] [stdout] --> src/transform.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wasm_bindgen::Clamped; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `putImageData` should have a snake case name [INFO] [stdout] --> src/lib.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn putImageData(canvas: HtmlCanvasElement, ctx: CanvasRenderingContext2d, mut new_image: PhotonImage) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `put_image_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | img.write_to(&mut buffer, image::ImageOutputFormat::PNG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `putImageData` should have a snake case name [INFO] [stdout] --> src/lib.rs:235:8 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn putImageData(canvas: HtmlCanvasElement, ctx: CanvasRenderingContext2d, mut new_image: PhotonImage) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `put_image_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/lib.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | ctx.put_image_data(&new_img_data.unwrap(), 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[temp]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 205 | / pub fn run() -> Result<(), JsValue> { [INFO] [stdout] 206 | | set_panic_hook(); [INFO] [stdout] 207 | | [INFO] [stdout] 208 | | let window = web_sys::window().expect("No Window found, should have a Window"); [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(intra_doc_link_resolution_failure)]` on by default [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] [temp] Check if WASM is supported. [INFO] [stdout] ^^^^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `[temp]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn run() -> Result<(), JsValue> { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 206 | | set_panic_hook(); [INFO] [stdout] 207 | | [INFO] [stdout] 208 | | let window = web_sys::window().expect("No Window found, should have a Window"); [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the link appears in this line: [INFO] [stdout] [INFO] [stdout] [temp] Check if WASM is supported. [INFO] [stdout] ^^^^ [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc comment contains an invalid Rust code block [INFO] [stdout] --> src/effects.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / pub fn offset_blue(img: &mut PhotonImage, offset_amt: u32) { [INFO] [stdout] 100 | | offset(img, 2, offset_amt) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: mark blocks that do not contain Rust code as text: ```text [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc comment contains an invalid Rust code block [INFO] [stdout] --> src/effects.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn offset_blue(img: &mut PhotonImage, offset_amt: u32) { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 100 | | offset(img, 2, offset_amt) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: mark blocks that do not contain Rust code as text: ```text [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "6a37a10a7c4f4e850ec78cc43e340fe2d3d46b786cd0c966f08c9419551e9042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a37a10a7c4f4e850ec78cc43e340fe2d3d46b786cd0c966f08c9419551e9042", kill_on_drop: false }` [INFO] [stdout] 6a37a10a7c4f4e850ec78cc43e340fe2d3d46b786cd0c966f08c9419551e9042