[INFO] fetching crate modulator 0.4.0... [INFO] testing modulator-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate modulator 0.4.0 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modulator 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10f7588d3c13e32e8b1f87cb36d8f4fe935cea12309fe19855da0ce64e5dcaf0 [INFO] running `Command { std: "docker" "start" "-a" "10f7588d3c13e32e8b1f87cb36d8f4fe935cea12309fe19855da0ce64e5dcaf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f7588d3c13e32e8b1f87cb36d8f4fe935cea12309fe19855da0ce64e5dcaf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f7588d3c13e32e8b1f87cb36d8f4fe935cea12309fe19855da0ce64e5dcaf0", kill_on_drop: false }` [INFO] [stdout] 10f7588d3c13e32e8b1f87cb36d8f4fe935cea12309fe19855da0ce64e5dcaf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f77a79d370e9422d2314f07f4b0e77e0d1af772947218733fc69f46e472eacc3 [INFO] running `Command { std: "docker" "start" "-a" "f77a79d370e9422d2314f07f4b0e77e0d1af772947218733fc69f46e472eacc3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling metrohash v1.0.7 [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` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "f77a79d370e9422d2314f07f4b0e77e0d1af772947218733fc69f46e472eacc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77a79d370e9422d2314f07f4b0e77e0d1af772947218733fc69f46e472eacc3", kill_on_drop: false }` [INFO] [stdout] f77a79d370e9422d2314f07f4b0e77e0d1af772947218733fc69f46e472eacc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 724a56b9e2092be1cb7cf71f29cce4f4442c08c5e8f67a1661cca4badcf8b594 [INFO] running `Command { std: "docker" "start" "-a" "724a56b9e2092be1cb7cf71f29cce4f4442c08c5e8f67a1661cca4badcf8b594", kill_on_drop: false }` [INFO] [stderr] Compiling modulator v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "724a56b9e2092be1cb7cf71f29cce4f4442c08c5e8f67a1661cca4badcf8b594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724a56b9e2092be1cb7cf71f29cce4f4442c08c5e8f67a1661cca4badcf8b594", kill_on_drop: false }` [INFO] [stdout] 724a56b9e2092be1cb7cf71f29cce4f4442c08c5e8f67a1661cca4badcf8b594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aaaa75d74dcc3cbfd6310b1eb14d8f17f48f396baf42dc891af2112a8da1049c [INFO] running `Command { std: "docker" "start" "-a" "aaaa75d74dcc3cbfd6310b1eb14d8f17f48f396baf42dc891af2112a8da1049c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modulator-4f67d2e34fd7cc88) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests modulator [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - (line 286) ... 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 250) ... FAILED [INFO] [stdout] test src/lib.rs - (line 134) ... FAILED [INFO] [stdout] test src/lib.rs - (line 261) ... FAILED [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - (line 151) ... 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 82) ... 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: `{ }` [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: `{ }` [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 237) stdout ---- [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/lib.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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] ... [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] 4 | 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] ... [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] 4 | 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] ... [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 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::() { // 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] 2 + 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 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 this trait [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 98) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/lib.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 2 | m1: ModulatorEnv, // hosts modulators that give scalar f32 values [INFO] [stdout] | ^ expected one of `!` or `::` [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 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] 2 + 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] 2 + 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 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"); [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 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] [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.56s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aaaa75d74dcc3cbfd6310b1eb14d8f17f48f396baf42dc891af2112a8da1049c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaaa75d74dcc3cbfd6310b1eb14d8f17f48f396baf42dc891af2112a8da1049c", kill_on_drop: false }` [INFO] [stdout] aaaa75d74dcc3cbfd6310b1eb14d8f17f48f396baf42dc891af2112a8da1049c