[INFO] cloning repository https://github.com/kevontheweb/wdf.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevontheweb/wdf.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevontheweb%2Fwdf.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevontheweb%2Fwdf.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf728eaf2a75e4576d92e3c2cd45e1d3a7f68b06 [INFO] testing kevontheweb/wdf.rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevontheweb%2Fwdf.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/kevontheweb/wdf.rs [INFO] finished tweaking git repo https://github.com/kevontheweb/wdf.rs [INFO] tweaked toml for git repo https://github.com/kevontheweb/wdf.rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevontheweb/wdf.rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevontheweb/wdf.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" "+b83b707f97d809763b7861afa7638871f3339a33" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c50d01fd284216a31ccd5bf902cc0d6fb081729c4f4906da49ec9a5a96e4acba [INFO] running `Command { std: "docker" "start" "-a" "c50d01fd284216a31ccd5bf902cc0d6fb081729c4f4906da49ec9a5a96e4acba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c50d01fd284216a31ccd5bf902cc0d6fb081729c4f4906da49ec9a5a96e4acba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50d01fd284216a31ccd5bf902cc0d6fb081729c4f4906da49ec9a5a96e4acba", kill_on_drop: false }` [INFO] [stdout] c50d01fd284216a31ccd5bf902cc0d6fb081729c4f4906da49ec9a5a96e4acba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e396e667efe31ad78037d5c18cb3539f2ec4768682b29eb927b3da0a430a77da [INFO] running `Command { std: "docker" "start" "-a" "e396e667efe31ad78037d5c18cb3539f2ec4768682b29eb927b3da0a430a77da", kill_on_drop: false }` [INFO] [stderr] Compiling wdf_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::components::circuit` [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::circuit::Circuit; [INFO] [stdout] | ^^^^^^^ could not find `circuit` in `components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fc` in this scope [INFO] [stdout] --> src/lib.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | let r = 1.0 / (2.0 * constants::PI * c * fc); [INFO] [stdout] | ^^ help: a local variable with a similar name exists: `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Resistor` [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | let r1 = Resistor::new(r); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Resistor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::components::resistor::resistor::Resistor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capacitor` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | let c1 = Capacitor::new(c, constants::SAMPLE_RATE); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Capacitor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::components::capacitor::capacitor::Capacitor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeriesAdaptor` [INFO] [stdout] --> src/lib.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let s1 = SeriesAdaptor::new(&r1, &c1); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SeriesAdaptor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::components::series_adaptor::series_adaptor::SeriesAdaptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IdealVoltageSource` [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let vs = IdealVoltageSource::new(&i1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `IdealVoltageSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use crate::components::sources::sources::IdealVoltageSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_signal` in this scope [INFO] [stdout] --> src/lib.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | let output = rc.process_signal(input_signal); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::root_wdf::root_wdf::RootWDF` [INFO] [stdout] --> src/components/base_wdf.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::components::root_wdf::root_wdf::RootWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::root_wdf::root_wdf::RootWDF` [INFO] [stdout] --> src/components/capacitor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::root_wdf::root_wdf::RootWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::root_wdf::root_wdf::RootWDF` [INFO] [stdout] --> src/components/parallel_adaptor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::root_wdf::root_wdf::RootWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::root_wdf::root_wdf::RootWDF` [INFO] [stdout] --> src/components/resistor.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::root_wdf::root_wdf::RootWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::root_wdf::root_wdf::RootWDF` [INFO] [stdout] --> src/components/series_adaptor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::root_wdf::root_wdf::RootWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::BaseWDF` [INFO] [stdout] --> src/components/sources.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::components::BaseWDF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_voltage_from_wave`, `get_current_from_wave` [INFO] [stdout] --> src/components/capacitor.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl WDFComponent for Capacitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_voltage_from_wave`, `get_current_from_wave` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/components/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_voltage_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_voltage_from_wave` from trait [INFO] [stdout] 32 | fn get_current_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_current_from_wave` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_voltage_from_wave`, `get_current_from_wave` [INFO] [stdout] --> src/components/parallel_adaptor.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | impl WDFComponent for ParallelAdaptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_voltage_from_wave`, `get_current_from_wave` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/components/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_voltage_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_voltage_from_wave` from trait [INFO] [stdout] 32 | fn get_current_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_current_from_wave` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_voltage_from_wave`, `get_current_from_wave` [INFO] [stdout] --> src/components/resistor.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | impl WDFComponent for Resistor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_voltage_from_wave`, `get_current_from_wave` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/components/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_voltage_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_voltage_from_wave` from trait [INFO] [stdout] 32 | fn get_current_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_current_from_wave` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_voltage_from_wave`, `get_current_from_wave` [INFO] [stdout] --> src/components/series_adaptor.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | impl WDFComponent for SeriesAdaptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_voltage_from_wave`, `get_current_from_wave` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/components/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_voltage_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_voltage_from_wave` from trait [INFO] [stdout] 32 | fn get_current_from_wave(&self) -> f64; [INFO] [stdout] | --------------------------------------- `get_current_from_wave` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `base` in initializer of `IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let mut source = IdealVoltageSource { next: next, v: 0.0 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ missing `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&mut IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self.a = a; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 - self.a = a; [INFO] [stdout] 31 + self.v = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&mut IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | self.b = -self.a + 2.0 * self.v; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 - self.b = -self.a + 2.0 * self.v; [INFO] [stdout] 35 + self.v = -self.a + 2.0 * self.v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&mut IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | self.b = -self.a + 2.0 * self.v; [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 - self.b = -self.a + 2.0 * self.v; [INFO] [stdout] 35 + self.b = -self.v + 2.0 * self.v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&mut IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | self.b [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 - self.b [INFO] [stdout] 36 + self.v [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `g` on type `&IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | self.g [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 60 - self.g [INFO] [stdout] 60 + self.v [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rp` on type `&IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self.rp [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `base`, `next`, `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `b` on type `&IdealVoltageSource` [INFO] [stdout] --> src/components/sources.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | self.b [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 68 - self.b [INFO] [stdout] 68 + self.v [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/circuit.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | let source = Rc::new(RefCell::new(IdealVoltageSource::new(Some(&*root.borrow())))); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ expected `Rc>`, found `&RootWDF` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Rc>` [INFO] [stdout] found reference `&RootWDF` [INFO] [stdout] help: the type constructed contains `&RootWDF` due to the type of the argument passed [INFO] [stdout] --> src/circuit.rs:90:63 [INFO] [stdout] | [INFO] [stdout] 90 | let source = Rc::new(RefCell::new(IdealVoltageSource::new(Some(&*root.borrow())))); [INFO] [stdout] | ^^^^^---------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/option.rs:601:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `constants` [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let r = 1.0 / (2.0 * constants::PI * c * fc); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `constants` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `constants`, use `cargo add constants` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `constants` [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let c1 = Capacitor::new(c, constants::SAMPLE_RATE); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `constants` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `constants`, use `cargo add constants` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inverter` [INFO] [stdout] --> src/lib.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let i1 = Inverter::new(&s1); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Inverter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/base_wdf.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/capacitor.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/parallel_adaptor.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/resistor.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/root_wdf.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/series_adaptor.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | fn connect_to_parent(&mut self, parent: Option>>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/components/sources.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | fn connect_to_parent(&mut self, parent: Option>>) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `root_ref` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/circuit.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 61 | root_ref.accept_incident_wave( [INFO] [stdout] | -------- -------------------- mutable borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] 62 | root_ref [INFO] [stdout] | ^^^^^^^^ immutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Ref<'_, dyn WDFComponent>` as mutable [INFO] [stdout] --> src/circuit.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / root_ref [INFO] [stdout] 63 | | .next [INFO] [stdout] 64 | | .as_ref() [INFO] [stdout] 65 | | .unwrap() [INFO] [stdout] 66 | | .borrow() [INFO] [stdout] | |_________________________^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Ref<'_, dyn WDFComponent>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0063, E0308, E0425, E0432, E0433, E0502, E0596, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wdf_lib` (lib) due to 25 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e396e667efe31ad78037d5c18cb3539f2ec4768682b29eb927b3da0a430a77da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e396e667efe31ad78037d5c18cb3539f2ec4768682b29eb927b3da0a430a77da", kill_on_drop: false }` [INFO] [stdout] e396e667efe31ad78037d5c18cb3539f2ec4768682b29eb927b3da0a430a77da