[INFO] updating cached repository https://github.com/emilio/nn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8cda885b450db2983bd4b503ff00a19cba5dce0 [INFO] checking emilio/nn against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femilio%2Fnn" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emilio/nn on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emilio/nn [INFO] finished tweaking git repo https://github.com/emilio/nn [INFO] tweaked toml for git repo https://github.com/emilio/nn written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/emilio/nn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5673ae2c4baddb192cd9eea3a37e5cc26c35246d0b4ec7310982f0066d3ce671 [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" "5673ae2c4baddb192cd9eea3a37e5cc26c35246d0b4ec7310982f0066d3ce671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5673ae2c4baddb192cd9eea3a37e5cc26c35246d0b4ec7310982f0066d3ce671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5673ae2c4baddb192cd9eea3a37e5cc26c35246d0b4ec7310982f0066d3ce671", kill_on_drop: false }` [INFO] [stdout] 5673ae2c4baddb192cd9eea3a37e5cc26c35246d0b4ec7310982f0066d3ce671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d731e46cc2aebbddce245c7f4394a1d3c0f31eb81b7aa64cbad27128f345086b [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" "d731e46cc2aebbddce245c7f4394a1d3c0f31eb81b7aa64cbad27128f345086b", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling gcc v0.3.49 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking clap v2.24.2 [INFO] [stderr] Compiling cmake v0.1.24 [INFO] [stderr] Compiling neural-networks-practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 527 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 527 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `slice` is imported redundantly [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{io, fs, path, slice}; [INFO] [stdout] | ----- the item `slice` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let (l, mut r) = self.layers.split_at_mut(i); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut output_layer = self.layers.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | while let Some(mut previous_layer) = next { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let (l, mut r) = self.layers.split_at_mut(i); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let mut output_layer = self.layers.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | while let Some(mut previous_layer) = next { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | let mut this_layer = match iter.next() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.93s [INFO] running `Command { std: "docker" "inspect" "d731e46cc2aebbddce245c7f4394a1d3c0f31eb81b7aa64cbad27128f345086b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d731e46cc2aebbddce245c7f4394a1d3c0f31eb81b7aa64cbad27128f345086b", kill_on_drop: false }` [INFO] [stdout] d731e46cc2aebbddce245c7f4394a1d3c0f31eb81b7aa64cbad27128f345086b