[INFO] fetching crate simple_libc 0.5.0... [INFO] testing simple_libc-0.5.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate simple_libc 0.5.0 into /workspace/builds/worker-2-tc2/source [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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_libc 0.5.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.3.3) [INFO] [stderr] Adding strum v0.18.0 (available: v0.27.2) [INFO] [stderr] Adding strum_macros v0.18.0 (available: v0.27.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4d4c8cfee936e01ac6dafc51b9ad54d5d1caf8b1b9924ddd963b3d988599342 [INFO] running `Command { std: "docker" "start" "-a" "e4d4c8cfee936e01ac6dafc51b9ad54d5d1caf8b1b9924ddd963b3d988599342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4d4c8cfee936e01ac6dafc51b9ad54d5d1caf8b1b9924ddd963b3d988599342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d4c8cfee936e01ac6dafc51b9ad54d5d1caf8b1b9924ddd963b3d988599342", kill_on_drop: false }` [INFO] [stdout] e4d4c8cfee936e01ac6dafc51b9ad54d5d1caf8b1b9924ddd963b3d988599342 [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=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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72af4070fc32df9d062d18223a47597cbfed9933f89da746c3045f6e7d2eacd5 [INFO] running `Command { std: "docker" "start" "-a" "72af4070fc32df9d062d18223a47597cbfed9933f89da746c3045f6e7d2eacd5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling simple_libc v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `fcntl_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/sigaction.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | Handler(extern "C" fn(Int)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/sigaction.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 25 | ActionHandler(extern "C" fn(Int, *mut libc::siginfo_t, *mut libc::c_void)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_libc` (lib) due to 14 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72af4070fc32df9d062d18223a47597cbfed9933f89da746c3045f6e7d2eacd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72af4070fc32df9d062d18223a47597cbfed9933f89da746c3045f6e7d2eacd5", kill_on_drop: false }` [INFO] [stdout] 72af4070fc32df9d062d18223a47597cbfed9933f89da746c3045f6e7d2eacd5