[INFO] fetching crate vorbis 0.1.0... [INFO] building vorbis-0.1.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate vorbis 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate vorbis 0.1.0 [INFO] finished tweaking crates.io crate vorbis 0.1.0 [INFO] tweaked toml for crates.io crate vorbis 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vorbis 0.1.0 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] [stderr] Adding vorbis-sys v0.0.8 (available: v0.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09e56e633cdf1b64c17f04d3c0001b730de10590a1c2abf82a4e1821271a4a6 [INFO] running `Command { std: "docker" "start" "-a" "b09e56e633cdf1b64c17f04d3c0001b730de10590a1c2abf82a4e1821271a4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09e56e633cdf1b64c17f04d3c0001b730de10590a1c2abf82a4e1821271a4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09e56e633cdf1b64c17f04d3c0001b730de10590a1c2abf82a4e1821271a4a6", kill_on_drop: false }` [INFO] [stdout] b09e56e633cdf1b64c17f04d3c0001b730de10590a1c2abf82a4e1821271a4a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a7268c6461ebf12dd5400fddb0948ad582d7aa23262c975f192a5ba9b3aff13b [INFO] running `Command { std: "docker" "start" "-a" "a7268c6461ebf12dd5400fddb0948ad582d7aa23262c975f192a5ba9b3aff13b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ogg-sys v0.0.9 [INFO] [stderr] Compiling vorbis-sys v0.0.8 [INFO] [stderr] Compiling vorbisfile-sys v0.0.8 [INFO] [stderr] Compiling vorbis-encoder v0.1.4 [INFO] [stderr] Compiling vorbis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | extern fn read_func(ptr: *mut libc::c_void, size: libc::size_t, nmemb: libc::size_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | extern fn seek_func(datasource: *mut libc::c_void, offset: ogg_sys::ogg_int64_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | extern fn tell_func(datasource: *mut libc::c_void) -> libc::c_long [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | try!(check_errors(vorbisfile_sys::ov_open_callbacks(data_ptr, &mut data.vorbis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | write!(fmt, "{}", std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&std::error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &std::error::Error), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &dyn std::error::Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ov_callbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | let mut callbacks: vorbisfile_sys::ov_callbacks = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: function pointers must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `OggVorbis_File` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.11s [INFO] running `Command { std: "docker" "inspect" "a7268c6461ebf12dd5400fddb0948ad582d7aa23262c975f192a5ba9b3aff13b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7268c6461ebf12dd5400fddb0948ad582d7aa23262c975f192a5ba9b3aff13b", kill_on_drop: false }` [INFO] [stdout] a7268c6461ebf12dd5400fddb0948ad582d7aa23262c975f192a5ba9b3aff13b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 34edc074cd69acc039ccc29c070b61845c7b1155f2022f0cc9ae43fe110206bf [INFO] running `Command { std: "docker" "start" "-a" "34edc074cd69acc039ccc29c070b61845c7b1155f2022f0cc9ae43fe110206bf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | extern fn read_func(ptr: *mut libc::c_void, size: libc::size_t, nmemb: libc::size_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | extern fn seek_func(datasource: *mut libc::c_void, offset: ogg_sys::ogg_int64_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | extern fn tell_func(datasource: *mut libc::c_void) -> libc::c_long [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | try!(check_errors(vorbisfile_sys::ov_open_callbacks(data_ptr, &mut data.vorbis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | write!(fmt, "{}", std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&std::error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &std::error::Error), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &dyn std::error::Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ov_callbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | let mut callbacks: vorbisfile_sys::ov_callbacks = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: function pointers must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vorbis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `OggVorbis_File` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | extern fn read_func(ptr: *mut libc::c_void, size: libc::size_t, nmemb: libc::size_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | extern fn seek_func(datasource: *mut libc::c_void, offset: ogg_sys::ogg_int64_t, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | extern fn tell_func(datasource: *mut libc::c_void) -> libc::c_long [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | try!(check_errors(vorbisfile_sys::ov_open_callbacks(data_ptr, &mut data.vorbis, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:57:46 [INFO] [stdout] | [INFO] [stdout] 57 | write!(fmt, "{}", std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:158:40 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&std::error::Error> { [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:62 [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &std::error::Error), [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | &VorbisError::ReadError(ref err) => Some(err as &dyn std::error::Error), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ov_callbacks` does not permit zero-initialization [INFO] [stdout] --> src/lib.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | let mut callbacks: vorbisfile_sys::ov_callbacks = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: function pointers must be non-null [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `OggVorbis_File` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | vorbis: unsafe { std::mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn packets(&mut self) -> PacketsIter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libvorbis-9c952327460ca6e8,librand-7c6695e61d90bf5d,librand-41056f69cbdea87f,libvorbis_encoder-407869563b23bb82,libvorbisfile_sys-5b8292b17c137d80,libvorbis_sys-4517616c4e62f5a3,libogg_sys-a92f5f7f7ffe31a7,liblibc-17683462cc868e72}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-l" "vorbis" "-l" "ogg" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/ogg-sys-7cf1eb98090357af/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-encoder-41b7bacc059d7fdf/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/vorbisfile-sys-724810d377c99656/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/examples/decode_encode-24849db412dce9d2.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib: archive member 'vorbis-encoder.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbisfile_sys-5b8292b17c137d80.rlib: archive member 'vorbisfile.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'analysis.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'bitrate.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'block.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'codebook.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'envelope.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'floor0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'floor1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'info.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'lookup.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'lpc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'lsp.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'mapping0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'mdct.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'psy.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'registry.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'res0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'sharedbook.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'smallft.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'synthesis.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'vorbisenc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_sys-4517616c4e62f5a3.rlib: archive member 'window.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libogg_sys-a92f5f7f7ffe31a7.rlib: archive member 'bitwise.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libogg_sys-a92f5f7f7ffe31a7.rlib: archive member 'framing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'analysis.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'bitrate.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'block.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'codebook.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'envelope.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'floor0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'floor1.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'info.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'lookup.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'lpc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'lsp.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'mapping0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'mdct.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'psy.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'registry.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'res0.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'sharedbook.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'smallft.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'synthesis.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'vorbisenc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/vorbis-sys-40639524c2ba91d4/out/libvorbis.a: archive member 'window.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/ogg-sys-7cf1eb98090357af/out/libogg.a: archive member 'bitwise.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/build/ogg-sys-7cf1eb98090357af/out/libogg.a: archive member 'framing.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/decode_encode-24849db412dce9d2.decode_encode.ada6f492b3da6e6d-cgu.0.rcgu.o: undefined symbol: ov_clear [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/decode_encode-24849db412dce9d2.decode_encode.ada6f492b3da6e6d-cgu.0.rcgu.o: undefined symbol: ov_open_callbacks [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/decode_encode-24849db412dce9d2.decode_encode.ada6f492b3da6e6d-cgu.0.rcgu.o: undefined symbol: ov_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/decode_encode-24849db412dce9d2.decode_encode.ada6f492b3da6e6d-cgu.0.rcgu.o: undefined symbol: ov_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_flush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_get_data_length [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_get_data [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_encode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_get_data_length [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvorbis_encoder-407869563b23bb82.rlib(vorbis_encoder-407869563b23bb82.vorbis_encoder.a639bd64f21b2cdf-cgu.0.rcgu.o): undefined symbol: vorbis_encoder_helper_get_data [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vorbis` (example "decode-encode") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "34edc074cd69acc039ccc29c070b61845c7b1155f2022f0cc9ae43fe110206bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34edc074cd69acc039ccc29c070b61845c7b1155f2022f0cc9ae43fe110206bf", kill_on_drop: false }` [INFO] [stdout] 34edc074cd69acc039ccc29c070b61845c7b1155f2022f0cc9ae43fe110206bf