[INFO] cloning repository https://github.com/rajasekarv/ant-colony-optimization
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajasekarv/ant-colony-optimization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasekarv%2Fant-colony-optimization", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasekarv%2Fant-colony-optimization'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a3a1f4c379ddeeeab6fccbf6564fc46e938951b9
[INFO] checking rajasekarv/ant-colony-optimization against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasekarv%2Fant-colony-optimization" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rajasekarv/ant-colony-optimization
[INFO] finished tweaking git repo https://github.com/rajasekarv/ant-colony-optimization
[INFO] tweaked toml for git repo https://github.com/rajasekarv/ant-colony-optimization written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rajasekarv/ant-colony-optimization on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rajasekarv/ant-colony-optimization 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fs2 v0.4.3
[INFO] [stderr]   Downloaded rustbreak v1.4.0
[INFO] [stderr]   Downloaded serde_derive v1.0.84
[INFO] [stderr]   Downloaded permutation v0.2.5
[INFO] [stderr]   Downloaded serde v1.0.84
[INFO] [stderr]   Downloaded rand_os v0.1.1
[INFO] [stderr]   Downloaded arrayvec v0.4.10
[INFO] [stderr]   Downloaded bincode v0.8.0
[INFO] [stderr]   Downloaded syn v0.15.24
[INFO] [stderr]   Downloaded rand v0.6.4
[INFO] [stderr]   Downloaded libc v0.2.46
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014
[INFO] running `Command { std: "docker" "start" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling autocfg v0.1.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling serde v1.0.84
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking either v1.5.0
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking permutation v0.2.5
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling syn v0.15.24
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling serde_derive v1.0.84
[INFO] [stderr]     Checking bincode v0.8.0
[INFO] [stderr]     Checking rustbreak v1.4.0
[INFO] [stderr]     Checking aco_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/aco_mem.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::INFINITY`
[INFO] [stdout]   --> src/aco_mem.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::f64::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memmap::MmapOptions`
[INFO] [stdout]  --> src/aco_memmap.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use memmap::MmapOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::INFINITY`
[INFO] [stdout]   --> src/aco_memmap.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::f32::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]   --> src/aco_memmap.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::mem::transmute;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/aco_memmap.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{mem, slice};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/aco_memmap.rs:204:31
[INFO] [stdout]     |
[INFO] [stdout] 204 |                     .map(|_j| (self.default_pheromone))
[INFO] [stdout]     |                               ^                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 204 -                     .map(|_j| (self.default_pheromone))
[INFO] [stdout] 204 +                     .map(|_j| self.default_pheromone )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/aco_no_mem.rs:229:21
[INFO] [stdout]     |
[INFO] [stdout] 229 |                     ({
[INFO] [stdout]     |                     ^
[INFO] [stdout] ...
[INFO] [stdout] 240 |                     })
[INFO] [stdout]     |                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 229 ~                     {
[INFO] [stdout] 230 |                         if visited[j] {
[INFO] [stdout] ...
[INFO] [stdout] 239 |                         }
[INFO] [stdout] 240 ~                     } 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashMap`
[INFO] [stdout]  --> src/aco_mem.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::INFINITY`
[INFO] [stdout]   --> src/aco_mem.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::f64::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memmap::MmapOptions`
[INFO] [stdout]  --> src/aco_memmap.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use memmap::MmapOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::INFINITY`
[INFO] [stdout]   --> src/aco_memmap.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::f32::INFINITY;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]   --> src/aco_memmap.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::mem::transmute;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/aco_memmap.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::{mem, slice};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/aco_memmap.rs:204:31
[INFO] [stdout]     |
[INFO] [stdout] 204 |                     .map(|_j| (self.default_pheromone))
[INFO] [stdout]     |                               ^                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 204 -                     .map(|_j| (self.default_pheromone))
[INFO] [stdout] 204 +                     .map(|_j| self.default_pheromone )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/aco_no_mem.rs:229:21
[INFO] [stdout]     |
[INFO] [stdout] 229 |                     ({
[INFO] [stdout]     |                     ^
[INFO] [stdout] ...
[INFO] [stdout] 240 |                     })
[INFO] [stdout]     |                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 229 ~                     {
[INFO] [stdout] 230 |                         if visited[j] {
[INFO] [stdout] ...
[INFO] [stdout] 239 |                         }
[INFO] [stdout] 240 ~                     } 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/aco_mem.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/aco_mem.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let mut iteration_paths: Vec<TourPath>;
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/aco_mem.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         for i in 0..(self.distances.len() - 1) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/aco_memmap.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let mut iteration_paths: Vec<TourPath>;
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude`
[INFO] [stdout]  --> src/aco_mem.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rayon::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/aco_mem.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let mut iteration_paths: Vec<TourPath>;
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/aco_mem.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         for i in 0..(self.distances.len() - 1) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/aco_no_mem.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let mut iteration_paths: Vec<TourPath>;
[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/aco_memmap.rs:146:17
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let mut iteration_paths: Vec<TourPath>;
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `euclidean_distance` is never used
[INFO] [stdout]    --> src/aco_mem.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl AntColony {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 245 |     fn euclidean_distance(a: &Coordinate, b: &Coordinate) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/aco_no_mem.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |             let mut iteration_paths: Vec<TourPath>;
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `euclidean_distance` is never used
[INFO] [stdout]    --> src/aco_mem.rs:245:8
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl AntColony {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 245 |     fn euclidean_distance(a: &Coordinate, b: &Coordinate) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/aco_using_ram.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/bin/aco_using_ram.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fnv::FnvHashMap`
[INFO] [stdout]  --> src/bin/aco_using_memmap.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use fnv::FnvHashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::mem::transmute;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fnv::FnvHashMap`
[INFO] [stdout]  --> src/bin/aco_using_memmap.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use fnv::FnvHashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::mem::transmute;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{mem, slice};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slice`
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::{mem, slice};
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut f = File::create("/data1/temp").expect("Unable to create file");
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut f = File::open("/data1/temp").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/bin/aco_using_memmap.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut f = File::create("temp").expect("Unable to create file");
[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/bin/aco_using_memmap.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut f = File::open("temp").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/bin/aco_using_memmap.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let mut f = File::create("temp").expect("Unable to create file");
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main0` is never used
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn main0() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main4` is never used
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main4() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:185:4
[INFO] [stdout]     |
[INFO] [stdout] 185 | fn main1() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut f = File::create("/data1/temp").expect("Unable to create file");
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:48:71
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(number) };
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(number) };
[INFO] [stdout] 48 +                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { f32::to_ne_bytes(number) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:109:71
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout] 109 +                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { f64::to_ne_bytes(*j) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:213:67
[INFO] [stdout]     |
[INFO] [stdout] 213 |             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 213 -             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout] 213 +             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { f32::to_ne_bytes(*j) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut f = File::open("/data1/temp").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/bin/aco_using_memmap.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let mut f = File::create("temp").expect("Unable to create file");
[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/bin/aco_using_memmap.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut f = File::open("temp").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/bin/aco_using_memmap.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let mut f = File::create("temp").expect("Unable to create file");
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main0` is never used
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn main0() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main4` is never used
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn main4() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:185:4
[INFO] [stdout]     |
[INFO] [stdout] 185 | fn main1() {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/bin/aco_using_memmap.rs:48:71
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(number) };
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(number) };
[INFO] [stdout] 48 +                 let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { f32::to_ne_bytes(number) };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:109:71
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout] 109 +                 let raw_bytes: [u8; mem::size_of::<f64>()] = unsafe { f64::to_ne_bytes(*j) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/bin/aco_using_memmap.rs:213:67
[INFO] [stdout]     |
[INFO] [stdout] 213 |             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 213 -             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { std::mem::transmute(*j) };
[INFO] [stdout] 213 +             let raw_bytes: [u8; mem::size_of::<f32>()] = unsafe { f32::to_ne_bytes(*j) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s
[INFO] running `Command { std: "docker" "inspect" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014", kill_on_drop: false }`
[INFO] [stdout] 93440cbef3fb3e2ad5ffdc433ff57e1d9b231c376c740185b66a5ca95d536014
