[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#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiyamofigo%2Fwave-player" "/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/miyamofigo/wave-player on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures v0.1.6 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88edfb12ec1858387555bb58b5b1bf62844a1c9ee8c31331e0c08af01753b98a [INFO] running `Command { std: "docker" "start" "-a" "88edfb12ec1858387555bb58b5b1bf62844a1c9ee8c31331e0c08af01753b98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88edfb12ec1858387555bb58b5b1bf62844a1c9ee8c31331e0c08af01753b98a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88edfb12ec1858387555bb58b5b1bf62844a1c9ee8c31331e0c08af01753b98a", kill_on_drop: false }` [INFO] [stdout] 88edfb12ec1858387555bb58b5b1bf62844a1c9ee8c31331e0c08af01753b98a [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0aafae69f2f5a7988439e31601fddfbbe71d5b5bc7c79606c8f2b31fdc0f0d [INFO] running `Command { std: "docker" "start" "-a" "ea0aafae69f2f5a7988439e31601fddfbbe71d5b5bc7c79606c8f2b31fdc0f0d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | type snd_pcm_t = libc::c_void; [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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:249:39 [INFO] [stdout] | [INFO] [stdout] 249 | ... *const libc::c_void, [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | buffer: *const libc::c_void, [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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] [stderr] Checking futures v0.1.6 [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/io.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | type Callback: FnOnce + Send + ?Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `>::Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/d8810e3e2dab96778d20dd6d746ff95465515509/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 238 | pub trait Loop where >::Args: Tuple { [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | type Callback = dyn FnMut + Send; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] = note: this compiler was built on 2025-02-14; consider upgrading it if it is out of date [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 `Unique`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] help: the type constructed contains `Option>` due to the type of the argument passed [INFO] [stdout] --> src/sp_io.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | inner: Some(Unique::new(raw_ptr)) [INFO] [stdout] | ^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/d8810e3e2dab96778d20dd6d746ff95465515509/library/core/src/option.rs:580:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 207 | inner: Some(Unique::new(raw_ptr).expect("REASON")) [INFO] [stdout] | +++++++++++++++++ [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 pinning the expression with `std::pin::pin!()` and assigning that to a new binding [INFO] [stdout] --> src/sp_io.rs:240:48 [INFO] [stdout] | [INFO] [stdout] 240 | let (pcm, len, mut written) = (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 pinning the expression [INFO] [stdout] | [INFO] [stdout] 284 ~ let mut pinned = std::pin::pin!(inner); [INFO] [stdout] 285 ~ let pcm = pinned.as_mut().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 pinning the expression [INFO] [stdout] | [INFO] [stdout] 312 ~ let mut pinned = std::pin::pin!(inner); [INFO] [stdout] 313 ~ let pcm = pinned.as_mut().get_mut(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0059, E0308, E0432, E0599, E0614, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0059`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wave-player2` (lib) due to 20 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ea0aafae69f2f5a7988439e31601fddfbbe71d5b5bc7c79606c8f2b31fdc0f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0aafae69f2f5a7988439e31601fddfbbe71d5b5bc7c79606c8f2b31fdc0f0d", kill_on_drop: false }` [INFO] [stdout] ea0aafae69f2f5a7988439e31601fddfbbe71d5b5bc7c79606c8f2b31fdc0f0d