[INFO] fetching crate cf-daemonize 0.3.0... [INFO] checking cf-daemonize-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cf-daemonize 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate cf-daemonize 0.3.0 [INFO] finished tweaking crates.io crate cf-daemonize 0.3.0 [INFO] tweaked toml for crates.io crate cf-daemonize 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cf-daemonize 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08073dc30089d0c0d350a4eb7db4d29cc17957cba01134bed4e7d2b344143561 [INFO] running `Command { std: "docker" "start" "-a" "08073dc30089d0c0d350a4eb7db4d29cc17957cba01134bed4e7d2b344143561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08073dc30089d0c0d350a4eb7db4d29cc17957cba01134bed4e7d2b344143561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08073dc30089d0c0d350a4eb7db4d29cc17957cba01134bed4e7d2b344143561", kill_on_drop: false }` [INFO] [stdout] 08073dc30089d0c0d350a4eb7db4d29cc17957cba01134bed4e7d2b344143561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 915b1c1c0f4f82179a28f7c722c5700bcbe232ad7102bc829afac4702a93d82f [INFO] running `Command { std: "docker" "start" "-a" "915b1c1c0f4f82179a28f7c722c5700bcbe232ad7102bc829afac4702a93d82f", 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.175 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking cf-daemonize v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | try!(self.perform_fork(true)); [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:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | try!(set_current_dir(&self.directory).map_err(|_| DaemonizeError::ChangeDirectory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | try!(set_sid()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | try!(self.perform_fork(false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | try!(redirect_standard_streams( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 383 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 399 | let uid = maptry!(self.user, get_user); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | let uid = maptry!(self.user, get_user); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 400 | let gid = maptry!(self.group, get_group); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | let gid = maptry!(self.group, get_group); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | maptry!(args, |(pid, uid, gid)| chown_pid_file(pid, uid, gid)); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | maptry!(self.root, change_root); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | maptry!(gid, set_group); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | maptry!(uid, set_user); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:377:37 [INFO] [stdout] | [INFO] [stdout] 377 | Some(x) => Some(try!($f(x))), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | maptry!(pid_file_fd, write_pid_file); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:479:21 [INFO] [stdout] | [INFO] [stdout] 479 | let s = try!(CString::new(name).map_err(|_| DaemonizeError::GroupContainsNul)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:496:21 [INFO] [stdout] | [INFO] [stdout] 496 | let s = try!(CString::new(name).map_err(|_| DaemonizeError::UserContainsNul)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:510:18 [INFO] [stdout] | [INFO] [stdout] 510 | let path_c = try!(pathbuf_into_cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:525:18 [INFO] [stdout] | [INFO] [stdout] 525 | let path_c = try!(pathbuf_into_cstring(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:256:28 [INFO] [stdout] | [INFO] [stdout] 256 | privileged_action: Box T>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 256 | privileged_action: Box T>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | exit_action: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 | exit_action: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cf-daemonize` (lib) due to 6 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "915b1c1c0f4f82179a28f7c722c5700bcbe232ad7102bc829afac4702a93d82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915b1c1c0f4f82179a28f7c722c5700bcbe232ad7102bc829afac4702a93d82f", kill_on_drop: false }` [INFO] [stdout] 915b1c1c0f4f82179a28f7c722c5700bcbe232ad7102bc829afac4702a93d82f