[INFO] fetching crate flameshot-rs 1.0.1... [INFO] checking flameshot-rs-1.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate flameshot-rs 1.0.1 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flameshot-rs 1.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07e77b2b45689a4f0949d00d9c45e7cdccd9468fa1046811e83737838802ae69 [INFO] running `Command { std: "docker" "start" "-a" "07e77b2b45689a4f0949d00d9c45e7cdccd9468fa1046811e83737838802ae69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07e77b2b45689a4f0949d00d9c45e7cdccd9468fa1046811e83737838802ae69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07e77b2b45689a4f0949d00d9c45e7cdccd9468fa1046811e83737838802ae69", kill_on_drop: false }` [INFO] [stdout] 07e77b2b45689a4f0949d00d9c45e7cdccd9468fa1046811e83737838802ae69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b16a97ccd9fb6daf94565c1c864e22514a8c3029ba2cb77f79c5db5af249447 [INFO] running `Command { std: "docker" "start" "-a" "4b16a97ccd9fb6daf94565c1c864e22514a8c3029ba2cb77f79c5db5af249447", 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4b16a97ccd9fb6daf94565c1c864e22514a8c3029ba2cb77f79c5db5af249447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b16a97ccd9fb6daf94565c1c864e22514a8c3029ba2cb77f79c5db5af249447", kill_on_drop: false }` [INFO] [stdout] 4b16a97ccd9fb6daf94565c1c864e22514a8c3029ba2cb77f79c5db5af249447