[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] checking Odysseusailoon/GraduationDesign against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOdysseusailoon%2FGraduationDesign" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Odysseusailoon/GraduationDesign on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6ea0a1dc0dbb0e00c31f8da733b0b77321fc57beb0cd9674e9adc8a7e0093b3 [INFO] running `Command { std: "docker" "start" "-a" "d6ea0a1dc0dbb0e00c31f8da733b0b77321fc57beb0cd9674e9adc8a7e0093b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ea0a1dc0dbb0e00c31f8da733b0b77321fc57beb0cd9674e9adc8a7e0093b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ea0a1dc0dbb0e00c31f8da733b0b77321fc57beb0cd9674e9adc8a7e0093b3", kill_on_drop: false }` [INFO] [stdout] d6ea0a1dc0dbb0e00c31f8da733b0b77321fc57beb0cd9674e9adc8a7e0093b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49adc5436cbd50b7c49e8e2e9f1b4411a5e7de7988220f40609cd147376d5d1b [INFO] running `Command { std: "docker" "start" "-a" "49adc5436cbd50b7c49e8e2e9f1b4411a5e7de7988220f40609cd147376d5d1b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver v0.9.0 [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 memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking addr2line v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking svg v0.7.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking plotlib v0.5.1 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stderr] Checking 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` and `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] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/plot.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | .line_style(LineStyle::new().colour(colour).width(2.0)) [INFO] [stdout] | ----- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `LineStyle::width` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotlib-0.5.1/src/style.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn width(mut self, value: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 56 | where [INFO] [stdout] 57 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LineStyle::width` [INFO] [stdout] [INFO] [stdout] [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` and `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: 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: 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] = note: `#[warn(unused_assignments)]` on by default [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: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: 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] = 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/plot.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | .line_style(LineStyle::new().colour(colour).width(2.0)) [INFO] [stdout] | ----- ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required by a bound in `LineStyle::width` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotlib-0.5.1/src/style.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn width(mut self, value: T) -> Self [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 56 | where [INFO] [stdout] 57 | T: Into, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `LineStyle::width` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graduation` (bin "graduation") due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] = note: `#[warn(unused_assignments)]` on by default [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: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: 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] = 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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graduation` (bin "graduation" test) due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49adc5436cbd50b7c49e8e2e9f1b4411a5e7de7988220f40609cd147376d5d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49adc5436cbd50b7c49e8e2e9f1b4411a5e7de7988220f40609cd147376d5d1b", kill_on_drop: false }` [INFO] [stdout] 49adc5436cbd50b7c49e8e2e9f1b4411a5e7de7988220f40609cd147376d5d1b