[INFO] fetching crate cntr-nix 0.11.3-pre1... [INFO] checking cntr-nix-0.11.3-pre1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate cntr-nix 0.11.3-pre1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate cntr-nix 0.11.3-pre1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] tweaked toml for crates.io crate cntr-nix 0.11.3-pre1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding sysctl v0.1.4 (latest: v0.5.5) [INFO] [stderr] Adding tempfile v2.2.0 (latest: v3.10.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysctl v0.1.4 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7262046e667d08bc36009556ebd3662d40313368f534b95bd0aa40472bde98f [INFO] running `Command { std: "docker" "start" "-a" "a7262046e667d08bc36009556ebd3662d40313368f534b95bd0aa40472bde98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7262046e667d08bc36009556ebd3662d40313368f534b95bd0aa40472bde98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7262046e667d08bc36009556ebd3662d40313368f534b95bd0aa40472bde98f", kill_on_drop: false }` [INFO] [stdout] a7262046e667d08bc36009556ebd3662d40313368f534b95bd0aa40472bde98f [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ff1046b3e04d8fea409673fa48d4db21e83992d1bf9aa1d205ddb40cfd2ab6 [INFO] running `Command { std: "docker" "start" "-a" "24ff1046b3e04d8fea409673fa48d4db21e83992d1bf9aa1d205ddb40cfd2ab6", kill_on_drop: false }` [INFO] [stderr] Compiling cntr-nix v0.11.3-pre1 (/opt/rustwide/workdir) [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | const $Flag = libc::$Flag $(as $cast)*; [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/fcntl.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / libc_bitflags!( [INFO] [stdout] 149 | | /// Configuration options for opened files. [INFO] [stdout] 150 | | pub struct RenameAt2Flags: c_int { [INFO] [stdout] 151 | | RENAME_NOREPLACE; [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | $entry = libc::$entry, [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/sys/resource.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / libc_enum!{ [INFO] [stdout] 7 | | #[repr(i32)] [INFO] [stdout] 8 | | pub enum Resource { [INFO] [stdout] 9 | | RLIMIT_AS, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sys/resource.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | libc::getrlimit64(resource as libc::c_int, &mut rlimit as *mut Rlimit) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/linux_like/linux/gnu/mod.rs:1312:12 [INFO] [stdout] | [INFO] [stdout] 1312 | pub fn getrlimit64(resource: ::__rlimit_resource_t, rlim: *mut ::rlimit64) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 44 | libc::getrlimit64((resource as libc::c_int).try_into().unwrap(), &mut rlimit as *mut Rlimit) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | const $Flag = libc::$Flag $(as $cast)*; [INFO] [stdout] | ^^^^^^^^^^^ expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] ::: src/fcntl.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / libc_bitflags!( [INFO] [stdout] 149 | | /// Configuration options for opened files. [INFO] [stdout] 150 | | pub struct RenameAt2Flags: c_int { [INFO] [stdout] 151 | | RENAME_NOREPLACE; [INFO] [stdout] ... | [INFO] [stdout] 154 | | } [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `libc_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sys/resource.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | libc::setrlimit64(resource as libc::c_int, rlimit as *const Rlimit) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/linux_like/linux/gnu/mod.rs:1313:12 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn setrlimit64(resource: ::__rlimit_resource_t, rlim: *const ::rlimit64) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 52 | libc::setrlimit64((resource as libc::c_int).try_into().unwrap(), rlimit as *const Rlimit) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sys/resource.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | libc::getrlimit64(resource as libc::c_int, &mut rlimit as *mut Rlimit) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/linux_like/linux/gnu/mod.rs:1312:12 [INFO] [stdout] | [INFO] [stdout] 1312 | pub fn getrlimit64(resource: ::__rlimit_resource_t, rlim: *mut ::rlimit64) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 44 | libc::getrlimit64((resource as libc::c_int).try_into().unwrap(), &mut rlimit as *mut Rlimit) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sys/resource.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | libc::setrlimit64(resource as libc::c_int, rlimit as *const Rlimit) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.155/src/unix/linux_like/linux/gnu/mod.rs:1313:12 [INFO] [stdout] | [INFO] [stdout] 1313 | pub fn setrlimit64(resource: ::__rlimit_resource_t, rlim: *const ::rlimit64) -> ::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 52 | libc::setrlimit64((resource as libc::c_int).try_into().unwrap(), rlimit as *const Rlimit) [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cntr-nix` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cntr-nix` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "24ff1046b3e04d8fea409673fa48d4db21e83992d1bf9aa1d205ddb40cfd2ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ff1046b3e04d8fea409673fa48d4db21e83992d1bf9aa1d205ddb40cfd2ab6", kill_on_drop: false }` [INFO] [stdout] 24ff1046b3e04d8fea409673fa48d4db21e83992d1bf9aa1d205ddb40cfd2ab6 [INFO] checking cntr-nix-0.11.3-pre1 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate cntr-nix 0.11.3-pre1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cntr-nix 0.11.3-pre1 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cntr-nix 0.11.3-pre1 [INFO] tweaked toml for crates.io crate cntr-nix 0.11.3-pre1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 29 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding sysctl v0.1.4 (latest: v0.5.5) [INFO] [stderr] Adding tempfile v2.2.0 (latest: v3.10.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1419cefe6fea51e0fc9786c69e749ab49f97945c519eac0f9b935aec98144d43 [INFO] running `Command { std: "docker" "start" "-a" "1419cefe6fea51e0fc9786c69e749ab49f97945c519eac0f9b935aec98144d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1419cefe6fea51e0fc9786c69e749ab49f97945c519eac0f9b935aec98144d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1419cefe6fea51e0fc9786c69e749ab49f97945c519eac0f9b935aec98144d43", kill_on_drop: false }` [INFO] [stdout] 1419cefe6fea51e0fc9786c69e749ab49f97945c519eac0f9b935aec98144d43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6479c29c5bb8bc20e44da3181ccec5be1aef1110947f9b6a75831fc68e55384a [INFO] running `Command { std: "docker" "start" "-a" "6479c29c5bb8bc20e44da3181ccec5be1aef1110947f9b6a75831fc68e55384a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "6479c29c5bb8bc20e44da3181ccec5be1aef1110947f9b6a75831fc68e55384a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6479c29c5bb8bc20e44da3181ccec5be1aef1110947f9b6a75831fc68e55384a", kill_on_drop: false }` [INFO] [stdout] 6479c29c5bb8bc20e44da3181ccec5be1aef1110947f9b6a75831fc68e55384a