[INFO] fetching crate rebop 0.8.3... [INFO] checking rebop-0.8.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate rebop 0.8.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rebop 0.8.3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-4-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef90cd71ec5eb55fda341db017c16aea5307e9e2f74e413188f7086913f6e4f [INFO] running `Command { std: "docker" "start" "-a" "1ef90cd71ec5eb55fda341db017c16aea5307e9e2f74e413188f7086913f6e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef90cd71ec5eb55fda341db017c16aea5307e9e2f74e413188f7086913f6e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef90cd71ec5eb55fda341db017c16aea5307e9e2f74e413188f7086913f6e4f", kill_on_drop: false }` [INFO] [stdout] 1ef90cd71ec5eb55fda341db017c16aea5307e9e2f74e413188f7086913f6e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33efe1bab054b8de969d03c840b3fc73b9093b5b6a1a9ef0285d2f0218977bac [INFO] running `Command { std: "docker" "start" "-a" "33efe1bab054b8de969d03c840b3fc73b9093b5b6a1a9ef0285d2f0218977bac", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling pyo3-build-config v0.22.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling iai-callgrind v0.11.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.1 [INFO] [stderr] Compiling pyo3-ffi 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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rebop` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/lib.rs:249:1 [INFO] [stderr] | [INFO] [stderr] 249 | { unsafe #[pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie.rs:237:49 [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | @ $rate:expr)* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | @ $rate:expr_2021)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | ($($n:literal)? * $species:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 130 | ($($n:literal)? * $species:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | ($self:ident $rc:ident $carry:expr; ) => {}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 146 | ($self:ident $rc:ident $carry:expr_2021; ) => {}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | ($self:ident $rc:ident $carry:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 147 | ($self:ident $rc:ident $carry:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | fn nb_species(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &mut self, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | rate: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | reactants: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | products: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn nb_reactions(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | &self, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | init: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | tmax: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | nb_steps: usize, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 373 | fn __str__(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating benches/vilar/vilar.rs from 2021 edition to 2024 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking iai-callgrind-runner v0.11.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating examples/dimers.rs from 2021 edition to 2024 [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] [stderr] Migrating benches/iai.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie.rs:237:49 [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rebop` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | @ $rate:expr)* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 57 | @ $rate:expr_2021)* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | ($($n:literal)? * $species:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 130 | ($($n:literal)? * $species:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/lib.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | ($self:ident $rc:ident $carry:expr; ) => {}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 146 | ($self:ident $rc:ident $carry:expr_2021; ) => {}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gillespie_macro.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | ($self:ident $rc:ident $carry:expr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 147 | ($self:ident $rc:ident $carry:expr_2021; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [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] [stderr] and we would appreciate a bug report! You're likely to see [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] [stderr] a number of compiler warnings after this message which cargo [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] [stderr] attempted to fix but failed. If you could open an issue at [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] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/lib.rs:249:1 [INFO] [stderr] | [INFO] [stderr] 249 | { unsafe #[pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [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: 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: `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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | fn nb_species(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &mut self, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | rate: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | reactants: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | products: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn nb_reactions(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | &self, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | init: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | tmax: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | nb_steps: usize, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 373 | fn __str__(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (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: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating benches/my_benchmark.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/sir.rs from 2021 edition to 2024 [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.06s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rebop v0.8.3 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie.rs:237:49 [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [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 error originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [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 error originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [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 error originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [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 error originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie_macro.rs:116:65 [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [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 error originates in the macro `define_system` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | let reaction_choice = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie.rs:237:49 [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 237 | let chosen_rate = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/gillespie.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.gen::(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 283 | let chosen_rate = total_rate * self.rng.r#gen::(); [INFO] [stdout] | ++ [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: 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: `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[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | fn nb_species(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &mut self, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | rate: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | reactants: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | products: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn nb_reactions(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | &self, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | init: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | tmax: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | nb_steps: usize, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 373 | fn __str__(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | fn nb_species(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | &mut self, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 270 | rate: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | reactants: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | products: Vec, [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rebop` (lib test) due to 8 previous errors; 48 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | fn nb_reactions(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | &self, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | init: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | tmax: f64, [INFO] [stdout] | ^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | nb_steps: usize, [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::pymethods::BoundRef::<'a, 'py, pyo3::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:373:16 [INFO] [stdout] | [INFO] [stdout] 373 | fn __str__(&self) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[pymethods] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rebop` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "33efe1bab054b8de969d03c840b3fc73b9093b5b6a1a9ef0285d2f0218977bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33efe1bab054b8de969d03c840b3fc73b9093b5b6a1a9ef0285d2f0218977bac", kill_on_drop: false }` [INFO] [stdout] 33efe1bab054b8de969d03c840b3fc73b9093b5b6a1a9ef0285d2f0218977bac