[INFO] cloning repository https://github.com/igorfs10/image_manip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igorfs10/image_manip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorfs10%2Fimage_manip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorfs10%2Fimage_manip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01cf394757b21f0eaf7e0aed270a30f88720bb9d [INFO] checking igorfs10/image_manip against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorfs10%2Fimage_manip" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igorfs10/image_manip on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igorfs10/image_manip [INFO] finished tweaking git repo https://github.com/igorfs10/image_manip [INFO] tweaked toml for git repo https://github.com/igorfs10/image_manip written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/silvia-odwyer/photon/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eec44fc3b662e2530aff1828eafdd812ffb05af4f108354d81b66e18bc8992af [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" "eec44fc3b662e2530aff1828eafdd812ffb05af4f108354d81b66e18bc8992af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eec44fc3b662e2530aff1828eafdd812ffb05af4f108354d81b66e18bc8992af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec44fc3b662e2530aff1828eafdd812ffb05af4f108354d81b66e18bc8992af", kill_on_drop: false }` [INFO] [stdout] eec44fc3b662e2530aff1828eafdd812ffb05af4f108354d81b66e18bc8992af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 026fcbe1edb78dff7091dfe79edd518e6b55a1dc71766126349de55b3a3bd64e [INFO] running `Command { std: "docker" "start" "-a" "026fcbe1edb78dff7091dfe79edd518e6b55a1dc71766126349de55b3a3bd64e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crossterm v0.16.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking colour v0.5.0 [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 num v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.23 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking imageproc v0.21.0 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking node-sys v0.4.2 [INFO] [stderr] Checking photon-rs v0.2.0 (https://github.com/silvia-odwyer/photon/#9a0d1788) [INFO] [stderr] Checking image_manip v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | img = transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3); [INFO] [stdout] | ^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&PhotonImage` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | img = transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3); [INFO] [stdout] | ^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&PhotonImage` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | img = transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found struct `PhotonImage` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found struct `PhotonImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | img = transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::result::Result`, found struct `PhotonImage` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(transform::resize(&img, configuracoes.largura, configuracoes.altura, transform::SamplingFilter::Lanczos3))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found struct `PhotonImage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:77:85 [INFO] [stdout] | [INFO] [stdout] 77 | if configuracoes.canal_vermelho != 0 { channels::alter_blue_channel(&mut img, configuracoes.canal_vermelho); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:77:85 [INFO] [stdout] | [INFO] [stdout] 77 | if configuracoes.canal_vermelho != 0 { channels::alter_blue_channel(&mut img, configuracoes.canal_vermelho); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:83 [INFO] [stdout] | [INFO] [stdout] 78 | if configuracoes.canal_verde != 0 { channels::alter_green_channel(&mut img, configuracoes.canal_verde); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:79:80 [INFO] [stdout] | [INFO] [stdout] 79 | if configuracoes.canal_azul != 0 { channels::alter_red_channel(&mut img, configuracoes.canal_azul); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:83 [INFO] [stdout] | [INFO] [stdout] 78 | if configuracoes.canal_verde != 0 { channels::alter_green_channel(&mut img, configuracoes.canal_verde); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:77 [INFO] [stdout] | [INFO] [stdout] 82 | if configuracoes.espelhamento_horizontal { transform::fliph(&mut img); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:79:80 [INFO] [stdout] | [INFO] [stdout] 79 | if configuracoes.canal_azul != 0 { channels::alter_red_channel(&mut img, configuracoes.canal_azul); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:75 [INFO] [stdout] | [INFO] [stdout] 83 | if configuracoes.espelhamento_vertical { transform::flipv(&mut img); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:77 [INFO] [stdout] | [INFO] [stdout] 82 | if configuracoes.espelhamento_horizontal { transform::fliph(&mut img); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | save_image(img, &nome_imagem); [INFO] [stdout] | ^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PhotonImage` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `image_manip` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:75 [INFO] [stdout] | [INFO] [stdout] 83 | if configuracoes.espelhamento_vertical { transform::flipv(&mut img); } [INFO] [stdout] | ^^^^^^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PhotonImage` [INFO] [stdout] found mutable reference `&mut std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | save_image(img, &nome_imagem); [INFO] [stdout] | ^^^ expected struct `PhotonImage`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PhotonImage` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "026fcbe1edb78dff7091dfe79edd518e6b55a1dc71766126349de55b3a3bd64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026fcbe1edb78dff7091dfe79edd518e6b55a1dc71766126349de55b3a3bd64e", kill_on_drop: false }` [INFO] [stdout] 026fcbe1edb78dff7091dfe79edd518e6b55a1dc71766126349de55b3a3bd64e