[INFO] cloning repository https://github.com/verdie-g/photo-mosaic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/verdie-g/photo-mosaic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fverdie-g%2Fphoto-mosaic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fverdie-g%2Fphoto-mosaic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2ae2469829f52ed686c0737aa0789a4c191b2db [INFO] testing verdie-g/photo-mosaic against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fverdie-g%2Fphoto-mosaic" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/verdie-g/photo-mosaic on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/verdie-g/photo-mosaic [INFO] finished tweaking git repo https://github.com/verdie-g/photo-mosaic [INFO] tweaked toml for git repo https://github.com/verdie-g/photo-mosaic written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/verdie-g/photo-mosaic 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768c5708e9041da29e9728b6be9b8c74b01980a2e194568bb73dc8858d4a9e8c [INFO] running `Command { std: "docker" "start" "-a" "768c5708e9041da29e9728b6be9b8c74b01980a2e194568bb73dc8858d4a9e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768c5708e9041da29e9728b6be9b8c74b01980a2e194568bb73dc8858d4a9e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768c5708e9041da29e9728b6be9b8c74b01980a2e194568bb73dc8858d4a9e8c", kill_on_drop: false }` [INFO] [stdout] 768c5708e9041da29e9728b6be9b8c74b01980a2e194568bb73dc8858d4a9e8c [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a1ad8c7bc3edb7324307fd395fd320efa309c75371d2cc4b2a1f6f0bd39925 [INFO] running `Command { std: "docker" "start" "-a" "b6a1ad8c7bc3edb7324307fd395fd320efa309c75371d2cc4b2a1f6f0bd39925", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling safe-transmute v0.10.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.0 [INFO] [stderr] Compiling mosaic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{self, imageops, DynamicImage, GenericImage, ImageBuffer, Rgba, SubImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/main.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | let (w, h) = model.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let (w, h) = model.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.29s [INFO] running `Command { std: "docker" "inspect" "b6a1ad8c7bc3edb7324307fd395fd320efa309c75371d2cc4b2a1f6f0bd39925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a1ad8c7bc3edb7324307fd395fd320efa309c75371d2cc4b2a1f6f0bd39925", kill_on_drop: false }` [INFO] [stdout] b6a1ad8c7bc3edb7324307fd395fd320efa309c75371d2cc4b2a1f6f0bd39925 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 347404434c9568cec26fdab2deedacb982c561b1b8de0fc6bb0c6472539a4ca2 [INFO] running `Command { std: "docker" "start" "-a" "347404434c9568cec26fdab2deedacb982c561b1b8de0fc6bb0c6472539a4ca2", kill_on_drop: false }` [INFO] [stderr] Compiling mosaic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{self, imageops, DynamicImage, GenericImage, ImageBuffer, Rgba, SubImage}; [INFO] [stdout] | ^^^^ the item `image` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/main.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | let (w, h) = model.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let (w, h) = model.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "347404434c9568cec26fdab2deedacb982c561b1b8de0fc6bb0c6472539a4ca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "347404434c9568cec26fdab2deedacb982c561b1b8de0fc6bb0c6472539a4ca2", kill_on_drop: false }` [INFO] [stdout] 347404434c9568cec26fdab2deedacb982c561b1b8de0fc6bb0c6472539a4ca2 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f4749a1431d2058080533a041e7690ca7da5c08f58c9a4af2cd3fadd80b71857 [INFO] running `Command { std: "docker" "start" "-a" "f4749a1431d2058080533a041e7690ca7da5c08f58c9a4af2cd3fadd80b71857", kill_on_drop: false }` [INFO] [stderr] warning: the item `image` is imported redundantly [INFO] [stderr] --> src/main.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use image::{self, imageops, DynamicImage, GenericImage, ImageBuffer, Rgba, SubImage}; [INFO] [stderr] | ^^^^ the item `image` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | ) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 | ) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:145:43 [INFO] [stderr] | [INFO] [stderr] 145 | ) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 145 | ) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/main.rs:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | let (w, h) = model.dimensions(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `h` [INFO] [stderr] --> src/main.rs:236:13 [INFO] [stderr] | [INFO] [stderr] 236 | let (w, h) = model.dimensions(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: `mosaic` (bin "mosaic" test) generated 5 warnings (run `cargo fix --bin "mosaic" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mosaic-e08946648bc0381a) [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] running `Command { std: "docker" "inspect" "f4749a1431d2058080533a041e7690ca7da5c08f58c9a4af2cd3fadd80b71857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4749a1431d2058080533a041e7690ca7da5c08f58c9a4af2cd3fadd80b71857", kill_on_drop: false }` [INFO] [stdout] f4749a1431d2058080533a041e7690ca7da5c08f58c9a4af2cd3fadd80b71857