[INFO] fetching crate simple_libc 0.5.0... [INFO] testing simple_libc-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate simple_libc 0.5.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simple_libc 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72e7ddadce04eb638af9c4ddce82d66f07d664422b99ae3e701897b4f59bace6 [INFO] running `Command { std: "docker" "start" "-a" "72e7ddadce04eb638af9c4ddce82d66f07d664422b99ae3e701897b4f59bace6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72e7ddadce04eb638af9c4ddce82d66f07d664422b99ae3e701897b4f59bace6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e7ddadce04eb638af9c4ddce82d66f07d664422b99ae3e701897b4f59bace6", kill_on_drop: false }` [INFO] [stdout] 72e7ddadce04eb638af9c4ddce82d66f07d664422b99ae3e701897b4f59bace6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c299f30a45ce0fc614577b34a4a9bcd170fa7a58c6edd3e63bfc6d1f6c4c5d0c [INFO] running `Command { std: "docker" "start" "-a" "c299f30a45ce0fc614577b34a4a9bcd170fa7a58c6edd3e63bfc6d1f6c4c5d0c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling serde v1.0.219 [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" "c299f30a45ce0fc614577b34a4a9bcd170fa7a58c6edd3e63bfc6d1f6c4c5d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c299f30a45ce0fc614577b34a4a9bcd170fa7a58c6edd3e63bfc6d1f6c4c5d0c", kill_on_drop: false }` [INFO] [stdout] c299f30a45ce0fc614577b34a4a9bcd170fa7a58c6edd3e63bfc6d1f6c4c5d0c