[INFO] fetching crate prctl 1.0.0... [INFO] testing prctl-1.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate prctl 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate prctl 1.0.0 [INFO] finished tweaking crates.io crate prctl 1.0.0 [INFO] tweaked toml for crates.io crate prctl 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prctl 1.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73d208445fd9e9c0376f939e6a515602503fcc68744f51fccd3070b7d7032fe0 [INFO] running `Command { std: "docker" "start" "-a" "73d208445fd9e9c0376f939e6a515602503fcc68744f51fccd3070b7d7032fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d208445fd9e9c0376f939e6a515602503fcc68744f51fccd3070b7d7032fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d208445fd9e9c0376f939e6a515602503fcc68744f51fccd3070b7d7032fe0", kill_on_drop: false }` [INFO] [stdout] 73d208445fd9e9c0376f939e6a515602503fcc68744f51fccd3070b7d7032fe0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ff33e82109d447a7e714a42730d5d7d4274e9e845f8429ca1704be94f6274f [INFO] running `Command { std: "docker" "start" "-a" "f3ff33e82109d447a7e714a42730d5d7d4274e9e845f8429ca1704be94f6274f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling prctl v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | fn from_c_int(c_int) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: c_int` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | let res = try!(prctl_get_result(option)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | let res = try!(prctl_get_result(option)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | let res = try!(prctl_get_result(PrctlOption::PR_GET_SECUREBITS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 493 | let res = try!(prctl_get_result(PrctlOption::PR_GET_TIMERSLACK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use nix::errno::errno; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "f3ff33e82109d447a7e714a42730d5d7d4274e9e845f8429ca1704be94f6274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ff33e82109d447a7e714a42730d5d7d4274e9e845f8429ca1704be94f6274f", kill_on_drop: false }` [INFO] [stdout] f3ff33e82109d447a7e714a42730d5d7d4274e9e845f8429ca1704be94f6274f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236a76cc13c5e2ca6004a785050435ef231050d3633366974cd668570ca8b710 [INFO] running `Command { std: "docker" "start" "-a" "236a76cc13c5e2ca6004a785050435ef231050d3633366974cd668570ca8b710", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling prctl v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | fn from_c_int(c_int) -> Self; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: c_int` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | let res = try!(prctl_get_result(option)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | let res = try!(prctl_get_result(option)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | let res = try!(prctl_get_result(PrctlOption::PR_GET_SECUREBITS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 493 | let res = try!(prctl_get_result(PrctlOption::PR_GET_TIMERSLACK)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use nix::errno::errno; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stdout] --> src/lib.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | return Err(errno()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | handle_errno!(res); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "236a76cc13c5e2ca6004a785050435ef231050d3633366974cd668570ca8b710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236a76cc13c5e2ca6004a785050435ef231050d3633366974cd668570ca8b710", kill_on_drop: false }` [INFO] [stdout] 236a76cc13c5e2ca6004a785050435ef231050d3633366974cd668570ca8b710 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75fdff04903d638ab48a54f000f650e6a3ab4f6403dd8818fb3fb0426256da05 [INFO] running `Command { std: "docker" "start" "-a" "75fdff04903d638ab48a54f000f650e6a3ab4f6403dd8818fb3fb0426256da05", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:206:19 [INFO] [stdout] running 14 tests [INFO] [stderr] | [INFO] [stdout] test check_capabilities ... ok [INFO] [stderr] 206 | fn from_c_int(c_int) -> Self; [INFO] [stdout] test check_death_signal ... ok [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: c_int` [INFO] [stdout] test check_keep_capabilities ... ok [INFO] [stderr] | [INFO] [stdout] test check_name ... ok [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] test check_perf_events ... ok [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stdout] test check_securebits ... ok [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] test check_timing ... ok [INFO] [stderr] [INFO] [stdout] test check_dumpable ... ok [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] test check_tsc ... ok [INFO] [stderr] --> src/lib.rs:229:1 [INFO] [stdout] test check_unalign ... ok [INFO] [stderr] | [INFO] [stdout] test check_mce_kill ... ok [INFO] [stderr] 229 | extern { [INFO] [stdout] test check_endian ... ok [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] test check_fpemu ... ok [INFO] [stderr] | [INFO] [stdout] test check_timerslack ... ok [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:261:15 [INFO] [stderr] | [INFO] [stderr] 261 | let res = try!(prctl_get_result(option)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:298:15 [INFO] [stderr] | [INFO] [stderr] 298 | let res = try!(prctl_get_result(option)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:478:15 [INFO] [stderr] | [INFO] [stderr] 478 | let res = try!(prctl_get_result(PrctlOption::PR_GET_SECUREBITS)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:493:15 [INFO] [stderr] | [INFO] [stderr] 493 | let res = try!(prctl_get_result(PrctlOption::PR_GET_TIMERSLACK)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | use nix::errno::errno; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 237 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 248 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 256 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 269 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 277 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 292 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 307 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 318 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 326 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 350 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 359 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `nix::errno::errno`: please use `Errno::last_raw()` instead [INFO] [stderr] --> src/lib.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | return Err(errno()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 460 | handle_errno!(res); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `handle_errno` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `prctl` (lib test) generated 19 warnings (run `cargo fix --lib -p prctl --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prctl-3683041f6650bff6) [INFO] running `Command { std: "docker" "inspect" "75fdff04903d638ab48a54f000f650e6a3ab4f6403dd8818fb3fb0426256da05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fdff04903d638ab48a54f000f650e6a3ab4f6403dd8818fb3fb0426256da05", kill_on_drop: false }` [INFO] [stdout] 75fdff04903d638ab48a54f000f650e6a3ab4f6403dd8818fb3fb0426256da05