[INFO] cloning repository https://github.com/thibautRe/cpal-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thibautRe/cpal-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthibautRe%2Fcpal-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthibautRe%2Fcpal-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b92bfee8d2e5df5269ea60447ad90d2754eff3a [INFO] checking thibautRe/cpal-tests against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthibautRe%2Fcpal-tests" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thibautRe/cpal-tests on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thibautRe/cpal-tests [INFO] finished tweaking git repo https://github.com/thibautRe/cpal-tests [INFO] tweaked toml for git repo https://github.com/thibautRe/cpal-tests written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/thibautRe/cpal-tests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29805f406fdc2862a509272c55df95f2a5641e1e8bbc5efcf817348bc7be2dc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29805f406fdc2862a509272c55df95f2a5641e1e8bbc5efcf817348bc7be2dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29805f406fdc2862a509272c55df95f2a5641e1e8bbc5efcf817348bc7be2dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29805f406fdc2862a509272c55df95f2a5641e1e8bbc5efcf817348bc7be2dc9", kill_on_drop: false }` [INFO] [stdout] 29805f406fdc2862a509272c55df95f2a5641e1e8bbc5efcf817348bc7be2dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d19bea8e039957e25b59c5cbacae74357d103dbaf0621e16f3dd9e431ee5ef4 [INFO] running `Command { std: "docker" "start" "-a" "6d19bea8e039957e25b59c5cbacae74357d103dbaf0621e16f3dd9e431ee5ef4", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.24 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking lazycell v1.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-executor v0.1.4 [INFO] [stderr] Checking tokio-io v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.6 [INFO] [stderr] Checking tokio-current-thread v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.5 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-uds v0.2.1 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Checking serde_json v1.0.28 [INFO] [stderr] Checking cpal-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/instrument.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_parameter(&mut self, InstrumentSetParameter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: InstrumentSetParameter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | instruments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Instrument + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | let empty_hashmap: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Instrument` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_instruments(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Instrument + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/instrument.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn set_parameter(&mut self, InstrumentSetParameter); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: InstrumentSetParameter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | instruments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Instrument + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | let empty_hashmap: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Instrument` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_instruments(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Instrument + 'a` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::{HashMap, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_next_value` found for mutable reference `&mut Box` in the current scope [INFO] [stdout] --> src/main.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | output += val.get_next_value(sample_rate); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `OutputNode` defines an item `get_next_value`, perhaps you need to implement it [INFO] [stdout] --> src/instrument.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait OutputNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `MutexGuard<'_, Instruments<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:278:58 [INFO] [stdout] | [INFO] [stdout] 278 | let mut instrument = instruments.get_mut(&instrument_id).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `MutexGuard<'_, Instruments<'_>>` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 278 | let mut instrument = Pin::new(&mut instruments).get_mut(&instrument_id).unwrap(); [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_next_value` found for mutable reference `&mut Box` in the current scope [INFO] [stdout] --> src/main.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | output += val.get_next_value(sample_rate); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut Box` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `OutputNode` defines an item `get_next_value`, perhaps you need to implement it [INFO] [stdout] --> src/instrument.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait OutputNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `MutexGuard<'_, Instruments<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:284:54 [INFO] [stdout] | [INFO] [stdout] 284 | let instrument = instruments.get(&instrument_id).unwrap(); [INFO] [stdout] | ^^^ method not found in `MutexGuard<'_, Instruments<'_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `MutexGuard<'_, Instruments<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:278:58 [INFO] [stdout] | [INFO] [stdout] 278 | let mut instrument = instruments.get_mut(&instrument_id).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `MutexGuard<'_, Instruments<'_>>` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 278 | let mut instrument = Pin::new(&mut instruments).get_mut(&instrument_id).unwrap(); [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `MutexGuard<'_, Instruments<'_>>` in the current scope [INFO] [stdout] --> src/main.rs:284:54 [INFO] [stdout] | [INFO] [stdout] 284 | let instrument = instruments.get(&instrument_id).unwrap(); [INFO] [stdout] | ^^^ method not found in `MutexGuard<'_, Instruments<'_>>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `get`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpal-tests` due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6d19bea8e039957e25b59c5cbacae74357d103dbaf0621e16f3dd9e431ee5ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d19bea8e039957e25b59c5cbacae74357d103dbaf0621e16f3dd9e431ee5ef4", kill_on_drop: false }` [INFO] [stdout] 6d19bea8e039957e25b59c5cbacae74357d103dbaf0621e16f3dd9e431ee5ef4