[INFO] fetching crate if-watch-plus 1.0.0... [INFO] checking if-watch-plus-1.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate if-watch-plus 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate if-watch-plus 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate if-watch-plus 1.0.0 [INFO] tweaked toml for crates.io crate if-watch-plus 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate if-watch-plus 1.0.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] crate crates.io crate if-watch-plus 1.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a88dad6e7e7881ee74c2ad98002864e298b86b24482b0517af77e47f1e68758e [INFO] running `Command { std: "docker" "start" "-a" "a88dad6e7e7881ee74c2ad98002864e298b86b24482b0517af77e47f1e68758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a88dad6e7e7881ee74c2ad98002864e298b86b24482b0517af77e47f1e68758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88dad6e7e7881ee74c2ad98002864e298b86b24482b0517af77e47f1e68758e", kill_on_drop: false }` [INFO] [stdout] a88dad6e7e7881ee74c2ad98002864e298b86b24482b0517af77e47f1e68758e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6abbc2036ae61ce4970dda81736a279e581330c89dbfd5e5510f71c91567bd77 [INFO] running `Command { std: "docker" "start" "-a" "6abbc2036ae61ce4970dda81736a279e581330c89dbfd5e5510f71c91567bd77", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking async-net v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking netlink-proto v0.10.0 [INFO] [stderr] Checking rtnetlink v0.10.1 [INFO] [stderr] Checking if-watch-plus v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::smol` [INFO] [stdout] --> src/lib.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | use super::smol::IfWatcher; [INFO] [stdout] | ^^^^ could not find `smol` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(any(target_os = "macos", target_os = "ios"))] [INFO] [stdout] | ---------------------------------------- the item is gated here [INFO] [stdout] 28 | #[cfg(feature = "smol")] [INFO] [stdout] 29 | pub use apple::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] ... [INFO] [stdout] 38 | pub use fallback::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 54 | #[cfg(feature = "smol")] [INFO] [stdout] 55 | pub use win::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 63 | pub use linux::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::tokio` [INFO] [stdout] --> src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | use super::tokio::IfWatcher; [INFO] [stdout] | ^^^^^ could not find `tokio` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(target_os = "macos", target_os = "ios"))] [INFO] [stdout] | ---------------------------------------- the item is gated here [INFO] [stdout] 24 | #[cfg(feature = "tokio")] [INFO] [stdout] 25 | pub use apple::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] ... [INFO] [stdout] 47 | pub use fallback::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 50 | #[cfg(feature = "tokio")] [INFO] [stdout] 51 | pub use win::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 59 | pub use linux::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `IfWatcher` is never constructed [INFO] [stdout] --> src/linux.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IfWatcher { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated items `new`, `iter`, `add_address`, `rem_address`, and `poll_if_event` are never used [INFO] [stdout] --> src/linux.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 51 | / impl IfWatcher [INFO] [stdout] 52 | | where [INFO] [stdout] 53 | | T: AsyncSocket + Unpin, [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn add_address(&mut self, msg: AddressMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn rem_address(&mut self, msg: AddressMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn poll_if_event(&mut self, cx: &mut Context) -> Poll> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function `socket_err` is never used [INFO] [stdout] --> src/linux.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn socket_err() -> std::io::Error { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: function `iter_nets` is never used [INFO] [stdout] --> src/linux.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn iter_nets(msg: AddressMessage) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::smol` [INFO] [stdout] --> src/lib.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | use super::smol::IfWatcher; [INFO] [stdout] | ^^^^ could not find `smol` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(any(target_os = "macos", target_os = "ios"))] [INFO] [stdout] | ---------------------------------------- the item is gated here [INFO] [stdout] 28 | #[cfg(feature = "smol")] [INFO] [stdout] 29 | pub use apple::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] ... [INFO] [stdout] 38 | pub use fallback::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 54 | #[cfg(feature = "smol")] [INFO] [stdout] 55 | pub use win::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(feature = "smol")] [INFO] [stdout] | ---------------- the item is gated behind the `smol` feature [INFO] [stdout] 63 | pub use linux::smol; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::tokio` [INFO] [stdout] --> src/lib.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | use super::tokio::IfWatcher; [INFO] [stdout] | ^^^^^ could not find `tokio` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(any(target_os = "macos", target_os = "ios"))] [INFO] [stdout] | ---------------------------------------- the item is gated here [INFO] [stdout] 24 | #[cfg(feature = "tokio")] [INFO] [stdout] 25 | pub use apple::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 40 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] ... [INFO] [stdout] 47 | pub use fallback::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 50 | #[cfg(feature = "tokio")] [INFO] [stdout] 51 | pub use win::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 59 | pub use linux::tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `if-watch-plus` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `if-watch-plus` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6abbc2036ae61ce4970dda81736a279e581330c89dbfd5e5510f71c91567bd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abbc2036ae61ce4970dda81736a279e581330c89dbfd5e5510f71c91567bd77", kill_on_drop: false }` [INFO] [stdout] 6abbc2036ae61ce4970dda81736a279e581330c89dbfd5e5510f71c91567bd77