[INFO] cloning repository https://github.com/isitreallyalive/pride-overlay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isitreallyalive/pride-overlay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisitreallyalive%2Fpride-overlay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisitreallyalive%2Fpride-overlay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd891762f1abc24b3a60aed82264b50e4a8e8fb6 [INFO] testing isitreallyalive/pride-overlay against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisitreallyalive%2Fpride-overlay" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/isitreallyalive/pride-overlay [INFO] finished tweaking git repo https://github.com/isitreallyalive/pride-overlay [INFO] tweaked toml for git repo https://github.com/isitreallyalive/pride-overlay written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/isitreallyalive/pride-overlay on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/isitreallyalive/pride-overlay 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bon v3.6.3 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded ravif v0.11.12 [INFO] [stderr] Downloaded bon-macros v3.6.3 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded imageproc v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c91b896fab9e4e8d1d542b207f52b5d7b153492129b0a20670fb9f3a8f06cbf2 [INFO] running `Command { std: "docker" "start" "-a" "c91b896fab9e4e8d1d542b207f52b5d7b153492129b0a20670fb9f3a8f06cbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c91b896fab9e4e8d1d542b207f52b5d7b153492129b0a20670fb9f3a8f06cbf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91b896fab9e4e8d1d542b207f52b5d7b153492129b0a20670fb9f3a8f06cbf2", kill_on_drop: false }` [INFO] [stdout] c91b896fab9e4e8d1d542b207f52b5d7b153492129b0a20670fb9f3a8f06cbf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 165ce29ae986c160d5dd320b6dc2a2661a26e36521d37bdf140b91773ffe6725 [INFO] running `Command { std: "docker" "start" "-a" "165ce29ae986c160d5dd320b6dc2a2661a26e36521d37bdf140b91773ffe6725", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling pride-overlay_proc v2.0.0 (/opt/rustwide/workdir/pride-overlay_proc) [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling bon-macros v3.6.3 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling bon v3.6.3 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling pride-overlay v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.00s [INFO] running `Command { std: "docker" "inspect" "165ce29ae986c160d5dd320b6dc2a2661a26e36521d37bdf140b91773ffe6725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165ce29ae986c160d5dd320b6dc2a2661a26e36521d37bdf140b91773ffe6725", kill_on_drop: false }` [INFO] [stdout] 165ce29ae986c160d5dd320b6dc2a2661a26e36521d37bdf140b91773ffe6725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f0fa58eacb813b2c41617d2aab75a3c933255feb6202cde4706ee9a519cb7f4 [INFO] running `Command { std: "docker" "start" "-a" "4f0fa58eacb813b2c41617d2aab75a3c933255feb6202cde4706ee9a519cb7f4", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling pride-overlay v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.61s [INFO] running `Command { std: "docker" "inspect" "4f0fa58eacb813b2c41617d2aab75a3c933255feb6202cde4706ee9a519cb7f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0fa58eacb813b2c41617d2aab75a3c933255feb6202cde4706ee9a519cb7f4", kill_on_drop: false }` [INFO] [stdout] 4f0fa58eacb813b2c41617d2aab75a3c933255feb6202cde4706ee9a519cb7f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ac31d74ab2abc90a02a459eb36440c5d85b33f8f22ede40d0b3c5cd307bfaa7 [INFO] running `Command { std: "docker" "start" "-a" "8ac31d74ab2abc90a02a459eb36440c5d85b33f8f22ede40d0b3c5cd307bfaa7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pride_overlay-8ec23853dcc38e48) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests pride_overlay [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:16:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut image = image::open("path/to/image.webp")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() -> Result<(), Box> { [INFO] [stdout] 5 | use pride_overlay::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 9 | effect.apply(&mut image); [INFO] [stdout] 10+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `builder` is private [INFO] [stdout] --> src/lib.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 8 | let effect = Overlay::builder(Flag::Transgender).opacity(Opacity::new(0.4)).build(); [INFO] [stdout] | ^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/effect/overlay.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Builder, proc::Effect)] [INFO] [stdout] | ------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Transgender` found for struct `pride_overlay::Flag<'a>` in the current scope [INFO] [stdout] --> src/lib.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 8 | let effect = Overlay::builder(Flag::Transgender).opacity(Opacity::new(0.4)).build(); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `pride_overlay::Flag<'_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0624. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.31s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8ac31d74ab2abc90a02a459eb36440c5d85b33f8f22ede40d0b3c5cd307bfaa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac31d74ab2abc90a02a459eb36440c5d85b33f8f22ede40d0b3c5cd307bfaa7", kill_on_drop: false }` [INFO] [stdout] 8ac31d74ab2abc90a02a459eb36440c5d85b33f8f22ede40d0b3c5cd307bfaa7