[INFO] cloning repository https://github.com/balduvian/mtg-resample-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/balduvian/mtg-resample-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalduvian%2Fmtg-resample-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalduvian%2Fmtg-resample-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f51e9731c4741927300eb1388db2e4e3686ee2b [INFO] testing balduvian/mtg-resample-rs against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalduvian%2Fmtg-resample-rs" "/workspace/builds/worker-54/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-54/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/balduvian/mtg-resample-rs on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/balduvian/mtg-resample-rs [INFO] finished tweaking git repo https://github.com/balduvian/mtg-resample-rs [INFO] tweaked toml for git repo https://github.com/balduvian/mtg-resample-rs written to /workspace/builds/worker-54/source/Cargo.toml [INFO] crate git repo https://github.com/balduvian/mtg-resample-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework v2.1.1 [INFO] [stderr] Downloaded weezl v0.1.4 [INFO] [stderr] Downloaded pin-project-lite v0.2.5 [INFO] [stderr] Downloaded reqwest v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 655526d0065d59a95e1d0118183f945ae23e977e44e3d4be428a6ab1f79498fe [INFO] running `Command { std: "docker" "start" "-a" "655526d0065d59a95e1d0118183f945ae23e977e44e3d4be428a6ab1f79498fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "655526d0065d59a95e1d0118183f945ae23e977e44e3d4be428a6ab1f79498fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655526d0065d59a95e1d0118183f945ae23e977e44e3d4be428a6ab1f79498fe", kill_on_drop: false }` [INFO] [stdout] 655526d0065d59a95e1d0118183f945ae23e977e44e3d4be428a6ab1f79498fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3160b12c95e3db44f6f21dbbbc59c6c1f5cfdeb46e2e2fe0fb61e01a669a811 [INFO] running `Command { std: "docker" "start" "-a" "a3160b12c95e3db44f6f21dbbbc59c6c1f5cfdeb46e2e2fe0fb61e01a669a811", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.1 [INFO] [stderr] Compiling mtg_resample_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_card` [INFO] [stdout] --> src/new_sample.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{CardGrid, create_card_samples, create_sample_image, get_card}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_duplicates` [INFO] [stdout] --> src/new_sample.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::preprocess::{add_duplicates, count_brightness, create_brightness_counts, create_brightness_map, match_brightness}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::macros::support::thread_rng_n` [INFO] [stdout] --> src/preprocess.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::macros::support::thread_rng_n; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/new_sample.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | let mut sample_cards = create_card_samples(card_images, sample_size); [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: cannot borrow `*card_images` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/preprocess.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 106 | let original_image = &card_images[i as usize]; [INFO] [stdout] | ----------- immutable borrow occurs here [INFO] [stdout] 107 | [INFO] [stdout] 108 | card_images.push(original_image.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_detail_order` [INFO] [stdout] --> src/new_sample.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create_detail_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_select_grid` [INFO] [stdout] --> src/new_sample.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn create_select_grid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `distance_from_center_squared` [INFO] [stdout] --> src/new_sample.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn distance_from_center_squared( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_visit_order` [INFO] [stdout] --> src/new_sample.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn create_visit_order( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a3160b12c95e3db44f6f21dbbbc59c6c1f5cfdeb46e2e2fe0fb61e01a669a811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3160b12c95e3db44f6f21dbbbc59c6c1f5cfdeb46e2e2fe0fb61e01a669a811", kill_on_drop: false }` [INFO] [stdout] a3160b12c95e3db44f6f21dbbbc59c6c1f5cfdeb46e2e2fe0fb61e01a669a811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b4a61707486f673e586dc33e78fed298b9afb6399b6b3aac4b88e954d423a7 [INFO] running `Command { std: "docker" "start" "-a" "96b4a61707486f673e586dc33e78fed298b9afb6399b6b3aac4b88e954d423a7", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "96b4a61707486f673e586dc33e78fed298b9afb6399b6b3aac4b88e954d423a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b4a61707486f673e586dc33e78fed298b9afb6399b6b3aac4b88e954d423a7", kill_on_drop: false }` [INFO] [stdout] 96b4a61707486f673e586dc33e78fed298b9afb6399b6b3aac4b88e954d423a7