[INFO] fetching crate libfmod 2.222.6... [INFO] testing libfmod-2.222.6 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate libfmod 2.222.6 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libfmod 2.222.6 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 167647f0d99fdcc37a3944fcad2b4e7c5ac339ce21e6c7033c9ea0ec2f106c7a [INFO] running `Command { std: "docker" "start" "-a" "167647f0d99fdcc37a3944fcad2b4e7c5ac339ce21e6c7033c9ea0ec2f106c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "167647f0d99fdcc37a3944fcad2b4e7c5ac339ce21e6c7033c9ea0ec2f106c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "167647f0d99fdcc37a3944fcad2b4e7c5ac339ce21e6c7033c9ea0ec2f106c7a", kill_on_drop: false }` [INFO] [stdout] 167647f0d99fdcc37a3944fcad2b4e7c5ac339ce21e6c7033c9ea0ec2f106c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9572dabe92a2bba8eea6415beee27786b34fc11aa44015b0b65a3f1eee50134f [INFO] running `Command { std: "docker" "start" "-a" "9572dabe92a2bba8eea6415beee27786b34fc11aa44015b0b65a3f1eee50134f", kill_on_drop: false }` [INFO] [stderr] Compiling libfmod v2.222.6 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<*const u8>` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4336 | .as_mut_ptr() [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec<*const u8>` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4343 | .as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "9572dabe92a2bba8eea6415beee27786b34fc11aa44015b0b65a3f1eee50134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9572dabe92a2bba8eea6415beee27786b34fc11aa44015b0b65a3f1eee50134f", kill_on_drop: false }` [INFO] [stdout] 9572dabe92a2bba8eea6415beee27786b34fc11aa44015b0b65a3f1eee50134f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1303b98cebb3707833a2f85554b44b103bca7c1aa5e745d0f441dc24a382d01d [INFO] running `Command { std: "docker" "start" "-a" "1303b98cebb3707833a2f85554b44b103bca7c1aa5e745d0f441dc24a382d01d", kill_on_drop: false }` [INFO] [stderr] Compiling libfmod v2.222.6 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<*const u8>` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4336 | .as_mut_ptr() [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec<*const u8>` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4343 | .as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: 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)]` (part of `#[warn(unused)]`) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcJ32qnb/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{liblibfmod-801688736b76634d,libbitflags-e2b4db6c651223da}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lfmod" "-lfmodstudio" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcJ32qnb/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/fmod-db17b493ad465a6c" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lfmod [INFO] [stdout] rust-lld: error: unable to find library -lfmodstudio [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libfmod` (test "fmod") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec<*const u8>` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4336 | .as_mut_ptr() [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec<*const u8>` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this creates a dangling pointer because temporary `Vec` is dropped at end of statement [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 dropped at end of statement [INFO] [stdout] 4343 | .as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^ pointer created here [INFO] [stdout] | [INFO] [stdout] = help: bind the `Vec` to a variable such that it outlives the pointer returned by `as_mut_ptr` [INFO] [stdout] = note: a dangling pointer is safe, but dereferencing one is undefined behavior [INFO] [stdout] = note: returning a pointer to a local variable will always result in a dangling pointer [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcRV1nI3/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lfmod" "-lfmodstudio" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e2b4db6c651223da.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcRV1nI3/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libfmod-c2a736b75def78a9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lfmod [INFO] [stdout] rust-lld: error: unable to find library -lfmodstudio [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libfmod` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1303b98cebb3707833a2f85554b44b103bca7c1aa5e745d0f441dc24a382d01d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1303b98cebb3707833a2f85554b44b103bca7c1aa5e745d0f441dc24a382d01d", kill_on_drop: false }` [INFO] [stdout] 1303b98cebb3707833a2f85554b44b103bca7c1aa5e745d0f441dc24a382d01d