[INFO] cloning repository https://github.com/kirkpetersen/learning-rust2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirkpetersen/learning-rust2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkpetersen%2Flearning-rust2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkpetersen%2Flearning-rust2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bfd8f147cf6e16646908a5842a79b7b5f7ca609 [INFO] testing kirkpetersen/learning-rust2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirkpetersen%2Flearning-rust2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kirkpetersen/learning-rust2 [INFO] finished tweaking git repo https://github.com/kirkpetersen/learning-rust2 [INFO] tweaked toml for git repo https://github.com/kirkpetersen/learning-rust2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kirkpetersen/learning-rust2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fax_derive v0.2.0 [INFO] [stderr] Downloaded fax v0.2.6 [INFO] [stderr] Downloaded png v0.18.0 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded image v0.25.7 [INFO] [stderr] Downloaded pxfm v0.1.20 [INFO] [stderr] Downloaded tiff v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e095cebc7b52ed6b6917532f41cddbf695237cd6d077fa9f4482491c6b33434 [INFO] running `Command { std: "docker" "start" "-a" "9e095cebc7b52ed6b6917532f41cddbf695237cd6d077fa9f4482491c6b33434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e095cebc7b52ed6b6917532f41cddbf695237cd6d077fa9f4482491c6b33434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e095cebc7b52ed6b6917532f41cddbf695237cd6d077fa9f4482491c6b33434", kill_on_drop: false }` [INFO] [stdout] 9e095cebc7b52ed6b6917532f41cddbf695237cd6d077fa9f4482491c6b33434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41956f56c6cafab137d3dd4ad5975e6771f969776967ff845fcb52fd2e0f965 [INFO] running `Command { std: "docker" "start" "-a" "a41956f56c6cafab137d3dd4ad5975e6771f969776967ff845fcb52fd2e0f965", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling pxfm v0.1.20 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.7 [INFO] [stderr] Compiling learning-rust2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImageRgb8` in crate `image` [INFO] [stdout] --> src/main.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let _ = image::ImageRgb8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^^^^^^^ not found in `image` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use image::DynamicImage::ImageRgb8; [INFO] [stdout] | [INFO] [stdout] help: if you import `ImageRgb8`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - let _ = image::ImageRgb8(imgbuf).save(fout, image::PNG); [INFO] [stdout] 28 + let _ = ImageRgb8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stdout] --> src/main.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | let _ = image::ImageRgb8(imgbuf).save(fout, image::PNG); [INFO] [stdout] | ^^^ not found in `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_rgb` found for enum `DynamicImage` in the current scope [INFO] [stdout] --> src/main.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | let imgbuf = img.to_rgb(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_rgb8` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | let imgbuf = img.to_rgb8(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learning-rust2` (bin "learning-rust2") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a41956f56c6cafab137d3dd4ad5975e6771f969776967ff845fcb52fd2e0f965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41956f56c6cafab137d3dd4ad5975e6771f969776967ff845fcb52fd2e0f965", kill_on_drop: false }` [INFO] [stdout] a41956f56c6cafab137d3dd4ad5975e6771f969776967ff845fcb52fd2e0f965