[INFO] fetching crate modulator 0.4.0...
[INFO] testing modulator-0.4.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate modulator 0.4.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate modulator 0.4.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate modulator 0.4.0
[INFO] finished tweaking crates.io crate modulator 0.4.0
[INFO] tweaked toml for crates.io crate modulator 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded metrohash v1.0.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24114ce563416fbb0db150af1f7da392570f3c43bb1c97a4cf0a967bf5c73561
[INFO] running `Command { std: "docker" "start" "-a" "24114ce563416fbb0db150af1f7da392570f3c43bb1c97a4cf0a967bf5c73561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24114ce563416fbb0db150af1f7da392570f3c43bb1c97a4cf0a967bf5c73561", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24114ce563416fbb0db150af1f7da392570f3c43bb1c97a4cf0a967bf5c73561", kill_on_drop: false }`
[INFO] [stdout] 24114ce563416fbb0db150af1f7da392570f3c43bb1c97a4cf0a967bf5c73561
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60da935d54b9dcbe7f146d1734252bd73801994d556be660475d1fb80d8fc545
[INFO] running `Command { std: "docker" "start" "-a" "60da935d54b9dcbe7f146d1734252bd73801994d556be660475d1fb80d8fc545", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling metrohash v1.0.6
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling modulator v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.49s
[INFO] running `Command { std: "docker" "inspect" "60da935d54b9dcbe7f146d1734252bd73801994d556be660475d1fb80d8fc545", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60da935d54b9dcbe7f146d1734252bd73801994d556be660475d1fb80d8fc545", kill_on_drop: false }`
[INFO] [stdout] 60da935d54b9dcbe7f146d1734252bd73801994d556be660475d1fb80d8fc545
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a78f5dc9171547b0cf37b6dbf411f1555d663519e6563756b4ddd717e8c187a4
[INFO] running `Command { std: "docker" "start" "-a" "a78f5dc9171547b0cf37b6dbf411f1555d663519e6563756b4ddd717e8c187a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling modulator v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "a78f5dc9171547b0cf37b6dbf411f1555d663519e6563756b4ddd717e8c187a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a78f5dc9171547b0cf37b6dbf411f1555d663519e6563756b4ddd717e8c187a4", kill_on_drop: false }`
[INFO] [stdout] a78f5dc9171547b0cf37b6dbf411f1555d663519e6563756b4ddd717e8c187a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6faa1674a57cb8337dab7e38f6d62cc64de835a60637663c34b9e568199870ae
[INFO] running `Command { std: "docker" "start" "-a" "6faa1674a57cb8337dab7e38f6d62cc64de835a60637663c34b9e568199870ae", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modulator-d6a8796de94de248)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests modulator
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 286) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 98) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 261) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 168) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 250) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 134) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 237) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 151) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 286) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:289:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn enabled(&self) -> bool;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:289:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn enabled(&self) -> bool;
[INFO] [stdout]   |            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:292:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn set_enabled(&mut self, enabled: bool);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:292:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn set_enabled(&mut self, enabled: bool);
[INFO] [stdout]   |                ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 98) stdout ----
[INFO] [stdout] error: expected identifier, found `:`
[INFO] [stdout]  --> src/lib.rs:101:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | m1: ModulatorEnv<f32>, // hosts modulators that give scalar f32 values
[INFO] [stdout]   |   ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 87) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:88:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | m.advance(dt);
[INFO] [stdout]   | ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dt` in this scope
[INFO] [stdout]  --> src/lib.rs:88:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | m.advance(dt);
[INFO] [stdout]   |           ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 261) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:262:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]   |           ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Any` in this scope
[INFO] [stdout]  --> src/lib.rs:262:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]   |                              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::any::Any;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::Any;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:112:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | st.m1.advance(dt);
[INFO] [stdout]   | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dt` in this scope
[INFO] [stdout]  --> src/lib.rs:112:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | st.m1.advance(dt);
[INFO] [stdout]   |               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:83:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let value = m.value();
[INFO] [stdout]   |             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 168) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:170:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | let v0 = st.m1.value("wave_sin"); // current value of sine modulator
[INFO] [stdout]   |          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:171:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | let v1 = st.m1.value("wave_rnd"); // current value of random walk modulator
[INFO] [stdout]   |          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 250) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:251:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let ampmod = st.m1.value("amp_mod"); // amplitude modulation value
[INFO] [stdout]   |              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:252:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | if let Some(sw) = st.m1.get_mut("wave_sin") { // borrow trait object
[INFO] [stdout]   |                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Wave` in this scope
[INFO] [stdout]  --> src/lib.rs:253:50
[INFO] [stdout]   |
[INFO] [stdout] 5 |     if let Some(ss) = sw.as_any().downcast_mut::<Wave>() { // safely cast it
[INFO] [stdout]   |                                                  ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:137:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wave = Wave::new(1.0, 0.5).wave(Box::new(|w, t| {
[INFO] [stdout]   |            ^^^^ use of undeclared type `Wave`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]   --> src/lib.rs:142:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | st.m1.take("wave_sin", Box::new(wave));
[INFO] [stdout]    | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]  --> src/lib.rs:138:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |         (t * w.frequency * f32::consts::PI * 2.0).sin() * w.amplitude
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you are looking for the module in `std`, not the primitive type
[INFO] [stdout]   |
[INFO] [stdout] 7 |         (t * w.frequency * std::f32::consts::PI * 2.0).sin() * w.amplitude
[INFO] [stdout]   |                            +++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 237) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |               ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                           ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:241:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `source` in this scope
[INFO] [stdout]  --> src/lib.rs:241:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 151) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:155:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | let wave = Wave::new(2.0, 0.1).wave(Box::new(|w, _| {
[INFO] [stdout]   |            ^^^^ use of undeclared type `Wave`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]  --> src/lib.rs:156:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let n = w.value + thread_rng().gen_range(-w.frequency, w.frequency);
[INFO] [stdout]   |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 4 + use rand::thread_rng;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]   --> src/lib.rs:161:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | st.m1.take("wave_rnd", Box::new(wave));
[INFO] [stdout]    | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 110)
[INFO] [stdout]     src/lib.rs - (line 134)
[INFO] [stdout]     src/lib.rs - (line 151)
[INFO] [stdout]     src/lib.rs - (line 168)
[INFO] [stdout]     src/lib.rs - (line 237)
[INFO] [stdout]     src/lib.rs - (line 250)
[INFO] [stdout]     src/lib.rs - (line 261)
[INFO] [stdout]     src/lib.rs - (line 286)
[INFO] [stdout]     src/lib.rs - (line 82)
[INFO] [stdout]     src/lib.rs - (line 87)
[INFO] [stdout]     src/lib.rs - (line 98)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6faa1674a57cb8337dab7e38f6d62cc64de835a60637663c34b9e568199870ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6faa1674a57cb8337dab7e38f6d62cc64de835a60637663c34b9e568199870ae", kill_on_drop: false }`
[INFO] [stdout] 6faa1674a57cb8337dab7e38f6d62cc64de835a60637663c34b9e568199870ae
[INFO] testing modulator-0.4.0 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate modulator 0.4.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate modulator 0.4.0 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate modulator 0.4.0
[INFO] finished tweaking crates.io crate modulator 0.4.0
[INFO] tweaked toml for crates.io crate modulator 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c147d79cb8b2256cc10378e97c7d98d9af799b34c230882f1a590dc37708e96
[INFO] running `Command { std: "docker" "start" "-a" "4c147d79cb8b2256cc10378e97c7d98d9af799b34c230882f1a590dc37708e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c147d79cb8b2256cc10378e97c7d98d9af799b34c230882f1a590dc37708e96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c147d79cb8b2256cc10378e97c7d98d9af799b34c230882f1a590dc37708e96", kill_on_drop: false }`
[INFO] [stdout] 4c147d79cb8b2256cc10378e97c7d98d9af799b34c230882f1a590dc37708e96
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1372db896786d85fcdc50f6db50eb136e48d8b87203ada29c800f8e801eb6ad5
[INFO] running `Command { std: "docker" "start" "-a" "1372db896786d85fcdc50f6db50eb136e48d8b87203ada29c800f8e801eb6ad5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling metrohash v1.0.6
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling modulator v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.52s
[INFO] running `Command { std: "docker" "inspect" "1372db896786d85fcdc50f6db50eb136e48d8b87203ada29c800f8e801eb6ad5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1372db896786d85fcdc50f6db50eb136e48d8b87203ada29c800f8e801eb6ad5", kill_on_drop: false }`
[INFO] [stdout] 1372db896786d85fcdc50f6db50eb136e48d8b87203ada29c800f8e801eb6ad5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fec9cd541b6a83804a5bf2c251ad2c0e7eda414206f072f02792625d622c6e20
[INFO] running `Command { std: "docker" "start" "-a" "fec9cd541b6a83804a5bf2c251ad2c0e7eda414206f072f02792625d622c6e20", kill_on_drop: false }`
[INFO] [stderr]    Compiling modulator v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "fec9cd541b6a83804a5bf2c251ad2c0e7eda414206f072f02792625d622c6e20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fec9cd541b6a83804a5bf2c251ad2c0e7eda414206f072f02792625d622c6e20", kill_on_drop: false }`
[INFO] [stdout] fec9cd541b6a83804a5bf2c251ad2c0e7eda414206f072f02792625d622c6e20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 00f8e866a74225622ef614be4b3c367e46b688453b44f1a9f949b6d65fd419a7
[INFO] running `Command { std: "docker" "start" "-a" "00f8e866a74225622ef614be4b3c367e46b688453b44f1a9f949b6d65fd419a7", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modulator-4f7c0d884b3b71a1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests modulator
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 98) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 286) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 261) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 168) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 237) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 110) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 151) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 250) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 134) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 98) stdout ----
[INFO] [stdout] error: expected identifier, found `:`
[INFO] [stdout]  --> src/lib.rs:101:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | m1: ModulatorEnv<f32>, // hosts modulators that give scalar f32 values
[INFO] [stdout]   |   ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 286) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:289:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn enabled(&self) -> bool;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                          |
[INFO] [stdout]   |                          help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:289:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn enabled(&self) -> bool;
[INFO] [stdout]   |            ^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:292:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn set_enabled(&mut self, enabled: bool);
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                         |
[INFO] [stdout]   |                                         help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:292:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn set_enabled(&mut self, enabled: bool);
[INFO] [stdout]   |                ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 261) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:262:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]   |           ^^^^^^^^^ not semantically valid as function parameter
[INFO] [stdout]   |
[INFO] [stdout]   = note: associated functions are those in `impl` or `trait` definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Any` in this scope
[INFO] [stdout]  --> src/lib.rs:262:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]   |                              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::any::Any;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::any::Any;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 168) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:170:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | let v0 = st.m1.value("wave_sin"); // current value of sine modulator
[INFO] [stdout]   |          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:171:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | let v1 = st.m1.value("wave_rnd"); // current value of random walk modulator
[INFO] [stdout]   |          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 87) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:88:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | m.advance(dt);
[INFO] [stdout]   | ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dt` in this scope
[INFO] [stdout]  --> src/lib.rs:88:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | m.advance(dt);
[INFO] [stdout]   |           ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 237) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |               ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:241:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_237_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                           ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:241:40
[INFO] [stdout]   |
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `source` in this scope
[INFO] [stdout]  --> src/lib.rs:241:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | self.height = self.base + self.range * st.m1.value(source);
[INFO] [stdout]   |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0424, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0424`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 110) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:112:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | st.m1.advance(dt);
[INFO] [stdout]   | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `dt` in this scope
[INFO] [stdout]  --> src/lib.rs:112:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | st.m1.advance(dt);
[INFO] [stdout]   |               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:83:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let value = m.value();
[INFO] [stdout]   |             ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 151) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:155:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | let wave = Wave::new(2.0, 0.1).wave(Box::new(|w, _| {
[INFO] [stdout]   |            ^^^^ use of undeclared type `Wave`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope
[INFO] [stdout]  --> src/lib.rs:156:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let n = w.value + thread_rng().gen_range(-w.frequency, w.frequency);
[INFO] [stdout]   |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 4 + use rand::thread_rng;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]   --> src/lib.rs:161:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | st.m1.take("wave_rnd", Box::new(wave));
[INFO] [stdout]    | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 250) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:251:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let ampmod = st.m1.value("amp_mod"); // amplitude modulation value
[INFO] [stdout]   |              ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:252:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | if let Some(sw) = st.m1.get_mut("wave_sin") { // borrow trait object
[INFO] [stdout]   |                   ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Wave` in this scope
[INFO] [stdout]  --> src/lib.rs:253:50
[INFO] [stdout]   |
[INFO] [stdout] 5 |     if let Some(ss) = sw.as_any().downcast_mut::<Wave>() { // safely cast it
[INFO] [stdout]   |                                                  ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:137:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wave = Wave::new(1.0, 0.5).wave(Box::new(|w, t| {
[INFO] [stdout]   |            ^^^^ use of undeclared type `Wave`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use modulator::sources::Wave;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]   --> src/lib.rs:142:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | st.m1.take("wave_sin", Box::new(wave));
[INFO] [stdout]    | ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]  --> src/lib.rs:138:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |         (t * w.frequency * f32::consts::PI * 2.0).sin() * w.amplitude
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you are looking for the module in `std`, not the primitive type
[INFO] [stdout]   |
[INFO] [stdout] 7 |         (t * w.frequency * std::f32::consts::PI * 2.0).sin() * w.amplitude
[INFO] [stdout]   |                            +++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 110)
[INFO] [stdout]     src/lib.rs - (line 134)
[INFO] [stdout]     src/lib.rs - (line 151)
[INFO] [stdout]     src/lib.rs - (line 168)
[INFO] [stdout]     src/lib.rs - (line 237)
[INFO] [stdout]     src/lib.rs - (line 250)
[INFO] [stdout]     src/lib.rs - (line 261)
[INFO] [stdout]     src/lib.rs - (line 286)
[INFO] [stdout]     src/lib.rs - (line 82)
[INFO] [stdout]     src/lib.rs - (line 87)
[INFO] [stdout]     src/lib.rs - (line 98)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "00f8e866a74225622ef614be4b3c367e46b688453b44f1a9f949b6d65fd419a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00f8e866a74225622ef614be4b3c367e46b688453b44f1a9f949b6d65fd419a7", kill_on_drop: false }`
[INFO] [stdout] 00f8e866a74225622ef614be4b3c367e46b688453b44f1a9f949b6d65fd419a7
