[INFO] cloning repository https://github.com/colemanirby/Fredkin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colemanirby/Fredkin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolemanirby%2FFredkin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolemanirby%2FFredkin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36bc3c90f1bd040982f449faafdd66587a25842c [INFO] testing colemanirby/Fredkin/36bc3c90f1bd040982f449faafdd66587a25842c against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolemanirby%2FFredkin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colemanirby/Fredkin on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/colemanirby/Fredkin [INFO] finished tweaking git repo https://github.com/colemanirby/Fredkin [INFO] tweaked toml for git repo https://github.com/colemanirby/Fredkin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/colemanirby/Fredkin 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.8.11 [INFO] [stderr] Adding base64 v0.22.1 [INFO] [stderr] Adding bitvec v1.0.1 [INFO] [stderr] Adding bson v2.14.0 [INFO] [stderr] Adding deranged v0.3.11 [INFO] [stderr] Adding equivalent v1.0.2 [INFO] [stderr] Adding funty v2.0.0 [INFO] [stderr] Adding getrandom v0.3.1 [INFO] [stderr] Adding hashbrown v0.15.2 [INFO] [stderr] Adding hex v0.4.3 [INFO] [stderr] Adding indexmap v2.8.0 [INFO] [stderr] Updating js-sys v0.3.72 -> v0.3.77 [INFO] [stderr] Adding num-conv v0.1.0 [INFO] [stderr] Adding powerfmt v0.2.0 [INFO] [stderr] Adding radium v0.7.0 [INFO] [stderr] Adding rand v0.9.0 [INFO] [stderr] Adding rand_chacha v0.9.0 [INFO] [stderr] Adding rand_core v0.9.3 [INFO] [stderr] Adding redox_syscall v0.1.57 [INFO] [stderr] Adding rustversion v1.0.20 [INFO] [stderr] Adding serde_bytes v0.11.17 [INFO] [stderr] Adding simple-logging v2.0.2 [INFO] [stderr] Adding tap v1.0.1 [INFO] [stderr] Adding thread-id v3.3.0 [INFO] [stderr] Adding time v0.3.39 [INFO] [stderr] Adding time-core v0.1.3 [INFO] [stderr] Adding time-macros v0.2.20 [INFO] [stderr] Adding uuid v1.16.0 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Adding wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Updating wasm-bindgen v0.2.95 -> v0.2.100 [INFO] [stderr] Updating wasm-bindgen-backend v0.2.95 -> v0.2.100 [INFO] [stderr] Updating wasm-bindgen-macro v0.2.95 -> v0.2.100 [INFO] [stderr] Updating wasm-bindgen-macro-support v0.2.95 -> v0.2.100 [INFO] [stderr] Updating wasm-bindgen-shared v0.2.95 -> v0.2.100 [INFO] [stderr] Adding wit-bindgen-rt v0.33.0 [INFO] [stderr] Adding wyz v0.5.1 [INFO] [stderr] Adding zerocopy v0.7.35 [INFO] [stderr] Adding zerocopy v0.8.23 [INFO] [stderr] Adding zerocopy-derive v0.7.35 [INFO] [stderr] Adding zerocopy-derive v0.8.23 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_mt v4.2.2 [INFO] [stderr] Downloaded bson v2.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a7023a39c20c8367bcf02bb774a2591b8ced070bd7072ec9c65f0c881ab7905 [INFO] running `Command { std: "docker" "start" "-a" "3a7023a39c20c8367bcf02bb774a2591b8ced070bd7072ec9c65f0c881ab7905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a7023a39c20c8367bcf02bb774a2591b8ced070bd7072ec9c65f0c881ab7905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a7023a39c20c8367bcf02bb774a2591b8ced070bd7072ec9c65f0c881ab7905", kill_on_drop: false }` [INFO] [stdout] 3a7023a39c20c8367bcf02bb774a2591b8ced070bd7072ec9c65f0c881ab7905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48b409826e0d540005dcff66363b690a84d7d69fe5dde7419b72c752c0b791b2 [INFO] running `Command { std: "docker" "start" "-a" "48b409826e0d540005dcff66363b690a84d7d69fe5dde7419b72c752c0b791b2", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling svg v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rand_mt v4.2.2 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling plotlib v0.5.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling bson v2.14.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling fredkin_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/spin_chain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/data_utils.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PointMarker`, `PointStyle`, `page::Page`, `repr::Plot`, and `view::ContinuousView` [INFO] [stdout] --> src/data_utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use plotlib::{page::Page, repr::Plot, style::{PointMarker, PointStyle}, view::ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RED` and `series::LineSeries` [INFO] [stdout] --> src/data_utils.rs:4:109 [INFO] [stdout] | [INFO] [stdout] 4 | ...lude::{BitMapBackend, Circle, IntoDrawingArea}, series::LineSeries, style::{BLUE, RED, WHITE}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_valid_map` [INFO] [stdout] --> src/spin_chain.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut is_valid_map = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_valid_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spin_chain.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut is_valid_map = false; [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/file_utils.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut runs: BTreeMap> = BTreeMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `populate_up_cant_site_index_map` and `populate_up_cant_site_index_map_v2` are never used [INFO] [stdout] --> src/spin_chain.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl SpinChain { [INFO] [stdout] | --------------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn populate_up_cant_site_index_map(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size: usize, rng: &m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn populate_up_cant_site_index_map_v2(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size:usize, rng: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_site_index_map` is never used [INFO] [stdout] --> src/spin_chain.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn validate_site_index_map(excited_site_indices: &mut BTreeMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_inner_product` is never used [INFO] [stdout] --> src/calculation_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calculate_inner_product (spin_chain_1: &[i8;CHAIN_SIZE], spin_chain_2: &[i8;CHAIN_SIZE]) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_expectation_value` is never used [INFO] [stdout] --> src/calculation_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn calculate_expectation_value (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) ->... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_mul_with_vector` is never used [INFO] [stdout] --> src/calculation_utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn matrix_mul_with_vector (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) -> [i8;... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_data` is never used [INFO] [stdout] --> src/file_utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_data(file_name: String) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_single_ss` is never used [INFO] [stdout] --> src/data_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generate_lifetime_plot_single_ss(runs_map: &BTreeMap>, spin_sector: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize_log` is never used [INFO] [stdout] --> src/data_utils.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize_log(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize` is never used [INFO] [stdout] --> src/data_utils.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "48b409826e0d540005dcff66363b690a84d7d69fe5dde7419b72c752c0b791b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b409826e0d540005dcff66363b690a84d7d69fe5dde7419b72c752c0b791b2", kill_on_drop: false }` [INFO] [stdout] 48b409826e0d540005dcff66363b690a84d7d69fe5dde7419b72c752c0b791b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec5315441e2b6df930115ab98f79621a9790f93b4bb2d1edf87d991f9eed433f [INFO] running `Command { std: "docker" "start" "-a" "ec5315441e2b6df930115ab98f79621a9790f93b4bb2d1edf87d991f9eed433f", kill_on_drop: false }` [INFO] [stderr] Compiling fredkin_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/spin_chain.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/data_utils.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PointMarker`, `PointStyle`, `page::Page`, `repr::Plot`, and `view::ContinuousView` [INFO] [stdout] --> src/data_utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use plotlib::{page::Page, repr::Plot, style::{PointMarker, PointStyle}, view::ContinuousView}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RED` and `series::LineSeries` [INFO] [stdout] --> src/data_utils.rs:4:109 [INFO] [stdout] | [INFO] [stdout] 4 | ...lude::{BitMapBackend, Circle, IntoDrawingArea}, series::LineSeries, style::{BLUE, RED, WHITE}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_valid_map` [INFO] [stdout] --> src/spin_chain.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut is_valid_map = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_valid_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spin_chain.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut is_valid_map = false; [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/file_utils.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut runs: BTreeMap> = BTreeMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `populate_up_cant_site_index_map` and `populate_up_cant_site_index_map_v2` are never used [INFO] [stdout] --> src/spin_chain.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl SpinChain { [INFO] [stdout] | --------------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | fn populate_up_cant_site_index_map(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size: usize, rng: &m... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn populate_up_cant_site_index_map_v2(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size:usize, rng: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_site_index_map` is never used [INFO] [stdout] --> src/spin_chain.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn validate_site_index_map(excited_site_indices: &mut BTreeMap) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_inner_product` is never used [INFO] [stdout] --> src/calculation_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn calculate_inner_product (spin_chain_1: &[i8;CHAIN_SIZE], spin_chain_2: &[i8;CHAIN_SIZE]) -> i128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_expectation_value` is never used [INFO] [stdout] --> src/calculation_utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn calculate_expectation_value (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) ->... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matrix_mul_with_vector` is never used [INFO] [stdout] --> src/calculation_utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn matrix_mul_with_vector (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) -> [i8;... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_data` is never used [INFO] [stdout] --> src/file_utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn load_data(file_name: String) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_single_ss` is never used [INFO] [stdout] --> src/data_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generate_lifetime_plot_single_ss(runs_map: &BTreeMap>, spin_sector: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize_log` is never used [INFO] [stdout] --> src/data_utils.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize_log(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize` is never used [INFO] [stdout] --> src/data_utils.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ec5315441e2b6df930115ab98f79621a9790f93b4bb2d1edf87d991f9eed433f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5315441e2b6df930115ab98f79621a9790f93b4bb2d1edf87d991f9eed433f", kill_on_drop: false }` [INFO] [stdout] ec5315441e2b6df930115ab98f79621a9790f93b4bb2d1edf87d991f9eed433f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cb2389bd8c0bcb54e7ae76d22d56af81133a88b7c1fc9ba0429c794dd233504 [INFO] running `Command { std: "docker" "start" "-a" "7cb2389bd8c0bcb54e7ae76d22d56af81133a88b7c1fc9ba0429c794dd233504", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `core::num` [INFO] [stderr] --> src/spin_chain.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::num; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/data_utils.rs:1:34 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{BTreeMap, HashMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PointMarker`, `PointStyle`, `page::Page`, `repr::Plot`, and `view::ContinuousView` [INFO] [stderr] --> src/data_utils.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use plotlib::{page::Page, repr::Plot, style::{PointMarker, PointStyle}, view::ContinuousView}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RED` and `series::LineSeries` [INFO] [stderr] --> src/data_utils.rs:4:109 [INFO] [stderr] | [INFO] [stderr] 4 | ...lude::{BitMapBackend, Circle, IntoDrawingArea}, series::LineSeries, style::{BLUE, RED, WHITE}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_valid_map` [INFO] [stderr] --> src/spin_chain.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | let mut is_valid_map = false; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_valid_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/spin_chain.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | let mut is_valid_map = false; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/file_utils.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut runs: BTreeMap> = BTreeMap::new(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated functions `populate_up_cant_site_index_map` and `populate_up_cant_site_index_map_v2` are never used [INFO] [stderr] --> src/spin_chain.rs:90:8 [INFO] [stderr] | [INFO] [stderr] 24 | impl SpinChain { [INFO] [stderr] | --------------------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | fn populate_up_cant_site_index_map(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size: usize, rng: &m... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | fn populate_up_cant_site_index_map_v2(excited_site_indices: &mut BTreeMap, number_of_bonds: usize, chain_size:usize, rng: ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `validate_site_index_map` is never used [INFO] [stderr] --> src/spin_chain.rs:416:4 [INFO] [stderr] | [INFO] [stderr] 416 | fn validate_site_index_map(excited_site_indices: &mut BTreeMap) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_inner_product` is never used [INFO] [stderr] --> src/calculation_utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn calculate_inner_product (spin_chain_1: &[i8;CHAIN_SIZE], spin_chain_2: &[i8;CHAIN_SIZE]) -> i128 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_expectation_value` is never used [INFO] [stderr] --> src/calculation_utils.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn calculate_expectation_value (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) ->... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `matrix_mul_with_vector` is never used [INFO] [stderr] --> src/calculation_utils.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn matrix_mul_with_vector (spin_chain_1: &[i8;CHAIN_SIZE], observable:&[[i8;CHAIN_SIZE];CHAIN_SIZE]) -> [i8;... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_data` is never used [INFO] [stderr] --> src/file_utils.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn load_data(file_name: String) -> T { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_lifetime_plot_single_ss` is never used [INFO] [stderr] --> src/data_utils.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn generate_lifetime_plot_single_ss(runs_map: &BTreeMap>, spin_sector: &usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize_log` is never used [INFO] [stderr] --> src/data_utils.rs:156:8 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize_log(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_lifetime_plot_mutliple_ss_single_chainsize` is never used [INFO] [stderr] --> src/data_utils.rs:212:8 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn generate_lifetime_plot_mutliple_ss_single_chainsize(min_spin_sector: usize, max_spin_sector: usize, chain_size:usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fredkin_chain` (bin "fredkin_chain" test) generated 16 warnings (run `cargo fix --bin "fredkin_chain" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.7.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fredkin_chain-4856a6182a9130fb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7cb2389bd8c0bcb54e7ae76d22d56af81133a88b7c1fc9ba0429c794dd233504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb2389bd8c0bcb54e7ae76d22d56af81133a88b7c1fc9ba0429c794dd233504", kill_on_drop: false }` [INFO] [stdout] 7cb2389bd8c0bcb54e7ae76d22d56af81133a88b7c1fc9ba0429c794dd233504