[INFO] cloning repository https://github.com/yaws-rs/yaws [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yaws-rs/yaws" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaws-rs%2Fyaws", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaws-rs%2Fyaws'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b668af64cac991b65bc34fd0f8b567f0e8ae6ec [INFO] checking yaws-rs/yaws against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyaws-rs%2Fyaws" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/yaws-rs/yaws [INFO] finished tweaking git repo https://github.com/yaws-rs/yaws [INFO] tweaked toml for git repo https://github.com/yaws-rs/yaws written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yaws-rs/yaws on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yaws-rs/yaws 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lunatic-macros v0.13.0 [INFO] [stderr] Downloaded lunatic-test v0.13.0 [INFO] [stderr] Downloaded lunatic-sys v0.14.0 [INFO] [stderr] Downloaded io-uring v0.5.13 [INFO] [stderr] Downloaded tokio-uring v0.4.0 [INFO] [stderr] Downloaded lunatic v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4146a2a17e9844caba5ab739643be75ed33e1683d95d6817302f389fd348de47 [INFO] running `Command { std: "docker" "start" "-a" "4146a2a17e9844caba5ab739643be75ed33e1683d95d6817302f389fd348de47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4146a2a17e9844caba5ab739643be75ed33e1683d95d6817302f389fd348de47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4146a2a17e9844caba5ab739643be75ed33e1683d95d6817302f389fd348de47", kill_on_drop: false }` [INFO] [stdout] 4146a2a17e9844caba5ab739643be75ed33e1683d95d6817302f389fd348de47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da67b3893b028f0d401cc32ff244acb6041772219757cab4f8f8a312824d65c3 [INFO] running `Command { std: "docker" "start" "-a" "da67b3893b028f0d401cc32ff244acb6041772219757cab4f8f8a312824d65c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking lunatic-sys v0.14.0 [INFO] [stderr] Checking yaws-spec-h1 v0.0.0-202301.Jan.15 (/opt/rustwide/workdir/crates/yaws-spec-h1) [INFO] [stderr] Checking yaws-spec-h2 v0.0.0-202301.Jan.15 (/opt/rustwide/workdir/crates/yaws-spec-h2) [INFO] [stderr] Checking yaws v0.0.0-202301.Jan.15 (/opt/rustwide/workdir/crates/yaws) [INFO] [stdout] error: Set cfg(yaws_flavor) either as io_uring or lunatic [INFO] [stdout] --> crates/yaws/src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("Set cfg(yaws_flavor) either as io_uring or lunatic"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(yaws_flavor = "io_uring"), not(yaws_flavor = "lunatic")))] [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(yaws_flavor, values("io_uring"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"io_uring\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(yaws_flavor = "io_uring"), not(yaws_flavor = "lunatic")))] [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(yaws_flavor, values("lunatic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"lunatic\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(yaws_flavor = "io_uring")] [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(yaws_flavor, values("io_uring"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"io_uring\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(yaws_flavor = "lunatic")] [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(yaws_flavor, values("lunatic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"lunatic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `yaws` [INFO] [stdout] --> crates/yaws/src/main.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | } [INFO] [stdout] | ^ consider adding a `main` function to `crates/yaws/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yaws` (bin "yaws") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: Set cfg(yaws_flavor) either as io_uring or lunatic [INFO] [stdout] --> crates/yaws/src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("Set cfg(yaws_flavor) either as io_uring or lunatic"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(yaws_flavor = "io_uring"), not(yaws_flavor = "lunatic")))] [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(yaws_flavor, values("io_uring"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"io_uring\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(all(not(yaws_flavor = "io_uring"), not(yaws_flavor = "lunatic")))] [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(yaws_flavor, values("lunatic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"lunatic\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(yaws_flavor = "io_uring")] [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(yaws_flavor, values("io_uring"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"io_uring\"))");` 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: `yaws_flavor` [INFO] [stdout] --> crates/yaws/src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(yaws_flavor = "lunatic")] [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(yaws_flavor, values("lunatic"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yaws_flavor, values(\"lunatic\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yaws` (bin "yaws" test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da67b3893b028f0d401cc32ff244acb6041772219757cab4f8f8a312824d65c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da67b3893b028f0d401cc32ff244acb6041772219757cab4f8f8a312824d65c3", kill_on_drop: false }` [INFO] [stdout] da67b3893b028f0d401cc32ff244acb6041772219757cab4f8f8a312824d65c3