[INFO] cloning repository https://github.com/PeterHatch/color-smash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterHatch/color-smash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dddc315e7374940b7780528b841a91837dfd8854 [INFO] checking PeterHatch/color-smash/dddc315e7374940b7780528b841a91837dfd8854 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeterHatch/color-smash on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PeterHatch/color-smash [INFO] finished tweaking git repo https://github.com/PeterHatch/color-smash [INFO] tweaked toml for git repo https://github.com/PeterHatch/color-smash written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PeterHatch/color-smash 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating color_smash v0.2.1 (/workspace/builds/worker-6-tc1/source) -> v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 554832c2d04850593e8e1a831a39334587eb6db66e2496e9e94d4b49cfd00243 [INFO] running `Command { std: "docker" "start" "-a" "554832c2d04850593e8e1a831a39334587eb6db66e2496e9e94d4b49cfd00243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "554832c2d04850593e8e1a831a39334587eb6db66e2496e9e94d4b49cfd00243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554832c2d04850593e8e1a831a39334587eb6db66e2496e9e94d4b49cfd00243", kill_on_drop: false }` [INFO] [stdout] 554832c2d04850593e8e1a831a39334587eb6db66e2496e9e94d4b49cfd00243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83a07a7916ed1b667292ceb7ac78726b99ddec227792cd2bbb4ab4a89d25ada5 [INFO] running `Command { std: "docker" "start" "-a" "83a07a7916ed1b667292ceb7ac78726b99ddec227792cd2bbb4ab4a89d25ada5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking color_smash v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/color/rgb5a3/mod.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 1...6 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write_pngs( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let images = try!(open_images(input_paths)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_image_data(&indexed_image_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut writer = try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/color/rgb5a3/mod.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 1...6 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write_pngs( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let images = try!(open_images(input_paths)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let image = try!(image_lib::open(input_path)).to_rgba(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | try!(writer.write_image_data(&indexed_image_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/images/mod.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let mut writer = try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/images/mod.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nearest` is never used [INFO] [stdout] --> src/k_means/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait SimpleInput: Eq + Hash + Clone + Debug { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn nearest(&self, centers: &[Self::Output]) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/images/mod.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let mut output = &try!(File::create(output_path)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nearest` is never used [INFO] [stdout] --> src/k_means/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait SimpleInput: Eq + Hash + Clone + Debug { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn nearest(&self, centers: &[Self::Output]) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.98s [INFO] running `Command { std: "docker" "inspect" "83a07a7916ed1b667292ceb7ac78726b99ddec227792cd2bbb4ab4a89d25ada5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a07a7916ed1b667292ceb7ac78726b99ddec227792cd2bbb4ab4a89d25ada5", kill_on_drop: false }` [INFO] [stdout] 83a07a7916ed1b667292ceb7ac78726b99ddec227792cd2bbb4ab4a89d25ada5