[INFO] fetching crate rebop 0.8.3... [INFO] checking rebop-0.8.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rebop 0.8.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rebop 0.8.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rebop 0.8.3 [INFO] finished tweaking crates.io crate rebop 0.8.3 [INFO] tweaked toml for crates.io crate rebop 0.8.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate rebop 0.8.3 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.22.1 [INFO] [stderr] Downloaded iai-callgrind-macros v0.2.0 [INFO] [stderr] Downloaded pyo3-ffi v0.22.1 [INFO] [stderr] Downloaded python3-dll-a v0.2.10 [INFO] [stderr] Downloaded pyo3-build-config v0.22.1 [INFO] [stderr] Downloaded iai-callgrind v0.11.1 [INFO] [stderr] Downloaded cc v1.1.4 [INFO] [stderr] Downloaded iai-callgrind-runner v0.11.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.22.1 [INFO] [stderr] Downloaded pyo3 v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63ba513f3269f4d331569ca9ac1acd95836e12c4bda6f98fa6b533e00f874f81 [INFO] running `Command { std: "docker" "start" "-a" "63ba513f3269f4d331569ca9ac1acd95836e12c4bda6f98fa6b533e00f874f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63ba513f3269f4d331569ca9ac1acd95836e12c4bda6f98fa6b533e00f874f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ba513f3269f4d331569ca9ac1acd95836e12c4bda6f98fa6b533e00f874f81", kill_on_drop: false }` [INFO] [stdout] 63ba513f3269f4d331569ca9ac1acd95836e12c4bda6f98fa6b533e00f874f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 501df5cbe2cfaedc658dd32625caad702054546eb596a56d75f34ccc8400fc18 [INFO] running `Command { std: "docker" "start" "-a" "501df5cbe2cfaedc658dd32625caad702054546eb596a56d75f34ccc8400fc18", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling iai-callgrind v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pyo3-build-config v0.22.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling pyo3-ffi v0.22.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.1 [INFO] [stderr] Compiling pyo3 v0.22.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling iai-callgrind-macros v0.2.0 [INFO] [stderr] Compiling pyo3-macros v0.22.1 [INFO] [stderr] Checking rebop v0.8.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `make_rates` is never used [INFO] [stdout] --> src/gillespie.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn make_rates(reactions: &[(Rate, Jump)], species: &[isize], rates: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_for` is never used [INFO] [stdout] --> src/gillespie.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn choose_rate_for(mut chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_for` is never used [INFO] [stdout] --> src/gillespie.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn choose_cumrate_for(chosen_rate: f64, cumrates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_sum` is never used [INFO] [stdout] --> src/gillespie.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn choose_rate_sum(chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_takewhile` is never used [INFO] [stdout] --> src/gillespie.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn choose_cumrate_takewhile(chosen_rate: f64, cumrates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking iai-callgrind-runner v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused variable: `S` [INFO] [stdout] --> examples/sir.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `S` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/sir.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | r_inf r_heal; [INFO] [stdout] 6 | | SIR { S, I, R } [INFO] [stdout] 7 | | infection : S + I => 2 I @ r_inf [INFO] [stdout] 8 | | healing : I => R @ r_heal [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `I` [INFO] [stdout] --> examples/sir.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `I` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/sir.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | r_inf r_heal; [INFO] [stdout] 6 | | SIR { S, I, R } [INFO] [stdout] 7 | | infection : S + I => 2 I @ r_inf [INFO] [stdout] 8 | | healing : I => R @ r_heal [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> examples/sir.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `R` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/sir.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | r_inf r_heal; [INFO] [stdout] 6 | | SIR { S, I, R } [INFO] [stdout] 7 | | infection : S + I => 2 I @ r_inf [INFO] [stdout] 8 | | healing : I => R @ r_heal [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/gillespie_macro.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | use $crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gene` [INFO] [stdout] --> examples/dimers.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `gene` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/dimers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 6 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 7 | | r_transcription : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 11 | | r_decay_protein : protein => @ rdp [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mRNA` [INFO] [stdout] --> examples/dimers.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `mRNA` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/dimers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 6 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 7 | | r_transcription : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 11 | | r_decay_protein : protein => @ rdp [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protein` [INFO] [stdout] --> examples/dimers.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `protein` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/dimers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 6 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 7 | | r_transcription : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 11 | | r_decay_protein : protein => @ rdp [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimer` [INFO] [stdout] --> examples/dimers.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `dimer` is captured in macro and introduced a unused variable [INFO] [stdout] --> examples/dimers.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / define_system! { [INFO] [stdout] 5 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 6 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 7 | | r_transcription : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 11 | | r_decay_protein : protein => @ rdp [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `S` [INFO] [stdout] --> src/gillespie_macro.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `S` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `I` [INFO] [stdout] --> src/gillespie_macro.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `I` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> src/gillespie_macro.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | SIR { S, I, R } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `R` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gene` [INFO] [stdout] --> src/gillespie_macro.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `gene` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mRNA` [INFO] [stdout] --> src/gillespie_macro.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `mRNA` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protein` [INFO] [stdout] --> src/gillespie_macro.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `protein` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimer` [INFO] [stdout] --> src/gillespie_macro.rs:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `dimer` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/gillespie_macro.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | BirthDeath { A } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `A` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `A` [INFO] [stdout] --> src/gillespie_macro.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | BirthDeath { A } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `A` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gillespie_macro.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rate = $species; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::_rate_lma` which comes from the expansion of the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Foo` [INFO] [stdout] --> src/gillespie_macro.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `Foo` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Bar` [INFO] [stdout] --> src/gillespie_macro.rs:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `Bar` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Buz` [INFO] [stdout] --> src/gillespie_macro.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `Buz` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/gillespie_macro.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | $(let $species = self.$species as f64;)* [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reaction_choice` [INFO] [stdout] --> src/gillespie_macro.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reaction_choice` [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_rates` is never used [INFO] [stdout] --> src/gillespie.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn make_rates(reactions: &[(Rate, Jump)], species: &[isize], rates: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_for` is never used [INFO] [stdout] --> src/gillespie.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn choose_rate_for(mut chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_for` is never used [INFO] [stdout] --> src/gillespie.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn choose_cumrate_for(chosen_rate: f64, cumrates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_sum` is never used [INFO] [stdout] --> src/gillespie.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn choose_rate_sum(chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_takewhile` is never used [INFO] [stdout] --> src/gillespie.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn choose_cumrate_takewhile(chosen_rate: f64, cumrates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `seed` and `with_parameters` are never used [INFO] [stdout] --> src/gillespie_macro.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn seed(&mut self, seed: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn with_parameters($($param: f64),*) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | / define_system! { [INFO] [stdout] 173 | | r1 r2; [INFO] [stdout] 174 | | SIR { S, I, R } [INFO] [stdout] 175 | | r_infection: S + I => I + I @ r1 [INFO] [stdout] 176 | | r_remission: I => R @ r2 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `seed` are never used [INFO] [stdout] --> src/gillespie_macro.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 69 | /// Constructs an object representing the problem. [INFO] [stdout] 70 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn seed(&mut self, seed: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | / define_system! { [INFO] [stdout] 189 | | rtx rtl rdi rdm rdp; [INFO] [stdout] 190 | | Dimers { gene, mRNA, protein, dimer } [INFO] [stdout] 191 | | r_tx : gene => gene + mRNA @ rtx [INFO] [stdout] ... | [INFO] [stdout] 195 | | r_dp : protein => @ rdp [INFO] [stdout] 196 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `seed` and `with_parameters` are never used [INFO] [stdout] --> src/gillespie_macro.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn seed(&mut self, seed: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn with_parameters($($param: f64),*) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | / define_system! { [INFO] [stdout] 207 | | r_birth r_death; [INFO] [stdout] 208 | | BirthDeath { A } [INFO] [stdout] 209 | | birth: => A @ r_birth [INFO] [stdout] 210 | | death: A => @ r_death [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `seed` and `with_parameters` are never used [INFO] [stdout] --> src/gillespie_macro.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn seed(&mut self, seed: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn with_parameters($($param: f64),*) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | / define_system! { [INFO] [stdout] 222 | | r_birth r_death; [INFO] [stdout] 223 | | BirthDeath { A } [INFO] [stdout] 224 | | birth: => A @ r_birth [INFO] [stdout] 225 | | death: A => @ r_death [INFO] [stdout] 226 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `seed` and `with_parameters` are never used [INFO] [stdout] --> src/gillespie_macro.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 68 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | fn seed(&mut self, seed: u64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn with_parameters($($param: f64),*) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | / define_system! { [INFO] [stdout] 237 | | ; [INFO] [stdout] 238 | | FooBarBuz { Foo, Bar, Buz } [INFO] [stdout] 239 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.21s [INFO] running `Command { std: "docker" "inspect" "501df5cbe2cfaedc658dd32625caad702054546eb596a56d75f34ccc8400fc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "501df5cbe2cfaedc658dd32625caad702054546eb596a56d75f34ccc8400fc18", kill_on_drop: false }` [INFO] [stdout] 501df5cbe2cfaedc658dd32625caad702054546eb596a56d75f34ccc8400fc18