[INFO] fetching crate openal 0.2.2... [INFO] checking openal-0.2.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate openal 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate openal 0.2.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openal 0.2.2 [INFO] finished tweaking crates.io crate openal 0.2.2 [INFO] tweaked toml for crates.io crate openal 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.58.1 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cexpr v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding which v3.1.1 (available: v6.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openal-sys v1.16.0 [INFO] [stderr] Downloaded ffmpeg-sys v4.3.3 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] [stderr] Downloaded ffmpeg v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04150132a37891ddf84d21a4fb839237d752cf97cb2a541f023c3ea31c524a2f [INFO] running `Command { std: "docker" "start" "-a" "04150132a37891ddf84d21a4fb839237d752cf97cb2a541f023c3ea31c524a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04150132a37891ddf84d21a4fb839237d752cf97cb2a541f023c3ea31c524a2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04150132a37891ddf84d21a4fb839237d752cf97cb2a541f023c3ea31c524a2f", kill_on_drop: false }` [INFO] [stdout] 04150132a37891ddf84d21a4fb839237d752cf97cb2a541f023c3ea31c524a2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1326b0f29df0299d395ae6c7c6104b3c7dd5cf53fbd7771bc15ab544f2475eb0 [INFO] running `Command { std: "docker" "start" "-a" "1326b0f29df0299d395ae6c7c6104b3c7dd5cf53fbd7771bc15ab544f2475eb0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ffmpeg v0.3.0 [INFO] [stderr] Checking openal-sys v1.16.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking openal v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | try!(f.write_str("openal::Error(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:267:3 [INFO] [stdout] | [INFO] [stdout] 267 | try!(f.write_str("openal::Listener(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | try!(f.write_str(&format!("vendor={:?} ", self.vendor()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:270:3 [INFO] [stdout] | [INFO] [stdout] 270 | try!(f.write_str(&format!("version={:?} ", self.version()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | try!(f.write_str(&format!("renderer={:?} ", self.renderer()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:272:3 [INFO] [stdout] | [INFO] [stdout] 272 | try!(f.write_str(&format!("extensions={:?}; ", self.extensions()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 274 | try!(f.write_str(&format!("doppler={:?} ", self.doppler()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 275 | try!(f.write_str(&format!("speed_of_sound={} ", self.speed_of_sound()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | try!(f.write_str(&format!("gain={} ", self.gain()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:277:3 [INFO] [stdout] | [INFO] [stdout] 277 | try!(f.write_str(&format!("position={:?} ", self.position()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | try!(f.write_str(&format!("velocity={:?} ", self.velocity()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | try!(f.write_str(&format!("orientation={:?}", self.orientation()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(::format(channels)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | try!(::format(channels)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | try!(f.write_str("openal::Capture(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | try!(f.write_str(&format!("len={}; ", self.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | try!(self.clear()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let buffer = try!(unsafe { Buffer::new(channels, data, rate) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | try!(f.write_str("openal::source::Stream(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | try!(f.write_str(&format!("{}; ", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | try!(f.write_str(&format!("len={}", self.buffers.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/source.rs:359:3 [INFO] [stdout] | [INFO] [stdout] 359 | try!(f.write_str("openal::Source(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/source.rs:360:3 [INFO] [stdout] | [INFO] [stdout] 360 | try!(f.write_str(&format!("{}", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut buffer = try!(Buffer::empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | al_try!(alBufferData(self.id, try!(::format(channels)), data.as_ptr() as *const _, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | try!(f.write_str("openal::Buffer(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | try!(f.write_str(&format!("{}; ", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | try!(f.write_str(&format!("rate={} ", self.rate()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | try!(f.write_str(&format!("bits={} ", self.bits()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | try!(f.write_str(&format!("channels={} ", self.channels()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | try!(f.write_str(&format!("len={}", self.len()))); [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/error.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for Context { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for dyn Context { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Device` for all types that also implement `Context` [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for T { [INFO] [stdout] | ++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/listener/listener.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | let device = alcOpenDevice(CString::new(name.as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/capture/capture.rs:46:74 [INFO] [stdout] | [INFO] [stdout] 46 | let ptr = alcCaptureOpenDevice(CString::new(name.as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | alIsExtensionPresent(CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | alcIsExtensionPresent(ptr::null(), CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | alcIsExtensionPresent(device.as_ptr(), CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling ffmpeg-sys v4.3.3 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | try!(f.write_str("openal::Error(")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | try!(fmt::Display::fmt(self, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:267:3 [INFO] [stdout] | [INFO] [stdout] 267 | try!(f.write_str("openal::Listener(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:269:3 [INFO] [stdout] | [INFO] [stdout] 269 | try!(f.write_str(&format!("vendor={:?} ", self.vendor()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:270:3 [INFO] [stdout] | [INFO] [stdout] 270 | try!(f.write_str(&format!("version={:?} ", self.version()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:271:3 [INFO] [stdout] | [INFO] [stdout] 271 | try!(f.write_str(&format!("renderer={:?} ", self.renderer()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:272:3 [INFO] [stdout] | [INFO] [stdout] 272 | try!(f.write_str(&format!("extensions={:?}; ", self.extensions()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 274 | try!(f.write_str(&format!("doppler={:?} ", self.doppler()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 275 | try!(f.write_str(&format!("speed_of_sound={} ", self.speed_of_sound()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:276:3 [INFO] [stdout] | [INFO] [stdout] 276 | try!(f.write_str(&format!("gain={} ", self.gain()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:277:3 [INFO] [stdout] | [INFO] [stdout] 277 | try!(f.write_str(&format!("position={:?} ", self.position()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:278:3 [INFO] [stdout] | [INFO] [stdout] 278 | try!(f.write_str(&format!("velocity={:?} ", self.velocity()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/listener/listener.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 279 | try!(f.write_str(&format!("orientation={:?}", self.orientation()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(::format(channels)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | try!(::format(channels)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | try!(f.write_str("openal::Capture(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/capture/capture.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | try!(f.write_str(&format!("len={}; ", self.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | try!(self.clear()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let buffer = try!(unsafe { Buffer::new(channels, data, rate) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | try!(f.write_str("openal::source::Stream(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | try!(f.write_str(&format!("{}; ", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/stream.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | try!(f.write_str(&format!("len={}", self.buffers.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/source.rs:359:3 [INFO] [stdout] | [INFO] [stdout] 359 | try!(f.write_str("openal::Source(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source/source.rs:360:3 [INFO] [stdout] | [INFO] [stdout] 360 | try!(f.write_str(&format!("{}", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut buffer = try!(Buffer::empty()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | al_try!(alBufferData(self.id, try!(::format(channels)), data.as_ptr() as *const _, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | try!(f.write_str("openal::Buffer(")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | try!(f.write_str(&format!("{}; ", unsafe { self.id() }))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | try!(f.write_str(&format!("rate={} ", self.rate()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | try!(f.write_str(&format!("bits={} ", self.bits()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | try!(f.write_str(&format!("channels={} ", self.channels()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | try!(f.write_str(&format!("len={}", self.len()))); [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/error.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for Context { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for dyn Context { [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `Device` for all types that also implement `Context` [INFO] [stdout] | [INFO] [stdout] 50 | unsafe impl Device for T { [INFO] [stdout] | ++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/listener/listener.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | let device = alcOpenDevice(CString::new(name.as_bytes()).unwrap().as_ptr()); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/capture/capture.rs:46:74 [INFO] [stdout] | [INFO] [stdout] 46 | let ptr = alcCaptureOpenDevice(CString::new(name.as_bytes()).unwrap().as_ptr(), [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | alIsExtensionPresent(CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:27:67 [INFO] [stdout] | [INFO] [stdout] 27 | alcIsExtensionPresent(ptr::null(), CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/extension.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | alcIsExtensionPresent(device.as_ptr(), CString::new(name).unwrap().as_ptr()) == AL_TRUE [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STEREO` in module `ffmpeg::channel_layout` [INFO] [stdout] --> examples/play.rs:36:130 [INFO] [stdout] | [INFO] [stdout] 36 | ...mple::Type::Packed), ffmpeg::channel_layout::STEREO, 44100).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `ffmpeg::channel_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/play.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let mut format = try!(ffmpeg::format::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/play.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let mut format = try!(ffmpeg::format::open(path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------ argument #2 of type `&Format` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffmpeg-0.3.0/src/format/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn open>(path: &P, format: &Format) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 | let mut format = try!(ffmpeg::format::open(path, /* &Format */)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `metadata` found for enum `ffmpeg::format::Context` in the current scope [INFO] [stdout] --> examples/play.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | for a in &format.metadata() { [INFO] [stdout] | ^^^^^^^^ method not found in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `streams` found for enum `ffmpeg::format::Context` in the current scope [INFO] [stdout] --> examples/play.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let stream = format.streams().find(|s| s.codec().medium() == ffmpeg::media::Type::Audio).expect("no audio stream in the file"); [INFO] [stdout] | ^^^^^^^ method not found in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `packets` found for enum `ffmpeg::format::Context` in the current scope [INFO] [stdout] --> examples/play.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | for (s, packet) in format.packets() { [INFO] [stdout] | ^^^^^^^ method not found in `Context` [INFO] [stdout] | [INFO] [stdout] note: the method `packets` exists on the type `ffmpeg::format::context::Input` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ffmpeg-0.3.0/src/format/context/input.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn packets(&mut self) -> PacketIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `openal` (example "play") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1326b0f29df0299d395ae6c7c6104b3c7dd5cf53fbd7771bc15ab544f2475eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1326b0f29df0299d395ae6c7c6104b3c7dd5cf53fbd7771bc15ab544f2475eb0", kill_on_drop: false }` [INFO] [stdout] 1326b0f29df0299d395ae6c7c6104b3c7dd5cf53fbd7771bc15ab544f2475eb0