[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] testing thibautRe/cpal-tests against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthibautRe%2Fcpal-tests" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thibautRe/cpal-tests on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-86/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cb15e76c5fb1a6aada685226e336c7e0b57507386a9c15243bab39f9e96aa39 [INFO] running `Command { std: "docker" "start" "-a" "6cb15e76c5fb1a6aada685226e336c7e0b57507386a9c15243bab39f9e96aa39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cb15e76c5fb1a6aada685226e336c7e0b57507386a9c15243bab39f9e96aa39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb15e76c5fb1a6aada685226e336c7e0b57507386a9c15243bab39f9e96aa39", kill_on_drop: false }` [INFO] [stdout] 6cb15e76c5fb1a6aada685226e336c7e0b57507386a9c15243bab39f9e96aa39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42f8a55f2e0539a9b83db5b56db02906b869098d1a0471d9757d4ebd0789375 [INFO] running `Command { std: "docker" "start" "-a" "b42f8a55f2e0539a9b83db5b56db02906b869098d1a0471d9757d4ebd0789375", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling futures v0.1.24 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling lazycell v1.1.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling tokio-executor v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.28 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling tokio-timer v0.2.6 [INFO] [stderr] Compiling tokio-current-thread v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling tokio-io v0.1.8 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.5 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling tokio-uds v0.2.1 [INFO] [stderr] Compiling tokio v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling 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: 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instrument.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | instruments: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - instruments: HashMap>, [INFO] [stdout] 30 + instruments: HashMap>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - pub fn get_instruments(&self) -> HashMap> { [INFO] [stdout] 50 + pub fn get_instruments(&self) -> HashMap> { [INFO] [stdout] | [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] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - let empty_hashmap: HashMap> = HashMap::new(); [INFO] [stdout] 35 + let empty_hashmap: HashMap> = HashMap::new(); [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_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] running `Command { std: "docker" "inspect" "b42f8a55f2e0539a9b83db5b56db02906b869098d1a0471d9757d4ebd0789375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42f8a55f2e0539a9b83db5b56db02906b869098d1a0471d9757d4ebd0789375", kill_on_drop: false }` [INFO] [stdout] b42f8a55f2e0539a9b83db5b56db02906b869098d1a0471d9757d4ebd0789375