[INFO] fetching crate libperl-sys 0.3.0... [INFO] checking libperl-sys-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-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] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.72.0) [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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ffe9826914b93f099bb5fda6fe62ff9d6a91b5b9a6d07d3b7f9913fbdb42790 [INFO] running `Command { std: "docker" "start" "-a" "2ffe9826914b93f099bb5fda6fe62ff9d6a91b5b9a6d07d3b7f9913fbdb42790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ffe9826914b93f099bb5fda6fe62ff9d6a91b5b9a6d07d3b7f9913fbdb42790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffe9826914b93f099bb5fda6fe62ff9d6a91b5b9a6d07d3b7f9913fbdb42790", kill_on_drop: false }` [INFO] [stdout] 2ffe9826914b93f099bb5fda6fe62ff9d6a91b5b9a6d07d3b7f9913fbdb42790 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1465c1f55adf227cf1f34e9697734ef69d29e2f634ffb7914a229168e62f7c4 [INFO] running `Command { std: "docker" "start" "-a" "b1465c1f55adf227cf1f34e9697734ef69d29e2f634ffb7914a229168e62f7c4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [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: 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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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] warning: unnecessary transmute [INFO] [stdout] --> /opt/rustwide/target/debug/build/libperl-sys-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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-5df404a736598b46/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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.07s [INFO] running `Command { std: "docker" "inspect" "b1465c1f55adf227cf1f34e9697734ef69d29e2f634ffb7914a229168e62f7c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1465c1f55adf227cf1f34e9697734ef69d29e2f634ffb7914a229168e62f7c4", kill_on_drop: false }` [INFO] [stdout] b1465c1f55adf227cf1f34e9697734ef69d29e2f634ffb7914a229168e62f7c4