[INFO] cloning repository https://github.com/danbi2990/codex-approval-watcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danbi2990/codex-approval-watcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbi2990%2Fcodex-approval-watcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbi2990%2Fcodex-approval-watcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c23ac86c0f8ca98c8532cf6f739971ac081f770 [INFO] checking danbi2990/codex-approval-watcher against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanbi2990%2Fcodex-approval-watcher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danbi2990/codex-approval-watcher [INFO] finished tweaking git repo https://github.com/danbi2990/codex-approval-watcher [INFO] tweaked toml for git repo https://github.com/danbi2990/codex-approval-watcher written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danbi2990/codex-approval-watcher on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danbi2990/codex-approval-watcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 165c252ca2eb7cf1688c21cdd06f74f6192d6042d6246eb065f186006eb1bda2 [INFO] running `Command { std: "docker" "start" "-a" "165c252ca2eb7cf1688c21cdd06f74f6192d6042d6246eb065f186006eb1bda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "165c252ca2eb7cf1688c21cdd06f74f6192d6042d6246eb065f186006eb1bda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165c252ca2eb7cf1688c21cdd06f74f6192d6042d6246eb065f186006eb1bda2", kill_on_drop: false }` [INFO] [stdout] 165c252ca2eb7cf1688c21cdd06f74f6192d6042d6246eb065f186006eb1bda2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8317a36e3be4a67ebc43aba1e7a571d5ca46e822c646a45775c8596ec3bb64d1 [INFO] running `Command { std: "docker" "start" "-a" "8317a36e3be4a67ebc43aba1e7a571d5ca46e822c646a45775c8596ec3bb64d1", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking codex-approval-watcher v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `super::applescript_notification`, `super::escape_applescript` [INFO] [stdout] --> src/notifier.rs:344:51 [INFO] [stdout] | [INFO] [stdout] 344 | REQUIRED_LOG_MARKERS, analyze_log_output, applescript_notification, escape_applescript, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `escape_applescript` in `notifier` [INFO] [stdout] | | [INFO] [stdout] | no `applescript_notification` in `notifier` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/notifier.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 200 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 201 | fn applescript_notification(title: &str, subtitle: &str, body: &str, sound: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/notifier.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 219 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 220 | fn escape_applescript(value: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in crate `libc` [INFO] [stdout] --> src/main.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let queue = unsafe { libc::kqueue() }; [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let event = libc::kevent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | $pub struct $i { $($field)* } [INFO] [stdout] | -------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 106 - let event = libc::kevent { [INFO] [stdout] 106 + let event = libc::servent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_VNODE` in crate `libc` [INFO] [stdout] --> src/main.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | filter: libc::EVFILT_VNODE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in crate `libc` [INFO] [stdout] --> src/main.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in crate `libc` [INFO] [stdout] --> src/main.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CLEAR` in crate `libc` [INFO] [stdout] --> src/main.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | libc::kevent( [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let mut event = libc::kevent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | $pub struct $i { $($field)* } [INFO] [stdout] | -------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 139 - let mut event = libc::kevent { [INFO] [stdout] 139 + let mut event = libc::servent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | libc::kevent( [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ERROR` in crate `libc` [INFO] [stdout] --> src/main.rs:174:40 [INFO] [stdout] | [INFO] [stdout] 174 | if event.flags & libc::EV_ERROR != 0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/linux/arch/generic/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SO_ERROR: c_int = 4; [INFO] [stdout] | ------------------------- similarly named constant `SO_ERROR` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 174 - if event.flags & libc::EV_ERROR != 0 { [INFO] [stdout] 174 + if event.flags & libc::SO_ERROR != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_WRITE` in crate `libc` [INFO] [stdout] --> src/main.rs:671:11 [INFO] [stdout] | [INFO] [stdout] 671 | libc::NOTE_WRITE [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/mod.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | pub const PROT_WRITE: c_int = 2; [INFO] [stdout] | --------------------------- similarly named constant `PROT_WRITE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 671 - libc::NOTE_WRITE [INFO] [stdout] 671 + libc::PROT_WRITE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_EXTEND` in crate `libc` [INFO] [stdout] --> src/main.rs:672:17 [INFO] [stdout] | [INFO] [stdout] 672 | | libc::NOTE_EXTEND [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_ATTRIB` in crate `libc` [INFO] [stdout] --> src/main.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | | libc::NOTE_ATTRIB [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_RENAME` in crate `libc` [INFO] [stdout] --> src/main.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | | libc::NOTE_RENAME [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_DELETE` in crate `libc` [INFO] [stdout] --> src/main.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | | libc::NOTE_DELETE [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | $vis const $variant: $ty_name = { [INFO] [stdout] | ------------------------------- similarly named constant `TX_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 675 - | libc::NOTE_DELETE [INFO] [stdout] 675 + | libc::TX_DELETE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REVOKE` in crate `libc` [INFO] [stdout] --> src/main.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | | libc::NOTE_REVOKE [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Write as _` and `process::Command` [INFO] [stdout] --> src/notifier.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Write as _, process::Command, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codex-approval-watcher` (bin "codex-approval-watcher") due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `kqueue` in crate `libc` [INFO] [stdout] --> src/main.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let queue = unsafe { libc::kqueue() }; [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let event = libc::kevent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | $pub struct $i { $($field)* } [INFO] [stdout] | -------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 106 - let event = libc::kevent { [INFO] [stdout] 106 + let event = libc::servent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_VNODE` in crate `libc` [INFO] [stdout] --> src/main.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | filter: libc::EVFILT_VNODE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in crate `libc` [INFO] [stdout] --> src/main.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ENABLE` in crate `libc` [INFO] [stdout] --> src/main.rs:109:42 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CLEAR` in crate `libc` [INFO] [stdout] --> src/main.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | flags: (libc::EV_ADD | libc::EV_ENABLE | libc::EV_CLEAR) as _, [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:116:19 [INFO] [stdout] | [INFO] [stdout] 116 | libc::kevent( [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let mut event = libc::kevent { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | $pub struct $i { $($field)* } [INFO] [stdout] | -------------- similarly named struct `servent` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 139 - let mut event = libc::kevent { [INFO] [stdout] 139 + let mut event = libc::servent { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc` [INFO] [stdout] --> src/main.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | libc::kevent( [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ERROR` in crate `libc` [INFO] [stdout] --> src/main.rs:174:40 [INFO] [stdout] | [INFO] [stdout] 174 | if event.flags & libc::EV_ERROR != 0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/linux/arch/generic/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const SO_ERROR: c_int = 4; [INFO] [stdout] | ------------------------- similarly named constant `SO_ERROR` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 174 - if event.flags & libc::EV_ERROR != 0 { [INFO] [stdout] 174 + if event.flags & libc::SO_ERROR != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_WRITE` in crate `libc` [INFO] [stdout] --> src/main.rs:671:11 [INFO] [stdout] | [INFO] [stdout] 671 | libc::NOTE_WRITE [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/mod.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | pub const PROT_WRITE: c_int = 2; [INFO] [stdout] | --------------------------- similarly named constant `PROT_WRITE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 671 - libc::NOTE_WRITE [INFO] [stdout] 671 + libc::PROT_WRITE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_EXTEND` in crate `libc` [INFO] [stdout] --> src/main.rs:672:17 [INFO] [stdout] | [INFO] [stdout] 672 | | libc::NOTE_EXTEND [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_ATTRIB` in crate `libc` [INFO] [stdout] --> src/main.rs:673:17 [INFO] [stdout] | [INFO] [stdout] 673 | | libc::NOTE_ATTRIB [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_RENAME` in crate `libc` [INFO] [stdout] --> src/main.rs:674:17 [INFO] [stdout] | [INFO] [stdout] 674 | | libc::NOTE_RENAME [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_DELETE` in crate `libc` [INFO] [stdout] --> src/main.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | | libc::NOTE_DELETE [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | $vis const $variant: $ty_name = { [INFO] [stdout] | ------------------------------- similarly named constant `TX_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 675 - | libc::NOTE_DELETE [INFO] [stdout] 675 + | libc::TX_DELETE [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_REVOKE` in crate `libc` [INFO] [stdout] --> src/main.rs:676:17 [INFO] [stdout] | [INFO] [stdout] 676 | | libc::NOTE_REVOKE [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_WRITE` in crate `libc` [INFO] [stdout] --> src/main.rs:874:34 [INFO] [stdout] | [INFO] [stdout] 874 | assert_ne!(flags & libc::NOTE_WRITE, 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/unix/linux_like/mod.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | pub const PROT_WRITE: c_int = 2; [INFO] [stdout] | --------------------------- similarly named constant `PROT_WRITE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 874 - assert_ne!(flags & libc::NOTE_WRITE, 0); [INFO] [stdout] 874 + assert_ne!(flags & libc::PROT_WRITE, 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NOTE_DELETE` in crate `libc` [INFO] [stdout] --> src/main.rs:875:34 [INFO] [stdout] | [INFO] [stdout] 875 | assert_ne!(flags & libc::NOTE_DELETE, 0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.183/src/macros.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | $vis const $variant: $ty_name = { [INFO] [stdout] | ------------------------------- similarly named constant `TX_DELETE` defined here [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 875 - assert_ne!(flags & libc::NOTE_DELETE, 0); [INFO] [stdout] 875 + assert_ne!(flags & libc::TX_DELETE, 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Write as _` and `process::Command` [INFO] [stdout] --> src/notifier.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Write as _, process::Command, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `codex-approval-watcher` (bin "codex-approval-watcher" test) due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8317a36e3be4a67ebc43aba1e7a571d5ca46e822c646a45775c8596ec3bb64d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8317a36e3be4a67ebc43aba1e7a571d5ca46e822c646a45775c8596ec3bb64d1", kill_on_drop: false }` [INFO] [stdout] 8317a36e3be4a67ebc43aba1e7a571d5ca46e822c646a45775c8596ec3bb64d1