[INFO] fetching crate flameshot-rs 1.0.1... [INFO] checking flameshot-rs-1.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate flameshot-rs 1.0.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate flameshot-rs 1.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate flameshot-rs 1.0.1 [INFO] tweaked toml for crates.io crate flameshot-rs 1.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flameshot-rs 1.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flameshot-rs 1.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zune-inflate v0.2.51 [INFO] [stderr] Downloaded serde_derive v1.0.157 [INFO] [stderr] Downloaded spin v0.9.6 [INFO] [stderr] Downloaded exr v1.6.3 [INFO] [stderr] Downloaded serde v1.0.157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecb1d3b09dd46d743d16ab3649ceac7353fcc47c009f2c44198ecbdfeb0127ed [INFO] running `Command { std: "docker" "start" "-a" "ecb1d3b09dd46d743d16ab3649ceac7353fcc47c009f2c44198ecbdfeb0127ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecb1d3b09dd46d743d16ab3649ceac7353fcc47c009f2c44198ecbdfeb0127ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecb1d3b09dd46d743d16ab3649ceac7353fcc47c009f2c44198ecbdfeb0127ed", kill_on_drop: false }` [INFO] [stdout] ecb1d3b09dd46d743d16ab3649ceac7353fcc47c009f2c44198ecbdfeb0127ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758fb1085a39ca071543c3ea6fc912d3854649b128b9f9420ad866bb7bc94b3e [INFO] running `Command { std: "docker" "start" "-a" "758fb1085a39ca071543c3ea6fc912d3854649b128b9f9420ad866bb7bc94b3e", kill_on_drop: false }` [INFO] [stderr] Checking flameshot-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/save_full_screenshot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// We select one of the 3 main param types and use the builder method to [INFO] [stdout] 7 | | /// customize the cli arguments, it includes all flameshot cli args. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] 8 | let params = FullArgs::builder().path("screenshot.png").build(); [INFO] [stdout] | ---------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/save_full_screenshot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// This operation can error, it can error because of OS problems [INFO] [stdout] 10 | | /// or Flameshot problems. [INFO] [stdout] | |______________________________^ [INFO] [stdout] 11 | let output = flameshot::execute(params).unwrap(); [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> examples/save_full_screenshot.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let output = flameshot::execute(params).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/to_dynamic_image.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// We select one of the 3 main param types and use the builder method to [INFO] [stdout] 12 | | /// customize the cli arguments, it includes all flameshot cli args. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] 13 | / let params = GuiArgs::builder() [INFO] [stdout] 14 | | .accept_on_select() [INFO] [stdout] 15 | | .raw() // this parameter is REQUIRED for converting to DynamicImage [INFO] [stdout] 16 | | .build(); [INFO] [stdout] | |_________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/to_dynamic_image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// This operation can error, it can error because of OS problems [INFO] [stdout] 18 | | /// or Flameshot problems. [INFO] [stdout] | |______________________________^ [INFO] [stdout] 19 | let output = flameshot::execute(params).unwrap(); [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/to_dynamic_image.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// This operation cause an Image error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | let img = output.to_dynamic_image().unwrap(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/save_gui_screenshot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / /// We select one of the 3 main param types and use the builder method to [INFO] [stdout] 7 | | /// customize the cli arguments, it includes all flameshot cli args. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] 8 | / let params = GuiArgs::builder() [INFO] [stdout] 9 | | .path("screenshot.png") [INFO] [stdout] 10 | | .accept_on_select() [INFO] [stdout] 11 | | //.region((100, 100, 100, 100)) // just to show how one could use region param [INFO] [stdout] 12 | | .build(); [INFO] [stdout] | |_________________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/save_gui_screenshot.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// This operation can error, it can error because of OS problems [INFO] [stdout] 14 | | /// or Flameshot problems. [INFO] [stdout] | |______________________________^ [INFO] [stdout] 15 | let output = flameshot::execute(params).unwrap(); [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> examples/save_gui_screenshot.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let output = flameshot::execute(params).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_dynamic_image` found for struct `FlameshotOutput` in the current scope [INFO] [stdout] --> examples/to_dynamic_image.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let img = output.to_dynamic_image().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `FlameshotOutput` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flameshot-rs` (example "to-dynamic-image") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "758fb1085a39ca071543c3ea6fc912d3854649b128b9f9420ad866bb7bc94b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758fb1085a39ca071543c3ea6fc912d3854649b128b9f9420ad866bb7bc94b3e", kill_on_drop: false }` [INFO] [stdout] 758fb1085a39ca071543c3ea6fc912d3854649b128b9f9420ad866bb7bc94b3e