[INFO] fetching crate prctl 1.0.0... [INFO] testing prctl-1.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate prctl 1.0.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prctl 1.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d200752c99c2922d24814b38ebc56d6a8479ca0fdfcdfe853adbd6a752f49d16 [INFO] running `Command { std: "docker" "start" "-a" "d200752c99c2922d24814b38ebc56d6a8479ca0fdfcdfe853adbd6a752f49d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d200752c99c2922d24814b38ebc56d6a8479ca0fdfcdfe853adbd6a752f49d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d200752c99c2922d24814b38ebc56d6a8479ca0fdfcdfe853adbd6a752f49d16", kill_on_drop: false }` [INFO] [stdout] d200752c99c2922d24814b38ebc56d6a8479ca0fdfcdfe853adbd6a752f49d16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7c92070ea0d29fb1906688468416030eb5d991c958ce1f859d4442793d07908d [INFO] running `Command { std: "docker" "start" "-a" "7c92070ea0d29fb1906688468416030eb5d991c958ce1f859d4442793d07908d", 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.174 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.1 [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)]` 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 2.54s [INFO] running `Command { std: "docker" "inspect" "7c92070ea0d29fb1906688468416030eb5d991c958ce1f859d4442793d07908d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c92070ea0d29fb1906688468416030eb5d991c958ce1f859d4442793d07908d", kill_on_drop: false }` [INFO] [stdout] 7c92070ea0d29fb1906688468416030eb5d991c958ce1f859d4442793d07908d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8f996e19542d1b32309af698b0fc564654a9c47176feb23d8d4e623c18ac400d [INFO] running `Command { std: "docker" "start" "-a" "8f996e19542d1b32309af698b0fc564654a9c47176feb23d8d4e623c18ac400d", 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)]` 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" "8f996e19542d1b32309af698b0fc564654a9c47176feb23d8d4e623c18ac400d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f996e19542d1b32309af698b0fc564654a9c47176feb23d8d4e623c18ac400d", kill_on_drop: false }` [INFO] [stdout] 8f996e19542d1b32309af698b0fc564654a9c47176feb23d8d4e623c18ac400d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b57d4ec101c3efe28c719ceaff9beb1f8174390fd2da8b725dd77f5fa3bc85b0 [INFO] running `Command { std: "docker" "start" "-a" "b57d4ec101c3efe28c719ceaff9beb1f8174390fd2da8b725dd77f5fa3bc85b0", 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] [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 issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/prctl-39e759715908cc27) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test check_death_signal ... ok [INFO] [stdout] test check_dumpable ... ok [INFO] [stdout] test check_endian ... ok [INFO] [stdout] test check_fpemu ... ok [INFO] [stdout] test check_keep_capabilities ... ok [INFO] [stdout] test check_mce_kill ... ok [INFO] [stdout] test check_name ... ok [INFO] [stdout] test check_capabilities ... ok [INFO] [stdout] test check_securebits ... ok [INFO] [stdout] test check_perf_events ... ok [INFO] [stdout] test check_timerslack ... ok [INFO] [stdout] test check_timing ... ok [INFO] [stdout] test check_tsc ... ok [INFO] [stdout] test check_unalign ... 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" "b57d4ec101c3efe28c719ceaff9beb1f8174390fd2da8b725dd77f5fa3bc85b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57d4ec101c3efe28c719ceaff9beb1f8174390fd2da8b725dd77f5fa3bc85b0", kill_on_drop: false }` [INFO] [stdout] b57d4ec101c3efe28c719ceaff9beb1f8174390fd2da8b725dd77f5fa3bc85b0