[INFO] fetching crate prctl 1.0.0... [INFO] testing prctl-1.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate prctl 1.0.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prctl 1.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ebd74da84c45a7e3df012af3a783fc71a362a62b188e54bc938f5429e0e8c81 [INFO] running `Command { std: "docker" "start" "-a" "8ebd74da84c45a7e3df012af3a783fc71a362a62b188e54bc938f5429e0e8c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ebd74da84c45a7e3df012af3a783fc71a362a62b188e54bc938f5429e0e8c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebd74da84c45a7e3df012af3a783fc71a362a62b188e54bc938f5429e0e8c81", kill_on_drop: false }` [INFO] [stdout] 8ebd74da84c45a7e3df012af3a783fc71a362a62b188e54bc938f5429e0e8c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47aea7a9e84ed2513cec210bcb22b4aff0e1155aec598147fd6da33724bcfa02 [INFO] running `Command { std: "docker" "start" "-a" "47aea7a9e84ed2513cec210bcb22b4aff0e1155aec598147fd6da33724bcfa02", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling bitflags v2.11.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 [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 1.51s [INFO] running `Command { std: "docker" "inspect" "47aea7a9e84ed2513cec210bcb22b4aff0e1155aec598147fd6da33724bcfa02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47aea7a9e84ed2513cec210bcb22b4aff0e1155aec598147fd6da33724bcfa02", kill_on_drop: false }` [INFO] [stdout] 47aea7a9e84ed2513cec210bcb22b4aff0e1155aec598147fd6da33724bcfa02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5290edffa81ba6569cfba3ecf08b05ee4c192e95dabe2b538f67bc81cc296c5c [INFO] running `Command { std: "docker" "start" "-a" "5290edffa81ba6569cfba3ecf08b05ee4c192e95dabe2b538f67bc81cc296c5c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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 [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.45s [INFO] running `Command { std: "docker" "inspect" "5290edffa81ba6569cfba3ecf08b05ee4c192e95dabe2b538f67bc81cc296c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5290edffa81ba6569cfba3ecf08b05ee4c192e95dabe2b538f67bc81cc296c5c", kill_on_drop: false }` [INFO] [stdout] 5290edffa81ba6569cfba3ecf08b05ee4c192e95dabe2b538f67bc81cc296c5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b60a9d6a2ea2415a83ac74b0c949cbac6e3164750bb0e90b7212d8c9794344c [INFO] running `Command { std: "docker" "start" "-a" "0b60a9d6a2ea2415a83ac74b0c949cbac6e3164750bb0e90b7212d8c9794344c", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:206:19 [INFO] [stderr] | [INFO] [stderr] 206 | fn from_c_int(c_int) -> Self; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: c_int` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:229:1 [INFO] [stderr] | [INFO] [stderr] 229 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prctl-4c18290cb5ee6d80) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test check_endian ... ok [INFO] [stdout] test check_dumpable ... ok [INFO] [stdout] test check_fpemu ... ok [INFO] [stdout] test check_perf_events ... ok [INFO] [stdout] test check_death_signal ... ok [INFO] [stdout] test check_capabilities ... ok [INFO] [stdout] test check_name ... ok [INFO] [stdout] test check_securebits ... ok [INFO] [stdout] test check_timerslack ... ok [INFO] [stdout] test check_timing ... ok [INFO] [stdout] test check_unalign ... ok [INFO] [stdout] test check_tsc ... ok [INFO] [stdout] test check_mce_kill ... ok [INFO] [stdout] test check_keep_capabilities ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b60a9d6a2ea2415a83ac74b0c949cbac6e3164750bb0e90b7212d8c9794344c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b60a9d6a2ea2415a83ac74b0c949cbac6e3164750bb0e90b7212d8c9794344c", kill_on_drop: false }` [INFO] [stdout] 0b60a9d6a2ea2415a83ac74b0c949cbac6e3164750bb0e90b7212d8c9794344c