[INFO] fetching crate libfmod 2.222.6... [INFO] checking libfmod-2.222.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate libfmod 2.222.6 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate libfmod 2.222.6 [INFO] finished tweaking crates.io crate libfmod 2.222.6 [INFO] tweaked toml for crates.io crate libfmod 2.222.6 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libfmod 2.222.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75cfdf4bb03a34c719cd6e261ca66dbd7b261ffb5db353bae2d89c372321a4a6 [INFO] running `Command { std: "docker" "start" "-a" "75cfdf4bb03a34c719cd6e261ca66dbd7b261ffb5db353bae2d89c372321a4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75cfdf4bb03a34c719cd6e261ca66dbd7b261ffb5db353bae2d89c372321a4a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75cfdf4bb03a34c719cd6e261ca66dbd7b261ffb5db353bae2d89c372321a4a6", kill_on_drop: false }` [INFO] [stdout] 75cfdf4bb03a34c719cd6e261ca66dbd7b261ffb5db353bae2d89c372321a4a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff27821d0c962ccf7b07445bc405ed46d4aad42f4220dbf977cc230e543c025 [INFO] running `Command { std: "docker" "start" "-a" "8ff27821d0c962ccf7b07445bc405ed46d4aad42f4220dbf977cc230e543c025", kill_on_drop: false }` [INFO] [stderr] Compiling libfmod v2.222.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut values = values.into_iter().map(map).collect::>(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*const u8>` will be dropped [INFO] [stdout] --> src/lib.rs:4336:18 [INFO] [stdout] | [INFO] [stdout] 4331 | ASIOChannelList: self [INFO] [stdout] | ______________________________- [INFO] [stdout] 4332 | | .asio_channel_list [INFO] [stdout] 4333 | | .into_iter() [INFO] [stdout] 4334 | | .map(|val| val.as_ptr()) [INFO] [stdout] 4335 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec<*const u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 4336 | .as_mut_ptr() [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*const u8>` 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: you must make sure that the variable you bind the `Vec<*const u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*const u8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lib.rs:4343:18 [INFO] [stdout] | [INFO] [stdout] 4338 | ASIOSpeakerList: self [INFO] [stdout] | ______________________________- [INFO] [stdout] 4339 | | .asio_speaker_list [INFO] [stdout] 4340 | | .into_iter() [INFO] [stdout] 4341 | | .map(|val| val.into()) [INFO] [stdout] 4342 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 4343 | .as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec` 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: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let mut values = values.into_iter().map(map).collect::>(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*const u8>` will be dropped [INFO] [stdout] --> src/lib.rs:4336:18 [INFO] [stdout] | [INFO] [stdout] 4331 | ASIOChannelList: self [INFO] [stdout] | ______________________________- [INFO] [stdout] 4332 | | .asio_channel_list [INFO] [stdout] 4333 | | .into_iter() [INFO] [stdout] 4334 | | .map(|val| val.as_ptr()) [INFO] [stdout] 4335 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec<*const u8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 4336 | .as_mut_ptr() [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*const u8>` 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: you must make sure that the variable you bind the `Vec<*const u8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*const u8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec` will be dropped [INFO] [stdout] --> src/lib.rs:4343:18 [INFO] [stdout] | [INFO] [stdout] 4338 | ASIOSpeakerList: self [INFO] [stdout] | ______________________________- [INFO] [stdout] 4339 | | .asio_speaker_list [INFO] [stdout] 4340 | | .into_iter() [INFO] [stdout] 4341 | | .map(|val| val.into()) [INFO] [stdout] 4342 | | .collect::>() [INFO] [stdout] | |____________________________________- this `Vec` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 4343 | .as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec` 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: you must make sure that the variable you bind the `Vec` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libfmod::Error::Fmod` [INFO] [stdout] --> tests/manual/getting_started.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libfmod::Error::Fmod; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sound` [INFO] [stdout] --> tests/manual/getting_started.rs:10:91 [INFO] [stdout] | [INFO] [stdout] 10 | ffi, AdvancedSettings, CreateSoundexInfo, DspResampler, Error, Init, Mode, OpenState, Sound, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "8ff27821d0c962ccf7b07445bc405ed46d4aad42f4220dbf977cc230e543c025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff27821d0c962ccf7b07445bc405ed46d4aad42f4220dbf977cc230e543c025", kill_on_drop: false }` [INFO] [stdout] 8ff27821d0c962ccf7b07445bc405ed46d4aad42f4220dbf977cc230e543c025