[INFO] cloning repository https://github.com/miyamofigo/wave-player [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miyamofigo/wave-player" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Fwave-player", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Fwave-player'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b16a73eb4e5f5cc5f3d87092ddf71cef1e5d6bed [INFO] checking miyamofigo/wave-player against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Fwave-player" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/wave-player on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/miyamofigo/wave-player [INFO] finished tweaking git repo https://github.com/miyamofigo/wave-player [INFO] tweaked toml for git repo https://github.com/miyamofigo/wave-player written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/miyamofigo/wave-player already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d53eced8824a2916320b3a1a9e51c6b7fa1bc8d2d1b0a0af2ba6d77ec4bf430 [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" "0d53eced8824a2916320b3a1a9e51c6b7fa1bc8d2d1b0a0af2ba6d77ec4bf430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d53eced8824a2916320b3a1a9e51c6b7fa1bc8d2d1b0a0af2ba6d77ec4bf430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d53eced8824a2916320b3a1a9e51c6b7fa1bc8d2d1b0a0af2ba6d77ec4bf430", kill_on_drop: false }` [INFO] [stdout] 0d53eced8824a2916320b3a1a9e51c6b7fa1bc8d2d1b0a0af2ba6d77ec4bf430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c3ed06e4cc2616dfe6e640ab7a5458f2cd24ff0849e52573142ff99a2a247d2 [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" "5c3ed06e4cc2616dfe6e640ab7a5458f2cd24ff0849e52573142ff99a2a247d2", kill_on_drop: false }` [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking wave-player2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::alloc::heap` [INFO] [stdout] --> src/io.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::alloc::heap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `heap` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fio.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | type Callback = FnMut + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut + Send` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sp_io.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/sp_io.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ptr::{ Unique, copy_nonoverlapping }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/sp_io.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | type SoundPcmPtr = Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sp_io.rs:230:22 [INFO] [stdout] | [INFO] [stdout] 230 | const EAGAIN : i32 = libc::EAGAIN; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sp_io.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/sp_io.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | inner: Some(Unique::new(raw_ptr)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sp_io.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | name: *const libc::c_char, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/sp_io.rs:159:44 [INFO] [stdout] | [INFO] [stdout] 159 | fn snd_strerror(errnum: i32) -> *const libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/io.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stdout] --> src/sp_io.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | inner: Some(Unique::new(raw_ptr)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures v0.1.6 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sp_io.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | inner: Some(Unique::new(raw_ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Unique` cannot be dereferenced [INFO] [stdout] --> src/sp_io.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | let ptr = *self.inner.take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for mutable reference `&mut Unique` in the current scope [INFO] [stdout] --> src/sp_io.rs:240:54 [INFO] [stdout] | [INFO] [stdout] 240 | let (pcm, len, mut written) = (inner.get_mut(), [INFO] [stdout] | ^^^^^^^ method not found in `&mut Unique` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 240 | let (pcm, len, mut written) = (Pin::new(inner).get_mut(), [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 240 | let (pcm, len, mut written) = (Pin::new(&mut inner).get_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for mutable reference `&mut Unique` in the current scope [INFO] [stdout] --> src/sp_io.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | let pcm = inner.get_mut(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Unique` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 284 | let pcm = Pin::new(inner).get_mut(); [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 284 | let pcm = Pin::new(&mut inner).get_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for mutable reference `&mut Unique` in the current scope [INFO] [stdout] --> src/sp_io.rs:312:33 [INFO] [stdout] | [INFO] [stdout] 312 | let pcm = inner.get_mut(); [INFO] [stdout] | ^^^^^^^ method not found in `&mut Unique` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 312 | let pcm = Pin::new(inner).get_mut(); [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 312 | let pcm = Pin::new(&mut inner).get_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wave-player2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5c3ed06e4cc2616dfe6e640ab7a5458f2cd24ff0849e52573142ff99a2a247d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3ed06e4cc2616dfe6e640ab7a5458f2cd24ff0849e52573142ff99a2a247d2", kill_on_drop: false }` [INFO] [stdout] 5c3ed06e4cc2616dfe6e640ab7a5458f2cd24ff0849e52573142ff99a2a247d2