[INFO] cloning repository https://github.com/Odysseusailoon/GraduationDesign [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Odysseusailoon/GraduationDesign" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdysseusailoon%2FGraduationDesign", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdysseusailoon%2FGraduationDesign'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4db5c81382d198971b97d1e1fa4f92154e673f6 [INFO] building Odysseusailoon/GraduationDesign against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdysseusailoon%2FGraduationDesign" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Odysseusailoon/GraduationDesign on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Odysseusailoon/GraduationDesign [INFO] finished tweaking git repo https://github.com/Odysseusailoon/GraduationDesign [INFO] tweaked toml for git repo https://github.com/Odysseusailoon/GraduationDesign written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/Odysseusailoon/GraduationDesign already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4007347bba8915012e27b9d9f498f9f9bb45eeb8a3531aab7e0a47283b7e7f4f [INFO] running `Command { std: "docker" "start" "-a" "4007347bba8915012e27b9d9f498f9f9bb45eeb8a3531aab7e0a47283b7e7f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4007347bba8915012e27b9d9f498f9f9bb45eeb8a3531aab7e0a47283b7e7f4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4007347bba8915012e27b9d9f498f9f9bb45eeb8a3531aab7e0a47283b7e7f4f", kill_on_drop: false }` [INFO] [stdout] 4007347bba8915012e27b9d9f498f9f9bb45eeb8a3531aab7e0a47283b7e7f4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2508ed77e27772a5eb281155616d08d44aa53565ffd4d1377b1897eaf291843 [INFO] running `Command { std: "docker" "start" "-a" "e2508ed77e27772a5eb281155616d08d44aa53565ffd4d1377b1897eaf291843", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling svg v0.7.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotlib v0.5.1 [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling graduation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Q_T` [INFO] [stdout] --> src/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parameters::{init_global_parameters, E_MAX, Q_T, TIME_COUNT}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CURRENT_SLOT`, `Q_T` [INFO] [stdout] --> src/simulation.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parameters::{Task, BANDWIDTH, CURRENT_SLOT, EDGE_COUNT, EDGE_LAMBDA, Q_T, V}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/simulation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist_t` is never read [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut dist_t = Default::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist_dispatch` is never read [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dist_dispatch = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for x in 0..TIME_COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `compute_latency` is never read [INFO] [stdout] --> src/simulation.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut compute_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trans_latency` is never read [INFO] [stdout] --> src/simulation.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trans_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `compute_latency` is never read [INFO] [stdout] --> src/simulation.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut compute_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trans_latency` is never read [INFO] [stdout] --> src/simulation.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut trans_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_dispatched` is never read [INFO] [stdout] --> src/simulation.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut new_dispatched = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_latency_t` is never read [INFO] [stdout] --> src/simulation.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tmp_latency_t = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let mut task = Task::new(required_productivity, profits, data_size, edge_id, 0); [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/simulation.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut current_edge = &dist_t[random_edge]; [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/simulation.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut new_val = objective_function(&mut new_dispatched, q_t); //evaluate the new answer [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TSLOT_SIZE` [INFO] [stdout] --> src/parameters.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TSLOT_SIZE: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `CURRENT_SLOT` [INFO] [stdout] --> src/parameters.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub static mut CURRENT_SLOT: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Q_T` [INFO] [stdout] --> src/parameters.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub static mut Q_T: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TAO` [INFO] [stdout] --> src/parameters.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TAO: f32 = 0.1; //parameters for markov approximation's random iteration [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `plot_four_lines` [INFO] [stdout] --> src/plot.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn plot_four_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 01s [INFO] running `Command { std: "docker" "inspect" "e2508ed77e27772a5eb281155616d08d44aa53565ffd4d1377b1897eaf291843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2508ed77e27772a5eb281155616d08d44aa53565ffd4d1377b1897eaf291843", kill_on_drop: false }` [INFO] [stdout] e2508ed77e27772a5eb281155616d08d44aa53565ffd4d1377b1897eaf291843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65f452dfeed4f2c36adfb68b8d01409c1a68c15666850a14d25c498be1d8106a [INFO] running `Command { std: "docker" "start" "-a" "65f452dfeed4f2c36adfb68b8d01409c1a68c15666850a14d25c498be1d8106a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling graduation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Q_T` [INFO] [stdout] --> src/main.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parameters::{init_global_parameters, E_MAX, Q_T, TIME_COUNT}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CURRENT_SLOT`, `Q_T` [INFO] [stdout] --> src/simulation.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parameters::{Task, BANDWIDTH, CURRENT_SLOT, EDGE_COUNT, EDGE_LAMBDA, Q_T, V}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/simulation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist_t` is never read [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut dist_t = Default::default(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dist_dispatch` is never read [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut dist_dispatch = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for x in 0..TIME_COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `compute_latency` is never read [INFO] [stdout] --> src/simulation.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let mut compute_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trans_latency` is never read [INFO] [stdout] --> src/simulation.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut trans_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `compute_latency` is never read [INFO] [stdout] --> src/simulation.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut compute_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trans_latency` is never read [INFO] [stdout] --> src/simulation.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut trans_latency = 0u32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_dispatched` is never read [INFO] [stdout] --> src/simulation.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | let mut new_dispatched = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_latency_t` is never read [INFO] [stdout] --> src/simulation.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut tmp_latency_t = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/simulation.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let mut task = Task::new(required_productivity, profits, data_size, edge_id, 0); [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/simulation.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut current_edge = &dist_t[random_edge]; [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/simulation.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let mut new_val = objective_function(&mut new_dispatched, q_t); //evaluate the new answer [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TSLOT_SIZE` [INFO] [stdout] --> src/parameters.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const TSLOT_SIZE: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `CURRENT_SLOT` [INFO] [stdout] --> src/parameters.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub static mut CURRENT_SLOT: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Q_T` [INFO] [stdout] --> src/parameters.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub static mut Q_T: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TAO` [INFO] [stdout] --> src/parameters.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TAO: f32 = 0.1; //parameters for markov approximation's random iteration [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `plot_four_lines` [INFO] [stdout] --> src/plot.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn plot_four_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.48s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/graduation-e79c824aa58b2153) [INFO] running `Command { std: "docker" "inspect" "65f452dfeed4f2c36adfb68b8d01409c1a68c15666850a14d25c498be1d8106a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f452dfeed4f2c36adfb68b8d01409c1a68c15666850a14d25c498be1d8106a", kill_on_drop: false }` [INFO] [stdout] 65f452dfeed4f2c36adfb68b8d01409c1a68c15666850a14d25c498be1d8106a