[INFO] fetching crate modulator 0.1.0...
[INFO] testing modulator-0.1.0 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate modulator 0.1.0 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate modulator 0.1.0 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate modulator 0.1.0
[INFO] finished tweaking crates.io crate modulator 0.1.0
[INFO] tweaked toml for crates.io crate modulator 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f2acf1d58e592415749c2d715afd343ecc9dde158f17e864cc6b0d337239d35f
[INFO] running `Command { std: "docker" "start" "-a" "f2acf1d58e592415749c2d715afd343ecc9dde158f17e864cc6b0d337239d35f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2acf1d58e592415749c2d715afd343ecc9dde158f17e864cc6b0d337239d35f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2acf1d58e592415749c2d715afd343ecc9dde158f17e864cc6b0d337239d35f", kill_on_drop: false }`
[INFO] [stdout] f2acf1d58e592415749c2d715afd343ecc9dde158f17e864cc6b0d337239d35f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f4ad8bfedba07eb6046569a2d3eb980f0ef1b9690c0ba50638564bbbc837c32
[INFO] running `Command { std: "docker" "start" "-a" "0f4ad8bfedba07eb6046569a2d3eb980f0ef1b9690c0ba50638564bbbc837c32", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling modulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub wave: Box<Fn(&Wave, f32) -> f32>, // wave closure, receives self and time in s
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn wave(mut self, wave: Box<Fn(&Wave, f32) -> f32>) -> Self {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:56:42
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn set_wave(&mut self, wave: Box<Fn(&Wave, f32) -> f32>) {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:309:34
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:528:34
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:701:34
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:396:34
[INFO] [stdout]     |
[INFO] [stdout] 396 |     fn as_any(&mut self) -> &mut Any;
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.55s
[INFO] running `Command { std: "docker" "inspect" "0f4ad8bfedba07eb6046569a2d3eb980f0ef1b9690c0ba50638564bbbc837c32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4ad8bfedba07eb6046569a2d3eb980f0ef1b9690c0ba50638564bbbc837c32", kill_on_drop: false }`
[INFO] [stdout] 0f4ad8bfedba07eb6046569a2d3eb980f0ef1b9690c0ba50638564bbbc837c32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aecdd000c9ef7fe44346194c4254d8c0df3ea2a75cc1191b18101dc4673621ec
[INFO] running `Command { std: "docker" "start" "-a" "aecdd000c9ef7fe44346194c4254d8c0df3ea2a75cc1191b18101dc4673621ec", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub wave: Box<Fn(&Wave, f32) -> f32>, // wave closure, receives self and time in s
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn wave(mut self, wave: Box<Fn(&Wave, f32) -> f32>) -> Self {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:56:42
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn set_wave(&mut self, wave: Box<Fn(&Wave, f32) -> f32>) {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling modulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:309:34
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:528:34
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:701:34
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:396:34
[INFO] [stdout]     |
[INFO] [stdout] 396 |     fn as_any(&mut self) -> &mut Any;
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub wave: Box<Fn(&Wave, f32) -> f32>, // wave closure, receives self and time in s
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:50:37
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn wave(mut self, wave: Box<Fn(&Wave, f32) -> f32>) -> Self {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:56:42
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn set_wave(&mut self, wave: Box<Fn(&Wave, f32) -> f32>) {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/sources.rs:76:34
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:309:34
[INFO] [stdout]     |
[INFO] [stdout] 309 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:528:34
[INFO] [stdout]     |
[INFO] [stdout] 528 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/sources.rs:701:34
[INFO] [stdout]     |
[INFO] [stdout] 701 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:396:34
[INFO] [stdout]     |
[INFO] [stdout] 396 |     fn as_any(&mut self) -> &mut Any;
[INFO] [stdout]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "aecdd000c9ef7fe44346194c4254d8c0df3ea2a75cc1191b18101dc4673621ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aecdd000c9ef7fe44346194c4254d8c0df3ea2a75cc1191b18101dc4673621ec", kill_on_drop: false }`
[INFO] [stdout] aecdd000c9ef7fe44346194c4254d8c0df3ea2a75cc1191b18101dc4673621ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 49e6a8a987163ecad83c72328abab47425d442527642828a7e1318540a408c12
[INFO] running `Command { std: "docker" "start" "-a" "49e6a8a987163ecad83c72328abab47425d442527642828a7e1318540a408c12", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/sources.rs:25:19
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub wave: Box<Fn(&Wave, f32) -> f32>, // wave closure, receives self and time in s
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/sources.rs:50:37
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub fn wave(mut self, wave: Box<Fn(&Wave, f32) -> f32>) -> Self {
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/sources.rs:56:42
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub fn set_wave(&mut self, wave: Box<Fn(&Wave, f32) -> f32>) {
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Wave, f32) -> f32`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/sources.rs:76:34
[INFO] [stderr]    |
[INFO] [stderr] 76 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stderr]    |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/sources.rs:162:34
[INFO] [stderr]     |
[INFO] [stderr] 162 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stderr]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/sources.rs:309:34
[INFO] [stderr]     |
[INFO] [stderr] 309 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stderr]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/sources.rs:528:34
[INFO] [stderr]     |
[INFO] [stderr] 528 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stderr]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/sources.rs:701:34
[INFO] [stderr]     |
[INFO] [stderr] 701 |     fn as_any(&mut self) -> &mut Any {
[INFO] [stderr]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/lib.rs:396:34
[INFO] [stderr]     |
[INFO] [stderr] 396 |     fn as_any(&mut self) -> &mut Any;
[INFO] [stderr]     |                                  ^^^ help: use `dyn`: `dyn Any`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: `modulator` (lib) generated 9 warnings
[INFO] [stderr] warning: `modulator` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/modulator-b564ee88d894a2d7)
[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 298) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 260) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 115) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 272) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 102) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 158) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 246) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 140) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 298) stdout ----
[INFO] [stdout] error: free function without a body
[INFO] [stdout]  --> src/lib.rs:300:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:300:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:303:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:303:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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 260) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:261: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:262: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:263:50
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_260_0() {
[INFO] [stdout]   |                                                                       - help: you might be missing a type parameter: `<Wave>`
[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] 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 115) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:117: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:117: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 90) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:91: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:91: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 84) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `m` in this scope
[INFO] [stdout]  --> src/lib.rs:85: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 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 272) stdout ----
[INFO] [stdout] error: `self` parameter is only allowed in associated functions
[INFO] [stdout]  --> src/lib.rs:273: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:273: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 102) stdout ----
[INFO] [stdout] error: comparison operators cannot be chained
[INFO] [stdout]  --> src/lib.rs:104:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_102_0() {
[INFO] [stdout]   |                                                                          - while parsing this struct
[INFO] [stdout] 5 | m1: ModulatorEnv<f32>, // hosts modulators that give scalar f32 values
[INFO] [stdout]   |                 ^   ^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `::<...>` instead of `<...>` to specify type or const arguments
[INFO] [stdout]   = help: or use `(...)` if you meant to specify fn arguments
[INFO] [stdout] 
[INFO] [stdout] error: struct literal body without path
[INFO] [stdout]  --> src/lib.rs:103:74
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_102_0() {
[INFO] [stdout]   |  __________________________________________________________________________^
[INFO] [stdout] 5 | | m1: ModulatorEnv<f32>, // hosts modulators that give scalar f32 values
[INFO] [stdout] 6 | |
[INFO] [stdout] 7 | | // Somewhere in constructor of that struct...
[INFO] [stdout] 8 | | m1: ModulatorEnv::new(),
[INFO] [stdout] 9 | | } _doctest_main_src_lib_rs_102_0() }
[INFO] [stdout]   | |_^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have forgotten to add the struct literal inside the block
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_102_0() { SomeStruct {
[INFO] [stdout] 5 | m1: ModulatorEnv<f32>, // hosts modulators that give scalar f32 values
[INFO] [stdout] 6 | 
[INFO] [stdout] 7 | // Somewhere in constructor of that struct...
[INFO] [stdout] 8 | m1: ModulatorEnv::new(),
[INFO] [stdout] 9 | } } _doctest_main_src_lib_rs_102_0() }
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 158) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:161:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let wave = Wave::new(2.0, 0.1).wave(Box::new(|w, _| {
[INFO] [stdout]   |            ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:162:23
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let n = w.value + thread_rng().gen_range(-w.frequency, w.frequency);
[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:167:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | 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 246) stdout ----
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]  --> src/lib.rs:249:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_246_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 6 | 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:249:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_246_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 6 | 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:249:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_246_0() {
[INFO] [stdout]   |                                         ------------------------------ this function can't have a `self` parameter
[INFO] [stdout] 6 | 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:249:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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:249:52
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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 176) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `st` in this scope
[INFO] [stdout]  --> src/lib.rs:177:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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:178:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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 140) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wave`
[INFO] [stdout]  --> src/lib.rs:142:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | let wave = Wave::new(1.0, 0.5).wave(Box::new(|w, t| {
[INFO] [stdout]   |            ^^^^ not found in this scope
[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 value `st` in this scope
[INFO] [stdout]   --> src/lib.rs:147:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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:143:28
[INFO] [stdout]   |
[INFO] [stdout] 6 |         (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] 6 |         (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 102)
[INFO] [stdout]     src/lib.rs - (line 115)
[INFO] [stdout]     src/lib.rs - (line 140)
[INFO] [stdout]     src/lib.rs - (line 158)
[INFO] [stdout]     src/lib.rs - (line 176)
[INFO] [stdout]     src/lib.rs - (line 246)
[INFO] [stdout]     src/lib.rs - (line 260)
[INFO] [stdout]     src/lib.rs - (line 272)
[INFO] [stdout]     src/lib.rs - (line 298)
[INFO] [stdout]     src/lib.rs - (line 84)
[INFO] [stdout]     src/lib.rs - (line 90)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "49e6a8a987163ecad83c72328abab47425d442527642828a7e1318540a408c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49e6a8a987163ecad83c72328abab47425d442527642828a7e1318540a408c12", kill_on_drop: false }`
[INFO] [stdout] 49e6a8a987163ecad83c72328abab47425d442527642828a7e1318540a408c12
