[INFO] fetching crate libperl-rs 0.2.0... [INFO] checking libperl-rs-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate libperl-rs 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate libperl-rs 0.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libperl-rs 0.2.0 [INFO] finished tweaking crates.io crate libperl-rs 0.2.0 [INFO] tweaked toml for crates.io crate libperl-rs 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate libperl-rs 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded backtrace v0.3.37 [INFO] [stderr] Downloaded libperl-config v0.2.0 [INFO] [stderr] Downloaded libperl-sys v0.2.0 [INFO] [stderr] Downloaded bindgen v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2e64c892bc859832a5bca09dcdd091412315d163826bb037cbdbb77a820dd4a [INFO] running `Command { std: "docker" "start" "-a" "a2e64c892bc859832a5bca09dcdd091412315d163826bb037cbdbb77a820dd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e64c892bc859832a5bca09dcdd091412315d163826bb037cbdbb77a820dd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e64c892bc859832a5bca09dcdd091412315d163826bb037cbdbb77a820dd4a", kill_on_drop: false }` [INFO] [stdout] a2e64c892bc859832a5bca09dcdd091412315d163826bb037cbdbb77a820dd4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c4d7506b0f8b93c1096cdc4e890001d6ad56f929252291b2fec43254d1904a [INFO] running `Command { std: "docker" "start" "-a" "46c4d7506b0f8b93c1096cdc4e890001d6ad56f929252291b2fec43254d1904a", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bindgen v0.44.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling libperl-config v0.2.0 [INFO] [stderr] Compiling libperl-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libperl-sys v0.2.0 [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> examples/102_padname_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> examples/102_padname_type.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0606]: casting `&u16` as `*const u32` is invalid [INFO] [stdout] --> examples/104_enum_op_tree.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | *(&ty as *const u32 as *const libperl_sys::opcode) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/103_scan_op_tree.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | if op.op_moresib() == 1 as u32 { [INFO] [stdout] | --------------- ^^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u16` [INFO] [stdout] | [INFO] [stdout] help: you can convert `op.op_moresib()` from `u16` to `u32`, matching the type of `1 as u32` [INFO] [stdout] | [INFO] [stdout] 21 | if u32::from(op.op_moresib()) == 1 as u32 { [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/104_enum_op_tree.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | if op.op_moresib() == 1 as u32 { [INFO] [stdout] | --------------- ^^^^^^^^ expected `u16`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `u16` [INFO] [stdout] | [INFO] [stdout] help: you can convert `op.op_moresib()` from `u16` to `u32`, matching the type of `1 as u32` [INFO] [stdout] | [INFO] [stdout] 80 | if u32::from(op.op_moresib()) == 1 as u32 { [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0606. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libperl-rs` (example "103_scan_op_tree") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libperl-rs` (example "104_enum_op_tree") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "46c4d7506b0f8b93c1096cdc4e890001d6ad56f929252291b2fec43254d1904a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c4d7506b0f8b93c1096cdc4e890001d6ad56f929252291b2fec43254d1904a", kill_on_drop: false }` [INFO] [stdout] 46c4d7506b0f8b93c1096cdc4e890001d6ad56f929252291b2fec43254d1904a