[INFO] fetching crate pride-overlay 3.0.0... [INFO] testing pride-overlay-3.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate pride-overlay 3.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate pride-overlay 3.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pride-overlay 3.0.0 [INFO] tweaked toml for crates.io crate pride-overlay 3.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pride-overlay 3.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pride-overlay 3.0.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbc1c3dcf16c6abc7796bc497800810dd21443e476d62dab61310ad832978420 [INFO] running `Command { std: "docker" "start" "-a" "bbc1c3dcf16c6abc7796bc497800810dd21443e476d62dab61310ad832978420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbc1c3dcf16c6abc7796bc497800810dd21443e476d62dab61310ad832978420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc1c3dcf16c6abc7796bc497800810dd21443e476d62dab61310ad832978420", kill_on_drop: false }` [INFO] [stdout] bbc1c3dcf16c6abc7796bc497800810dd21443e476d62dab61310ad832978420 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf218f94c7ca3e42af6b75e361a9990ef7a84572830f1ff5b1c23b8a406d1e6 [INFO] running `Command { std: "docker" "start" "-a" "bbf218f94c7ca3e42af6b75e361a9990ef7a84572830f1ff5b1c23b8a406d1e6", 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 simd-adler32 v0.3.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling moxcms v0.7.7 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling bon-macros v3.8.1 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling bon v3.8.1 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling pride-overlay v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.40s [INFO] running `Command { std: "docker" "inspect" "bbf218f94c7ca3e42af6b75e361a9990ef7a84572830f1ff5b1c23b8a406d1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf218f94c7ca3e42af6b75e361a9990ef7a84572830f1ff5b1c23b8a406d1e6", kill_on_drop: false }` [INFO] [stdout] bbf218f94c7ca3e42af6b75e361a9990ef7a84572830f1ff5b1c23b8a406d1e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba22d01281b1f906ed48050f0c06bc9bc52e04a93b299673749cbfa96a7ee3c [INFO] running `Command { std: "docker" "start" "-a" "0ba22d01281b1f906ed48050f0c06bc9bc52e04a93b299673749cbfa96a7ee3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling kurbo v0.11.2 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling pride-overlay v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 41.89s [INFO] running `Command { std: "docker" "inspect" "0ba22d01281b1f906ed48050f0c06bc9bc52e04a93b299673749cbfa96a7ee3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba22d01281b1f906ed48050f0c06bc9bc52e04a93b299673749cbfa96a7ee3c", kill_on_drop: false }` [INFO] [stdout] 0ba22d01281b1f906ed48050f0c06bc9bc52e04a93b299673749cbfa96a7ee3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de2790e6910759fb7eed4acc1c1d9d7dac7a88db97000d13a2c44fccffdc8894 [INFO] running `Command { std: "docker" "start" "-a" "de2790e6910759fb7eed4acc1c1d9d7dac7a88db97000d13a2c44fccffdc8894", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pride_overlay-fd5d5f24d2d888fb) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests pride_overlay [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) 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:19:50 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_15_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 19 | 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] 16 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_15_0() -> Result<(), Box> { [INFO] [stdout] 17 | use pride_overlay::prelude::*; [INFO] [stdout] ... [INFO] [stdout] 21 | effect.apply(&mut image); [INFO] [stdout] 22 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | let effect = Overlay::builder(PresetFlag::Transgender).opacity(Opacity::new(0.4)).build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------------- unexpected argument of type `pride_overlay::flags::PresetFlag` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/effects/overlay.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Overlay { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 20 - let effect = Overlay::builder(PresetFlag::Transgender).opacity(Opacity::new(0.4)).build(); [INFO] [stdout] 20 + let effect = Overlay::builder().opacity(Opacity::new(0.4)).build(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opacity` [INFO] [stdout] --> src/lib.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | let effect = Overlay::builder(PresetFlag::Transgender).opacity(Opacity::new(0.4)).build(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Opacity` [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | effect.apply(&mut image); [INFO] [stdout] | ^^^^^------------ argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/effects/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn apply(&self, image: &mut image::DynamicImage, flag: F); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | effect.apply(&mut image, /* flag */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.45s; merged doctests compilation took 0.21s [INFO] running `Command { std: "docker" "inspect" "de2790e6910759fb7eed4acc1c1d9d7dac7a88db97000d13a2c44fccffdc8894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de2790e6910759fb7eed4acc1c1d9d7dac7a88db97000d13a2c44fccffdc8894", kill_on_drop: false }` [INFO] [stdout] de2790e6910759fb7eed4acc1c1d9d7dac7a88db97000d13a2c44fccffdc8894