[INFO] cloning repository https://github.com/pepega007xd/data-to-sound [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepega007xd/data-to-sound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepega007xd%2Fdata-to-sound", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepega007xd%2Fdata-to-sound'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08ad0577c50a6d81254ecb6568f1b3cc2dfdb731 [INFO] checking pepega007xd/data-to-sound against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepega007xd%2Fdata-to-sound" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pepega007xd/data-to-sound on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pepega007xd/data-to-sound [INFO] finished tweaking git repo https://github.com/pepega007xd/data-to-sound [INFO] tweaked toml for git repo https://github.com/pepega007xd/data-to-sound written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pepega007xd/data-to-sound 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a08524efa5fdc5299623c8da37c67c5c818c28be972c1c9f9c6ad9a0b52f34f4 [INFO] running `Command { std: "docker" "start" "-a" "a08524efa5fdc5299623c8da37c67c5c818c28be972c1c9f9c6ad9a0b52f34f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a08524efa5fdc5299623c8da37c67c5c818c28be972c1c9f9c6ad9a0b52f34f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08524efa5fdc5299623c8da37c67c5c818c28be972c1c9f9c6ad9a0b52f34f4", kill_on_drop: false }` [INFO] [stdout] a08524efa5fdc5299623c8da37c67c5c818c28be972c1c9f9c6ad9a0b52f34f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9dfd69f26efc1bcf54bf601ae7fe922c4934c2e992b0f92ecf8bdb12f096c24 [INFO] running `Command { std: "docker" "start" "-a" "e9dfd69f26efc1bcf54bf601ae7fe922c4934c2e992b0f92ecf8bdb12f096c24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking tape v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn send(&self, data: Vec) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 96 | let _stream = self.build_stream(move |buffer: &mut [i16], _| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 97 | | let mut samples = samples.lock().unwrap(); [INFO] [stdout] 98 | | for sample in buffer { [INFO] [stdout] 99 | | *sample = samples.next().unwrap_or(0); [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `Mutex>`, which makes the generic argument `impl Iterator` invariant [INFO] [stdout] = note: the struct `Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/lib.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn send(&self, data: Vec) { [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 96 | let _stream = self.build_stream(move |buffer: &mut [i16], _| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 97 | | let mut samples = samples.lock().unwrap(); [INFO] [stdout] 98 | | for sample in buffer { [INFO] [stdout] 99 | | *sample = samples.next().unwrap_or(0); [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `Mutex>`, which makes the generic argument `impl Iterator` invariant [INFO] [stdout] = note: the struct `Mutex` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tape` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tape` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e9dfd69f26efc1bcf54bf601ae7fe922c4934c2e992b0f92ecf8bdb12f096c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9dfd69f26efc1bcf54bf601ae7fe922c4934c2e992b0f92ecf8bdb12f096c24", kill_on_drop: false }` [INFO] [stdout] e9dfd69f26efc1bcf54bf601ae7fe922c4934c2e992b0f92ecf8bdb12f096c24