[INFO] cloning repository https://github.com/CloneRob/AugmentNSplit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CloneRob/AugmentNSplit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2FAugmentNSplit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2FAugmentNSplit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e7ee8babcbb8425ad36b6cbd4a8edcef2ed0d24 [INFO] checking CloneRob/AugmentNSplit against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloneRob%2FAugmentNSplit" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CloneRob/AugmentNSplit on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CloneRob/AugmentNSplit [INFO] finished tweaking git repo https://github.com/CloneRob/AugmentNSplit [INFO] tweaked toml for git repo https://github.com/CloneRob/AugmentNSplit written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/CloneRob/AugmentNSplit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.5.2 [INFO] [stderr] Downloaded image v0.9.1 [INFO] [stderr] Downloaded gif v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9849696f387cd7e67b38898b23c7ba03862316af6e0e0e76d01990318a6f99aa [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" "9849696f387cd7e67b38898b23c7ba03862316af6e0e0e76d01990318a6f99aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9849696f387cd7e67b38898b23c7ba03862316af6e0e0e76d01990318a6f99aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9849696f387cd7e67b38898b23c7ba03862316af6e0e0e76d01990318a6f99aa", kill_on_drop: false }` [INFO] [stdout] 9849696f387cd7e67b38898b23c7ba03862316af6e0e0e76d01990318a6f99aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 818cd3036cf6657b048741511ff35750f63399ccf19338a0421fbdc31efeec26 [INFO] running `Command { std: "docker" "start" "-a" "818cd3036cf6657b048741511ff35750f63399ccf19338a0421fbdc31efeec26", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking xml-rs v0.3.6 [INFO] [stderr] Checking gif v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.9.1 [INFO] [stderr] Checking AugmentNSplit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | 0.0...0.2 => Some(Label::Healthy), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 0.8...1.0 => Some(Label::Sick), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | 0.0...0.2 => Some(Label::Healthy), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | 0.8...1.0 => Some(Label::Sick), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | 0.0...0.2 => Some(Label::Healthy), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | 0.8...1.0 => Some(Label::Sick), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | 0.0...0.2 => Some(Label::Healthy), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | 0.8...1.0 => Some(Label::Sick), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/ans/augment_split.rs:296:42 [INFO] [stdout] | [INFO] [stdout] 296 | let sampled_pixels = sample(&mut rng, sick_pixel_vec, sample_size); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/ans/augment_split.rs:296:42 [INFO] [stdout] | [INFO] [stdout] 296 | let sampled_pixels = sample(&mut rng, sick_pixel_vec, sample_size); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ans/augment_split.rs:240:66 [INFO] [stdout] | [INFO] [stdout] 240 | for i in (0..real_dim.0 - x_len + 1).step_by(x_offset) { [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 240 | for i in (0..real_dim.0 - x_len + 1).step_by(x_offset.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ans/augment_split.rs:240:66 [INFO] [stdout] | [INFO] [stdout] 240 | for i in (0..real_dim.0 - x_len + 1).step_by(x_offset) { [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 240 | for i in (0..real_dim.0 - x_len + 1).step_by(x_offset.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ans/augment_split.rs:242:70 [INFO] [stdout] | [INFO] [stdout] 242 | for j in (0..real_dim.1 - y_len + 1).step_by(y_offset) { [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 242 | for j in (0..real_dim.1 - y_len + 1).step_by(y_offset.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ans/augment_split.rs:242:70 [INFO] [stdout] | [INFO] [stdout] 242 | for j in (0..real_dim.1 - y_len + 1).step_by(y_offset) { [INFO] [stdout] | ^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u32` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 242 | for j in (0..real_dim.1 - y_len + 1).step_by(y_offset.try_into().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `AugmentNSplit` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "818cd3036cf6657b048741511ff35750f63399ccf19338a0421fbdc31efeec26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818cd3036cf6657b048741511ff35750f63399ccf19338a0421fbdc31efeec26", kill_on_drop: false }` [INFO] [stdout] 818cd3036cf6657b048741511ff35750f63399ccf19338a0421fbdc31efeec26