[INFO] fetching crate libperl-sys 0.3.0... [INFO] testing libperl-sys-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate libperl-sys 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate libperl-sys 0.3.0 [INFO] finished tweaking crates.io crate libperl-sys 0.3.0 [INFO] tweaked toml for crates.io crate libperl-sys 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libperl-sys 0.3.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.72.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libperl-config v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9e52af636f7521a22f95069beffe078b9af907310815fcd42d7d4f1f1d52646 [INFO] running `Command { std: "docker" "start" "-a" "b9e52af636f7521a22f95069beffe078b9af907310815fcd42d7d4f1f1d52646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9e52af636f7521a22f95069beffe078b9af907310815fcd42d7d4f1f1d52646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e52af636f7521a22f95069beffe078b9af907310815fcd42d7d4f1f1d52646", kill_on_drop: false }` [INFO] [stdout] b9e52af636f7521a22f95069beffe078b9af907310815fcd42d7d4f1f1d52646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05b40cda649fc3fe736ba6b164c7ba0a4e324f5b8c4cc71c0245efda5a7c3dfc [INFO] running `Command { std: "docker" "start" "-a" "05b40cda649fc3fe736ba6b164c7ba0a4e324f5b8c4cc71c0245efda5a7c3dfc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling libperl-config v0.3.0 [INFO] [stderr] Compiling libperl-sys v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `perlapi_ver40` [INFO] [stdout] --> src/perl_core.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(perlapi_ver40)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(perlapi_ver40)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(perlapi_ver40)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `perlapi_ver40` [INFO] [stdout] --> src/perl_core.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(perlapi_ver40))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(perlapi_ver40)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(perlapi_ver40)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10101:18 [INFO] [stdout] | [INFO] [stdout] 10101 | unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10106:28 [INFO] [stdout] | [INFO] [stdout] 10106 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10112:18 [INFO] [stdout] | [INFO] [stdout] 10112 | unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10117:28 [INFO] [stdout] | [INFO] [stdout] 10117 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10133:25 [INFO] [stdout] | [INFO] [stdout] 10133 | ::std::mem::transmute(def_if_undef) [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-318862ef5704b591/out/bindings.rs:10144:25 [INFO] [stdout] | [INFO] [stdout] 10144 | ::std::mem::transmute(def_if_false) [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcEXaDKW/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcEXaDKW/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lperl" "-ldl" "-lm" "-lpthread" "-lc" "-lcrypt" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcEXaDKW/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/local/lib" "-L" "/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/liblibperl_sys.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-Wl,-rpath,/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lperl [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libperl-sys` (lib) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05b40cda649fc3fe736ba6b164c7ba0a4e324f5b8c4cc71c0245efda5a7c3dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b40cda649fc3fe736ba6b164c7ba0a4e324f5b8c4cc71c0245efda5a7c3dfc", kill_on_drop: false }` [INFO] [stdout] 05b40cda649fc3fe736ba6b164c7ba0a4e324f5b8c4cc71c0245efda5a7c3dfc