[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthibautRe%2Fcpal-tests" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thibautRe/cpal-tests on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.28 [INFO] [stderr] Downloaded lazycell v1.1.0 [INFO] [stderr] Downloaded futures v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bcc1bab81f52628fcc6025ff9adac86b6b31ad1ecafff88d85904417fcdbbeb [INFO] running `Command { std: "docker" "start" "-a" "5bcc1bab81f52628fcc6025ff9adac86b6b31ad1ecafff88d85904417fcdbbeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bcc1bab81f52628fcc6025ff9adac86b6b31ad1ecafff88d85904417fcdbbeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bcc1bab81f52628fcc6025ff9adac86b6b31ad1ecafff88d85904417fcdbbeb", kill_on_drop: false }` [INFO] [stdout] 5bcc1bab81f52628fcc6025ff9adac86b6b31ad1ecafff88d85904417fcdbbeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a996bcce6b6c195709fa85a6f4508f5d02c9bdc53e5f98dce6d278c598821fa [INFO] running `Command { std: "docker" "start" "-a" "1a996bcce6b6c195709fa85a6f4508f5d02c9bdc53e5f98dce6d278c598821fa", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking futures v0.1.24 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking lazycell v1.1.0 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking crossbeam-deque v0.6.1 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking tokio-executor v0.1.4 [INFO] [stderr] Checking tokio-io v0.1.8 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking tokio-timer v0.2.6 [INFO] [stderr] Checking tokio-current-thread v0.1.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.6 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking tokio-reactor v0.1.5 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio-udp v0.1.2 [INFO] [stderr] Checking tokio-uds v0.2.1 [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] 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_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: 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_mut`, 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: 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_mut`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `SliceIndex` [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` 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[E0507]: cannot move out of `self.instruments` which is behind a shared reference [INFO] [stdout] --> src/instrument.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | self.instruments [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because `self.instruments` has type `HashMap>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.instruments` which is behind a shared reference [INFO] [stdout] --> src/instrument.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | self.instruments [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because `self.instruments` has type `HashMap>`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpal-tests` (bin "cpal-tests") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cpal-tests` (bin "cpal-tests" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "1a996bcce6b6c195709fa85a6f4508f5d02c9bdc53e5f98dce6d278c598821fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a996bcce6b6c195709fa85a6f4508f5d02c9bdc53e5f98dce6d278c598821fa", kill_on_drop: false }` [INFO] [stdout] 1a996bcce6b6c195709fa85a6f4508f5d02c9bdc53e5f98dce6d278c598821fa