[INFO] fetching crate simple_libc 0.5.0... [INFO] checking simple_libc-0.5.0 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate simple_libc 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate simple_libc 0.5.0 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate simple_libc 0.5.0 [INFO] finished tweaking crates.io crate simple_libc 0.5.0 [INFO] tweaked toml for crates.io crate simple_libc 0.5.0 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" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] [stderr] Adding strum v0.18.0 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.18.0 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.18.0 [INFO] [stderr] Downloaded strum_macros v0.18.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38477aae8c7243a807235e9df25c139d69c45edb41f144f14945d301e24a8d0f [INFO] running `Command { std: "docker" "start" "-a" "38477aae8c7243a807235e9df25c139d69c45edb41f144f14945d301e24a8d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38477aae8c7243a807235e9df25c139d69c45edb41f144f14945d301e24a8d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38477aae8c7243a807235e9df25c139d69c45edb41f144f14945d301e24a8d0f", kill_on_drop: false }` [INFO] [stdout] 38477aae8c7243a807235e9df25c139d69c45edb41f144f14945d301e24a8d0f [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d36ff036fc16400d49bbdd485606ee7abc097fa34330183e03df90c6a9698c8 [INFO] running `Command { std: "docker" "start" "-a" "6d36ff036fc16400d49bbdd485606ee7abc097fa34330183e03df90c6a9698c8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking simple_libc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 14 | unsafe { fcntl_raw!(fd, libc::F_DUPFD, min_fd) } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 19 | unsafe { fcntl_raw!(fd, libc::F_DUPFD_CLOEXEC, min_fd) } [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | unsafe { fcntl_raw!(fd, libc::F_GETFD) } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 29 | unsafe { fcntl_raw!(fd, libc::F_SETFD, flags)? }; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 58 | unsafe { fcntl_raw!(fd, libc::F_SETLK, lock)? }; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | unsafe { fcntl_raw!(fd, libc::F_SETLKW, lock)? }; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 70 | unsafe { fcntl_raw!(fd, libc::F_GETLK, lock)? }; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `prctl` [INFO] [stdout] --> src/process.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(all(target_os = "linux", feature = "prctl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_full`, `strum`, `strum_full`, and `strum_macros` [INFO] [stdout] = help: consider adding `prctl` as a feature in `Cargo.toml` [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: unnecessary `unsafe` block [INFO] [stdout] --> src/wait.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 14 | unsafe { fcntl_raw!(fd, libc::F_DUPFD, min_fd) } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 19 | unsafe { fcntl_raw!(fd, libc::F_DUPFD_CLOEXEC, min_fd) } [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 24 | unsafe { fcntl_raw!(fd, libc::F_GETFD) } [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fcntl_raw` [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 29 | unsafe { fcntl_raw!(fd, libc::F_SETFD, flags)? }; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 58 | unsafe { fcntl_raw!(fd, libc::F_SETLK, lock)? }; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | unsafe { fcntl_raw!(fd, libc::F_SETLKW, lock)? }; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fcntl.rs:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | error::convert_ret(libc::fcntl($fd, $cmd$(, $args)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 70 | unsafe { fcntl_raw!(fd, libc::F_GETLK, lock)? }; [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `prctl` [INFO] [stdout] --> src/process.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(all(target_os = "linux", feature = "prctl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_full`, `strum`, `strum_full`, and `strum_macros` [INFO] [stdout] = help: consider adding `prctl` as a feature in `Cargo.toml` [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/wait.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: simple_libc v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "6d36ff036fc16400d49bbdd485606ee7abc097fa34330183e03df90c6a9698c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d36ff036fc16400d49bbdd485606ee7abc097fa34330183e03df90c6a9698c8", kill_on_drop: false }` [INFO] [stdout] 6d36ff036fc16400d49bbdd485606ee7abc097fa34330183e03df90c6a9698c8