[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] testing miyamofigo/wave-player against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Fwave-player" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miyamofigo/wave-player on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21b3284df9aeb041e31562c7b03ef0ba3cbe3a5900186aa95bfc1a3bbd4f3e82 [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" "21b3284df9aeb041e31562c7b03ef0ba3cbe3a5900186aa95bfc1a3bbd4f3e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b3284df9aeb041e31562c7b03ef0ba3cbe3a5900186aa95bfc1a3bbd4f3e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b3284df9aeb041e31562c7b03ef0ba3cbe3a5900186aa95bfc1a3bbd4f3e82", kill_on_drop: false }` [INFO] [stdout] 21b3284df9aeb041e31562c7b03ef0ba3cbe3a5900186aa95bfc1a3bbd4f3e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f64ecf00d0b01dc0ae18e472a66869be5329d8876dc204ec1aed08f9e64cef [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" "25f64ecf00d0b01dc0ae18e472a66869be5329d8876dc204ec1aed08f9e64cef", kill_on_drop: false }` [INFO] [stderr] Compiling 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] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/sp_io.rs:187:23 [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `heap_api` [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unique` [INFO] [stdout] --> src/lib.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc, libc, heap_api, unboxed_closures, unique)] [INFO] [stdout] | ^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 227 - type Callback = FnMut + Send; [INFO] [stdout] 227 + type Callback = dyn FnMut + Send; [INFO] [stdout] | [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] [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 21 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0554, E0599, E0614, E0635, 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` due to 22 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "25f64ecf00d0b01dc0ae18e472a66869be5329d8876dc204ec1aed08f9e64cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f64ecf00d0b01dc0ae18e472a66869be5329d8876dc204ec1aed08f9e64cef", kill_on_drop: false }` [INFO] [stdout] 25f64ecf00d0b01dc0ae18e472a66869be5329d8876dc204ec1aed08f9e64cef