[INFO] cloning repository https://github.com/IanQS/compartment-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IanQS/compartment-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanQS%2Fcompartment-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanQS%2Fcompartment-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a0e25f0fe035ab88d534125ca7dedeee4a29c741
[INFO] checking IanQS/compartment-rs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIanQS%2Fcompartment-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IanQS/compartment-rs
[INFO] finished tweaking git repo https://github.com/IanQS/compartment-rs
[INFO] tweaked toml for git repo https://github.com/IanQS/compartment-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IanQS/compartment-rs on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IanQS/compartment-rs 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e
[INFO] running `Command { std: "docker" "start" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling pyo3-build-config v0.27.2
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling pyo3-macros-backend v0.27.2
[INFO] [stderr]    Compiling pyo3-ffi v0.27.2
[INFO] [stderr]    Compiling pyo3 v0.27.2
[INFO] [stderr]    Compiling pyo3-macros v0.27.2
[INFO] [stderr]     Checking compartment_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ChannelType` is never used
[INFO] [stdout]  --> src/channels.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ChannelType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Channel` is never constructed
[INFO] [stdout]   --> src/channels.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Channel {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Potassium` is never constructed
[INFO] [stdout]   --> src/channels.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Potassium {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sodium` is never constructed
[INFO] [stdout]   --> src/channels.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Sodium {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Leak` is never constructed
[INFO] [stdout]   --> src/channels.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Leak {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `conductance`, `alpha_n`, `beta_n`, and `gating_variable_n` are never used
[INFO] [stdout]   --> src/channels.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Potassium {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 60 |     fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub(crate) fn alpha_n(voltage: f64) -> f64 {
[INFO] [stdout]    |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub(crate) fn beta_n(voltage: f64) -> f64 {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn gating_variable_n(voltage: f64, m: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/channels.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl Sodium {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  81 |     pub fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub(crate) fn alpha_m(voltage: f64) -> f64 {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub(crate) fn alpha_h(voltage: f64) -> f64 {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub(crate) fn beta_m(voltage: f64) -> f64 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub(crate) fn beta_h(voltage: f64) -> f64 {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn gating_variable_m(voltage: f64, m: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn gating_variable_h(voltage: f64, h: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `conductance` is never used
[INFO] [stdout]    --> src/channels.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl Leak {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 115 |     fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compartment` is never constructed
[INFO] [stdout]   --> src/compartments.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Compartment {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_channel` is never used
[INFO] [stdout]   --> src/compartments.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Compartment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 25 |     fn set_channel() -> () {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Compartments` is never constructed
[INFO] [stdout]   --> src/compartments.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Compartments {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_sorted_nodes`, `d_lambda_rule`, `attach_stimuli`, and `simulate` are never used
[INFO] [stdout]    --> src/compartments.rs:33:8
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Compartments {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  33 |     fn from_sorted_nodes(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     fn d_lambda_rule(self, frequency: f64, d_lambda: f64) -> Compartments {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn attach_stimuli(self, _stimulus: Vec<f64>) -> () {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn simulate(_dt: f64, _t: f64) -> () {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CellularDynamics` is never used
[INFO] [stdout]  --> src/dynamics.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum CellularDynamics {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Dynamics` is never used
[INFO] [stdout]   --> src/dynamics.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Dynamics {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HodgkinHuxley` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct HodgkinHuxley {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Extracellular` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Extracellular {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Passive` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Passive {}
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Section` is never constructed
[INFO] [stdout]  --> src/sections.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) struct Section {
[INFO] [stdout]   |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filtered_children` is never used
[INFO] [stdout]   --> src/sections.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn filtered_children(parent_child_map: &HashMap<u64, Vec<u64>>, node_id: u64) -> Vec<u64> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coalesce_into_sections` is never used
[INFO] [stdout]   --> src/sections.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub(crate) fn coalesce_into_sections(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_length` is never used
[INFO] [stdout]    --> src/sections.rs:188:4
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn compute_length(curr: &Node, other: &Node) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ParentChildMap` is never used
[INFO] [stdout]   --> src/swc_reader.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type ParentChildMap = HashMap<u64, Vec<u64>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ChildParentMap` is never used
[INFO] [stdout]   --> src/swc_reader.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type ChildParentMap = HashMap<u64, Vec<u64>>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StructureIdentifier` is never used
[INFO] [stdout]   --> src/swc_reader.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) enum StructureIdentifier {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/swc_reader.rs:43:19
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub(crate) struct Node {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `swc_reader` is never used
[INFO] [stdout]   --> src/swc_reader.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn swc_reader(
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bfs` is never used
[INFO] [stdout]    --> src/swc_reader.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn bfs(
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compartment_rs` (lib) due to 1 previous error; 27 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: enum `ChannelType` is never used
[INFO] [stdout]  --> src/channels.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ChannelType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `g_bar` and `e_rev` are never read
[INFO] [stdout]   --> src/channels.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Channel {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 14 |     pub g_bar: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     pub e_rev: f64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Channel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n` is never read
[INFO] [stdout]   --> src/channels.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Potassium {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub n: f64,
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Potassium` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `m` and `h` are never read
[INFO] [stdout]   --> src/channels.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Sodium {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub m: f64,
[INFO] [stdout]    |         ^
[INFO] [stdout] 29 |     /// Inactivation gate probability (0..1). Multiplied directly into conductance.
[INFO] [stdout] 30 |     pub h: f64,
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sodium` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Leak` is never constructed
[INFO] [stdout]   --> src/channels.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Leak {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `conductance` and `gating_variable_n` are never used
[INFO] [stdout]   --> src/channels.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl Potassium {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 60 |     fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn gating_variable_n(voltage: f64, m: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `conductance`, `gating_variable_m`, and `gating_variable_h` are never used
[INFO] [stdout]    --> src/channels.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout]  80 | impl Sodium {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  81 |     pub fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn gating_variable_m(voltage: f64, m: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn gating_variable_h(voltage: f64, h: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `conductance` is never used
[INFO] [stdout]    --> src/channels.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl Leak {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] 115 |     fn conductance(self, voltage: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `idx` is never read
[INFO] [stdout]   --> src/compartments.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Compartment {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 11 |     pub(crate) name: String, // Name string for easier identification
[INFO] [stdout] 12 |     idx: u64,                // Index into our compartments list
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `set_channel` is never used
[INFO] [stdout]   --> src/compartments.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Compartment {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 25 |     fn set_channel() -> () {}
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `attach_stimuli` and `simulate` are never used
[INFO] [stdout]    --> src/compartments.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout]  32 | impl Compartments {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn attach_stimuli(self, _stimulus: Vec<f64>) -> () {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn simulate(_dt: f64, _t: f64) -> () {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CellularDynamics` is never used
[INFO] [stdout]  --> src/dynamics.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum CellularDynamics {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Dynamics` is never used
[INFO] [stdout]   --> src/dynamics.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait Dynamics {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HodgkinHuxley` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct HodgkinHuxley {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Extracellular` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Extracellular {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Passive` is never constructed
[INFO] [stdout]   --> src/dynamics.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Passive {}
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `PyErr`
[INFO] [stdout]   --> src/lib.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn sum_as_string(a: usize, b: usize) -> PyResult<String> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compartment_rs` (lib test) due to 1 previous error; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e", kill_on_drop: false }`
[INFO] [stdout] 5f76b52d7466ba28fc962784ed1665db4df570b31fd156aa792cd31bef58de0e
