[INFO] fetching crate YieldSimRust 0.1.2... [INFO] checking YieldSimRust-0.1.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate YieldSimRust 0.1.2 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate YieldSimRust 0.1.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate YieldSimRust 0.1.2 [INFO] finished tweaking crates.io crate YieldSimRust 0.1.2 [INFO] tweaked toml for crates.io crate YieldSimRust 0.1.2 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate YieldSimRust 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67925b75a0aa33236748cbc824542f363c0c09dc1d31943cdf48216612f096db [INFO] running `Command { std: "docker" "start" "-a" "67925b75a0aa33236748cbc824542f363c0c09dc1d31943cdf48216612f096db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67925b75a0aa33236748cbc824542f363c0c09dc1d31943cdf48216612f096db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67925b75a0aa33236748cbc824542f363c0c09dc1d31943cdf48216612f096db", kill_on_drop: false }` [INFO] [stdout] 67925b75a0aa33236748cbc824542f363c0c09dc1d31943cdf48216612f096db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da983f4191f7e21f9c4396648b1898445aacfb7511e6f165cb337645d698299a [INFO] running `Command { std: "docker" "start" "-a" "da983f4191f7e21f9c4396648b1898445aacfb7511e6f165cb337645d698299a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking YieldSimRust v0.1.2 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/annealer/base_line.rs (6 fixes) [INFO] [stderr] Fixed src/annealer/brute_force.rs (4 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/annealer/anneal.rs (2 fixes) [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | running_f = f; [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: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | running_f = f; [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: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `YieldSimRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yield_sim_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBM17Q2B` should have a snake case name [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut IBM17Q2B: chip_info::ChipInfo = chip_info::ChipInfo::new( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ibm17_q2_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(file, "{}", yields_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(file, "{}", final_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_of_trials` should have an upper case name [INFO] [stdout] --> src/simulation.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | const number_of_trials: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_OF_TRIALS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `YieldSimRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yield_sim_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBM17Q2B` should have a snake case name [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut IBM17Q2B: chip_info::ChipInfo = chip_info::ChipInfo::new( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ibm17_q2_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(file, "{}", yields_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(file, "{}", final_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_of_trials` should have an upper case name [INFO] [stdout] --> src/simulation.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | const number_of_trials: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_OF_TRIALS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.22s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking YieldSimRust v0.1.2 (/tmp/fixit) [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | running_f = f; [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: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | running_f = f; [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: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `counter` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut counter: i64 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `running_f` is assigned to, but never used [INFO] [stdout] --> src/annealer/brute_force.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let mut running_f: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_running_f` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `running_f` is never read [INFO] [stdout] --> src/annealer/brute_force.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... running_f = f; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `YieldSimRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yield_sim_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBM17Q2B` should have a snake case name [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut IBM17Q2B: chip_info::ChipInfo = chip_info::ChipInfo::new( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ibm17_q2_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(file, "{}", yields_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(file, "{}", final_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_of_trials` should have an upper case name [INFO] [stdout] --> src/simulation.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | const number_of_trials: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_OF_TRIALS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `YieldSimRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yield_sim_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IBM17Q2B` should have a snake case name [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut IBM17Q2B: chip_info::ChipInfo = chip_info::ChipInfo::new( [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ibm17_q2_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | writeln!(file, "{}", yields_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helper.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | writeln!(file, "{}", final_string.join("\n")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `number_of_trials` should have an upper case name [INFO] [stdout] --> src/simulation.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | const number_of_trials: usize = 10000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NUMBER_OF_TRIALS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "da983f4191f7e21f9c4396648b1898445aacfb7511e6f165cb337645d698299a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da983f4191f7e21f9c4396648b1898445aacfb7511e6f165cb337645d698299a", kill_on_drop: false }` [INFO] [stdout] da983f4191f7e21f9c4396648b1898445aacfb7511e6f165cb337645d698299a