[INFO] cloning repository https://github.com/openkylin/rust-polling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openkylin/rust-polling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-polling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-polling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75c8f900c48dfa337827cc3ed49c1f1cb8a1d80b [INFO] checking openkylin/rust-polling against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-polling" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/openkylin/rust-polling [INFO] finished tweaking git repo https://github.com/openkylin/rust-polling [INFO] tweaked toml for git repo https://github.com/openkylin/rust-polling written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/openkylin/rust-polling on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/openkylin/rust-polling 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ebf2d51936a080147aea55a53f746b720f05310ae68e80463b19a574268d458 [INFO] running `Command { std: "docker" "start" "-a" "6ebf2d51936a080147aea55a53f746b720f05310ae68e80463b19a574268d458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ebf2d51936a080147aea55a53f746b720f05310ae68e80463b19a574268d458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebf2d51936a080147aea55a53f746b720f05310ae68e80463b19a574268d458", kill_on_drop: false }` [INFO] [stdout] 6ebf2d51936a080147aea55a53f746b720f05310ae68e80463b19a574268d458 [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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c8db11cf97a81f3cc8272e6d4a5feb34a35646e090d3a14c1459b8f6601b065 [INFO] running `Command { std: "docker" "start" "-a" "1c8db11cf97a81f3cc8272e6d4a5feb34a35646e090d3a14c1459b8f6601b065", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking easy-parallel v3.3.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking polling v3.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/lib.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/lib.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | if #[cfg(polling_test_poll_backend)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_epoll_pipe` [INFO] [stdout] --> src/epoll.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | if !cfg!(polling_test_epoll_pipe) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_epoll_pipe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_epoll_pipe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/os.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/lib.rs:954:9 [INFO] [stdout] | [INFO] [stdout] 954 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/lib.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | if #[cfg(polling_test_poll_backend)] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_epoll_pipe` [INFO] [stdout] --> src/epoll.rs:404:18 [INFO] [stdout] | [INFO] [stdout] 404 | if !cfg!(polling_test_epoll_pipe) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_epoll_pipe)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_epoll_pipe)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> src/os.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PollerSealed` is never used [INFO] [stdout] --> src/os.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait PollerSealed {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> tests/other_modes.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | not(polling_test_poll_backend) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> tests/other_modes.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | not(polling_test_poll_backend) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PollerSealed` is never used [INFO] [stdout] --> src/os.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait PollerSealed {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> tests/precision.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | not(polling_test_poll_backend) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> tests/precision.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | not(polling_test_poll_backend) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> examples/wait-signal.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> examples/wait-signal.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `polling_test_poll_backend` [INFO] [stdout] --> examples/wait-signal.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | not(polling_test_poll_backend), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(polling_test_poll_backend)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(polling_test_poll_backend)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "1c8db11cf97a81f3cc8272e6d4a5feb34a35646e090d3a14c1459b8f6601b065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8db11cf97a81f3cc8272e6d4a5feb34a35646e090d3a14c1459b8f6601b065", kill_on_drop: false }` [INFO] [stdout] 1c8db11cf97a81f3cc8272e6d4a5feb34a35646e090d3a14c1459b8f6601b065